Build Information
Successful build of PutioKit, reference master (117808
), with Swift 6.0 for macOS (SPM) on 30 Oct 2024 22:47:08 UTC.
Swift 6 data race errors: 6
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ipavlidakis/PutioKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ipavlidakis/PutioKit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 117808d Expose share error and exceedeLimit reder
Cloned https://github.com/ipavlidakis/PutioKit.git
Revision (git rev-parse @):
117808d7b5392e260ed04aa7227f30f962f4bf16
SUCCESS checkout https://github.com/ipavlidakis/PutioKit.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "putiokit",
"name": "PutioKit",
"url": "https://github.com/ipavlidakis/PutioKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PutioKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/ipavlidakis/PutioKit.git
[1/531] Fetching putiokit
Fetched https://github.com/ipavlidakis/PutioKit.git from cache (0.73s)
Creating working copy for https://github.com/ipavlidakis/PutioKit.git
Working copy of https://github.com/ipavlidakis/PutioKit.git resolved at master (117808d)
warning: '.resolve-product-dependencies': dependency 'putiokit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/ipavlidakis/PutioKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version--7754E27361AE5C74.txt
[3/54] Emitting module PutioKit
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/External/Swime/MimeType.swift:101:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct MimeType {
| `- note: consider making struct 'MimeType' conform to the 'Sendable' protocol
72 | /// Mime type string representation. For example "application/pdf"
73 | public let mime: String
:
99 |
100 | /// List of all supported `MimeType`s
101 | public static let all: [MimeType] = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | MimeType(
103 | mime: "image/jpeg",
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/CreatedAndUpdatedDateFormatter.swift:11:13: warning: class 'CreatedAndUpdatedDateFormatter' must restate inherited '@unchecked Sendable' conformance
9 | import Foundation
10 |
11 | final class CreatedAndUpdatedDateFormatter: DateFormatter {
| `- warning: class 'CreatedAndUpdatedDateFormatter' must restate inherited '@unchecked Sendable' conformance
12 |
13 | override func date(from string: String) -> Date? {
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImageCacheType.swift:15:26: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 | #endif
14 |
15 | protocol ImageCacheType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImageLoader.swift:18:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | final class ImageLoader {
| `- note: class 'ImageLoader' does not conform to the 'Sendable' protocol
17 |
18 | static let shared = ImageLoader()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let cache: ImageCacheType
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:14:16: warning: static property 'contentTypeFormURLEncoded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | extension URLRequest.HeaderPair {
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
| |- warning: static property 'contentTypeFormURLEncoded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeFormURLEncoded' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeFormURLEncoded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:16:16: warning: static property 'acceptSubrip' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
| |- warning: static property 'acceptSubrip' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'acceptSubrip' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'acceptSubrip' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
18 |
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:17:16: warning: static property 'acceptVTT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
| |- warning: static property 'acceptVTT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'acceptVTT' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'acceptVTT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | static func basicAuthorization(username: String, password: String) -> URLRequest.HeaderPair? {
[4/59] Compiling PutioKit ZipService.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/CreatedAndUpdatedDateFormatter.swift:11:13: warning: class 'CreatedAndUpdatedDateFormatter' must restate inherited '@unchecked Sendable' conformance
9 | import Foundation
10 |
11 | final class CreatedAndUpdatedDateFormatter: DateFormatter {
| `- warning: class 'CreatedAndUpdatedDateFormatter' must restate inherited '@unchecked Sendable' conformance
12 |
13 | override func date(from string: String) -> Date? {
[5/59] Compiling PutioKit ApiClientModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/CreatedAndUpdatedDateFormatter.swift:11:13: warning: class 'CreatedAndUpdatedDateFormatter' must restate inherited '@unchecked Sendable' conformance
9 | import Foundation
10 |
11 | final class CreatedAndUpdatedDateFormatter: DateFormatter {
| `- warning: class 'CreatedAndUpdatedDateFormatter' must restate inherited '@unchecked Sendable' conformance
12 |
13 | override func date(from string: String) -> Date? {
[6/59] Compiling PutioKit CompletionTypes.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/CreatedAndUpdatedDateFormatter.swift:11:13: warning: class 'CreatedAndUpdatedDateFormatter' must restate inherited '@unchecked Sendable' conformance
9 | import Foundation
10 |
11 | final class CreatedAndUpdatedDateFormatter: DateFormatter {
| `- warning: class 'CreatedAndUpdatedDateFormatter' must restate inherited '@unchecked Sendable' conformance
12 |
13 | override func date(from string: String) -> Date? {
[7/59] Compiling PutioKit Constants.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/CreatedAndUpdatedDateFormatter.swift:11:13: warning: class 'CreatedAndUpdatedDateFormatter' must restate inherited '@unchecked Sendable' conformance
9 | import Foundation
10 |
11 | final class CreatedAndUpdatedDateFormatter: DateFormatter {
| `- warning: class 'CreatedAndUpdatedDateFormatter' must restate inherited '@unchecked Sendable' conformance
12 |
13 | override func date(from string: String) -> Date? {
[8/59] Compiling PutioKit CreatedAndUpdatedDateFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/CreatedAndUpdatedDateFormatter.swift:11:13: warning: class 'CreatedAndUpdatedDateFormatter' must restate inherited '@unchecked Sendable' conformance
9 | import Foundation
10 |
11 | final class CreatedAndUpdatedDateFormatter: DateFormatter {
| `- warning: class 'CreatedAndUpdatedDateFormatter' must restate inherited '@unchecked Sendable' conformance
12 |
13 | override func date(from string: String) -> Date? {
[9/59] Compiling PutioKit Data+MimeType.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/External/Swime/MimeType.swift:101:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct MimeType {
| `- note: consider making struct 'MimeType' conform to the 'Sendable' protocol
72 | /// Mime type string representation. For example "application/pdf"
73 | public let mime: String
:
99 |
100 | /// List of all supported `MimeType`s
101 | public static let all: [MimeType] = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | MimeType(
103 | mime: "image/jpeg",
[10/59] Compiling PutioKit Data+MultipartForm.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/External/Swime/MimeType.swift:101:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct MimeType {
| `- note: consider making struct 'MimeType' conform to the 'Sendable' protocol
72 | /// Mime type string representation. For example "application/pdf"
73 | public let mime: String
:
99 |
100 | /// List of all supported `MimeType`s
101 | public static let all: [MimeType] = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | MimeType(
103 | mime: "image/jpeg",
[11/59] Compiling PutioKit Decodable+GenericInit.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/External/Swime/MimeType.swift:101:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct MimeType {
| `- note: consider making struct 'MimeType' conform to the 'Sendable' protocol
72 | /// Mime type string representation. For example "application/pdf"
73 | public let mime: String
:
99 |
100 | /// List of all supported `MimeType`s
101 | public static let all: [MimeType] = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | MimeType(
103 | mime: "image/jpeg",
[12/59] Compiling PutioKit JSONDecoder+PutioKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/External/Swime/MimeType.swift:101:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct MimeType {
| `- note: consider making struct 'MimeType' conform to the 'Sendable' protocol
72 | /// Mime type string representation. For example "application/pdf"
73 | public let mime: String
:
99 |
100 | /// List of all supported `MimeType`s
101 | public static let all: [MimeType] = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | MimeType(
103 | mime: "image/jpeg",
[13/59] Compiling PutioKit MimeType.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/External/Swime/MimeType.swift:101:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct MimeType {
| `- note: consider making struct 'MimeType' conform to the 'Sendable' protocol
72 | /// Mime type string representation. For example "application/pdf"
73 | public let mime: String
:
99 |
100 | /// List of all supported `MimeType`s
101 | public static let all: [MimeType] = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | MimeType(
103 | mime: "image/jpeg",
[14/59] Compiling PutioKit Swime.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/External/Swime/MimeType.swift:101:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct MimeType {
| `- note: consider making struct 'MimeType' conform to the 'Sendable' protocol
72 | /// Mime type string representation. For example "application/pdf"
73 | public let mime: String
:
99 |
100 | /// List of all supported `MimeType`s
101 | public static let all: [MimeType] = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | MimeType(
103 | mime: "image/jpeg",
[15/59] Compiling PutioKit OperationQueue+Convenience.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:14:16: warning: static property 'contentTypeFormURLEncoded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | extension URLRequest.HeaderPair {
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
| |- warning: static property 'contentTypeFormURLEncoded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeFormURLEncoded' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeFormURLEncoded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:16:16: warning: static property 'acceptSubrip' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
| |- warning: static property 'acceptSubrip' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'acceptSubrip' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'acceptSubrip' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
18 |
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:17:16: warning: static property 'acceptVTT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
| |- warning: static property 'acceptVTT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'acceptVTT' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'acceptVTT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | static func basicAuthorization(username: String, password: String) -> URLRequest.HeaderPair? {
[16/59] Compiling PutioKit PutIOKitError.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:14:16: warning: static property 'contentTypeFormURLEncoded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | extension URLRequest.HeaderPair {
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
| |- warning: static property 'contentTypeFormURLEncoded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeFormURLEncoded' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeFormURLEncoded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:16:16: warning: static property 'acceptSubrip' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
| |- warning: static property 'acceptSubrip' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'acceptSubrip' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'acceptSubrip' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
18 |
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:17:16: warning: static property 'acceptVTT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
| |- warning: static property 'acceptVTT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'acceptVTT' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'acceptVTT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | static func basicAuthorization(username: String, password: String) -> URLRequest.HeaderPair? {
[17/59] Compiling PutioKit URLRequest+HeaderPair.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:14:16: warning: static property 'contentTypeFormURLEncoded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | extension URLRequest.HeaderPair {
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
| |- warning: static property 'contentTypeFormURLEncoded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeFormURLEncoded' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeFormURLEncoded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:16:16: warning: static property 'acceptSubrip' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
| |- warning: static property 'acceptSubrip' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'acceptSubrip' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'acceptSubrip' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
18 |
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:17:16: warning: static property 'acceptVTT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
| |- warning: static property 'acceptVTT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'acceptVTT' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'acceptVTT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | static func basicAuthorization(username: String, password: String) -> URLRequest.HeaderPair? {
[18/59] Compiling PutioKit URLRequest+PutIOKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:14:16: warning: static property 'contentTypeFormURLEncoded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | extension URLRequest.HeaderPair {
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
| |- warning: static property 'contentTypeFormURLEncoded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeFormURLEncoded' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeFormURLEncoded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:16:16: warning: static property 'acceptSubrip' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
| |- warning: static property 'acceptSubrip' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'acceptSubrip' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'acceptSubrip' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
18 |
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:17:16: warning: static property 'acceptVTT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
| |- warning: static property 'acceptVTT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'acceptVTT' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'acceptVTT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | static func basicAuthorization(username: String, password: String) -> URLRequest.HeaderPair? {
[19/59] Compiling PutioKit URLRequest+QueryItemEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:14:16: warning: static property 'contentTypeFormURLEncoded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | extension URLRequest.HeaderPair {
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
| |- warning: static property 'contentTypeFormURLEncoded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeFormURLEncoded' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeFormURLEncoded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:16:16: warning: static property 'acceptSubrip' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
| |- warning: static property 'acceptSubrip' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'acceptSubrip' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'acceptSubrip' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
18 |
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:17:16: warning: static property 'acceptVTT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
| |- warning: static property 'acceptVTT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'acceptVTT' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'acceptVTT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | static func basicAuthorization(username: String, password: String) -> URLRequest.HeaderPair? {
[20/59] Compiling PutioKit HTTPMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImageCacheType.swift:15:26: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 | #endif
14 |
15 | protocol ImageCacheType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImageLoader.swift:18:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | final class ImageLoader {
| `- note: class 'ImageLoader' does not conform to the 'Sendable' protocol
17 |
18 | static let shared = ImageLoader()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let cache: ImageCacheType
[21/59] Compiling PutioKit Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImageCacheType.swift:15:26: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 | #endif
14 |
15 | protocol ImageCacheType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImageLoader.swift:18:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | final class ImageLoader {
| `- note: class 'ImageLoader' does not conform to the 'Sendable' protocol
17 |
18 | static let shared = ImageLoader()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let cache: ImageCacheType
[22/59] Compiling PutioKit ImageCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImageCacheType.swift:15:26: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 | #endif
14 |
15 | protocol ImageCacheType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImageLoader.swift:18:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | final class ImageLoader {
| `- note: class 'ImageLoader' does not conform to the 'Sendable' protocol
17 |
18 | static let shared = ImageLoader()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let cache: ImageCacheType
[23/59] Compiling PutioKit ImageCacheType.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImageCacheType.swift:15:26: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 | #endif
14 |
15 | protocol ImageCacheType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImageLoader.swift:18:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | final class ImageLoader {
| `- note: class 'ImageLoader' does not conform to the 'Sendable' protocol
17 |
18 | static let shared = ImageLoader()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let cache: ImageCacheType
[24/59] Compiling PutioKit ImageLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImageCacheType.swift:15:26: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 | #endif
14 |
15 | protocol ImageCacheType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImageLoader.swift:18:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | final class ImageLoader {
| `- note: class 'ImageLoader' does not conform to the 'Sendable' protocol
17 |
18 | static let shared = ImageLoader()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let cache: ImageCacheType
[25/59] Compiling PutioKit FilesService+VideoOperations.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
[26/59] Compiling PutioKit FriendsService.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
[27/59] Compiling PutioKit FriendsService+Model.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
[28/59] Compiling PutioKit RSSService+Models.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
[29/59] Compiling PutioKit RSSService.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
[30/59] Compiling PutioKit AccountService+Model.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:14:16: warning: static property 'contentTypeFormURLEncoded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | extension URLRequest.HeaderPair {
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
| |- warning: static property 'contentTypeFormURLEncoded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeFormURLEncoded' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeFormURLEncoded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
[31/59] Compiling PutioKit AuthenticationService.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:14:16: warning: static property 'contentTypeFormURLEncoded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | extension URLRequest.HeaderPair {
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
| |- warning: static property 'contentTypeFormURLEncoded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeFormURLEncoded' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeFormURLEncoded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
[32/59] Compiling PutioKit AuthenticationService+Models.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:14:16: warning: static property 'contentTypeFormURLEncoded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | extension URLRequest.HeaderPair {
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
| |- warning: static property 'contentTypeFormURLEncoded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeFormURLEncoded' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeFormURLEncoded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
[33/59] Compiling PutioKit ConfigService.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:14:16: warning: static property 'contentTypeFormURLEncoded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | extension URLRequest.HeaderPair {
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
| |- warning: static property 'contentTypeFormURLEncoded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeFormURLEncoded' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeFormURLEncoded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
[34/59] Compiling PutioKit EventsService.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:14:16: warning: static property 'contentTypeFormURLEncoded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | extension URLRequest.HeaderPair {
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
| |- warning: static property 'contentTypeFormURLEncoded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeFormURLEncoded' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeFormURLEncoded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
[35/59] Compiling PutioKit EventsService+Models.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:14:16: warning: static property 'contentTypeFormURLEncoded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | extension URLRequest.HeaderPair {
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
| |- warning: static property 'contentTypeFormURLEncoded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeFormURLEncoded' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeFormURLEncoded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
[36/59] Compiling PutioKit FilesService.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImageLoader.swift:18:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | final class ImageLoader {
| `- note: class 'ImageLoader' does not conform to the 'Sendable' protocol
17 |
18 | static let shared = ImageLoader()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let cache: ImageCacheType
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:56:40: warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 |
55 | if let cachedImage = ImageLoader.shared.image(for: file.id) {
56 | DispatchQueue.main.async { completion (.success(cachedImage)) }
| |- warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | return nil
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:56:61: warning: capture of 'cachedImage' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 |
55 | if let cachedImage = ImageLoader.shared.image(for: file.id) {
56 | DispatchQueue.main.async { completion (.success(cachedImage)) }
| `- warning: capture of 'cachedImage' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | return nil
58 | }
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:65:52: warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
63 | _ = ImageLoader.shared.loadImage(from: url).sink(receiveValue: {
64 | guard let image = $0 else { return completion(.failure(PutIOKitError.parsingFailed)) }
65 | DispatchQueue.main.async { completion(.success(image)) }
| |- warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
66 | })
67 | break
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:65:72: warning: capture of 'image' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
63 | _ = ImageLoader.shared.loadImage(from: url).sink(receiveValue: {
64 | guard let image = $0 else { return completion(.failure(PutIOKitError.parsingFailed)) }
65 | DispatchQueue.main.async { completion(.success(image)) }
| `- warning: capture of 'image' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 | })
67 | break
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:69:48: warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | break
68 | case .failure(let error):
69 | DispatchQueue.main.async { completion(.failure(error)) }
| |- warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:56:40: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | if let cachedImage = ImageLoader.shared.image(for: file.id) {
56 | DispatchQueue.main.async { completion (.success(cachedImage)) }
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
57 | return nil
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:69:48: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
67 | break
68 | case .failure(let error):
69 | DispatchQueue.main.async { completion(.failure(error)) }
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:65:52: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
63 | _ = ImageLoader.shared.loadImage(from: url).sink(receiveValue: {
64 | guard let image = $0 else { return completion(.failure(PutIOKitError.parsingFailed)) }
65 | DispatchQueue.main.async { completion(.success(image)) }
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
66 | })
67 | break
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:65:72: warning: sending 'image' risks causing data races; this is an error in the Swift 6 language mode
63 | _ = ImageLoader.shared.loadImage(from: url).sink(receiveValue: {
64 | guard let image = $0 else { return completion(.failure(PutIOKitError.parsingFailed)) }
65 | DispatchQueue.main.async { completion(.success(image)) }
| |- warning: sending 'image' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'image' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
66 | })
67 | break
[37/59] Compiling PutioKit FilesService+Model.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImageLoader.swift:18:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | final class ImageLoader {
| `- note: class 'ImageLoader' does not conform to the 'Sendable' protocol
17 |
18 | static let shared = ImageLoader()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let cache: ImageCacheType
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:56:40: warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 |
55 | if let cachedImage = ImageLoader.shared.image(for: file.id) {
56 | DispatchQueue.main.async { completion (.success(cachedImage)) }
| |- warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | return nil
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:56:61: warning: capture of 'cachedImage' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 |
55 | if let cachedImage = ImageLoader.shared.image(for: file.id) {
56 | DispatchQueue.main.async { completion (.success(cachedImage)) }
| `- warning: capture of 'cachedImage' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | return nil
58 | }
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:65:52: warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
63 | _ = ImageLoader.shared.loadImage(from: url).sink(receiveValue: {
64 | guard let image = $0 else { return completion(.failure(PutIOKitError.parsingFailed)) }
65 | DispatchQueue.main.async { completion(.success(image)) }
| |- warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
66 | })
67 | break
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:65:72: warning: capture of 'image' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
63 | _ = ImageLoader.shared.loadImage(from: url).sink(receiveValue: {
64 | guard let image = $0 else { return completion(.failure(PutIOKitError.parsingFailed)) }
65 | DispatchQueue.main.async { completion(.success(image)) }
| `- warning: capture of 'image' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 | })
67 | break
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:69:48: warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | break
68 | case .failure(let error):
69 | DispatchQueue.main.async { completion(.failure(error)) }
| |- warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:56:40: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | if let cachedImage = ImageLoader.shared.image(for: file.id) {
56 | DispatchQueue.main.async { completion (.success(cachedImage)) }
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
57 | return nil
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:69:48: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
67 | break
68 | case .failure(let error):
69 | DispatchQueue.main.async { completion(.failure(error)) }
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:65:52: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
63 | _ = ImageLoader.shared.loadImage(from: url).sink(receiveValue: {
64 | guard let image = $0 else { return completion(.failure(PutIOKitError.parsingFailed)) }
65 | DispatchQueue.main.async { completion(.success(image)) }
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
66 | })
67 | break
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:65:72: warning: sending 'image' risks causing data races; this is an error in the Swift 6 language mode
63 | _ = ImageLoader.shared.loadImage(from: url).sink(receiveValue: {
64 | guard let image = $0 else { return completion(.failure(PutIOKitError.parsingFailed)) }
65 | DispatchQueue.main.async { completion(.success(image)) }
| |- warning: sending 'image' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'image' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
66 | })
67 | break
[38/59] Compiling PutioKit FilesService+CRUD.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImageLoader.swift:18:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | final class ImageLoader {
| `- note: class 'ImageLoader' does not conform to the 'Sendable' protocol
17 |
18 | static let shared = ImageLoader()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let cache: ImageCacheType
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:56:40: warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 |
55 | if let cachedImage = ImageLoader.shared.image(for: file.id) {
56 | DispatchQueue.main.async { completion (.success(cachedImage)) }
| |- warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | return nil
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:56:61: warning: capture of 'cachedImage' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 |
55 | if let cachedImage = ImageLoader.shared.image(for: file.id) {
56 | DispatchQueue.main.async { completion (.success(cachedImage)) }
| `- warning: capture of 'cachedImage' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | return nil
58 | }
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:65:52: warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
63 | _ = ImageLoader.shared.loadImage(from: url).sink(receiveValue: {
64 | guard let image = $0 else { return completion(.failure(PutIOKitError.parsingFailed)) }
65 | DispatchQueue.main.async { completion(.success(image)) }
| |- warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
66 | })
67 | break
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:65:72: warning: capture of 'image' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
63 | _ = ImageLoader.shared.loadImage(from: url).sink(receiveValue: {
64 | guard let image = $0 else { return completion(.failure(PutIOKitError.parsingFailed)) }
65 | DispatchQueue.main.async { completion(.success(image)) }
| `- warning: capture of 'image' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 | })
67 | break
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:69:48: warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | break
68 | case .failure(let error):
69 | DispatchQueue.main.async { completion(.failure(error)) }
| |- warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:56:40: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | if let cachedImage = ImageLoader.shared.image(for: file.id) {
56 | DispatchQueue.main.async { completion (.success(cachedImage)) }
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
57 | return nil
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:69:48: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
67 | break
68 | case .failure(let error):
69 | DispatchQueue.main.async { completion(.failure(error)) }
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:65:52: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
63 | _ = ImageLoader.shared.loadImage(from: url).sink(receiveValue: {
64 | guard let image = $0 else { return completion(.failure(PutIOKitError.parsingFailed)) }
65 | DispatchQueue.main.async { completion(.success(image)) }
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
66 | })
67 | break
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:65:72: warning: sending 'image' risks causing data races; this is an error in the Swift 6 language mode
63 | _ = ImageLoader.shared.loadImage(from: url).sink(receiveValue: {
64 | guard let image = $0 else { return completion(.failure(PutIOKitError.parsingFailed)) }
65 | DispatchQueue.main.async { completion(.success(image)) }
| |- warning: sending 'image' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'image' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
66 | })
67 | break
[39/59] Compiling PutioKit FilesService+ImageOperations.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImageLoader.swift:18:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | final class ImageLoader {
| `- note: class 'ImageLoader' does not conform to the 'Sendable' protocol
17 |
18 | static let shared = ImageLoader()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let cache: ImageCacheType
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:56:40: warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 |
55 | if let cachedImage = ImageLoader.shared.image(for: file.id) {
56 | DispatchQueue.main.async { completion (.success(cachedImage)) }
| |- warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | return nil
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:56:61: warning: capture of 'cachedImage' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 |
55 | if let cachedImage = ImageLoader.shared.image(for: file.id) {
56 | DispatchQueue.main.async { completion (.success(cachedImage)) }
| `- warning: capture of 'cachedImage' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | return nil
58 | }
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:65:52: warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
63 | _ = ImageLoader.shared.loadImage(from: url).sink(receiveValue: {
64 | guard let image = $0 else { return completion(.failure(PutIOKitError.parsingFailed)) }
65 | DispatchQueue.main.async { completion(.success(image)) }
| |- warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
66 | })
67 | break
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:65:72: warning: capture of 'image' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
63 | _ = ImageLoader.shared.loadImage(from: url).sink(receiveValue: {
64 | guard let image = $0 else { return completion(.failure(PutIOKitError.parsingFailed)) }
65 | DispatchQueue.main.async { completion(.success(image)) }
| `- warning: capture of 'image' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 | })
67 | break
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:69:48: warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | break
68 | case .failure(let error):
69 | DispatchQueue.main.async { completion(.failure(error)) }
| |- warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:56:40: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | if let cachedImage = ImageLoader.shared.image(for: file.id) {
56 | DispatchQueue.main.async { completion (.success(cachedImage)) }
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
57 | return nil
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:69:48: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
67 | break
68 | case .failure(let error):
69 | DispatchQueue.main.async { completion(.failure(error)) }
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:65:52: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
63 | _ = ImageLoader.shared.loadImage(from: url).sink(receiveValue: {
64 | guard let image = $0 else { return completion(.failure(PutIOKitError.parsingFailed)) }
65 | DispatchQueue.main.async { completion(.success(image)) }
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
66 | })
67 | break
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:65:72: warning: sending 'image' risks causing data races; this is an error in the Swift 6 language mode
63 | _ = ImageLoader.shared.loadImage(from: url).sink(receiveValue: {
64 | guard let image = $0 else { return completion(.failure(PutIOKitError.parsingFailed)) }
65 | DispatchQueue.main.async { completion(.success(image)) }
| |- warning: sending 'image' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'image' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
66 | })
67 | break
[40/59] Compiling PutioKit FilesService+Listing.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImageLoader.swift:18:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | final class ImageLoader {
| `- note: class 'ImageLoader' does not conform to the 'Sendable' protocol
17 |
18 | static let shared = ImageLoader()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let cache: ImageCacheType
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:56:40: warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 |
55 | if let cachedImage = ImageLoader.shared.image(for: file.id) {
56 | DispatchQueue.main.async { completion (.success(cachedImage)) }
| |- warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | return nil
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:56:61: warning: capture of 'cachedImage' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 |
55 | if let cachedImage = ImageLoader.shared.image(for: file.id) {
56 | DispatchQueue.main.async { completion (.success(cachedImage)) }
| `- warning: capture of 'cachedImage' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | return nil
58 | }
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:65:52: warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
63 | _ = ImageLoader.shared.loadImage(from: url).sink(receiveValue: {
64 | guard let image = $0 else { return completion(.failure(PutIOKitError.parsingFailed)) }
65 | DispatchQueue.main.async { completion(.success(image)) }
| |- warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
66 | })
67 | break
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:65:72: warning: capture of 'image' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
63 | _ = ImageLoader.shared.loadImage(from: url).sink(receiveValue: {
64 | guard let image = $0 else { return completion(.failure(PutIOKitError.parsingFailed)) }
65 | DispatchQueue.main.async { completion(.success(image)) }
| `- warning: capture of 'image' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 | })
67 | break
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:69:48: warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | break
68 | case .failure(let error):
69 | DispatchQueue.main.async { completion(.failure(error)) }
| |- warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:56:40: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | if let cachedImage = ImageLoader.shared.image(for: file.id) {
56 | DispatchQueue.main.async { completion (.success(cachedImage)) }
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
57 | return nil
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:69:48: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
67 | break
68 | case .failure(let error):
69 | DispatchQueue.main.async { completion(.failure(error)) }
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:65:52: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
63 | _ = ImageLoader.shared.loadImage(from: url).sink(receiveValue: {
64 | guard let image = $0 else { return completion(.failure(PutIOKitError.parsingFailed)) }
65 | DispatchQueue.main.async { completion(.success(image)) }
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
66 | })
67 | break
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:65:72: warning: sending 'image' risks causing data races; this is an error in the Swift 6 language mode
63 | _ = ImageLoader.shared.loadImage(from: url).sink(receiveValue: {
64 | guard let image = $0 else { return completion(.failure(PutIOKitError.parsingFailed)) }
65 | DispatchQueue.main.async { completion(.success(image)) }
| |- warning: sending 'image' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'image' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
66 | })
67 | break
[41/59] Compiling PutioKit FilesService+Searching.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImageLoader.swift:18:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | final class ImageLoader {
| `- note: class 'ImageLoader' does not conform to the 'Sendable' protocol
17 |
18 | static let shared = ImageLoader()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImageLoader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let cache: ImageCacheType
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:56:40: warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 |
55 | if let cachedImage = ImageLoader.shared.image(for: file.id) {
56 | DispatchQueue.main.async { completion (.success(cachedImage)) }
| |- warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | return nil
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:56:61: warning: capture of 'cachedImage' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 |
55 | if let cachedImage = ImageLoader.shared.image(for: file.id) {
56 | DispatchQueue.main.async { completion (.success(cachedImage)) }
| `- warning: capture of 'cachedImage' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | return nil
58 | }
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:65:52: warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
63 | _ = ImageLoader.shared.loadImage(from: url).sink(receiveValue: {
64 | guard let image = $0 else { return completion(.failure(PutIOKitError.parsingFailed)) }
65 | DispatchQueue.main.async { completion(.success(image)) }
| |- warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
66 | })
67 | break
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:65:72: warning: capture of 'image' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
63 | _ = ImageLoader.shared.loadImage(from: url).sink(receiveValue: {
64 | guard let image = $0 else { return completion(.failure(PutIOKitError.parsingFailed)) }
65 | DispatchQueue.main.async { completion(.success(image)) }
| `- warning: capture of 'image' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 | })
67 | break
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:69:48: warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | break
68 | case .failure(let error):
69 | DispatchQueue.main.async { completion(.failure(error)) }
| |- warning: capture of 'completion' with non-sendable type '(Result<FilesService.ImageOperations.Image, any Error>) -> Void' (aka '(Result<NSImage, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:56:40: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | if let cachedImage = ImageLoader.shared.image(for: file.id) {
56 | DispatchQueue.main.async { completion (.success(cachedImage)) }
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
57 | return nil
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:69:48: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
67 | break
68 | case .failure(let error):
69 | DispatchQueue.main.async { completion(.failure(error)) }
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:65:52: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
63 | _ = ImageLoader.shared.loadImage(from: url).sink(receiveValue: {
64 | guard let image = $0 else { return completion(.failure(PutIOKitError.parsingFailed)) }
65 | DispatchQueue.main.async { completion(.success(image)) }
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
66 | })
67 | break
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Services/Files/Subservices/FilesService+ImageOperations.swift:65:72: warning: sending 'image' risks causing data races; this is an error in the Swift 6 language mode
63 | _ = ImageLoader.shared.loadImage(from: url).sink(receiveValue: {
64 | guard let image = $0 else { return completion(.failure(PutIOKitError.parsingFailed)) }
65 | DispatchQueue.main.async { completion(.success(image)) }
| |- warning: sending 'image' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'image' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
66 | })
67 | break
[42/59] Compiling PutioKit ErrorModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
[43/59] Compiling PutioKit SuccessModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
[44/59] Compiling PutioKit CredentialsStoring.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
[45/59] Compiling PutioKit FileOrTransferProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
[46/59] Compiling PutioKit URLQueryItemConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
[47/59] Compiling PutioKit AccountService.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
[48/59] Compiling PutioKit SharesService+Model.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
[49/59] Compiling PutioKit SharesService.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
[50/59] Compiling PutioKit TransfersService+Model.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
[51/59] Compiling PutioKit TransfersService.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
[52/59] Compiling PutioKit ZipService+Models.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/URLRequest/URLRequest+HeaderPair.swift:15:16: warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static var contentTypeFormURLEncoded = URLRequest.HeaderPair(name: "Content-Type", value: "application/x-www-form-urlencoded")
15 | static var contentTypeJSON = URLRequest.HeaderPair(name: "Content-Type", value: "application/json")
| |- warning: static property 'contentTypeJSON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentTypeJSON' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'contentTypeJSON' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var acceptSubrip = URLRequest.HeaderPair(name: "Accept", value: "application/x-subrip")
17 | static var acceptVTT = URLRequest.HeaderPair(name: "Accept", value: "text/vtt")
[53/59] Compiling PutioKit ImagePersistence.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImagePersistence.swift:65:30: warning: capture of 'image' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
63 | operationQueue.addOperation { [weak self] in
64 |
65 | guard let data = image.encodedImage() else { return }
| `- warning: capture of 'image' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 |
67 | do {
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImagePersistence.swift:69:17: warning: capture of 'self' with non-sendable type 'ImagePersistence?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | final class ImagePersistence {
| `- note: class 'ImagePersistence' does not conform to the 'Sendable' protocol
16 |
17 | private var existingFiles: Set<String> = Set()
:
67 | do {
68 | try data.write(to: url)
69 | self?.existingFiles.insert(key)
| `- warning: capture of 'self' with non-sendable type 'ImagePersistence?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | }
71 | catch(let exception) { print("ERROR: Failed to write iamge data to path: \(key), exception: \(exception)") }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImagePersistence.swift:102:21: warning: capture of 'self' with non-sendable type 'ImagePersistence?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | final class ImagePersistence {
| `- note: class 'ImagePersistence' does not conform to the 'Sendable' protocol
16 |
17 | private var existingFiles: Set<String> = Set()
:
100 | operationQueue.addOperation { [weak self] in
101 | do {
102 | try self?.fileManager.removeItem(at: url)
| `- warning: capture of 'self' with non-sendable type 'ImagePersistence?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 | } catch(let exception) {
104 | debugPrint("WARNING: Deletion of item at \(url) failed! \(exception)")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/NetworkHandler.swift:126:25: warning: capture of 'downstream' with non-sendable type 'PassthroughSubject<(data: Data, response: URLResponse), any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 | switch (data, response, error) {
125 | case let (data, response?, nil):
126 | downstream.send((data ?? Data(), response))
| `- warning: capture of 'downstream' with non-sendable type 'PassthroughSubject<(data: Data, response: URLResponse), any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | downstream.send(completion: .finished)
128 | case let (_, _, error as URLError):
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
| `- note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
3 | public init()
4 | @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/NetworkHandler.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
7 |
8 | import Foundation
9 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
10 |
11 | public protocol NetworkHandling {
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/NetworkHandler.swift:126:25: warning: capture of 'downstream' with non-sendable type 'PassthroughSubject<(data: Data, response: URLResponse), any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 | switch (data, response, error) {
125 | case let (data, response?, nil):
126 | downstream.send((data ?? Data(), response))
| `- warning: capture of 'downstream' with non-sendable type 'PassthroughSubject<(data: Data, response: URLResponse), any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | downstream.send(completion: .finished)
128 | case let (_, _, error as URLError):
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
| `- note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
3 | public init()
4 | @objc deinit
[54/59] Compiling PutioKit NSImage+Decoded.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImagePersistence.swift:65:30: warning: capture of 'image' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
63 | operationQueue.addOperation { [weak self] in
64 |
65 | guard let data = image.encodedImage() else { return }
| `- warning: capture of 'image' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 |
67 | do {
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImagePersistence.swift:69:17: warning: capture of 'self' with non-sendable type 'ImagePersistence?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | final class ImagePersistence {
| `- note: class 'ImagePersistence' does not conform to the 'Sendable' protocol
16 |
17 | private var existingFiles: Set<String> = Set()
:
67 | do {
68 | try data.write(to: url)
69 | self?.existingFiles.insert(key)
| `- warning: capture of 'self' with non-sendable type 'ImagePersistence?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | }
71 | catch(let exception) { print("ERROR: Failed to write iamge data to path: \(key), exception: \(exception)") }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImagePersistence.swift:102:21: warning: capture of 'self' with non-sendable type 'ImagePersistence?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | final class ImagePersistence {
| `- note: class 'ImagePersistence' does not conform to the 'Sendable' protocol
16 |
17 | private var existingFiles: Set<String> = Set()
:
100 | operationQueue.addOperation { [weak self] in
101 | do {
102 | try self?.fileManager.removeItem(at: url)
| `- warning: capture of 'self' with non-sendable type 'ImagePersistence?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 | } catch(let exception) {
104 | debugPrint("WARNING: Deletion of item at \(url) failed! \(exception)")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/NetworkHandler.swift:126:25: warning: capture of 'downstream' with non-sendable type 'PassthroughSubject<(data: Data, response: URLResponse), any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 | switch (data, response, error) {
125 | case let (data, response?, nil):
126 | downstream.send((data ?? Data(), response))
| `- warning: capture of 'downstream' with non-sendable type 'PassthroughSubject<(data: Data, response: URLResponse), any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | downstream.send(completion: .finished)
128 | case let (_, _, error as URLError):
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
| `- note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
3 | public init()
4 | @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/NetworkHandler.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
7 |
8 | import Foundation
9 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
10 |
11 | public protocol NetworkHandling {
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/NetworkHandler.swift:126:25: warning: capture of 'downstream' with non-sendable type 'PassthroughSubject<(data: Data, response: URLResponse), any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 | switch (data, response, error) {
125 | case let (data, response?, nil):
126 | downstream.send((data ?? Data(), response))
| `- warning: capture of 'downstream' with non-sendable type 'PassthroughSubject<(data: Data, response: URLResponse), any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | downstream.send(completion: .finished)
128 | case let (_, _, error as URLError):
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
| `- note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
3 | public init()
4 | @objc deinit
[55/59] Compiling PutioKit UIImage+Decoded.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImagePersistence.swift:65:30: warning: capture of 'image' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
63 | operationQueue.addOperation { [weak self] in
64 |
65 | guard let data = image.encodedImage() else { return }
| `- warning: capture of 'image' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 |
67 | do {
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImagePersistence.swift:69:17: warning: capture of 'self' with non-sendable type 'ImagePersistence?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | final class ImagePersistence {
| `- note: class 'ImagePersistence' does not conform to the 'Sendable' protocol
16 |
17 | private var existingFiles: Set<String> = Set()
:
67 | do {
68 | try data.write(to: url)
69 | self?.existingFiles.insert(key)
| `- warning: capture of 'self' with non-sendable type 'ImagePersistence?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | }
71 | catch(let exception) { print("ERROR: Failed to write iamge data to path: \(key), exception: \(exception)") }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImagePersistence.swift:102:21: warning: capture of 'self' with non-sendable type 'ImagePersistence?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | final class ImagePersistence {
| `- note: class 'ImagePersistence' does not conform to the 'Sendable' protocol
16 |
17 | private var existingFiles: Set<String> = Set()
:
100 | operationQueue.addOperation { [weak self] in
101 | do {
102 | try self?.fileManager.removeItem(at: url)
| `- warning: capture of 'self' with non-sendable type 'ImagePersistence?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 | } catch(let exception) {
104 | debugPrint("WARNING: Deletion of item at \(url) failed! \(exception)")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/NetworkHandler.swift:126:25: warning: capture of 'downstream' with non-sendable type 'PassthroughSubject<(data: Data, response: URLResponse), any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 | switch (data, response, error) {
125 | case let (data, response?, nil):
126 | downstream.send((data ?? Data(), response))
| `- warning: capture of 'downstream' with non-sendable type 'PassthroughSubject<(data: Data, response: URLResponse), any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | downstream.send(completion: .finished)
128 | case let (_, _, error as URLError):
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
| `- note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
3 | public init()
4 | @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/NetworkHandler.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
7 |
8 | import Foundation
9 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
10 |
11 | public protocol NetworkHandling {
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/NetworkHandler.swift:126:25: warning: capture of 'downstream' with non-sendable type 'PassthroughSubject<(data: Data, response: URLResponse), any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 | switch (data, response, error) {
125 | case let (data, response?, nil):
126 | downstream.send((data ?? Data(), response))
| `- warning: capture of 'downstream' with non-sendable type 'PassthroughSubject<(data: Data, response: URLResponse), any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | downstream.send(completion: .finished)
128 | case let (_, _, error as URLError):
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
| `- note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
3 | public init()
4 | @objc deinit
[56/59] Compiling PutioKit NSCache+Convenience.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImagePersistence.swift:65:30: warning: capture of 'image' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
63 | operationQueue.addOperation { [weak self] in
64 |
65 | guard let data = image.encodedImage() else { return }
| `- warning: capture of 'image' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 |
67 | do {
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImagePersistence.swift:69:17: warning: capture of 'self' with non-sendable type 'ImagePersistence?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | final class ImagePersistence {
| `- note: class 'ImagePersistence' does not conform to the 'Sendable' protocol
16 |
17 | private var existingFiles: Set<String> = Set()
:
67 | do {
68 | try data.write(to: url)
69 | self?.existingFiles.insert(key)
| `- warning: capture of 'self' with non-sendable type 'ImagePersistence?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | }
71 | catch(let exception) { print("ERROR: Failed to write iamge data to path: \(key), exception: \(exception)") }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImagePersistence.swift:102:21: warning: capture of 'self' with non-sendable type 'ImagePersistence?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | final class ImagePersistence {
| `- note: class 'ImagePersistence' does not conform to the 'Sendable' protocol
16 |
17 | private var existingFiles: Set<String> = Set()
:
100 | operationQueue.addOperation { [weak self] in
101 | do {
102 | try self?.fileManager.removeItem(at: url)
| `- warning: capture of 'self' with non-sendable type 'ImagePersistence?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 | } catch(let exception) {
104 | debugPrint("WARNING: Deletion of item at \(url) failed! \(exception)")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/NetworkHandler.swift:126:25: warning: capture of 'downstream' with non-sendable type 'PassthroughSubject<(data: Data, response: URLResponse), any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 | switch (data, response, error) {
125 | case let (data, response?, nil):
126 | downstream.send((data ?? Data(), response))
| `- warning: capture of 'downstream' with non-sendable type 'PassthroughSubject<(data: Data, response: URLResponse), any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | downstream.send(completion: .finished)
128 | case let (_, _, error as URLError):
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
| `- note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
3 | public init()
4 | @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/NetworkHandler.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
7 |
8 | import Foundation
9 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
10 |
11 | public protocol NetworkHandling {
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/NetworkHandler.swift:126:25: warning: capture of 'downstream' with non-sendable type 'PassthroughSubject<(data: Data, response: URLResponse), any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 | switch (data, response, error) {
125 | case let (data, response?, nil):
126 | downstream.send((data ?? Data(), response))
| `- warning: capture of 'downstream' with non-sendable type 'PassthroughSubject<(data: Data, response: URLResponse), any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | downstream.send(completion: .finished)
128 | case let (_, _, error as URLError):
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
| `- note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
3 | public init()
4 | @objc deinit
[57/59] Compiling PutioKit NetworkHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImagePersistence.swift:65:30: warning: capture of 'image' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
63 | operationQueue.addOperation { [weak self] in
64 |
65 | guard let data = image.encodedImage() else { return }
| `- warning: capture of 'image' with non-sendable type 'NSImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 |
67 | do {
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImagePersistence.swift:69:17: warning: capture of 'self' with non-sendable type 'ImagePersistence?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | final class ImagePersistence {
| `- note: class 'ImagePersistence' does not conform to the 'Sendable' protocol
16 |
17 | private var existingFiles: Set<String> = Set()
:
67 | do {
68 | try data.write(to: url)
69 | self?.existingFiles.insert(key)
| `- warning: capture of 'self' with non-sendable type 'ImagePersistence?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | }
71 | catch(let exception) { print("ERROR: Failed to write iamge data to path: \(key), exception: \(exception)") }
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/Image Loading/ImagePersistence.swift:102:21: warning: capture of 'self' with non-sendable type 'ImagePersistence?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | final class ImagePersistence {
| `- note: class 'ImagePersistence' does not conform to the 'Sendable' protocol
16 |
17 | private var existingFiles: Set<String> = Set()
:
100 | operationQueue.addOperation { [weak self] in
101 | do {
102 | try self?.fileManager.removeItem(at: url)
| `- warning: capture of 'self' with non-sendable type 'ImagePersistence?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 | } catch(let exception) {
104 | debugPrint("WARNING: Deletion of item at \(url) failed! \(exception)")
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/NetworkHandler.swift:126:25: warning: capture of 'downstream' with non-sendable type 'PassthroughSubject<(data: Data, response: URLResponse), any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 | switch (data, response, error) {
125 | case let (data, response?, nil):
126 | downstream.send((data ?? Data(), response))
| `- warning: capture of 'downstream' with non-sendable type 'PassthroughSubject<(data: Data, response: URLResponse), any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | downstream.send(completion: .finished)
128 | case let (_, _, error as URLError):
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
| `- note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
3 | public init()
4 | @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/NetworkHandler.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
7 |
8 | import Foundation
9 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
10 |
11 | public protocol NetworkHandling {
/Users/admin/builder/spi-builder-workspace/Sources/PutioKit/Utilities/NetworkHandler.swift:126:25: warning: capture of 'downstream' with non-sendable type 'PassthroughSubject<(data: Data, response: URLResponse), any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 | switch (data, response, error) {
125 | case let (data, response?, nil):
126 | downstream.send((data ?? Data(), response))
| `- warning: capture of 'downstream' with non-sendable type 'PassthroughSubject<(data: Data, response: URLResponse), any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | downstream.send(completion: .finished)
128 | case let (_, _, error as URLError):
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
| `- note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
3 | public init()
4 | @objc deinit
[57/59] Write Objects.LinkFileList
[58/59] Linking libPutioKit.dylib
Build complete! (21.58s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "PutioKit",
"name" : "PutioKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "PutioKit",
"targets" : [
"PutioKit"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "PutioKitTests",
"module_type" : "SwiftTarget",
"name" : "PutioKitTests",
"path" : "Tests/PutioKitTests",
"sources" : [
"XCTestManifests.swift"
],
"target_dependencies" : [
"PutioKit"
],
"type" : "test"
},
{
"c99name" : "PutioKit",
"module_type" : "SwiftTarget",
"name" : "PutioKit",
"path" : "Sources/PutioKit",
"product_memberships" : [
"PutioKit"
],
"sources" : [
"Extensions/Data+MimeType.swift",
"Extensions/Data+MultipartForm.swift",
"Extensions/Decodable+GenericInit.swift",
"Extensions/JSONDecoder+PutioKit.swift",
"External/Swime/MimeType.swift",
"External/Swime/Swime.swift",
"Models/ErrorModel.swift",
"Models/SuccessModel.swift",
"Protocols/CredentialsStoring.swift",
"Protocols/FileOrTransferProtocol.swift",
"Protocols/URLQueryItemConvertible.swift",
"Services/Account/AccountService.swift",
"Services/Account/Models/AccountService+Model.swift",
"Services/Authentication/AuthenticationService.swift",
"Services/Authentication/Models/AuthenticationService+Models.swift",
"Services/Config/ConfigService.swift",
"Services/Events/EventsService.swift",
"Services/Events/Models/EventsService+Models.swift",
"Services/Files/FilesService.swift",
"Services/Files/Models/FilesService+Model.swift",
"Services/Files/Subservices/FilesService+CRUD.swift",
"Services/Files/Subservices/FilesService+ImageOperations.swift",
"Services/Files/Subservices/FilesService+Listing.swift",
"Services/Files/Subservices/FilesService+Searching.swift",
"Services/Files/Subservices/FilesService+VideoOperations.swift",
"Services/Friends/FriendsService.swift",
"Services/Friends/Models/FriendsService+Model.swift",
"Services/RSS/Models/RSSService+Models.swift",
"Services/RSS/RSSService.swift",
"Services/Shares/Models/SharesService+Model.swift",
"Services/Shares/SharesService.swift",
"Services/Transfers/Models/TransfersService+Model.swift",
"Services/Transfers/TransfersService.swift",
"Services/Zip/Models/ZipService+Models.swift",
"Services/Zip/ZipService.swift",
"Utilities/ApiClientModel.swift",
"Utilities/CompletionTypes.swift",
"Utilities/Constants.swift",
"Utilities/CreatedAndUpdatedDateFormatter.swift",
"Utilities/HTTPMethod.swift",
"Utilities/Helpers.swift",
"Utilities/Image Loading/ImageCache.swift",
"Utilities/Image Loading/ImageCacheType.swift",
"Utilities/Image Loading/ImageLoader.swift",
"Utilities/Image Loading/ImagePersistence.swift",
"Utilities/Image Loading/NSImage+Decoded.swift",
"Utilities/Image Loading/UIImage+Decoded.swift",
"Utilities/NSCache+Convenience.swift",
"Utilities/NetworkHandler.swift",
"Utilities/OperationQueue+Convenience.swift",
"Utilities/PutIOKitError.swift",
"Utilities/URLRequest/URLRequest+HeaderPair.swift",
"Utilities/URLRequest/URLRequest+PutIOKit.swift",
"Utilities/URLRequest/URLRequest+QueryItemEncoder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.