The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Contentful, reference 5.5.14 (d4246e), with Swift 6.1 for macOS (SPM) on 29 Jul 2025 22:22:58 UTC.

Swift 6 data race errors: 14

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/contentful/contentful.swift.git
Reference: 5.5.14
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/contentful/contentful.swift
 * tag               5.5.14     -> FETCH_HEAD
HEAD is now at d4246e9 Merge pull request #433 from contentful/chore/update-version
Cloned https://github.com/contentful/contentful.swift.git
Revision (git rev-parse @):
d4246e940007b48175ba78a4bb90cebe8876e425
SUCCESS checkout https://github.com/contentful/contentful.swift.git at 5.5.14
Fetching https://github.com/mariuskatcontentful/DVR.git
[1/800] Fetching dvr
Fetched https://github.com/mariuskatcontentful/DVR.git from cache (0.82s)
Fetching https://github.com/mariuskatcontentful/OHHTTPStubs.git
[1/5716] Fetching ohhttpstubs
Fetched https://github.com/mariuskatcontentful/OHHTTPStubs.git from cache (1.14s)
Creating working copy for https://github.com/mariuskatcontentful/DVR.git
Working copy of https://github.com/mariuskatcontentful/DVR.git resolved at master (fb4f867)
Creating working copy for https://github.com/mariuskatcontentful/OHHTTPStubs.git
Working copy of https://github.com/mariuskatcontentful/OHHTTPStubs.git resolved at master (1c5f7b4)
========================================
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/11155] Fetching contentful.swift
Fetched https://github.com/contentful/contentful.swift.git from cache (1.78s)
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.14 (d4246e9)
warning: '.resolve-product-dependencies': dependency 'contentful.swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/contentful/contentful.swift.git
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.3.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-2F0A5646E1D333AE.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: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'logType' part of global actor 'MainActor'
   |                           `- 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: add '@MainActor' to make static property 'logLevel' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                `- 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: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
    |                       `- 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/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: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'cachedLinks' part of global actor 'MainActor'
    |                `- 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 TypedQuery.swift
[5/39] Compiling Contentful Client+UIKit.swift
[6/39] Compiling Contentful Util.swift
[7/39] Compiling Contentful Client+Sync.swift
/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
 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
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
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
    |                                 `- 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/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
   |                       `- 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 = ""
[8/39] Compiling Contentful Client.swift
/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
 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
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
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
    |                                 `- 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/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
   |                       `- 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 = ""
[9/39] Compiling Contentful ClientConfiguration.swift
/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
 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
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
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
    |                                 `- 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/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
   |                       `- 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 = ""
[10/39] Compiling Contentful ContentType.swift
/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
 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
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
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
    |                                 `- 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/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
   |                       `- 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 = ""
