The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of Contentful, reference master (ddb710), with Swift 6.0 for macOS (SPM) on 9 Apr 2025 01:11:54 UTC.

Swift 6 data race errors: 14

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/contentful/contentful.swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/contentful/contentful.swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ddb710d Merge pull request #425 from contentful/chore/change-owners-to-dx
Cloned https://github.com/contentful/contentful.swift.git
Revision (git rev-parse @):
ddb710d77bf3d85562600992b1f01b25d4440707
SUCCESS checkout https://github.com/contentful/contentful.swift.git at master
Fetching https://github.com/mariuskatcontentful/DVR.git
[1/800] Fetching dvr
Fetched https://github.com/mariuskatcontentful/DVR.git from cache (0.72s)
Fetching https://github.com/mariuskatcontentful/OHHTTPStubs.git
[1/5716] Fetching ohhttpstubs
Fetched https://github.com/mariuskatcontentful/OHHTTPStubs.git from cache (1.01s)
Creating working copy for https://github.com/mariuskatcontentful/OHHTTPStubs.git
Working copy of https://github.com/mariuskatcontentful/OHHTTPStubs.git resolved at master (1c5f7b4)
Creating working copy for https://github.com/mariuskatcontentful/DVR.git
Working copy of https://github.com/mariuskatcontentful/DVR.git resolved at master (fb4f867)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "contentful.swift",
      "name": "Contentful",
      "url": "https://github.com/contentful/contentful.swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/contentful.swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/contentful/contentful.swift.git
