Build Information
Failed to build ATProtoKit, reference 0.25.3 (5ae54c
), with Swift 5.10 for Linux on 16 Mar 2025 17:11:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
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/1139] 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; this is an error in Swift 6
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; this is an error in Swift 6
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/1139] 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; this is an error in Swift 6
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; this is an error in Swift 6
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/1139] 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; this is an error in Swift 6
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; this is an error in Swift 6
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/1139] 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; this is an error in Swift 6
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; this is an error in Swift 6
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/1139] 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; this is an error in Swift 6
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; this is an error in Swift 6
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/1139] 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; this is an error in Swift 6
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; this is an error in Swift 6
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/1139] 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; this is an error in Swift 6
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; this is an error in Swift 6
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/1139] 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; this is an error in Swift 6
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; this is an error in Swift 6
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/1139] 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; this is an error in Swift 6
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; this is an error in Swift 6
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/1139] 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; this is an error in Swift 6
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; this is an error in Swift 6
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/1139] 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; this is an error in Swift 6
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; this is an error in Swift 6
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/1139] 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; this is an error in Swift 6
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; this is an error in Swift 6
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/1139] 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; this is an error in Swift 6
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; this is an error in Swift 6
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/1139] 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; this is an error in Swift 6
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; this is an error in Swift 6
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/1139] 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; this is an error in Swift 6
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; this is an error in Swift 6
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/1139] 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; this is an error in Swift 6
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; this is an error in Swift 6
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/1139] 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; this is an error in Swift 6
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; this is an error in Swift 6
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/1139] 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; this is an error in Swift 6
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; this is an error in Swift 6
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 {
^
[1137/1139] 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; this is an error in Swift 6
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; this is an error in Swift 6
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 {
^
[1138/1139] 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; this is an error in Swift 6
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; this is an error in Swift 6
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 {
^
[1139/1139] 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; this is an error in Swift 6
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; this is an error in Swift 6
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.10 linux