[11/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: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'cachedLinks' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 |
178 |     func updateWithDiffs(from syncSpace: SyncSpace) {
[12/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: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'cachedLinks' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 |
178 |     func updateWithDiffs(from syncSpace: SyncSpace) {
[13/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: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'cachedLinks' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 |
178 |     func updateWithDiffs(from syncSpace: SyncSpace) {
[14/39] Compiling Contentful Metadata.swift
[15/39] Compiling Contentful Persistence.swift
[16/39] Compiling Contentful Query.swift
[17/39] Compiling Contentful QueryOperation.swift
[18/39] Compiling Contentful Resource.swift
[19/39] Compiling Contentful RichText.swift
[20/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: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
    |                       `- 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 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: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
    |                       `- 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 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: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
    |                       `- 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 = ""
[23/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: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
    |                       `- 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 = ""
[24/39] Compiling Contentful Decodable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Decodable.swift:78:45: warning: type 'LocalizationContext' does not conform to the 'Sendable' protocol
 76 |     /// resources returned in the multi-locale format with the locale information provided by the space.
 77 |     func update(with localizationContext: LocalizationContext) {
 78 |         userInfo[.localizationContextKey] = localizationContext
    |                                             `- warning: type 'LocalizationContext' does not conform to the 'Sendable' protocol
 79 |     }
 80 | }
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Locale.swift:74:14: note: class 'LocalizationContext' does not conform to the 'Sendable' protocol
 72 | /// for an `Entry` does not have data for the currently selected locale, the SDK will walk the fallback
 73 | /// chain for this field until a non-null value is found, or full chain has been walked.
 74 | public class LocalizationContext {
    |              `- note: class 'LocalizationContext' does not conform to the 'Sendable' protocol
 75 |     /// An ordered collection of locales representing the fallback chain.
 76 |     public let locales: [LocaleCode: Locale]
/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: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
    |                       `- 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.
[25/39] Compiling Contentful Endpoints.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Decodable.swift:78:45: warning: type 'LocalizationContext' does not conform to the 'Sendable' protocol
 76 |     /// resources returned in the multi-locale format with the locale information provided by the space.
 77 |     func update(with localizationContext: LocalizationContext) {
 78 |         userInfo[.localizationContextKey] = localizationContext
    |                                             `- warning: type 'LocalizationContext' does not conform to the 'Sendable' protocol
 79 |     }
 80 | }
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Locale.swift:74:14: note: class 'LocalizationContext' does not conform to the 'Sendable' protocol
 72 | /// for an `Entry` does not have data for the currently selected locale, the SDK will walk the fallback
 73 | /// chain for this field until a non-null value is found, or full chain has been walked.
 74 | public class LocalizationContext {
    |              `- note: class 'LocalizationContext' does not conform to the 'Sendable' protocol
 75 |     /// An ordered collection of locales representing the fallback chain.
 76 |     public let locales: [LocaleCode: Locale]
/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: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
    |                       `- 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.
[26/39] Compiling Contentful Entry.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Decodable.swift:78:45: warning: type 'LocalizationContext' does not conform to the 'Sendable' protocol
 76 |     /// resources returned in the multi-locale format with the locale information provided by the space.
 77 |     func update(with localizationContext: LocalizationContext) {
 78 |         userInfo[.localizationContextKey] = localizationContext
    |                                             `- warning: type 'LocalizationContext' does not conform to the 'Sendable' protocol
 79 |     }
 80 | }
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Locale.swift:74:14: note: class 'LocalizationContext' does not conform to the 'Sendable' protocol
 72 | /// for an `Entry` does not have data for the currently selected locale, the SDK will walk the fallback
 73 | /// chain for this field until a non-null value is found, or full chain has been walked.
 74 | public class LocalizationContext {
    |              `- note: class 'LocalizationContext' does not conform to the 'Sendable' protocol
 75 |     /// An ordered collection of locales representing the fallback chain.
 76 |     public let locales: [LocaleCode: Locale]
/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: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
    |                       `- 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.
[27/39] Compiling Contentful Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Decodable.swift:78:45: warning: type 'LocalizationContext' does not conform to the 'Sendable' protocol
 76 |     /// resources returned in the multi-locale format with the locale information provided by the space.
 77 |     func update(with localizationContext: LocalizationContext) {
 78 |         userInfo[.localizationContextKey] = localizationContext
    |                                             `- warning: type 'LocalizationContext' does not conform to the 'Sendable' protocol
 79 |     }
 80 | }
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Locale.swift:74:14: note: class 'LocalizationContext' does not conform to the 'Sendable' protocol
 72 | /// for an `Entry` does not have data for the currently selected locale, the SDK will walk the fallback
 73 | /// chain for this field until a non-null value is found, or full chain has been walked.
 74 | public class LocalizationContext {
    |              `- note: class 'LocalizationContext' does not conform to the 'Sendable' protocol
 75 |     /// An ordered collection of locales representing the fallback chain.
 76 |     public let locales: [LocaleCode: Locale]
/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: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
    |                       `- 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.
[28/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: add '@MainActor' to make static property 'logType' part of global actor 'MainActor'
   |                           `- 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: add '@MainActor' to make static property 'logLevel' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     private let queue = DispatchQueue(label: "com.contentful.formattercache")
[29/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: add '@MainActor' to make static property 'logType' part of global actor 'MainActor'
   |                           `- 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: add '@MainActor' to make static property 'logLevel' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     private let queue = DispatchQueue(label: "com.contentful.formattercache")
[30/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: add '@MainActor' to make static property 'logType' part of global actor 'MainActor'
   |                           `- 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: add '@MainActor' to make static property 'logLevel' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     private let queue = DispatchQueue(label: "com.contentful.formattercache")
[31/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: add '@MainActor' to make static property 'logType' part of global actor 'MainActor'
   |                           `- 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: add '@MainActor' to make static property 'logLevel' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     private let queue = DispatchQueue(label: "com.contentful.formattercache")
[32/39] Compiling Contentful Field.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/JSONDecoderBuilder.swift:19:57: warning: type 'LocalizationContext' does not conform to the 'Sendable' protocol
17 |         let jsonDecoder = JSONDecoder()
18 |         jsonDecoder.dateDecodingStrategy = dateDecodingStrategy
19 |         jsonDecoder.userInfo[.localizationContextKey] = localizationContext
   |                                                         `- warning: type 'LocalizationContext' does not conform to the 'Sendable' protocol
20 |         jsonDecoder.userInfo[.timeZoneContextKey] = timeZone
21 |         jsonDecoder.userInfo[.contentTypesContextKey] = contentTypes
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Locale.swift:74:14: note: class 'LocalizationContext' does not conform to the 'Sendable' protocol
 72 | /// for an `Entry` does not have data for the currently selected locale, the SDK will walk the fallback
 73 | /// chain for this field until a non-null value is found, or full chain has been walked.
 74 | public class LocalizationContext {
    |              `- note: class 'LocalizationContext' does not conform to the 'Sendable' protocol
 75 |     /// An ordered collection of locales representing the fallback chain.
 76 |     public let locales: [LocaleCode: Locale]
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/JSONDecoderBuilder.swift:22:57: warning: type 'LinkResolver' does not conform to the 'Sendable' protocol
20 |         jsonDecoder.userInfo[.timeZoneContextKey] = timeZone
21 |         jsonDecoder.userInfo[.contentTypesContextKey] = contentTypes
22 |         jsonDecoder.userInfo[.linkResolverContextKey] = LinkResolver()
   |                                                         `- warning: type 'LinkResolver' does not conform to the 'Sendable' protocol
23 |         return jsonDecoder
24 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/LinkResolver.swift:10:7: note: class 'LinkResolver' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | class LinkResolver {
   |       `- note: class 'LinkResolver' does not conform to the 'Sendable' protocol
11 |     private enum Constant {
12 |         static let linksArrayPrefix = "linksArrayPrefix"
[33/39] Compiling Contentful FieldType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/JSONDecoderBuilder.swift:19:57: warning: type 'LocalizationContext' does not conform to the 'Sendable' protocol
17 |         let jsonDecoder = JSONDecoder()
18 |         jsonDecoder.dateDecodingStrategy = dateDecodingStrategy
19 |         jsonDecoder.userInfo[.localizationContextKey] = localizationContext
   |                                                         `- warning: type 'LocalizationContext' does not conform to the 'Sendable' protocol
20 |         jsonDecoder.userInfo[.timeZoneContextKey] = timeZone
21 |         jsonDecoder.userInfo[.contentTypesContextKey] = contentTypes
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Locale.swift:74:14: note: class 'LocalizationContext' does not conform to the 'Sendable' protocol
 72 | /// for an `Entry` does not have data for the currently selected locale, the SDK will walk the fallback
 73 | /// chain for this field until a non-null value is found, or full chain has been walked.
 74 | public class LocalizationContext {
    |              `- note: class 'LocalizationContext' does not conform to the 'Sendable' protocol
 75 |     /// An ordered collection of locales representing the fallback chain.
 76 |     public let locales: [LocaleCode: Locale]
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/JSONDecoderBuilder.swift:22:57: warning: type 'LinkResolver' does not conform to the 'Sendable' protocol
20 |         jsonDecoder.userInfo[.timeZoneContextKey] = timeZone
21 |         jsonDecoder.userInfo[.contentTypesContextKey] = contentTypes
22 |         jsonDecoder.userInfo[.linkResolverContextKey] = LinkResolver()
   |                                                         `- warning: type 'LinkResolver' does not conform to the 'Sendable' protocol
23 |         return jsonDecoder
24 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/LinkResolver.swift:10:7: note: class 'LinkResolver' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | class LinkResolver {
   |       `- note: class 'LinkResolver' does not conform to the 'Sendable' protocol
11 |     private enum Constant {
12 |         static let linksArrayPrefix = "linksArrayPrefix"
[34/39] Compiling Contentful ImageOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/JSONDecoderBuilder.swift:19:57: warning: type 'LocalizationContext' does not conform to the 'Sendable' protocol
17 |         let jsonDecoder = JSONDecoder()
18 |         jsonDecoder.dateDecodingStrategy = dateDecodingStrategy
19 |         jsonDecoder.userInfo[.localizationContextKey] = localizationContext
   |                                                         `- warning: type 'LocalizationContext' does not conform to the 'Sendable' protocol
20 |         jsonDecoder.userInfo[.timeZoneContextKey] = timeZone
21 |         jsonDecoder.userInfo[.contentTypesContextKey] = contentTypes
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Locale.swift:74:14: note: class 'LocalizationContext' does not conform to the 'Sendable' protocol
 72 | /// for an `Entry` does not have data for the currently selected locale, the SDK will walk the fallback
 73 | /// chain for this field until a non-null value is found, or full chain has been walked.
 74 | public class LocalizationContext {
    |              `- note: class 'LocalizationContext' does not conform to the 'Sendable' protocol
 75 |     /// An ordered collection of locales representing the fallback chain.
 76 |     public let locales: [LocaleCode: Locale]
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/JSONDecoderBuilder.swift:22:57: warning: type 'LinkResolver' does not conform to the 'Sendable' protocol
20 |         jsonDecoder.userInfo[.timeZoneContextKey] = timeZone
21 |         jsonDecoder.userInfo[.contentTypesContextKey] = contentTypes
22 |         jsonDecoder.userInfo[.linkResolverContextKey] = LinkResolver()
   |                                                         `- warning: type 'LinkResolver' does not conform to the 'Sendable' protocol
23 |         return jsonDecoder
24 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/LinkResolver.swift:10:7: note: class 'LinkResolver' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | class LinkResolver {
   |       `- note: class 'LinkResolver' does not conform to the 'Sendable' protocol
11 |     private enum Constant {
12 |         static let linksArrayPrefix = "linksArrayPrefix"
[35/39] Compiling Contentful JSONDecoderBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/JSONDecoderBuilder.swift:19:57: warning: type 'LocalizationContext' does not conform to the 'Sendable' protocol
17 |         let jsonDecoder = JSONDecoder()
18 |         jsonDecoder.dateDecodingStrategy = dateDecodingStrategy
19 |         jsonDecoder.userInfo[.localizationContextKey] = localizationContext
   |                                                         `- warning: type 'LocalizationContext' does not conform to the 'Sendable' protocol
20 |         jsonDecoder.userInfo[.timeZoneContextKey] = timeZone
21 |         jsonDecoder.userInfo[.contentTypesContextKey] = contentTypes
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Locale.swift:74:14: note: class 'LocalizationContext' does not conform to the 'Sendable' protocol
 72 | /// for an `Entry` does not have data for the currently selected locale, the SDK will walk the fallback
 73 | /// chain for this field until a non-null value is found, or full chain has been walked.
 74 | public class LocalizationContext {
    |              `- note: class 'LocalizationContext' does not conform to the 'Sendable' protocol
 75 |     /// An ordered collection of locales representing the fallback chain.
 76 |     public let locales: [LocaleCode: Locale]
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/JSONDecoderBuilder.swift:22:57: warning: type 'LinkResolver' does not conform to the 'Sendable' protocol
20 |         jsonDecoder.userInfo[.timeZoneContextKey] = timeZone
21 |         jsonDecoder.userInfo[.contentTypesContextKey] = contentTypes
22 |         jsonDecoder.userInfo[.linkResolverContextKey] = LinkResolver()
   |                                                         `- warning: type 'LinkResolver' does not conform to the 'Sendable' protocol
23 |         return jsonDecoder
24 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/LinkResolver.swift:10:7: note: class 'LinkResolver' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | class LinkResolver {
   |       `- note: class 'LinkResolver' does not conform to the 'Sendable' protocol
11 |     private enum Constant {
12 |         static let linksArrayPrefix = "linksArrayPrefix"
[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: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
    |                       `- 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! (8.02s)
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.