[1/11121] Fetching contentful.swift
Fetched https://github.com/contentful/contentful.swift.git from cache (1.76s)
Creating working copy for https://github.com/contentful/contentful.swift.git
Working copy of https://github.com/contentful/contentful.swift.git resolved at master (ddb710d)
warning: '.resolve-product-dependencies': dependency 'contentful.swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/contentful/contentful.swift.git
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.2.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-5BDAB9E9C0126B9D.txt
[3/36] Emitting module Contentful
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Asset.swift:148:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
146 |
147 | extension Asset: EndpointAccessible {
148 |     public static let endpoint = Endpoint.assets
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | }
150 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ClientConfiguration.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 28 |
 29 | /// ClientConfiguration parameters for a `Client` instance.
 30 | public struct ClientConfiguration {
    |               `- note: consider making struct 'ClientConfiguration' conform to the 'Sendable' protocol
 31 |     /// An instance of `ClientConfiguration` with sane defaults. This is a singleton instance.
 32 |     public static let `default` = ClientConfiguration()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |
 34 |     /// Initializes a `ClientConfiguration` with default values
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentType.swift:54:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | extension ContentType: EndpointAccessible {
54 |     public static let endpoint = Endpoint.contentTypes
   |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'endpoint' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentfulLogger.swift:22:27: warning: static property 'logType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |     #if os(iOS) || os(tvOS) || os(watchOS) || os(macOS)
21 |         /// The type of logger used to log messages; defaults to `NSLog` on iOS, tvOS, watchOS, macOS. Defaults to `print` on other platforms.
22 |         public static var logType: LogType = .nsLog
   |                           |- warning: static property 'logType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'logType' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'logType' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |     #else
24 |         /// The type of logger used to log messages; defaults to `NSLog` on iOS, tvOS, watchOS, macOS. Defaults to `print` on other platforms.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentfulLogger.swift:29:23: warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 |     /// The highest order of message types that should be logged. Defaults to `LogLevel.error`.
29 |     public static var logLevel: LogLevel = .error
   |                       |- warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logLevel' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'logLevel' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /// An enum describing the types of messages to be logged.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/DateFormatterCache.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class DateFormatterCache {
   |       `- note: class 'DateFormatterCache' does not conform to the 'Sendable' protocol
11 |     static let shared = DateFormatterCache()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     private let queue = DispatchQueue(label: "com.contentful.formattercache")
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Entry.swift:122:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | extension Entry: EndpointAccessible {
122 |     public static let endpoint = Endpoint.entries
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 | }
124 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:98:14: warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 96 |
 97 | /// Information regarding an error received from Contentful's API.
 98 | public class APIError: Decodable, Error, CustomDebugStringConvertible {
    |              `- warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 99 |     public var debugDescription: String {
100 |         let statusCodeString = "HTTP status code " + String(statusCode)
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:120:16: warning: stored property 'sys' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.Sys'; this is an error in the Swift 6 language mode
110 |
111 |     /// System fields for the error.
112 |     public struct Sys: Decodable {
    |                   `- note: consider making struct 'Sys' conform to the 'Sendable' protocol
113 |         /// A psuedo identifier for the error returned by the API(s).
114 |         public let id: String
    :
118 |
119 |     /// System fields.
120 |     public let sys: Sys
    |                `- warning: stored property 'sys' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.Sys'; this is an error in the Swift 6 language mode
121 |
122 |     /// Human readable error message.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:129:16: warning: stored property 'statusCode' of 'Sendable'-conforming class 'APIError' is mutable; this is an error in the Swift 6 language mode
127 |
128 |     /// The HTTP status code.
129 |     public var statusCode: Int!
    |                `- warning: stored property 'statusCode' of 'Sendable'-conforming class 'APIError' is mutable; this is an error in the Swift 6 language mode
130 |
131 |     /// More details about the error.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:196:30: warning: stored property 'timeBeforeLimitReset' of 'Sendable'-conforming class 'RateLimitError' is mutable; this is an error in the Swift 6 language mode
194 |     /// passed.
195 |     /// See: https://www.contentful.com/developers/docs/references/content-delivery-api/#/introduction/api-rate-limits
196 |     public internal(set) var timeBeforeLimitReset: Int?
    |                              `- warning: stored property 'timeBeforeLimitReset' of 'Sendable'-conforming class 'RateLimitError' is mutable; this is an error in the Swift 6 language mode
197 |
198 |     /// A textual representation of this instance, suitable for debugging.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Locale.swift:15:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | extension Locale: EndpointAccessible {
 15 |     public static let endpoint = Endpoint.locales
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | }
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Space.swift:44:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | extension Space: EndpointAccessible {
44 |     public static let endpoint = Endpoint.spaces
   |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'endpoint' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/SyncSpace.swift:176:16: warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     static var cachedLinks = [String: [Link]]()
    |                |- warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'cachedLinks' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'cachedLinks' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 |
178 |     func updateWithDiffs(from syncSpace: SyncSpace) {
[4/39] Compiling Contentful ContentfulLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentfulLogger.swift:22:27: warning: static property 'logType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |     #if os(iOS) || os(tvOS) || os(watchOS) || os(macOS)
21 |         /// The type of logger used to log messages; defaults to `NSLog` on iOS, tvOS, watchOS, macOS. Defaults to `print` on other platforms.
22 |         public static var logType: LogType = .nsLog
   |                           |- warning: static property 'logType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'logType' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'logType' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |     #else
24 |         /// The type of logger used to log messages; defaults to `NSLog` on iOS, tvOS, watchOS, macOS. Defaults to `print` on other platforms.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentfulLogger.swift:29:23: warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 |     /// The highest order of message types that should be logged. Defaults to `LogLevel.error`.
29 |     public static var logLevel: LogLevel = .error
   |                       |- warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logLevel' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'logLevel' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /// An enum describing the types of messages to be logged.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/DateFormatterCache.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class DateFormatterCache {
   |       `- note: class 'DateFormatterCache' does not conform to the 'Sendable' protocol
11 |     static let shared = DateFormatterCache()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     private let queue = DispatchQueue(label: "com.contentful.formattercache")
[5/39] Compiling Contentful DataCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentfulLogger.swift:22:27: warning: static property 'logType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |     #if os(iOS) || os(tvOS) || os(watchOS) || os(macOS)
21 |         /// The type of logger used to log messages; defaults to `NSLog` on iOS, tvOS, watchOS, macOS. Defaults to `print` on other platforms.
22 |         public static var logType: LogType = .nsLog
   |                           |- warning: static property 'logType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'logType' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'logType' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |     #else
24 |         /// The type of logger used to log messages; defaults to `NSLog` on iOS, tvOS, watchOS, macOS. Defaults to `print` on other platforms.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentfulLogger.swift:29:23: warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 |     /// The highest order of message types that should be logged. Defaults to `LogLevel.error`.
29 |     public static var logLevel: LogLevel = .error
   |                       |- warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logLevel' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'logLevel' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /// An enum describing the types of messages to be logged.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/DateFormatterCache.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class DateFormatterCache {
   |       `- note: class 'DateFormatterCache' does not conform to the 'Sendable' protocol
11 |     static let shared = DateFormatterCache()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     private let queue = DispatchQueue(label: "com.contentful.formattercache")
[6/39] Compiling Contentful Date.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentfulLogger.swift:22:27: warning: static property 'logType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |     #if os(iOS) || os(tvOS) || os(watchOS) || os(macOS)
21 |         /// The type of logger used to log messages; defaults to `NSLog` on iOS, tvOS, watchOS, macOS. Defaults to `print` on other platforms.
22 |         public static var logType: LogType = .nsLog
   |                           |- warning: static property 'logType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'logType' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'logType' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |     #else
24 |         /// The type of logger used to log messages; defaults to `NSLog` on iOS, tvOS, watchOS, macOS. Defaults to `print` on other platforms.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentfulLogger.swift:29:23: warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 |     /// The highest order of message types that should be logged. Defaults to `LogLevel.error`.
29 |     public static var logLevel: LogLevel = .error
   |                       |- warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logLevel' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'logLevel' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /// An enum describing the types of messages to be logged.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/DateFormatterCache.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class DateFormatterCache {
   |       `- note: class 'DateFormatterCache' does not conform to the 'Sendable' protocol
11 |     static let shared = DateFormatterCache()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     private let queue = DispatchQueue(label: "com.contentful.formattercache")
[7/39] Compiling Contentful DateFormatterCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentfulLogger.swift:22:27: warning: static property 'logType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |     #if os(iOS) || os(tvOS) || os(watchOS) || os(macOS)
21 |         /// The type of logger used to log messages; defaults to `NSLog` on iOS, tvOS, watchOS, macOS. Defaults to `print` on other platforms.
22 |         public static var logType: LogType = .nsLog
   |                           |- warning: static property 'logType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'logType' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'logType' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |     #else
24 |         /// The type of logger used to log messages; defaults to `NSLog` on iOS, tvOS, watchOS, macOS. Defaults to `print` on other platforms.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ContentfulLogger.swift:29:23: warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 |     /// The highest order of message types that should be logged. Defaults to `LogLevel.error`.
29 |     public static var logLevel: LogLevel = .error
   |                       |- warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logLevel' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'logLevel' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /// An enum describing the types of messages to be logged.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/DateFormatterCache.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class DateFormatterCache {
   |       `- note: class 'DateFormatterCache' does not conform to the 'Sendable' protocol
11 |     static let shared = DateFormatterCache()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     private let queue = DispatchQueue(label: "com.contentful.formattercache")
[8/39] Compiling Contentful QueryOperation.swift
[9/39] Compiling Contentful Resource.swift
[10/39] Compiling Contentful RichText.swift
[11/39] Compiling Contentful Metadata.swift
[12/39] Compiling Contentful Persistence.swift
[13/39] Compiling Contentful Query.swift
[14/39] Compiling Contentful Space.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Space.swift:44:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | extension Space: EndpointAccessible {
44 |     public static let endpoint = Endpoint.spaces
   |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'endpoint' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/SyncSpace.swift:176:16: warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     static var cachedLinks = [String: [Link]]()
    |                |- warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'cachedLinks' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'cachedLinks' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 |
178 |     func updateWithDiffs(from syncSpace: SyncSpace) {
[15/39] Compiling Contentful SyncSpace.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Space.swift:44:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | extension Space: EndpointAccessible {
44 |     public static let endpoint = Endpoint.spaces
   |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'endpoint' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/SyncSpace.swift:176:16: warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     static var cachedLinks = [String: [Link]]()
    |                |- warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'cachedLinks' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'cachedLinks' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 |
178 |     func updateWithDiffs(from syncSpace: SyncSpace) {
[16/39] Compiling Contentful Sys.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Space.swift:44:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | extension Space: EndpointAccessible {
44 |     public static let endpoint = Endpoint.spaces
   |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'endpoint' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/SyncSpace.swift:176:16: warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     static var cachedLinks = [String: [Link]]()
    |                |- warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'cachedLinks' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'cachedLinks' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 |
178 |     func updateWithDiffs(from syncSpace: SyncSpace) {
[17/39] Compiling Contentful Link.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Locale.swift:15:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | extension Locale: EndpointAccessible {
 15 |     public static let endpoint = Endpoint.locales
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | }
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
[18/39] Compiling Contentful LinkResolver.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Locale.swift:15:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | extension Locale: EndpointAccessible {
 15 |     public static let endpoint = Endpoint.locales
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | }
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
[19/39] Compiling Contentful Locale.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Locale.swift:15:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | extension Locale: EndpointAccessible {
 15 |     public static let endpoint = Endpoint.locales
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | }
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
[20/39] Compiling Contentful Location.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Locale.swift:15:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | extension Locale: EndpointAccessible {
 15 |     public static let endpoint = Endpoint.locales
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | }
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
[21/39] Compiling Contentful TypedQuery.swift
[22/39] Compiling Contentful Client+UIKit.swift
[23/39] Compiling Contentful Util.swift
[24/39] Compiling Contentful Field.swift
[25/39] Compiling Contentful FieldType.swift
[26/39] Compiling Contentful ImageOptions.swift
[27/39] Compiling Contentful JSONDecoderBuilder.swift
[28/39] Compiling Contentful Client+AppKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Asset.swift:148:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
146 |
147 | extension Asset: EndpointAccessible {
148 |     public static let endpoint = Endpoint.assets
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | }
150 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
[29/39] Compiling Contentful ArrayResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Asset.swift:148:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
146 |
147 | extension Asset: EndpointAccessible {
148 |     public static let endpoint = Endpoint.assets
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | }
150 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
[30/39] Compiling Contentful Asset.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Asset.swift:148:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
146 |
147 | extension Asset: EndpointAccessible {
148 |     public static let endpoint = Endpoint.assets
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | }
150 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
[31/39] Compiling Contentful Client+Fetch.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Asset.swift:148:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
146 |
147 | extension Asset: EndpointAccessible {
148 |     public static let endpoint = Endpoint.assets
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | }
150 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
[32/39] Compiling Contentful Decodable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Entry.swift:122:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | extension Entry: EndpointAccessible {
122 |     public static let endpoint = Endpoint.entries
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 | }
124 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/SyncSpace.swift:176:16: warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     static var cachedLinks = [String: [Link]]()
    |                |- warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'cachedLinks' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'cachedLinks' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 |
178 |     func updateWithDiffs(from syncSpace: SyncSpace) {
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:98:14: warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 96 |
 97 | /// Information regarding an error received from Contentful's API.
 98 | public class APIError: Decodable, Error, CustomDebugStringConvertible {
    |              `- warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 99 |     public var debugDescription: String {
100 |         let statusCodeString = "HTTP status code " + String(statusCode)
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:120:16: warning: stored property 'sys' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.Sys'; this is an error in the Swift 6 language mode
110 |
111 |     /// System fields for the error.
112 |     public struct Sys: Decodable {
    |                   `- note: consider making struct 'Sys' conform to the 'Sendable' protocol
113 |         /// A psuedo identifier for the error returned by the API(s).
114 |         public let id: String
    :
118 |
119 |     /// System fields.
120 |     public let sys: Sys
    |                `- warning: stored property 'sys' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.Sys'; this is an error in the Swift 6 language mode
121 |
122 |     /// Human readable error message.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:129:16: warning: stored property 'statusCode' of 'Sendable'-conforming class 'APIError' is mutable; this is an error in the Swift 6 language mode
127 |
128 |     /// The HTTP status code.
129 |     public var statusCode: Int!
    |                `- warning: stored property 'statusCode' of 'Sendable'-conforming class 'APIError' is mutable; this is an error in the Swift 6 language mode
130 |
131 |     /// More details about the error.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:196:30: warning: stored property 'timeBeforeLimitReset' of 'Sendable'-conforming class 'RateLimitError' is mutable; this is an error in the Swift 6 language mode
194 |     /// passed.
195 |     /// See: https://www.contentful.com/developers/docs/references/content-delivery-api/#/introduction/api-rate-limits
196 |     public internal(set) var timeBeforeLimitReset: Int?
    |                              `- warning: stored property 'timeBeforeLimitReset' of 'Sendable'-conforming class 'RateLimitError' is mutable; this is an error in the Swift 6 language mode
197 |
198 |     /// A textual representation of this instance, suitable for debugging.
[33/39] Compiling Contentful Endpoints.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Entry.swift:122:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | extension Entry: EndpointAccessible {
122 |     public static let endpoint = Endpoint.entries
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 | }
124 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/SyncSpace.swift:176:16: warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     static var cachedLinks = [String: [Link]]()
    |                |- warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'cachedLinks' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'cachedLinks' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 |
178 |     func updateWithDiffs(from syncSpace: SyncSpace) {
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:98:14: warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 96 |
 97 | /// Information regarding an error received from Contentful's API.
 98 | public class APIError: Decodable, Error, CustomDebugStringConvertible {
    |              `- warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 99 |     public var debugDescription: String {
100 |         let statusCodeString = "HTTP status code " + String(statusCode)
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:120:16: warning: stored property 'sys' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.Sys'; this is an error in the Swift 6 language mode
110 |
111 |     /// System fields for the error.
112 |     public struct Sys: Decodable {
    |                   `- note: consider making struct 'Sys' conform to the 'Sendable' protocol
113 |         /// A psuedo identifier for the error returned by the API(s).
114 |         public let id: String
    :
118 |
119 |     /// System fields.
120 |     public let sys: Sys
    |                `- warning: stored property 'sys' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.Sys'; this is an error in the Swift 6 language mode
121 |
122 |     /// Human readable error message.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:129:16: warning: stored property 'statusCode' of 'Sendable'-conforming class 'APIError' is mutable; this is an error in the Swift 6 language mode
127 |
128 |     /// The HTTP status code.
129 |     public var statusCode: Int!
    |                `- warning: stored property 'statusCode' of 'Sendable'-conforming class 'APIError' is mutable; this is an error in the Swift 6 language mode
130 |
131 |     /// More details about the error.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:196:30: warning: stored property 'timeBeforeLimitReset' of 'Sendable'-conforming class 'RateLimitError' is mutable; this is an error in the Swift 6 language mode
194 |     /// passed.
195 |     /// See: https://www.contentful.com/developers/docs/references/content-delivery-api/#/introduction/api-rate-limits
196 |     public internal(set) var timeBeforeLimitReset: Int?
    |                              `- warning: stored property 'timeBeforeLimitReset' of 'Sendable'-conforming class 'RateLimitError' is mutable; this is an error in the Swift 6 language mode
197 |
198 |     /// A textual representation of this instance, suitable for debugging.
[34/39] Compiling Contentful Entry.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Entry.swift:122:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | extension Entry: EndpointAccessible {
122 |     public static let endpoint = Endpoint.entries
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 | }
124 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/SyncSpace.swift:176:16: warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     static var cachedLinks = [String: [Link]]()
    |                |- warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'cachedLinks' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'cachedLinks' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 |
178 |     func updateWithDiffs(from syncSpace: SyncSpace) {
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:98:14: warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 96 |
 97 | /// Information regarding an error received from Contentful's API.
 98 | public class APIError: Decodable, Error, CustomDebugStringConvertible {
    |              `- warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 99 |     public var debugDescription: String {
100 |         let statusCodeString = "HTTP status code " + String(statusCode)
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:120:16: warning: stored property 'sys' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.Sys'; this is an error in the Swift 6 language mode
110 |
111 |     /// System fields for the error.
112 |     public struct Sys: Decodable {
    |                   `- note: consider making struct 'Sys' conform to the 'Sendable' protocol
113 |         /// A psuedo identifier for the error returned by the API(s).
114 |         public let id: String
    :
118 |
119 |     /// System fields.
120 |     public let sys: Sys
    |                `- warning: stored property 'sys' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.Sys'; this is an error in the Swift 6 language mode
121 |
122 |     /// Human readable error message.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:129:16: warning: stored property 'statusCode' of 'Sendable'-conforming class 'APIError' is mutable; this is an error in the Swift 6 language mode
127 |
128 |     /// The HTTP status code.
129 |     public var statusCode: Int!
    |                `- warning: stored property 'statusCode' of 'Sendable'-conforming class 'APIError' is mutable; this is an error in the Swift 6 language mode
130 |
131 |     /// More details about the error.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:196:30: warning: stored property 'timeBeforeLimitReset' of 'Sendable'-conforming class 'RateLimitError' is mutable; this is an error in the Swift 6 language mode
194 |     /// passed.
195 |     /// See: https://www.contentful.com/developers/docs/references/content-delivery-api/#/introduction/api-rate-limits
196 |     public internal(set) var timeBeforeLimitReset: Int?
    |                              `- warning: stored property 'timeBeforeLimitReset' of 'Sendable'-conforming class 'RateLimitError' is mutable; this is an error in the Swift 6 language mode
197 |
198 |     /// A textual representation of this instance, suitable for debugging.
[35/39] Compiling Contentful Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Entry.swift:122:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | extension Entry: EndpointAccessible {
122 |     public static let endpoint = Endpoint.entries
    |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endpoint' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 | }
124 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/SyncSpace.swift:176:16: warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     static var cachedLinks = [String: [Link]]()
    |                |- warning: static property 'cachedLinks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'cachedLinks' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'cachedLinks' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 |
178 |     func updateWithDiffs(from syncSpace: SyncSpace) {
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:98:14: warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 96 |
 97 | /// Information regarding an error received from Contentful's API.
 98 | public class APIError: Decodable, Error, CustomDebugStringConvertible {
    |              `- warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 99 |     public var debugDescription: String {
100 |         let statusCodeString = "HTTP status code " + String(statusCode)
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:120:16: warning: stored property 'sys' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.Sys'; this is an error in the Swift 6 language mode
110 |
111 |     /// System fields for the error.
112 |     public struct Sys: Decodable {
    |                   `- note: consider making struct 'Sys' conform to the 'Sendable' protocol
113 |         /// A psuedo identifier for the error returned by the API(s).
114 |         public let id: String
    :
118 |
119 |     /// System fields.
120 |     public let sys: Sys
    |                `- warning: stored property 'sys' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.Sys'; this is an error in the Swift 6 language mode
121 |
122 |     /// Human readable error message.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:129:16: warning: stored property 'statusCode' of 'Sendable'-conforming class 'APIError' is mutable; this is an error in the Swift 6 language mode
127 |
128 |     /// The HTTP status code.
129 |     public var statusCode: Int!
    |                `- warning: stored property 'statusCode' of 'Sendable'-conforming class 'APIError' is mutable; this is an error in the Swift 6 language mode
130 |
131 |     /// More details about the error.
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Error.swift:196:30: warning: stored property 'timeBeforeLimitReset' of 'Sendable'-conforming class 'RateLimitError' is mutable; this is an error in the Swift 6 language mode
194 |     /// passed.
195 |     /// See: https://www.contentful.com/developers/docs/references/content-delivery-api/#/introduction/api-rate-limits
196 |     public internal(set) var timeBeforeLimitReset: Int?
    |                              `- warning: stored property 'timeBeforeLimitReset' of 'Sendable'-conforming class 'RateLimitError' is mutable; this is an error in the Swift 6 language mode
197 |
198 |     /// A textual representation of this instance, suitable for debugging.
[36/39] Compiling Contentful Client+Sync.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ClientConfiguration.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 28 |
 29 | /// ClientConfiguration parameters for a `Client` instance.
 30 | public struct ClientConfiguration {
    |               `- note: consider making struct 'ClientConfiguration' conform to the 'Sendable' protocol
 31 |     /// An instance of `ClientConfiguration` with sane defaults. This is a singleton instance.
 32 |     public static let `default` = ClientConfiguration()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |
 34 |     /// Initializes a `ClientConfiguration` with default values
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Client.swift:209:20: warning: capture of 'self' with non-sendable type 'Client' in a `@Sendable` closure
 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/ContentType.swift:54:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | extension ContentType: EndpointAccessible {
54 |     public static let endpoint = Endpoint.contentTypes
   |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'endpoint' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
[37/39] Compiling Contentful Client.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ClientConfiguration.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 28 |
 29 | /// ClientConfiguration parameters for a `Client` instance.
 30 | public struct ClientConfiguration {
    |               `- note: consider making struct 'ClientConfiguration' conform to the 'Sendable' protocol
 31 |     /// An instance of `ClientConfiguration` with sane defaults. This is a singleton instance.
 32 |     public static let `default` = ClientConfiguration()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |
 34 |     /// Initializes a `ClientConfiguration` with default values
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Client.swift:209:20: warning: capture of 'self' with non-sendable type 'Client' in a `@Sendable` closure
 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/ContentType.swift:54:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | extension ContentType: EndpointAccessible {
54 |     public static let endpoint = Endpoint.contentTypes
   |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'endpoint' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
[38/39] Compiling Contentful ClientConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ClientConfiguration.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 28 |
 29 | /// ClientConfiguration parameters for a `Client` instance.
 30 | public struct ClientConfiguration {
    |               `- note: consider making struct 'ClientConfiguration' conform to the 'Sendable' protocol
 31 |     /// An instance of `ClientConfiguration` with sane defaults. This is a singleton instance.
 32 |     public static let `default` = ClientConfiguration()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |
 34 |     /// Initializes a `ClientConfiguration` with default values
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Client.swift:209:20: warning: capture of 'self' with non-sendable type 'Client' in a `@Sendable` closure
 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/ContentType.swift:54:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | extension ContentType: EndpointAccessible {
54 |     public static let endpoint = Endpoint.contentTypes
   |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'endpoint' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
[39/39] Compiling Contentful ContentType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/ClientConfiguration.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 28 |
 29 | /// ClientConfiguration parameters for a `Client` instance.
 30 | public struct ClientConfiguration {
    |               `- note: consider making struct 'ClientConfiguration' conform to the 'Sendable' protocol
 31 |     /// An instance of `ClientConfiguration` with sane defaults. This is a singleton instance.
 32 |     public static let `default` = ClientConfiguration()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |
 34 |     /// Initializes a `ClientConfiguration` with default values
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Client.swift:209:20: warning: capture of 'self' with non-sendable type 'Client' in a `@Sendable` closure
 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/ContentType.swift:54:23: warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | extension ContentType: EndpointAccessible {
54 |     public static let endpoint = Endpoint.contentTypes
   |                       |- warning: static property 'endpoint' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'endpoint' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/Contentful/Endpoints.swift:12:13: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
10 |
11 | /// Endpoints that are available for the Content Delivery and Preview APIs.
12 | public enum Endpoint: String {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
13 |     /// The spaces endpoint; also the base-path for all other endpoints.
14 |     case spaces = ""
Build complete! (24.82s)
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.