The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Contentful, reference 5.5.13 (a8124b), with Swift 6.0 for macOS (SPM) on 2 Dec 2024 20:59:16 UTC.

Swift 6 data race errors: 14

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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/contentful/contentful.swift.git
Reference: 5.5.13
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/contentful/contentful.swift
 * tag               5.5.13     -> FETCH_HEAD
HEAD is now at a8124b0 Merge pull request #420 from contentful/chore/up-version
Cloned https://github.com/contentful/contentful.swift.git
Revision (git rev-parse @):
a8124b0c0f151d6aff40fbb7663632dbc0b279e4
SUCCESS checkout https://github.com/contentful/contentful.swift.git at 5.5.13
Fetching https://github.com/mariuskatcontentful/DVR.git
[1/800] Fetching dvr
Fetched https://github.com/mariuskatcontentful/DVR.git from cache (0.91s)
Fetching https://github.com/mariuskatcontentful/OHHTTPStubs.git
[1/5716] Fetching ohhttpstubs
Fetched https://github.com/mariuskatcontentful/OHHTTPStubs.git from cache (1.19s)
Creating working copy for https://github.com/mariuskatcontentful/OHHTTPStubs.git
Working copy of https://github.com/mariuskatcontentful/OHHTTPStubs.git resolved at master (1c5f7b4)
Creating working copy for https://github.com/mariuskatcontentful/DVR.git
Working copy of https://github.com/mariuskatcontentful/DVR.git resolved at master (fb4f867)
========================================
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": "contentful.swift",
      "name": "Contentful",
      "url": "https://github.com/contentful/contentful.swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/contentful.swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/contentful/contentful.swift.git
