Build Information
Failed to build ATProtoKit, reference main (910f1c
), with Swift 5.9 for Linux on 13 Apr 2025 08:13:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:230:59: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:31:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewBasicDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:109:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:196:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:199:20: warning: stored property 'bannerImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let bannerImageURL: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[1116/1136] Compiling ATProtoKit UpdateHandle.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/ComAtprotoAPI/SignPLCOperation.swift:68:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/SubmitPLCOperation.swift:45:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateEmail.swift:62:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateHandle.swift:49:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UploadBlob.swift:52:74: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
let response = try await APIClientService.shared.sendRequest(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/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:489:57: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
pdsURL: session?.pdsURL ?? (self.pdsURL ?? nil),
~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:56:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'UserSession' has non-sendable type 'URL'
public let serviceEndpoint: 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/ATProtoKit/APIReference/SessionManager/UserSession.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:226:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'ATService' has non-sendable type 'URL'
public var serviceEndpoint: 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/ATProtoKit/ATProtoKit.swift:201:63: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:230:59: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:31:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewBasicDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:109:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:196:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:199:20: warning: stored property 'bannerImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let bannerImageURL: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[1117/1136] Compiling ATProtoKit UploadBlob.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/ComAtprotoAPI/SignPLCOperation.swift:68:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/SubmitPLCOperation.swift:45:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateEmail.swift:62:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateHandle.swift:49:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UploadBlob.swift:52:74: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
let response = try await APIClientService.shared.sendRequest(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/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:489:57: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
pdsURL: session?.pdsURL ?? (self.pdsURL ?? nil),
~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:56:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'UserSession' has non-sendable type 'URL'
public let serviceEndpoint: 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/ATProtoKit/APIReference/SessionManager/UserSession.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:226:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'ATService' has non-sendable type 'URL'
public var serviceEndpoint: 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/ATProtoKit/ATProtoKit.swift:201:63: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:230:59: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:31:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewBasicDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:109:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:196:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:199:20: warning: stored property 'bannerImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let bannerImageURL: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[1118/1136] Compiling ATProtoKit ATProtocolConfiguration.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/ComAtprotoAPI/SignPLCOperation.swift:68:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/SubmitPLCOperation.swift:45:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateEmail.swift:62:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateHandle.swift:49:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UploadBlob.swift:52:74: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
let response = try await APIClientService.shared.sendRequest(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/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:489:57: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
pdsURL: session?.pdsURL ?? (self.pdsURL ?? nil),
~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:56:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'UserSession' has non-sendable type 'URL'
public let serviceEndpoint: 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/ATProtoKit/APIReference/SessionManager/UserSession.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:226:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'ATService' has non-sendable type 'URL'
public var serviceEndpoint: 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/ATProtoKit/ATProtoKit.swift:201:63: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:230:59: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:31:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewBasicDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:109:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:196:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:199:20: warning: stored property 'bannerImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let bannerImageURL: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[1119/1136] Compiling ATProtoKit SessionConfiguration.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/ComAtprotoAPI/SignPLCOperation.swift:68:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/SubmitPLCOperation.swift:45:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateEmail.swift:62:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateHandle.swift:49:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UploadBlob.swift:52:74: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
let response = try await APIClientService.shared.sendRequest(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/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:489:57: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
pdsURL: session?.pdsURL ?? (self.pdsURL ?? nil),
~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:56:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'UserSession' has non-sendable type 'URL'
public let serviceEndpoint: 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/ATProtoKit/APIReference/SessionManager/UserSession.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:226:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'ATService' has non-sendable type 'URL'
public var serviceEndpoint: 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/ATProtoKit/ATProtoKit.swift:201:63: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:230:59: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:31:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewBasicDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:109:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:196:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:199:20: warning: stored property 'bannerImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let bannerImageURL: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[1120/1136] Compiling ATProtoKit SessionProtocol.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/ComAtprotoAPI/SignPLCOperation.swift:68:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/SubmitPLCOperation.swift:45:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateEmail.swift:62:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateHandle.swift:49:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UploadBlob.swift:52:74: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
let response = try await APIClientService.shared.sendRequest(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/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:489:57: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
pdsURL: session?.pdsURL ?? (self.pdsURL ?? nil),
~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:56:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'UserSession' has non-sendable type 'URL'
public let serviceEndpoint: 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/ATProtoKit/APIReference/SessionManager/UserSession.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:226:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'ATService' has non-sendable type 'URL'
public var serviceEndpoint: 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/ATProtoKit/ATProtoKit.swift:201:63: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:230:59: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:31:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewBasicDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:109:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:196:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:199:20: warning: stored property 'bannerImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let bannerImageURL: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[1121/1136] Compiling ATProtoKit SessionResponse.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/ComAtprotoAPI/SignPLCOperation.swift:68:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/SubmitPLCOperation.swift:45:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateEmail.swift:62:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateHandle.swift:49:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UploadBlob.swift:52:74: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
let response = try await APIClientService.shared.sendRequest(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/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:489:57: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
pdsURL: session?.pdsURL ?? (self.pdsURL ?? nil),
~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:56:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'UserSession' has non-sendable type 'URL'
public let serviceEndpoint: 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/ATProtoKit/APIReference/SessionManager/UserSession.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:226:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'ATService' has non-sendable type 'URL'
public var serviceEndpoint: 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/ATProtoKit/ATProtoKit.swift:201:63: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:230:59: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:31:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewBasicDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:109:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:196:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:199:20: warning: stored property 'bannerImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let bannerImageURL: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[1122/1136] Compiling ATProtoKit UserSession.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/ComAtprotoAPI/SignPLCOperation.swift:68:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/SubmitPLCOperation.swift:45:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateEmail.swift:62:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateHandle.swift:49:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UploadBlob.swift:52:74: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
let response = try await APIClientService.shared.sendRequest(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/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:489:57: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
pdsURL: session?.pdsURL ?? (self.pdsURL ?? nil),
~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:56:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'UserSession' has non-sendable type 'URL'
public let serviceEndpoint: 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/ATProtoKit/APIReference/SessionManager/UserSession.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:226:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'ATService' has non-sendable type 'URL'
public var serviceEndpoint: 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/ATProtoKit/ATProtoKit.swift:201:63: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:230:59: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:31:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewBasicDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:109:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:196:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:199:20: warning: stored property 'bannerImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let bannerImageURL: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[1123/1136] Compiling ATProtoKit ATProtoKit.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/ComAtprotoAPI/SignPLCOperation.swift:68:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/SubmitPLCOperation.swift:45:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateEmail.swift:62:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateHandle.swift:49:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UploadBlob.swift:52:74: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
let response = try await APIClientService.shared.sendRequest(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/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:489:57: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
pdsURL: session?.pdsURL ?? (self.pdsURL ?? nil),
~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:56:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'UserSession' has non-sendable type 'URL'
public let serviceEndpoint: 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/ATProtoKit/APIReference/SessionManager/UserSession.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:226:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'ATService' has non-sendable type 'URL'
public var serviceEndpoint: 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/ATProtoKit/ATProtoKit.swift:201:63: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:230:59: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:31:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewBasicDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:109:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:196:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:199:20: warning: stored property 'bannerImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let bannerImageURL: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[1124/1136] Compiling ATProtoKit ATProtoError.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/ComAtprotoAPI/SignPLCOperation.swift:68:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/SubmitPLCOperation.swift:45:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateEmail.swift:62:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateHandle.swift:49:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UploadBlob.swift:52:74: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
let response = try await APIClientService.shared.sendRequest(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/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:489:57: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
pdsURL: session?.pdsURL ?? (self.pdsURL ?? nil),
~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:56:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'UserSession' has non-sendable type 'URL'
public let serviceEndpoint: 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/ATProtoKit/APIReference/SessionManager/UserSession.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:226:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'ATService' has non-sendable type 'URL'
public var serviceEndpoint: 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/ATProtoKit/ATProtoKit.swift:201:63: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:230:59: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:31:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewBasicDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:109:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:196:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:199:20: warning: stored property 'bannerImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let bannerImageURL: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[1125/1136] Compiling ATProtoKit ATEventStreamConfiguration.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/ComAtprotoAPI/SignPLCOperation.swift:68:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/SubmitPLCOperation.swift:45:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateEmail.swift:62:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateHandle.swift:49:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UploadBlob.swift:52:74: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
let response = try await APIClientService.shared.sendRequest(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/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:489:57: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
pdsURL: session?.pdsURL ?? (self.pdsURL ?? nil),
~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:56:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'UserSession' has non-sendable type 'URL'
public let serviceEndpoint: 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/ATProtoKit/APIReference/SessionManager/UserSession.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:226:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'ATService' has non-sendable type 'URL'
public var serviceEndpoint: 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/ATProtoKit/ATProtoKit.swift:201:63: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:230:59: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:31:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewBasicDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:109:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:196:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:199:20: warning: stored property 'bannerImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let bannerImageURL: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[1126/1136] Compiling ATProtoKit ATLabelDataStreamModels.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/ComAtprotoAPI/SignPLCOperation.swift:68:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/SubmitPLCOperation.swift:45:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateEmail.swift:62:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateHandle.swift:49:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UploadBlob.swift:52:74: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
let response = try await APIClientService.shared.sendRequest(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/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:489:57: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
pdsURL: session?.pdsURL ?? (self.pdsURL ?? nil),
~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:56:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'UserSession' has non-sendable type 'URL'
public let serviceEndpoint: 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/ATProtoKit/APIReference/SessionManager/UserSession.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:226:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'ATService' has non-sendable type 'URL'
public var serviceEndpoint: 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/ATProtoKit/ATProtoKit.swift:201:63: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:230:59: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:31:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewBasicDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:109:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:196:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:199:20: warning: stored property 'bannerImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let bannerImageURL: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[1127/1136] Compiling ATProtoKit FirehoseEventRepresentable.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/ComAtprotoAPI/SignPLCOperation.swift:68:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/SubmitPLCOperation.swift:45:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateEmail.swift:62:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateHandle.swift:49:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UploadBlob.swift:52:74: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
let response = try await APIClientService.shared.sendRequest(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/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:489:57: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
pdsURL: session?.pdsURL ?? (self.pdsURL ?? nil),
~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:56:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'UserSession' has non-sendable type 'URL'
public let serviceEndpoint: 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/ATProtoKit/APIReference/SessionManager/UserSession.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:226:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'ATService' has non-sendable type 'URL'
public var serviceEndpoint: 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/ATProtoKit/ATProtoKit.swift:201:63: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:230:59: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:31:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewBasicDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:109:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:196:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:199:20: warning: stored property 'bannerImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let bannerImageURL: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[1128/1136] Compiling ATProtoKit ATRecordViewProtocol.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/ComAtprotoAPI/SignPLCOperation.swift:68:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/SubmitPLCOperation.swift:45:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateEmail.swift:62:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateHandle.swift:49:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UploadBlob.swift:52:74: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
let response = try await APIClientService.shared.sendRequest(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/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:489:57: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
pdsURL: session?.pdsURL ?? (self.pdsURL ?? nil),
~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:56:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'UserSession' has non-sendable type 'URL'
public let serviceEndpoint: 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/ATProtoKit/APIReference/SessionManager/UserSession.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:226:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'ATService' has non-sendable type 'URL'
public var serviceEndpoint: 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/ATProtoKit/ATProtoKit.swift:201:63: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:230:59: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:31:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewBasicDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:109:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:196:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:199:20: warning: stored property 'bannerImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let bannerImageURL: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[1129/1136] Compiling ATProtoKit ATRecordViewProtocolExtensions.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/ComAtprotoAPI/SignPLCOperation.swift:68:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/SubmitPLCOperation.swift:45:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateEmail.swift:62:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateHandle.swift:49:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UploadBlob.swift:52:74: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
let response = try await APIClientService.shared.sendRequest(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/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:489:57: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
pdsURL: session?.pdsURL ?? (self.pdsURL ?? nil),
~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:56:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'UserSession' has non-sendable type 'URL'
public let serviceEndpoint: 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/ATProtoKit/APIReference/SessionManager/UserSession.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:226:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'ATService' has non-sendable type 'URL'
public var serviceEndpoint: 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/ATProtoKit/ATProtoKit.swift:201:63: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:230:59: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:31:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewBasicDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:109:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:196:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:199:20: warning: stored property 'bannerImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let bannerImageURL: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[1130/1136] Compiling ATProtoKit SessionToken.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/ComAtprotoAPI/SignPLCOperation.swift:68:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/SubmitPLCOperation.swift:45:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateEmail.swift:62:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateHandle.swift:49:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UploadBlob.swift:52:74: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
let response = try await APIClientService.shared.sendRequest(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/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:489:57: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
pdsURL: session?.pdsURL ?? (self.pdsURL ?? nil),
~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:56:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'UserSession' has non-sendable type 'URL'
public let serviceEndpoint: 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/ATProtoKit/APIReference/SessionManager/UserSession.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:226:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'ATService' has non-sendable type 'URL'
public var serviceEndpoint: 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/ATProtoKit/ATProtoKit.swift:201:63: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:230:59: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:31:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewBasicDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:109:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:196:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:199:20: warning: stored property 'bannerImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let bannerImageURL: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[1131/1136] Compiling ATProtoKit ATUnion.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/ComAtprotoAPI/SignPLCOperation.swift:68:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/SubmitPLCOperation.swift:45:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateEmail.swift:62:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateHandle.swift:49:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UploadBlob.swift:52:74: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
let response = try await APIClientService.shared.sendRequest(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/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:489:57: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
pdsURL: session?.pdsURL ?? (self.pdsURL ?? nil),
~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:56:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'UserSession' has non-sendable type 'URL'
public let serviceEndpoint: 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/ATProtoKit/APIReference/SessionManager/UserSession.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:226:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'ATService' has non-sendable type 'URL'
public var serviceEndpoint: 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/ATProtoKit/ATProtoKit.swift:201:63: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:230:59: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:31:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewBasicDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:109:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:196:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:199:20: warning: stored property 'bannerImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let bannerImageURL: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[1132/1136] Compiling ATProtoKit Lexicons.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/ComAtprotoAPI/SignPLCOperation.swift:68:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/SubmitPLCOperation.swift:45:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateEmail.swift:62:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateHandle.swift:49:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UploadBlob.swift:52:74: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
let response = try await APIClientService.shared.sendRequest(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/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:489:57: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
pdsURL: session?.pdsURL ?? (self.pdsURL ?? nil),
~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:56:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'UserSession' has non-sendable type 'URL'
public let serviceEndpoint: 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/ATProtoKit/APIReference/SessionManager/UserSession.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:226:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'ATService' has non-sendable type 'URL'
public var serviceEndpoint: 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/ATProtoKit/ATProtoKit.swift:201:63: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:230:59: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:31:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewBasicDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:109:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:196:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:199:20: warning: stored property 'bannerImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let bannerImageURL: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[1133/1136] Compiling ATProtoKit AppBskyActorDefs.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/ComAtprotoAPI/SignPLCOperation.swift:68:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/SubmitPLCOperation.swift:45:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateEmail.swift:62:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateHandle.swift:49:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UploadBlob.swift:52:74: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
let response = try await APIClientService.shared.sendRequest(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/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:489:57: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
pdsURL: session?.pdsURL ?? (self.pdsURL ?? nil),
~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:56:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'UserSession' has non-sendable type 'URL'
public let serviceEndpoint: 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/ATProtoKit/APIReference/SessionManager/UserSession.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:226:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'ATService' has non-sendable type 'URL'
public var serviceEndpoint: 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/ATProtoKit/ATProtoKit.swift:201:63: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:230:59: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:31:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewBasicDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:109:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:196:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:199:20: warning: stored property 'bannerImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let bannerImageURL: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[1134/1136] Compiling ATProtoKit AppBskyActorGetPreferences.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/ComAtprotoAPI/SignPLCOperation.swift:68:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/SubmitPLCOperation.swift:45:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateEmail.swift:62:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateHandle.swift:49:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UploadBlob.swift:52:74: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
let response = try await APIClientService.shared.sendRequest(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/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:489:57: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
pdsURL: session?.pdsURL ?? (self.pdsURL ?? nil),
~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:56:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'UserSession' has non-sendable type 'URL'
public let serviceEndpoint: 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/ATProtoKit/APIReference/SessionManager/UserSession.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:226:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'ATService' has non-sendable type 'URL'
public var serviceEndpoint: 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/ATProtoKit/ATProtoKit.swift:201:63: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:230:59: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:31:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewBasicDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:109:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:196:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:199:20: warning: stored property 'bannerImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let bannerImageURL: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[1135/1136] Compiling ATProtoKit AppBskyActorGetProfile.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/ComAtprotoAPI/SignPLCOperation.swift:68:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/SubmitPLCOperation.swift:45:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateEmail.swift:62:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateHandle.swift:49:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UploadBlob.swift:52:74: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
let response = try await APIClientService.shared.sendRequest(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/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:489:57: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
pdsURL: session?.pdsURL ?? (self.pdsURL ?? nil),
~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:56:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'UserSession' has non-sendable type 'URL'
public let serviceEndpoint: 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/ATProtoKit/APIReference/SessionManager/UserSession.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:226:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'ATService' has non-sendable type 'URL'
public var serviceEndpoint: 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/ATProtoKit/ATProtoKit.swift:201:63: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:230:59: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:31:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewBasicDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:109:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:196:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:199:20: warning: stored property 'bannerImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let bannerImageURL: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[1136/1136] Compiling ATProtoKit AppBskyActorGetProfiles.swift
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/ComAtprotoAPI/SignPLCOperation.swift:68:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/SubmitPLCOperation.swift:45:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateEmail.swift:62:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UpdateHandle.swift:49:17: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
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/ATProtoKit/APIReference/ComAtprotoAPI/UploadBlob.swift:52:74: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
let response = try await APIClientService.shared.sendRequest(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/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:92:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:59: warning: capture of 'configuration' with non-sendable type 'URLSessionConfiguration' in a `@Sendable` closure
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:127:53: warning: passing argument of non-sendable type 'URLSessionConfiguration' into actor-isolated context may introduce data races
await APIClientService.shared.configure(with: configuration)
^
FoundationNetworking.URLSessionConfiguration:1:12: note: class 'URLSessionConfiguration' does not conform to the 'Sendable' protocol
open class URLSessionConfiguration : NSObject, NSCopying {
^
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/ATProtocolConfiguration.swift:489:57: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
pdsURL: session?.pdsURL ?? (self.pdsURL ?? nil),
~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:56:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'UserSession' has non-sendable type 'URL'
public let serviceEndpoint: 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/ATProtoKit/APIReference/SessionManager/UserSession.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/APIReference/SessionManager/UserSession.swift:226:16: warning: stored property 'serviceEndpoint' of 'Sendable'-conforming struct 'ATService' has non-sendable type 'URL'
public var serviceEndpoint: 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/ATProtoKit/ATProtoKit.swift:201:63: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/ATProtoKit.swift:230:59: warning: reference to static property 'areBlueskyRecordsRegistered' is not concurrency-safe because it involves shared mutable state
if canUseBlueskyRecords && !(ATRecordTypeRegistry.areBlueskyRecordsRegistered) {
^
/host/spi-builder-workspace/Sources/ATProtoKit/Utilities/ATRecordProtocol.swift:154:36: note: static property declared here
public private(set) static var areBlueskyRecordsRegistered = false
^
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:31:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewBasicDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:109:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:196:20: warning: stored property 'avatarImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let avatarImageURL: 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/ATProtoKit/Models/Lexicons/app.bsky/Actor/AppBskyActorDefs.swift:199:20: warning: stored property 'bannerImageURL' of 'Sendable'-conforming struct 'ProfileViewDetailedDefinition' has non-sendable type 'URL?'
public let bannerImageURL: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
error: fatalError
BUILD FAILURE 5.9 linux