[1/11108] Fetching contentful.swift
Fetched https://github.com/contentful/contentful.swift.git from cache (2.70s)
Creating working copy for https://github.com/contentful/contentful.swift.git
Working copy of https://github.com/contentful/contentful.swift.git resolved at 5.5.13 (a8124b0)
warning: '.resolve-product-dependencies': dependency 'contentful.swift' 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/contentful/contentful.swift.git
{
  "dependencies" : [
    {
      "identity" : "dvr",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mariuskatcontentful/DVR.git"
    },
    {
      "identity" : "ohhttpstubs",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mariuskatcontentful/OHHTTPStubs.git"
    }
  ],
  "manifest_display_name" : "Contentful",
  "name" : "Contentful",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Contentful",
      "targets" : [
        "Contentful"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ContentfulTests",
      "module_type" : "SwiftTarget",
      "name" : "ContentfulTests",
      "path" : "Tests",
      "product_dependencies" : [
        "DVR",
        "OHHTTPStubs"
      ],
      "sources" : [
        "ContentfulTests/AssetTests.swift",
        "ContentfulTests/ClientConfigurationTests.swift",
        "ContentfulTests/ContentTypeTests.swift",
        "ContentfulTests/ContentfulTests.swift",
        "ContentfulTests/EntryDecodableLinkResolutionTests.swift",
        "ContentfulTests/EntryTests.swift",
        "ContentfulTests/EnvironmentTests.swift",
        "ContentfulTests/ErrorTests.swift",
        "ContentfulTests/FieldTests.swift",
        "ContentfulTests/FieldTypeTests.swift",
        "ContentfulTests/ISO801DateTests.swift",
        "ContentfulTests/ImageTests.swift",
        "ContentfulTests/JSONDecodingTests.swift",
        "ContentfulTests/LocalizationTests.swift",
        "ContentfulTests/LoggerTests.swift",
        "ContentfulTests/PersistenceIntegrationTests.swift",
        "ContentfulTests/QueryTests.swift",
        "ContentfulTests/RateLimitTests.swift",
        "ContentfulTests/RichTextTests.swift",
        "ContentfulTests/SyncTests.swift",
        "ContentfulTests/UtilityTests.swift",
        "Helpers/Models/Cat.swift",
        "Helpers/Models/City.swift",
        "Helpers/Models/Dog.swift"
      ],
      "target_dependencies" : [
        "Contentful"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Contentful",
      "module_type" : "SwiftTarget",
      "name" : "Contentful",
      "path" : "Sources/Contentful",
      "product_memberships" : [
        "Contentful"
      ],
      "sources" : [
        "AppKit/Client+AppKit.swift",
        "ArrayResponse.swift",
        "Asset.swift",
        "Client+Fetch.swift",
        "Client+Sync.swift",
        "Client.swift",
        "ClientConfiguration.swift",
        "ContentType.swift",
        "ContentfulLogger.swift",
        "DataCache.swift",
        "Date.swift",
        "DateFormatterCache.swift",
        "Decodable.swift",
        "Endpoints.swift",
        "Entry.swift",
        "Error.swift",
        "Field.swift",
        "FieldType.swift",
        "ImageOptions/ImageOptions.swift",
        "JSONDecoderBuilder.swift",
        "Link.swift",
        "LinkResolver.swift",
        "Locale.swift",
        "Location.swift",
        "Metadata.swift",
        "Persistence.swift",
        "Query.swift",
        "QueryOperation.swift",
        "Resource.swift",
        "RichText.swift",
        "Space.swift",
        "SyncSpace.swift",
        "Sys.swift",
        "TypedQuery.swift",
        "UIKit/Client+UIKit.swift",
        "Util.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/36] Emitting module Contentful
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Asset.swift:148:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
146 |
147 | extension Asset: EndpointAccessible {
148 |     public static let endpoint = Endpoint.assets
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' 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
149 | }
150 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ClientConfiguration.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 28 |
 29 | /// ClientConfiguration parameters for a `Client` instance.
 30 | public struct ClientConfiguration {
    |               `- note: consider making struct 'ClientConfiguration' conform to the 'Sendable' protocol
 31 |     /// An instance of `ClientConfiguration` with sane defaults. This is a singleton instance.
 32 |     public static let `default` = ClientConfiguration()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' 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
 33 |
 34 |     /// Initializes a `ClientConfiguration` with default values
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentType.swift:54:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | extension ContentType: EndpointAccessible {
54 |     public static let endpoint = Endpoint.contentTypes
   |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'endpoint' 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
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentfulLogger.swift:22:27: warning: static property 'logType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |     #if os(iOS) || os(tvOS) || os(watchOS) || os(macOS)
21 |         /// The type of logger used to log messages; defaults to `NSLog` on iOS, tvOS, watchOS, macOS. Defaults to `print` on other platforms.
22 |         public static var logType: LogType = .nsLog
   |                           |- warning: static property 'logType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'logType' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'logType' 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
23 |     #else
24 |         /// The type of logger used to log messages; defaults to `NSLog` on iOS, tvOS, watchOS, macOS. Defaults to `print` on other platforms.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentfulLogger.swift:29:23: warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 |     /// The highest order of message types that should be logged. Defaults to `LogLevel.error`.
29 |     public static var logLevel: LogLevel = .error
   |                       |- warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logLevel' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'logLevel' 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
30 |
31 |     /// An enum describing the types of messages to be logged.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/DateFormatterCache.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class DateFormatterCache {
   |       `- note: class 'DateFormatterCache' does not conform to the 'Sendable' protocol
11 |     static let shared = DateFormatterCache()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' 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
12 |
13 |     private let queue = DispatchQueue(label: "com.contentful.formattercache")
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Entry.swift:122:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | extension Entry: EndpointAccessible {
122 |     public static let endpoint = Endpoint.entries
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' 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
123 | }
124 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:98:14: warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 96 |
 97 | /// Information regarding an error received from Contentful's API.
 98 | public class APIError: Decodable, Error, CustomDebugStringConvertible {
    |              `- warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 99 |     public var debugDescription: String {
100 |         let statusCodeString = "HTTP status code " + String(statusCode)
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:120:16: warning: stored property 'sys' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.Sys'; this is an error in the Swift 6 language mode
110 |
111 |     /// System fields for the error.
112 |     public struct Sys: Decodable {
    |                   `- note: consider making struct 'Sys' conform to the 'Sendable' protocol
113 |         /// A psuedo identifier for the error returned by the API(s).
114 |         public let id: String
    :
118 |
119 |     /// System fields.
120 |     public let sys: Sys
    |                `- warning: stored property 'sys' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.Sys'; this is an error in the Swift 6 language mode
121 |
122 |     /// Human readable error message.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:129:16: warning: stored property 'statusCode' of 'Sendable'-conforming class 'APIError' is mutable; this is an error in the Swift 6 language mode
127 |
128 |     /// The HTTP status code.
129 |     public var statusCode: Int!
    |                `- warning: stored property 'statusCode' of 'Sendable'-conforming class 'APIError' is mutable; this is an error in the Swift 6 language mode
130 |
131 |     /// More details about the error.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:196:30: warning: stored property 'timeBeforeLimitReset' of 'Sendable'-conforming class 'RateLimitError' is mutable; this is an error in the Swift 6 language mode
194 |     /// passed.
195 |     /// See: https://www.contentful.com/developers/docs/references/content-delivery-api/#/introduction/api-rate-limits
196 |     public internal(set) var timeBeforeLimitReset: Int?
    |                              `- warning: stored property 'timeBeforeLimitReset' of 'Sendable'-conforming class 'RateLimitError' is mutable; this is an error in the Swift 6 language mode
197 |
198 |     /// A textual representation of this instance, suitable for debugging.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ImageOptions/ImageOptions.swift:284:34: warning: cannot use class 'NSColor' here; 'AppKit' was not imported by this file
282 |         /// If building for iOS, tvOS, or watchOS, `Color` aliases to `UIColor`. If building for macOS
283 |         /// `Color` aliases to `NSColor`
284 |         public typealias Color = NSColor
    |                                  `- warning: cannot use class 'NSColor' here; 'AppKit' was not imported by this file
285 |     #endif
286 |
AppKit.NSColor:1:12: note: type declared here
  1 | open class NSColor : NSObject, NSCopying, NSSecureCoding, NSPasteboardReading, NSPasteboardWriting, @unchecked Sendable {
    |            `- note: type declared here
  2 |     public init()
  3 |     public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Locale.swift:15:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | extension Locale: EndpointAccessible {
 15 |     public static let endpoint = Endpoint.locales
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' 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 | }
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Space.swift:44:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | extension Space: EndpointAccessible {
44 |     public static let endpoint = Endpoint.spaces
   |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'endpoint' 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
45 | }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/SyncSpace.swift:176:16: warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     static var cachedLinks = [String: [Link]]()
    |                |- warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'cachedLinks' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'cachedLinks' 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
177 |
178 |     func updateWithDiffs(from syncSpace: SyncSpace) {
[4/39] Compiling Contentful ContentfulLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentfulLogger.swift:22:27: warning: static property 'logType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |     #if os(iOS) || os(tvOS) || os(watchOS) || os(macOS)
21 |         /// The type of logger used to log messages; defaults to `NSLog` on iOS, tvOS, watchOS, macOS. Defaults to `print` on other platforms.
22 |         public static var logType: LogType = .nsLog
   |                           |- warning: static property 'logType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'logType' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'logType' 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
23 |     #else
24 |         /// The type of logger used to log messages; defaults to `NSLog` on iOS, tvOS, watchOS, macOS. Defaults to `print` on other platforms.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentfulLogger.swift:29:23: warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 |     /// The highest order of message types that should be logged. Defaults to `LogLevel.error`.
29 |     public static var logLevel: LogLevel = .error
   |                       |- warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logLevel' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'logLevel' 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
30 |
31 |     /// An enum describing the types of messages to be logged.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/DateFormatterCache.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class DateFormatterCache {
   |       `- note: class 'DateFormatterCache' does not conform to the 'Sendable' protocol
11 |     static let shared = DateFormatterCache()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' 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
12 |
13 |     private let queue = DispatchQueue(label: "com.contentful.formattercache")
[5/39] Compiling Contentful DataCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentfulLogger.swift:22:27: warning: static property 'logType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |     #if os(iOS) || os(tvOS) || os(watchOS) || os(macOS)
21 |         /// The type of logger used to log messages; defaults to `NSLog` on iOS, tvOS, watchOS, macOS. Defaults to `print` on other platforms.
22 |         public static var logType: LogType = .nsLog
   |                           |- warning: static property 'logType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'logType' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'logType' 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
23 |     #else
24 |         /// The type of logger used to log messages; defaults to `NSLog` on iOS, tvOS, watchOS, macOS. Defaults to `print` on other platforms.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentfulLogger.swift:29:23: warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 |     /// The highest order of message types that should be logged. Defaults to `LogLevel.error`.
29 |     public static var logLevel: LogLevel = .error
   |                       |- warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logLevel' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'logLevel' 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
30 |
31 |     /// An enum describing the types of messages to be logged.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/DateFormatterCache.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class DateFormatterCache {
   |       `- note: class 'DateFormatterCache' does not conform to the 'Sendable' protocol
11 |     static let shared = DateFormatterCache()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' 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
12 |
13 |     private let queue = DispatchQueue(label: "com.contentful.formattercache")
[6/39] Compiling Contentful Date.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentfulLogger.swift:22:27: warning: static property 'logType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |     #if os(iOS) || os(tvOS) || os(watchOS) || os(macOS)
21 |         /// The type of logger used to log messages; defaults to `NSLog` on iOS, tvOS, watchOS, macOS. Defaults to `print` on other platforms.
22 |         public static var logType: LogType = .nsLog
   |                           |- warning: static property 'logType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'logType' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'logType' 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
23 |     #else
24 |         /// The type of logger used to log messages; defaults to `NSLog` on iOS, tvOS, watchOS, macOS. Defaults to `print` on other platforms.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentfulLogger.swift:29:23: warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 |     /// The highest order of message types that should be logged. Defaults to `LogLevel.error`.
29 |     public static var logLevel: LogLevel = .error
   |                       |- warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logLevel' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'logLevel' 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
30 |
31 |     /// An enum describing the types of messages to be logged.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/DateFormatterCache.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class DateFormatterCache {
   |       `- note: class 'DateFormatterCache' does not conform to the 'Sendable' protocol
11 |     static let shared = DateFormatterCache()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' 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
12 |
13 |     private let queue = DispatchQueue(label: "com.contentful.formattercache")
[7/39] Compiling Contentful DateFormatterCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentfulLogger.swift:22:27: warning: static property 'logType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |     #if os(iOS) || os(tvOS) || os(watchOS) || os(macOS)
21 |         /// The type of logger used to log messages; defaults to `NSLog` on iOS, tvOS, watchOS, macOS. Defaults to `print` on other platforms.
22 |         public static var logType: LogType = .nsLog
   |                           |- warning: static property 'logType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'logType' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'logType' 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
23 |     #else
24 |         /// The type of logger used to log messages; defaults to `NSLog` on iOS, tvOS, watchOS, macOS. Defaults to `print` on other platforms.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentfulLogger.swift:29:23: warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 |     /// The highest order of message types that should be logged. Defaults to `LogLevel.error`.
29 |     public static var logLevel: LogLevel = .error
   |                       |- warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logLevel' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'logLevel' 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
30 |
31 |     /// An enum describing the types of messages to be logged.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/DateFormatterCache.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class DateFormatterCache {
   |       `- note: class 'DateFormatterCache' does not conform to the 'Sendable' protocol
11 |     static let shared = DateFormatterCache()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' 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
12 |
13 |     private let queue = DispatchQueue(label: "com.contentful.formattercache")
[8/39] Compiling Contentful Space.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Space.swift:44:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | extension Space: EndpointAccessible {
44 |     public static let endpoint = Endpoint.spaces
   |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'endpoint' 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
45 | }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/SyncSpace.swift:176:16: warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     static var cachedLinks = [String: [Link]]()
    |                |- warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'cachedLinks' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'cachedLinks' 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
177 |
178 |     func updateWithDiffs(from syncSpace: SyncSpace) {
[9/39] Compiling Contentful SyncSpace.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Space.swift:44:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | extension Space: EndpointAccessible {
44 |     public static let endpoint = Endpoint.spaces
   |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'endpoint' 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
45 | }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/SyncSpace.swift:176:16: warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     static var cachedLinks = [String: [Link]]()
    |                |- warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'cachedLinks' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'cachedLinks' 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
177 |
178 |     func updateWithDiffs(from syncSpace: SyncSpace) {
[10/39] Compiling Contentful Sys.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Space.swift:44:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | extension Space: EndpointAccessible {
44 |     public static let endpoint = Endpoint.spaces
   |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'endpoint' 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
45 | }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/SyncSpace.swift:176:16: warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     static var cachedLinks = [String: [Link]]()
    |                |- warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'cachedLinks' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'cachedLinks' 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
177 |
178 |     func updateWithDiffs(from syncSpace: SyncSpace) {
[11/39] Compiling Contentful QueryOperation.swift
[12/39] Compiling Contentful Resource.swift
[13/39] Compiling Contentful RichText.swift
[14/39] Compiling Contentful Client+Sync.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ClientConfiguration.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 28 |
 29 | /// ClientConfiguration parameters for a `Client` instance.
 30 | public struct ClientConfiguration {
    |               `- note: consider making struct 'ClientConfiguration' conform to the 'Sendable' protocol
 31 |     /// An instance of `ClientConfiguration` with sane defaults. This is a singleton instance.
 32 |     public static let `default` = ClientConfiguration()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' 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
 33 |
 34 |     /// Initializes a `ClientConfiguration` with default values
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Client.swift:209:20: warning: capture of 'self' with non-sendable type 'Client' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 14 |
 15 | /// Client object for performing requests against the Contentful Delivery and Preview APIs.
 16 | open class Client {
    |            `- note: class 'Client' does not conform to the 'Sendable' protocol
 17 |     /// The configuration for this instance of the client.
 18 |     public let clientConfiguration: ClientConfiguration
    :
207 |         let task = urlSession.dataTask(with: url) { data, response, error in
208 |             if let data = data {
209 |                 if self.didHandleRateLimitError(
    |                    `- warning: capture of 'self' with non-sendable type 'Client' in a `@Sendable` closure; this is an error in the Swift 6 language mode
210 |                     data: data,
211 |                     response: response,
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Client.swift:213:33: warning: capture of 'completion' with non-sendable type 'ResultsHandler<Data>' (aka '(Result<Data, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
211 |                     response: response,
212 |                     jsonDecoder: jsonDecoder,
213 |                     completion: completion
    |                                 |- warning: capture of 'completion' with non-sendable type 'ResultsHandler<Data>' (aka '(Result<Data, 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'
214 |                 ) == true {
215 |                     return // Exit if there was a RateLimitError.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentType.swift:54:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | extension ContentType: EndpointAccessible {
54 |     public static let endpoint = Endpoint.contentTypes
   |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'endpoint' 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
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
[15/39] Compiling Contentful Client.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ClientConfiguration.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 28 |
 29 | /// ClientConfiguration parameters for a `Client` instance.
 30 | public struct ClientConfiguration {
    |               `- note: consider making struct 'ClientConfiguration' conform to the 'Sendable' protocol
 31 |     /// An instance of `ClientConfiguration` with sane defaults. This is a singleton instance.
 32 |     public static let `default` = ClientConfiguration()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' 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
 33 |
 34 |     /// Initializes a `ClientConfiguration` with default values
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Client.swift:209:20: warning: capture of 'self' with non-sendable type 'Client' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 14 |
 15 | /// Client object for performing requests against the Contentful Delivery and Preview APIs.
 16 | open class Client {
    |            `- note: class 'Client' does not conform to the 'Sendable' protocol
 17 |     /// The configuration for this instance of the client.
 18 |     public let clientConfiguration: ClientConfiguration
    :
207 |         let task = urlSession.dataTask(with: url) { data, response, error in
208 |             if let data = data {
209 |                 if self.didHandleRateLimitError(
    |                    `- warning: capture of 'self' with non-sendable type 'Client' in a `@Sendable` closure; this is an error in the Swift 6 language mode
210 |                     data: data,
211 |                     response: response,
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Client.swift:213:33: warning: capture of 'completion' with non-sendable type 'ResultsHandler<Data>' (aka '(Result<Data, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
211 |                     response: response,
212 |                     jsonDecoder: jsonDecoder,
213 |                     completion: completion
    |                                 |- warning: capture of 'completion' with non-sendable type 'ResultsHandler<Data>' (aka '(Result<Data, 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'
214 |                 ) == true {
215 |                     return // Exit if there was a RateLimitError.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentType.swift:54:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | extension ContentType: EndpointAccessible {
54 |     public static let endpoint = Endpoint.contentTypes
   |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'endpoint' 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
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
[16/39] Compiling Contentful ClientConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ClientConfiguration.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 28 |
 29 | /// ClientConfiguration parameters for a `Client` instance.
 30 | public struct ClientConfiguration {
    |               `- note: consider making struct 'ClientConfiguration' conform to the 'Sendable' protocol
 31 |     /// An instance of `ClientConfiguration` with sane defaults. This is a singleton instance.
 32 |     public static let `default` = ClientConfiguration()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' 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
 33 |
 34 |     /// Initializes a `ClientConfiguration` with default values
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Client.swift:209:20: warning: capture of 'self' with non-sendable type 'Client' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 14 |
 15 | /// Client object for performing requests against the Contentful Delivery and Preview APIs.
 16 | open class Client {
    |            `- note: class 'Client' does not conform to the 'Sendable' protocol
 17 |     /// The configuration for this instance of the client.
 18 |     public let clientConfiguration: ClientConfiguration
    :
207 |         let task = urlSession.dataTask(with: url) { data, response, error in
208 |             if let data = data {
209 |                 if self.didHandleRateLimitError(
    |                    `- warning: capture of 'self' with non-sendable type 'Client' in a `@Sendable` closure; this is an error in the Swift 6 language mode
210 |                     data: data,
211 |                     response: response,
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Client.swift:213:33: warning: capture of 'completion' with non-sendable type 'ResultsHandler<Data>' (aka '(Result<Data, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
211 |                     response: response,
212 |                     jsonDecoder: jsonDecoder,
213 |                     completion: completion
    |                                 |- warning: capture of 'completion' with non-sendable type 'ResultsHandler<Data>' (aka '(Result<Data, 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'
214 |                 ) == true {
215 |                     return // Exit if there was a RateLimitError.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentType.swift:54:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | extension ContentType: EndpointAccessible {
54 |     public static let endpoint = Endpoint.contentTypes
   |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'endpoint' 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
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
[17/39] Compiling Contentful ContentType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ClientConfiguration.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 28 |
 29 | /// ClientConfiguration parameters for a `Client` instance.
 30 | public struct ClientConfiguration {
    |               `- note: consider making struct 'ClientConfiguration' conform to the 'Sendable' protocol
 31 |     /// An instance of `ClientConfiguration` with sane defaults. This is a singleton instance.
 32 |     public static let `default` = ClientConfiguration()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' 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
 33 |
 34 |     /// Initializes a `ClientConfiguration` with default values
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Client.swift:209:20: warning: capture of 'self' with non-sendable type 'Client' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 14 |
 15 | /// Client object for performing requests against the Contentful Delivery and Preview APIs.
 16 | open class Client {
    |            `- note: class 'Client' does not conform to the 'Sendable' protocol
 17 |     /// The configuration for this instance of the client.
 18 |     public let clientConfiguration: ClientConfiguration
    :
207 |         let task = urlSession.dataTask(with: url) { data, response, error in
208 |             if let data = data {
209 |                 if self.didHandleRateLimitError(
    |                    `- warning: capture of 'self' with non-sendable type 'Client' in a `@Sendable` closure; this is an error in the Swift 6 language mode
210 |                     data: data,
211 |                     response: response,
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Client.swift:213:33: warning: capture of 'completion' with non-sendable type 'ResultsHandler<Data>' (aka '(Result<Data, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
211 |                     response: response,
212 |                     jsonDecoder: jsonDecoder,
213 |                     completion: completion
    |                                 |- warning: capture of 'completion' with non-sendable type 'ResultsHandler<Data>' (aka '(Result<Data, 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'
214 |                 ) == true {
215 |                     return // Exit if there was a RateLimitError.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentType.swift:54:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | extension ContentType: EndpointAccessible {
54 |     public static let endpoint = Endpoint.contentTypes
   |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'endpoint' 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
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
[18/39] Compiling Contentful Link.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Locale.swift:15:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | extension Locale: EndpointAccessible {
 15 |     public static let endpoint = Endpoint.locales
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' 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 | }
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
[19/39] Compiling Contentful LinkResolver.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Locale.swift:15:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | extension Locale: EndpointAccessible {
 15 |     public static let endpoint = Endpoint.locales
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' 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 | }
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
[20/39] Compiling Contentful Locale.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Locale.swift:15:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | extension Locale: EndpointAccessible {
 15 |     public static let endpoint = Endpoint.locales
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' 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 | }
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
[21/39] Compiling Contentful Location.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Locale.swift:15:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | extension Locale: EndpointAccessible {
 15 |     public static let endpoint = Endpoint.locales
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' 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 | }
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
[22/39] Compiling Contentful TypedQuery.swift
[23/39] Compiling Contentful Client+UIKit.swift
[24/39] Compiling Contentful Util.swift
[25/39] Compiling Contentful Field.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ImageOptions/ImageOptions.swift:284:34: warning: cannot use class 'NSColor' here; 'AppKit' was not imported by this file
282 |         /// If building for iOS, tvOS, or watchOS, `Color` aliases to `UIColor`. If building for macOS
283 |         /// `Color` aliases to `NSColor`
284 |         public typealias Color = NSColor
    |                                  `- warning: cannot use class 'NSColor' here; 'AppKit' was not imported by this file
285 |     #endif
286 |
AppKit.NSColor:1:12: note: type declared here
  1 | open class NSColor : NSObject, NSCopying, NSSecureCoding, NSPasteboardReading, NSPasteboardWriting, @unchecked Sendable {
    |            `- note: type declared here
  2 |     public init()
  3 |     public init?(coder: NSCoder)
[26/39] Compiling Contentful FieldType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ImageOptions/ImageOptions.swift:284:34: warning: cannot use class 'NSColor' here; 'AppKit' was not imported by this file
282 |         /// If building for iOS, tvOS, or watchOS, `Color` aliases to `UIColor`. If building for macOS
283 |         /// `Color` aliases to `NSColor`
284 |         public typealias Color = NSColor
    |                                  `- warning: cannot use class 'NSColor' here; 'AppKit' was not imported by this file
285 |     #endif
286 |
AppKit.NSColor:1:12: note: type declared here
  1 | open class NSColor : NSObject, NSCopying, NSSecureCoding, NSPasteboardReading, NSPasteboardWriting, @unchecked Sendable {
    |            `- note: type declared here
  2 |     public init()
  3 |     public init?(coder: NSCoder)
[27/39] Compiling Contentful ImageOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ImageOptions/ImageOptions.swift:284:34: warning: cannot use class 'NSColor' here; 'AppKit' was not imported by this file
282 |         /// If building for iOS, tvOS, or watchOS, `Color` aliases to `UIColor`. If building for macOS
283 |         /// `Color` aliases to `NSColor`
284 |         public typealias Color = NSColor
    |                                  `- warning: cannot use class 'NSColor' here; 'AppKit' was not imported by this file
285 |     #endif
286 |
AppKit.NSColor:1:12: note: type declared here
  1 | open class NSColor : NSObject, NSCopying, NSSecureCoding, NSPasteboardReading, NSPasteboardWriting, @unchecked Sendable {
    |            `- note: type declared here
  2 |     public init()
  3 |     public init?(coder: NSCoder)
[28/39] Compiling Contentful JSONDecoderBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ImageOptions/ImageOptions.swift:284:34: warning: cannot use class 'NSColor' here; 'AppKit' was not imported by this file
282 |         /// If building for iOS, tvOS, or watchOS, `Color` aliases to `UIColor`. If building for macOS
283 |         /// `Color` aliases to `NSColor`
284 |         public typealias Color = NSColor
    |                                  `- warning: cannot use class 'NSColor' here; 'AppKit' was not imported by this file
285 |     #endif
286 |
AppKit.NSColor:1:12: note: type declared here
  1 | open class NSColor : NSObject, NSCopying, NSSecureCoding, NSPasteboardReading, NSPasteboardWriting, @unchecked Sendable {
    |            `- note: type declared here
  2 |     public init()
  3 |     public init?(coder: NSCoder)
[29/39] Compiling Contentful Decodable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Entry.swift:122:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | extension Entry: EndpointAccessible {
122 |     public static let endpoint = Endpoint.entries
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' 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
123 | }
124 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/SyncSpace.swift:176:16: warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     static var cachedLinks = [String: [Link]]()
    |                |- warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'cachedLinks' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'cachedLinks' 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
177 |
178 |     func updateWithDiffs(from syncSpace: SyncSpace) {
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:98:14: warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 96 |
 97 | /// Information regarding an error received from Contentful's API.
 98 | public class APIError: Decodable, Error, CustomDebugStringConvertible {
    |              `- warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 99 |     public var debugDescription: String {
100 |         let statusCodeString = "HTTP status code " + String(statusCode)
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:120:16: warning: stored property 'sys' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.Sys'; this is an error in the Swift 6 language mode
110 |
111 |     /// System fields for the error.
112 |     public struct Sys: Decodable {
    |                   `- note: consider making struct 'Sys' conform to the 'Sendable' protocol
113 |         /// A psuedo identifier for the error returned by the API(s).
114 |         public let id: String
    :
118 |
119 |     /// System fields.
120 |     public let sys: Sys
    |                `- warning: stored property 'sys' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.Sys'; this is an error in the Swift 6 language mode
121 |
122 |     /// Human readable error message.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:129:16: warning: stored property 'statusCode' of 'Sendable'-conforming class 'APIError' is mutable; this is an error in the Swift 6 language mode
127 |
128 |     /// The HTTP status code.
129 |     public var statusCode: Int!
    |                `- warning: stored property 'statusCode' of 'Sendable'-conforming class 'APIError' is mutable; this is an error in the Swift 6 language mode
130 |
131 |     /// More details about the error.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:196:30: warning: stored property 'timeBeforeLimitReset' of 'Sendable'-conforming class 'RateLimitError' is mutable; this is an error in the Swift 6 language mode
194 |     /// passed.
195 |     /// See: https://www.contentful.com/developers/docs/references/content-delivery-api/#/introduction/api-rate-limits
196 |     public internal(set) var timeBeforeLimitReset: Int?
    |                              `- warning: stored property 'timeBeforeLimitReset' of 'Sendable'-conforming class 'RateLimitError' is mutable; this is an error in the Swift 6 language mode
197 |
198 |     /// A textual representation of this instance, suitable for debugging.
[30/39] Compiling Contentful Endpoints.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Entry.swift:122:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | extension Entry: EndpointAccessible {
122 |     public static let endpoint = Endpoint.entries
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' 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
123 | }
124 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/SyncSpace.swift:176:16: warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     static var cachedLinks = [String: [Link]]()
    |                |- warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'cachedLinks' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'cachedLinks' 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
177 |
178 |     func updateWithDiffs(from syncSpace: SyncSpace) {
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:98:14: warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 96 |
 97 | /// Information regarding an error received from Contentful's API.
 98 | public class APIError: Decodable, Error, CustomDebugStringConvertible {
    |              `- warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 99 |     public var debugDescription: String {
100 |         let statusCodeString = "HTTP status code " + String(statusCode)
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:120:16: warning: stored property 'sys' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.Sys'; this is an error in the Swift 6 language mode
110 |
111 |     /// System fields for the error.
112 |     public struct Sys: Decodable {
    |                   `- note: consider making struct 'Sys' conform to the 'Sendable' protocol
113 |         /// A psuedo identifier for the error returned by the API(s).
114 |         public let id: String
    :
118 |
119 |     /// System fields.
120 |     public let sys: Sys
    |                `- warning: stored property 'sys' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.Sys'; this is an error in the Swift 6 language mode
121 |
122 |     /// Human readable error message.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:129:16: warning: stored property 'statusCode' of 'Sendable'-conforming class 'APIError' is mutable; this is an error in the Swift 6 language mode
127 |
128 |     /// The HTTP status code.
129 |     public var statusCode: Int!
    |                `- warning: stored property 'statusCode' of 'Sendable'-conforming class 'APIError' is mutable; this is an error in the Swift 6 language mode
130 |
131 |     /// More details about the error.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:196:30: warning: stored property 'timeBeforeLimitReset' of 'Sendable'-conforming class 'RateLimitError' is mutable; this is an error in the Swift 6 language mode
194 |     /// passed.
195 |     /// See: https://www.contentful.com/developers/docs/references/content-delivery-api/#/introduction/api-rate-limits
196 |     public internal(set) var timeBeforeLimitReset: Int?
    |                              `- warning: stored property 'timeBeforeLimitReset' of 'Sendable'-conforming class 'RateLimitError' is mutable; this is an error in the Swift 6 language mode
197 |
198 |     /// A textual representation of this instance, suitable for debugging.
[31/39] Compiling Contentful Entry.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Entry.swift:122:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | extension Entry: EndpointAccessible {
122 |     public static let endpoint = Endpoint.entries
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' 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
123 | }
124 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/SyncSpace.swift:176:16: warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     static var cachedLinks = [String: [Link]]()
    |                |- warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'cachedLinks' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'cachedLinks' 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
177 |
178 |     func updateWithDiffs(from syncSpace: SyncSpace) {
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:98:14: warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 96 |
 97 | /// Information regarding an error received from Contentful's API.
 98 | public class APIError: Decodable, Error, CustomDebugStringConvertible {
    |              `- warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 99 |     public var debugDescription: String {
100 |         let statusCodeString = "HTTP status code " + String(statusCode)
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:120:16: warning: stored property 'sys' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.Sys'; this is an error in the Swift 6 language mode
110 |
111 |     /// System fields for the error.
112 |     public struct Sys: Decodable {
    |                   `- note: consider making struct 'Sys' conform to the 'Sendable' protocol
113 |         /// A psuedo identifier for the error returned by the API(s).
114 |         public let id: String
    :
118 |
119 |     /// System fields.
120 |     public let sys: Sys
    |                `- warning: stored property 'sys' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.Sys'; this is an error in the Swift 6 language mode
121 |
122 |     /// Human readable error message.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:129:16: warning: stored property 'statusCode' of 'Sendable'-conforming class 'APIError' is mutable; this is an error in the Swift 6 language mode
127 |
128 |     /// The HTTP status code.
129 |     public var statusCode: Int!
    |                `- warning: stored property 'statusCode' of 'Sendable'-conforming class 'APIError' is mutable; this is an error in the Swift 6 language mode
130 |
131 |     /// More details about the error.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:196:30: warning: stored property 'timeBeforeLimitReset' of 'Sendable'-conforming class 'RateLimitError' is mutable; this is an error in the Swift 6 language mode
194 |     /// passed.
195 |     /// See: https://www.contentful.com/developers/docs/references/content-delivery-api/#/introduction/api-rate-limits
196 |     public internal(set) var timeBeforeLimitReset: Int?
    |                              `- warning: stored property 'timeBeforeLimitReset' of 'Sendable'-conforming class 'RateLimitError' is mutable; this is an error in the Swift 6 language mode
197 |
198 |     /// A textual representation of this instance, suitable for debugging.
[32/39] Compiling Contentful Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Entry.swift:122:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | extension Entry: EndpointAccessible {
122 |     public static let endpoint = Endpoint.entries
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' 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
123 | }
124 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/SyncSpace.swift:176:16: warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     static var cachedLinks = [String: [Link]]()
    |                |- warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'cachedLinks' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'cachedLinks' 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
177 |
178 |     func updateWithDiffs(from syncSpace: SyncSpace) {
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:98:14: warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 96 |
 97 | /// Information regarding an error received from Contentful's API.
 98 | public class APIError: Decodable, Error, CustomDebugStringConvertible {
    |              `- warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 99 |     public var debugDescription: String {
100 |         let statusCodeString = "HTTP status code " + String(statusCode)
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:120:16: warning: stored property 'sys' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.Sys'; this is an error in the Swift 6 language mode
110 |
111 |     /// System fields for the error.
112 |     public struct Sys: Decodable {
    |                   `- note: consider making struct 'Sys' conform to the 'Sendable' protocol
113 |         /// A psuedo identifier for the error returned by the API(s).
114 |         public let id: String
    :
118 |
119 |     /// System fields.
120 |     public let sys: Sys
    |                `- warning: stored property 'sys' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.Sys'; this is an error in the Swift 6 language mode
121 |
122 |     /// Human readable error message.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:129:16: warning: stored property 'statusCode' of 'Sendable'-conforming class 'APIError' is mutable; this is an error in the Swift 6 language mode
127 |
128 |     /// The HTTP status code.
129 |     public var statusCode: Int!
    |                `- warning: stored property 'statusCode' of 'Sendable'-conforming class 'APIError' is mutable; this is an error in the Swift 6 language mode
130 |
131 |     /// More details about the error.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:196:30: warning: stored property 'timeBeforeLimitReset' of 'Sendable'-conforming class 'RateLimitError' is mutable; this is an error in the Swift 6 language mode
194 |     /// passed.
195 |     /// See: https://www.contentful.com/developers/docs/references/content-delivery-api/#/introduction/api-rate-limits
196 |     public internal(set) var timeBeforeLimitReset: Int?
    |                              `- warning: stored property 'timeBeforeLimitReset' of 'Sendable'-conforming class 'RateLimitError' is mutable; this is an error in the Swift 6 language mode
197 |
198 |     /// A textual representation of this instance, suitable for debugging.
[33/39] Compiling Contentful Metadata.swift
[34/39] Compiling Contentful Persistence.swift
[35/39] Compiling Contentful Query.swift
[36/39] Compiling Contentful Client+AppKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Asset.swift:148:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
146 |
147 | extension Asset: EndpointAccessible {
148 |     public static let endpoint = Endpoint.assets
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' 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
149 | }
150 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
[37/39] Compiling Contentful ArrayResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Asset.swift:148:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
146 |
147 | extension Asset: EndpointAccessible {
148 |     public static let endpoint = Endpoint.assets
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' 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
149 | }
150 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
[38/39] Compiling Contentful Asset.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Asset.swift:148:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
146 |
147 | extension Asset: EndpointAccessible {
148 |     public static let endpoint = Endpoint.assets
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' 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
149 | }
150 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
[39/39] Compiling Contentful Client+Fetch.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Asset.swift:148:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
146 |
147 | extension Asset: EndpointAccessible {
148 |     public static let endpoint = Endpoint.assets
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' 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
149 | }
150 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
Build complete! (21.92s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "dvr",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mariuskatcontentful/DVR.git"
    },
    {
      "identity" : "ohhttpstubs",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mariuskatcontentful/OHHTTPStubs.git"
    }
  ],
  "manifest_display_name" : "Contentful",
  "name" : "Contentful",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Contentful",
      "targets" : [
        "Contentful"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ContentfulTests",
      "module_type" : "SwiftTarget",
      "name" : "ContentfulTests",
      "path" : "Tests",
      "product_dependencies" : [
        "DVR",
        "OHHTTPStubs"
      ],
      "sources" : [
        "ContentfulTests/AssetTests.swift",
        "ContentfulTests/ClientConfigurationTests.swift",
        "ContentfulTests/ContentTypeTests.swift",
        "ContentfulTests/ContentfulTests.swift",
        "ContentfulTests/EntryDecodableLinkResolutionTests.swift",
        "ContentfulTests/EntryTests.swift",
        "ContentfulTests/EnvironmentTests.swift",
        "ContentfulTests/ErrorTests.swift",
        "ContentfulTests/FieldTests.swift",
        "ContentfulTests/FieldTypeTests.swift",
        "ContentfulTests/ISO801DateTests.swift",
        "ContentfulTests/ImageTests.swift",
        "ContentfulTests/JSONDecodingTests.swift",
        "ContentfulTests/LocalizationTests.swift",
        "ContentfulTests/LoggerTests.swift",
        "ContentfulTests/PersistenceIntegrationTests.swift",
        "ContentfulTests/QueryTests.swift",
        "ContentfulTests/RateLimitTests.swift",
        "ContentfulTests/RichTextTests.swift",
        "ContentfulTests/SyncTests.swift",
        "ContentfulTests/UtilityTests.swift",
        "Helpers/Models/Cat.swift",
        "Helpers/Models/City.swift",
        "Helpers/Models/Dog.swift"
      ],
      "target_dependencies" : [
        "Contentful"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Contentful",
      "module_type" : "SwiftTarget",
      "name" : "Contentful",
      "path" : "Sources/Contentful",
      "product_memberships" : [
        "Contentful"
      ],
      "sources" : [
        "AppKit/Client+AppKit.swift",
        "ArrayResponse.swift",
        "Asset.swift",
        "Client+Fetch.swift",
        "Client+Sync.swift",
        "Client.swift",
        "ClientConfiguration.swift",
        "ContentType.swift",
        "ContentfulLogger.swift",
        "DataCache.swift",
        "Date.swift",
        "DateFormatterCache.swift",
        "Decodable.swift",
        "Endpoints.swift",
        "Entry.swift",
        "Error.swift",
        "Field.swift",
        "FieldType.swift",
        "ImageOptions/ImageOptions.swift",
        "JSONDecoderBuilder.swift",
        "Link.swift",
        "LinkResolver.swift",
        "Locale.swift",
        "Location.swift",
        "Metadata.swift",
        "Persistence.swift",
        "Query.swift",
        "QueryOperation.swift",
        "Resource.swift",
        "RichText.swift",
        "Space.swift",
        "SyncSpace.swift",
        "Sys.swift",
        "TypedQuery.swift",
        "UIKit/Client+UIKit.swift",
        "Util.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.