The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ContentstackSwift, reference master (6f3406), with Swift 6.1 for macOS (SPM) on 9 Oct 2026 12:16:35 UTC.

Swift 6 data race errors: 32

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

143 |                     return value
144 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:94:27: warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
 92 |
 93 |         /// To include `count` in the response.
 94 |         public static let count: Include = Include(rawValue: 1 << 0)
    |                           |- warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'count' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 95 |         /// To include Unpublished Entries in response,
 96 |         public static let unpublished: Include = Include(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:96:27: warning: static property 'unpublished' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
 94 |         public static let count: Include = Include(rawValue: 1 << 0)
 95 |         /// To include Unpublished Entries in response,
 96 |         public static let unpublished: Include = Include(rawValue: 1 << 1)
    |                           |- warning: static property 'unpublished' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'unpublished' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 97 |         /// To include ContentType schema in Entry response,
 98 |         public static let contentType: Include = Include(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:98:27: warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
 96 |         public static let unpublished: Include = Include(rawValue: 1 << 1)
 97 |         /// To include ContentType schema in Entry response,
 98 |         public static let contentType: Include = Include(rawValue: 1 << 2)
    |                           |- warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'contentType' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |         /// To include Global Fields schema in Entry response,
100 |         public static let globalField: Include = Include(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:100:27: warning: static property 'globalField' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
 98 |         public static let contentType: Include = Include(rawValue: 1 << 2)
 99 |         /// To include Global Fields schema in Entry response,
100 |         public static let globalField: Include = Include(rawValue: 1 << 3)
    |                           |- warning: static property 'globalField' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'globalField' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |         /// To include Reference ContentType Uid in reference field in Entry response,
102 |         public static let refContentTypeUID: Include = Include(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:102:27: warning: static property 'refContentTypeUID' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
100 |         public static let globalField: Include = Include(rawValue: 1 << 3)
101 |         /// To include Reference ContentType Uid in reference field in Entry response,
102 |         public static let refContentTypeUID: Include = Include(rawValue: 1 << 4)
    |                           |- warning: static property 'refContentTypeUID' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'refContentTypeUID' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |         /// Retrieve the published content of the fallback locale if an entry is not localized in specified locale.
104 |         public static let fallback: Include = Include(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:104:27: warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
102 |         public static let refContentTypeUID: Include = Include(rawValue: 1 << 4)
103 |         /// Retrieve the published content of the fallback locale if an entry is not localized in specified locale.
104 |         public static let fallback: Include = Include(rawValue: 1 << 5)
    |                           |- warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'fallback' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |         /// Include Embedded Objects (Entries and Assets) along with entry/entries details.
106 |         public static let embeddedItems: Include = Include(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:106:27: warning: static property 'embeddedItems' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
104 |         public static let fallback: Include = Include(rawValue: 1 << 5)
105 |         /// Include Embedded Objects (Entries and Assets) along with entry/entries details.
106 |         public static let embeddedItems: Include = Include(rawValue: 1 << 6)
    |                           |- warning: static property 'embeddedItems' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'embeddedItems' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 |         /// Include Embedded Objects (Entries and Assets) along with entry/entries details.
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:109:27: warning: static property 'metadata' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
107 |
108 |         /// Include Embedded Objects (Entries and Assets) along with entry/entries details.
109 |         public static let metadata: Include = Include(rawValue: 1 << 7)
    |                           |- warning: static property 'metadata' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'metadata' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 |         /// To inclide all `Query.Include` values.
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:112:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
110 |
111 |         /// To inclide all `Query.Include` values.
112 |         public static let all: Include = [.count,
    |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |                                           .unpublished,
114 |                                           .contentType,
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:138:27: warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'ContentTypeQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
123 | extension ContentTypeQuery {
124 |     /// The `ContentTypeQuery.Include` is parameter for including `count`, `Global Fields schema` in result.
125 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
126 |         /// Creates a new option set from the given raw value.
127 |         ///
    :
136 |
137 |         /// To include count in the response.
138 |         public static let count: Include = Include(rawValue: 1 << 0)
    |                           |- warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'ContentTypeQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'count' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
139 |         /// To include Global Fields schema in ContentType response,
140 |         public static let globalFields: Include = Include(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:140:27: warning: static property 'globalFields' is not concurrency-safe because non-'Sendable' type 'ContentTypeQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
123 | extension ContentTypeQuery {
124 |     /// The `ContentTypeQuery.Include` is parameter for including `count`, `Global Fields schema` in result.
125 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
126 |         /// Creates a new option set from the given raw value.
127 |         ///
    :
138 |         public static let count: Include = Include(rawValue: 1 << 0)
139 |         /// To include Global Fields schema in ContentType response,
140 |         public static let globalFields: Include = Include(rawValue: 1 << 1)
    |                           |- warning: static property 'globalFields' is not concurrency-safe because non-'Sendable' type 'ContentTypeQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'globalFields' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 |         /// To include all `ContentTypeQuery.Include` values.
142 |         public static let all: Include = [.count,
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:142:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ContentTypeQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
123 | extension ContentTypeQuery {
124 |     /// The `ContentTypeQuery.Include` is parameter for including `count`, `Global Fields schema` in result.
125 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
126 |         /// Creates a new option set from the given raw value.
127 |         ///
    :
140 |         public static let globalFields: Include = Include(rawValue: 1 << 1)
141 |         /// To include all `ContentTypeQuery.Include` values.
142 |         public static let all: Include = [.count,
    |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ContentTypeQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 |                                           .globalFields]
144 |     }
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:163:27: warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
148 |     /// The `AssetQuery.Include` is parameter for including `count`, `relative URLs`,
149 |     /// and `dimensions` in result.
150 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
151 |         /// Creates a new option set from the given raw value.
152 |         ///
    :
161 |
162 |         /// To include count in the response.
163 |         public static let count: Include = Include(rawValue: 1 << 0)
    |                           |- warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'count' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |         /// To include the relative URLs of the assets in the response.
165 |         public static let relativeURL: Include = Include(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:165:27: warning: static property 'relativeURL' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
148 |     /// The `AssetQuery.Include` is parameter for including `count`, `relative URLs`,
149 |     /// and `dimensions` in result.
150 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
151 |         /// Creates a new option set from the given raw value.
152 |         ///
    :
163 |         public static let count: Include = Include(rawValue: 1 << 0)
164 |         /// To include the relative URLs of the assets in the response.
165 |         public static let relativeURL: Include = Include(rawValue: 1 << 1)
    |                           |- warning: static property 'relativeURL' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'relativeURL' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 |         /// To include the dimensions (height and width) of the image in the response.
167 |         /// Supported image types: JPG, GIF, PNG, WebP, BMP, TIFF, SVG, and PSD.
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:168:27: warning: static property 'dimension' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
148 |     /// The `AssetQuery.Include` is parameter for including `count`, `relative URLs`,
149 |     /// and `dimensions` in result.
150 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
151 |         /// Creates a new option set from the given raw value.
152 |         ///
    :
166 |         /// To include the dimensions (height and width) of the image in the response.
167 |         /// Supported image types: JPG, GIF, PNG, WebP, BMP, TIFF, SVG, and PSD.
168 |         public static let dimension: Include = Include(rawValue: 1 << 2)
    |                           |- warning: static property 'dimension' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'dimension' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |         /// Retrieve the published content of the fallback locale if an entry is not localized in specified locale.
170 |         public static let fallback: Include = Include(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:170:27: warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
148 |     /// The `AssetQuery.Include` is parameter for including `count`, `relative URLs`,
149 |     /// and `dimensions` in result.
150 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
151 |         /// Creates a new option set from the given raw value.
152 |         ///
    :
168 |         public static let dimension: Include = Include(rawValue: 1 << 2)
169 |         /// Retrieve the published content of the fallback locale if an entry is not localized in specified locale.
170 |         public static let fallback: Include = Include(rawValue: 1 << 3)
    |                           |- warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'fallback' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 |         /// Retrieve the published content of the fallback locale if an entry is not localized in specified locale.
172 |         public static let metadata: Include = Include(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:172:27: warning: static property 'metadata' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
148 |     /// The `AssetQuery.Include` is parameter for including `count`, `relative URLs`,
149 |     /// and `dimensions` in result.
150 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
151 |         /// Creates a new option set from the given raw value.
152 |         ///
    :
170 |         public static let fallback: Include = Include(rawValue: 1 << 3)
171 |         /// Retrieve the published content of the fallback locale if an entry is not localized in specified locale.
172 |         public static let metadata: Include = Include(rawValue: 1 << 4)
    |                           |- warning: static property 'metadata' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'metadata' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 |         /// To inclide all `AssetQuery.Include` values.
174 |         public static let all: Include = [.count,
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:174:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
148 |     /// The `AssetQuery.Include` is parameter for including `count`, `relative URLs`,
149 |     /// and `dimensions` in result.
150 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
151 |         /// Creates a new option set from the given raw value.
152 |         ///
    :
172 |         public static let metadata: Include = Include(rawValue: 1 << 4)
173 |         /// To inclide all `AssetQuery.Include` values.
174 |         public static let all: Include = [.count,
    |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 |                                           .relativeURL,
176 |                                           .dimension,
[36/69] Compiling ContentstackSwift QueryParameter.swift
/Users/admin/builder/spi-builder-workspace/Sources/QueryOperation.swift:115:42: warning: cast from 'any QueryableRange' to unrelated type 'Float' always fails
113 |             switch self {
114 |             case .equals(let value):
115 |                 if value is Int || value is Float || value is Double || value is Bool {
    |                                          `- warning: cast from 'any QueryableRange' to unrelated type 'Float' always fails
116 |                     return value
117 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/QueryOperation.swift:120:42: warning: cast from 'any QueryableRange' to unrelated type 'Float' always fails
118 |                 return value.stringValue
119 |             case .notEquals(let value):
120 |                 if value is Int || value is Float || value is Double || value is Bool {
    |                                          `- warning: cast from 'any QueryableRange' to unrelated type 'Float' always fails
121 |                     return value
122 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/QueryOperation.swift:127:42: warning: cast from 'any QueryableRange' to unrelated type 'Float' always fails
125 |             case .excludes(let value):              return value
126 |             case .isLessThan(let value):
127 |                 if value is Int || value is Float || value is Double || value is Bool {
    |                                          `- warning: cast from 'any QueryableRange' to unrelated type 'Float' always fails
128 |                     return value
129 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/QueryOperation.swift:132:42: warning: cast from 'any QueryableRange' to unrelated type 'Float' always fails
130 |                 return value.stringValue
131 |             case .isLessThanOrEqual(let value):
132 |                 if value is Int || value is Float || value is Double || value is Bool {
    |                                          `- warning: cast from 'any QueryableRange' to unrelated type 'Float' always fails
133 |                     return value
134 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/QueryOperation.swift:137:42: warning: cast from 'any QueryableRange' to unrelated type 'Float' always fails
135 |                 return value.stringValue
136 |             case .isGreaterThan(let value):
137 |                 if value is Int || value is Float || value is Double || value is Bool {
    |                                          `- warning: cast from 'any QueryableRange' to unrelated type 'Float' always fails
138 |                     return value
139 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/QueryOperation.swift:142:42: warning: cast from 'any QueryableRange' to unrelated type 'Float' always fails
140 |                 return value.stringValue
141 |             case .isGreaterThanOrEqual(let value):
142 |                 if value is Int || value is Float || value is Double || value is Bool {
    |                                          `- warning: cast from 'any QueryableRange' to unrelated type 'Float' always fails
143 |                     return value
144 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:94:27: warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
 92 |
 93 |         /// To include `count` in the response.
 94 |         public static let count: Include = Include(rawValue: 1 << 0)
    |                           |- warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'count' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 95 |         /// To include Unpublished Entries in response,
 96 |         public static let unpublished: Include = Include(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:96:27: warning: static property 'unpublished' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
 94 |         public static let count: Include = Include(rawValue: 1 << 0)
 95 |         /// To include Unpublished Entries in response,
 96 |         public static let unpublished: Include = Include(rawValue: 1 << 1)
    |                           |- warning: static property 'unpublished' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'unpublished' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 97 |         /// To include ContentType schema in Entry response,
 98 |         public static let contentType: Include = Include(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:98:27: warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
 96 |         public static let unpublished: Include = Include(rawValue: 1 << 1)
 97 |         /// To include ContentType schema in Entry response,
 98 |         public static let contentType: Include = Include(rawValue: 1 << 2)
    |                           |- warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'contentType' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |         /// To include Global Fields schema in Entry response,
100 |         public static let globalField: Include = Include(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:100:27: warning: static property 'globalField' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
 98 |         public static let contentType: Include = Include(rawValue: 1 << 2)
 99 |         /// To include Global Fields schema in Entry response,
100 |         public static let globalField: Include = Include(rawValue: 1 << 3)
    |                           |- warning: static property 'globalField' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'globalField' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |         /// To include Reference ContentType Uid in reference field in Entry response,
102 |         public static let refContentTypeUID: Include = Include(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:102:27: warning: static property 'refContentTypeUID' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
100 |         public static let globalField: Include = Include(rawValue: 1 << 3)
101 |         /// To include Reference ContentType Uid in reference field in Entry response,
102 |         public static let refContentTypeUID: Include = Include(rawValue: 1 << 4)
    |                           |- warning: static property 'refContentTypeUID' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'refContentTypeUID' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |         /// Retrieve the published content of the fallback locale if an entry is not localized in specified locale.
104 |         public static let fallback: Include = Include(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:104:27: warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
102 |         public static let refContentTypeUID: Include = Include(rawValue: 1 << 4)
103 |         /// Retrieve the published content of the fallback locale if an entry is not localized in specified locale.
104 |         public static let fallback: Include = Include(rawValue: 1 << 5)
    |                           |- warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'fallback' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |         /// Include Embedded Objects (Entries and Assets) along with entry/entries details.
106 |         public static let embeddedItems: Include = Include(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:106:27: warning: static property 'embeddedItems' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
104 |         public static let fallback: Include = Include(rawValue: 1 << 5)
105 |         /// Include Embedded Objects (Entries and Assets) along with entry/entries details.
106 |         public static let embeddedItems: Include = Include(rawValue: 1 << 6)
    |                           |- warning: static property 'embeddedItems' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'embeddedItems' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 |         /// Include Embedded Objects (Entries and Assets) along with entry/entries details.
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:109:27: warning: static property 'metadata' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
107 |
108 |         /// Include Embedded Objects (Entries and Assets) along with entry/entries details.
109 |         public static let metadata: Include = Include(rawValue: 1 << 7)
    |                           |- warning: static property 'metadata' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'metadata' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 |         /// To inclide all `Query.Include` values.
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:112:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
110 |
111 |         /// To inclide all `Query.Include` values.
112 |         public static let all: Include = [.count,
    |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |                                           .unpublished,
114 |                                           .contentType,
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:138:27: warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'ContentTypeQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
123 | extension ContentTypeQuery {
124 |     /// The `ContentTypeQuery.Include` is parameter for including `count`, `Global Fields schema` in result.
125 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
126 |         /// Creates a new option set from the given raw value.
127 |         ///
    :
136 |
137 |         /// To include count in the response.
138 |         public static let count: Include = Include(rawValue: 1 << 0)
    |                           |- warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'ContentTypeQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'count' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
139 |         /// To include Global Fields schema in ContentType response,
140 |         public static let globalFields: Include = Include(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:140:27: warning: static property 'globalFields' is not concurrency-safe because non-'Sendable' type 'ContentTypeQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
123 | extension ContentTypeQuery {
124 |     /// The `ContentTypeQuery.Include` is parameter for including `count`, `Global Fields schema` in result.
125 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
126 |         /// Creates a new option set from the given raw value.
127 |         ///
    :
138 |         public static let count: Include = Include(rawValue: 1 << 0)
139 |         /// To include Global Fields schema in ContentType response,
140 |         public static let globalFields: Include = Include(rawValue: 1 << 1)
    |                           |- warning: static property 'globalFields' is not concurrency-safe because non-'Sendable' type 'ContentTypeQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'globalFields' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 |         /// To include all `ContentTypeQuery.Include` values.
142 |         public static let all: Include = [.count,
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:142:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ContentTypeQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
123 | extension ContentTypeQuery {
124 |     /// The `ContentTypeQuery.Include` is parameter for including `count`, `Global Fields schema` in result.
125 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
126 |         /// Creates a new option set from the given raw value.
127 |         ///
    :
140 |         public static let globalFields: Include = Include(rawValue: 1 << 1)
141 |         /// To include all `ContentTypeQuery.Include` values.
142 |         public static let all: Include = [.count,
    |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ContentTypeQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 |                                           .globalFields]
144 |     }
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:163:27: warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
148 |     /// The `AssetQuery.Include` is parameter for including `count`, `relative URLs`,
149 |     /// and `dimensions` in result.
150 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
151 |         /// Creates a new option set from the given raw value.
152 |         ///
    :
161 |
162 |         /// To include count in the response.
163 |         public static let count: Include = Include(rawValue: 1 << 0)
    |                           |- warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'count' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |         /// To include the relative URLs of the assets in the response.
165 |         public static let relativeURL: Include = Include(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:165:27: warning: static property 'relativeURL' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
148 |     /// The `AssetQuery.Include` is parameter for including `count`, `relative URLs`,
149 |     /// and `dimensions` in result.
150 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
151 |         /// Creates a new option set from the given raw value.
152 |         ///
    :
163 |         public static let count: Include = Include(rawValue: 1 << 0)
164 |         /// To include the relative URLs of the assets in the response.
165 |         public static let relativeURL: Include = Include(rawValue: 1 << 1)
    |                           |- warning: static property 'relativeURL' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'relativeURL' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 |         /// To include the dimensions (height and width) of the image in the response.
167 |         /// Supported image types: JPG, GIF, PNG, WebP, BMP, TIFF, SVG, and PSD.
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:168:27: warning: static property 'dimension' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
148 |     /// The `AssetQuery.Include` is parameter for including `count`, `relative URLs`,
149 |     /// and `dimensions` in result.
150 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
151 |         /// Creates a new option set from the given raw value.
152 |         ///
    :
166 |         /// To include the dimensions (height and width) of the image in the response.
167 |         /// Supported image types: JPG, GIF, PNG, WebP, BMP, TIFF, SVG, and PSD.
168 |         public static let dimension: Include = Include(rawValue: 1 << 2)
    |                           |- warning: static property 'dimension' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'dimension' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |         /// Retrieve the published content of the fallback locale if an entry is not localized in specified locale.
170 |         public static let fallback: Include = Include(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:170:27: warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
148 |     /// The `AssetQuery.Include` is parameter for including `count`, `relative URLs`,
149 |     /// and `dimensions` in result.
150 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
151 |         /// Creates a new option set from the given raw value.
152 |         ///
    :
168 |         public static let dimension: Include = Include(rawValue: 1 << 2)
169 |         /// Retrieve the published content of the fallback locale if an entry is not localized in specified locale.
170 |         public static let fallback: Include = Include(rawValue: 1 << 3)
    |                           |- warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'fallback' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 |         /// Retrieve the published content of the fallback locale if an entry is not localized in specified locale.
172 |         public static let metadata: Include = Include(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:172:27: warning: static property 'metadata' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
148 |     /// The `AssetQuery.Include` is parameter for including `count`, `relative URLs`,
149 |     /// and `dimensions` in result.
150 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
151 |         /// Creates a new option set from the given raw value.
152 |         ///
    :
170 |         public static let fallback: Include = Include(rawValue: 1 << 3)
171 |         /// Retrieve the published content of the fallback locale if an entry is not localized in specified locale.
172 |         public static let metadata: Include = Include(rawValue: 1 << 4)
    |                           |- warning: static property 'metadata' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'metadata' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 |         /// To inclide all `AssetQuery.Include` values.
174 |         public static let all: Include = [.count,
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:174:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
148 |     /// The `AssetQuery.Include` is parameter for including `count`, `relative URLs`,
149 |     /// and `dimensions` in result.
150 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
151 |         /// Creates a new option set from the given raw value.
152 |         ///
    :
172 |         public static let metadata: Include = Include(rawValue: 1 << 4)
173 |         /// To inclide all `AssetQuery.Include` values.
174 |         public static let all: Include = [.count,
    |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 |                                           .relativeURL,
176 |                                           .dimension,
[37/69] Compiling ContentstackSwift ImageOperations.swift
[38/69] Compiling ContentstackSwift ImageParameter.swift
[39/69] Compiling ContentstackSwift ImageTransform.swift
[40/69] Compiling ContentstackSwift ImageTransformError.swift
[41/69] Compiling ContentstackSwift ContentstackConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackConfig.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ContentstackConfig' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public struct ContentstackConfig {
    |               `- note: consider making struct 'ContentstackConfig' conform to the 'Sendable' protocol
 11 |
 12 |     /// The singleton instance of 'ContentstackConfig'.
 13 |     public static let `default` = ContentstackConfig()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ContentstackConfig' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |     public var earlyAccess: [String]?
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:68:24: warning: static property 'regionsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 66 |     public static let regionsURL = "https://artifacts.contentstack.com/regions.json"
 67 |
 68 |     private static var regionsCache: [[String: Any]]?
    |                        |- warning: static property 'regionsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'regionsCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'regionsCache' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |     // Ensures the live download is attempted at most once per process so that genuinely
 70 |     // invalid region strings do not trigger repeated network calls.
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:71:24: warning: static property 'liveRefreshDone' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 69 |     // Ensures the live download is attempted at most once per process so that genuinely
 70 |     // invalid region strings do not trigger repeated network calls.
 71 |     private static var liveRefreshDone = false
    |                        |- warning: static property 'liveRefreshDone' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'liveRefreshDone' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'liveRefreshDone' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 |     // Allows tests to disable the network fallback.
 73 |     static var isLiveRefreshEnabled = true
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:73:16: warning: static property 'isLiveRefreshEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 71 |     private static var liveRefreshDone = false
 72 |     // Allows tests to disable the network fallback.
 73 |     static var isLiveRefreshEnabled = true
    |                |- warning: static property 'isLiveRefreshEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'isLiveRefreshEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'isLiveRefreshEnabled' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 74 |     // Allows tests to bypass the on-disk cache so the download path can be exercised deterministically.
 75 |     static var isDiskCacheEnabled = true
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:75:16: warning: static property 'isDiskCacheEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 73 |     static var isLiveRefreshEnabled = true
 74 |     // Allows tests to bypass the on-disk cache so the download path can be exercised deterministically.
 75 |     static var isDiskCacheEnabled = true
    |                |- warning: static property 'isDiskCacheEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'isDiskCacheEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'isDiskCacheEnabled' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |     // The session used to download the registry. Overridable so tests can inject a DVR session.
 77 |     static var session: URLSession = .shared
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:77:16: warning: static property 'session' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 75 |     static var isDiskCacheEnabled = true
 76 |     // The session used to download the registry. Overridable so tests can inject a DVR session.
 77 |     static var session: URLSession = .shared
    |                |- warning: static property 'session' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'session' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'session' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 78 |     private static let lock = NSLock()
 79 |
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:198:13: warning: mutation of captured var 'fetchedData' in concurrently-executing code
196 |         var fetchedData: Data?
197 |         let task = session.dataTask(with: request) { data, _, _ in
198 |             fetchedData = data
    |             `- warning: mutation of captured var 'fetchedData' in concurrently-executing code
199 |             semaphore.signal()
200 |         }
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackLogger.swift:24:23: 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
22 |     /// The type of logger used to log messages; defaults to `NSLog` on
23 |     /// iOS, tvOS, watchOS, macOS. Defaults to `print` on other platforms.
24 |     public static var logType: LogType = .nsLog
   |                       |- warning: static property 'logType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logType' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'logType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |     #else
26 |     /// The type of logger used to log messages; defaults to `NSLog` on
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackLogger.swift:32: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
30 |
31 |     /// The highest order of message types that should be logged. Defaults to `LogLevel.error`.
32 |     public static var logLevel: LogLevel = .error
   |                       |- warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logLevel' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'logLevel' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |     /// An enum describing the types of messages to be logged.
34 |     public enum LogLevel: Int {
[42/69] Compiling ContentstackSwift ContentstackEndpoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackConfig.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ContentstackConfig' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public struct ContentstackConfig {
    |               `- note: consider making struct 'ContentstackConfig' conform to the 'Sendable' protocol
 11 |
 12 |     /// The singleton instance of 'ContentstackConfig'.
 13 |     public static let `default` = ContentstackConfig()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ContentstackConfig' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |     public var earlyAccess: [String]?
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:68:24: warning: static property 'regionsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 66 |     public static let regionsURL = "https://artifacts.contentstack.com/regions.json"
 67 |
 68 |     private static var regionsCache: [[String: Any]]?
    |                        |- warning: static property 'regionsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'regionsCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'regionsCache' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |     // Ensures the live download is attempted at most once per process so that genuinely
 70 |     // invalid region strings do not trigger repeated network calls.
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:71:24: warning: static property 'liveRefreshDone' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 69 |     // Ensures the live download is attempted at most once per process so that genuinely
 70 |     // invalid region strings do not trigger repeated network calls.
 71 |     private static var liveRefreshDone = false
    |                        |- warning: static property 'liveRefreshDone' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'liveRefreshDone' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'liveRefreshDone' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 |     // Allows tests to disable the network fallback.
 73 |     static var isLiveRefreshEnabled = true
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:73:16: warning: static property 'isLiveRefreshEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 71 |     private static var liveRefreshDone = false
 72 |     // Allows tests to disable the network fallback.
 73 |     static var isLiveRefreshEnabled = true
    |                |- warning: static property 'isLiveRefreshEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'isLiveRefreshEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'isLiveRefreshEnabled' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 74 |     // Allows tests to bypass the on-disk cache so the download path can be exercised deterministically.
 75 |     static var isDiskCacheEnabled = true
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:75:16: warning: static property 'isDiskCacheEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 73 |     static var isLiveRefreshEnabled = true
 74 |     // Allows tests to bypass the on-disk cache so the download path can be exercised deterministically.
 75 |     static var isDiskCacheEnabled = true
    |                |- warning: static property 'isDiskCacheEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'isDiskCacheEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'isDiskCacheEnabled' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |     // The session used to download the registry. Overridable so tests can inject a DVR session.
 77 |     static var session: URLSession = .shared
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:77:16: warning: static property 'session' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 75 |     static var isDiskCacheEnabled = true
 76 |     // The session used to download the registry. Overridable so tests can inject a DVR session.
 77 |     static var session: URLSession = .shared
    |                |- warning: static property 'session' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'session' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'session' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 78 |     private static let lock = NSLock()
 79 |
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:198:13: warning: mutation of captured var 'fetchedData' in concurrently-executing code
196 |         var fetchedData: Data?
197 |         let task = session.dataTask(with: request) { data, _, _ in
198 |             fetchedData = data
    |             `- warning: mutation of captured var 'fetchedData' in concurrently-executing code
199 |             semaphore.signal()
200 |         }
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackLogger.swift:24:23: 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
22 |     /// The type of logger used to log messages; defaults to `NSLog` on
23 |     /// iOS, tvOS, watchOS, macOS. Defaults to `print` on other platforms.
24 |     public static var logType: LogType = .nsLog
   |                       |- warning: static property 'logType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logType' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'logType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |     #else
26 |     /// The type of logger used to log messages; defaults to `NSLog` on
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackLogger.swift:32: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
30 |
31 |     /// The highest order of message types that should be logged. Defaults to `LogLevel.error`.
32 |     public static var logLevel: LogLevel = .error
   |                       |- warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logLevel' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'logLevel' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |     /// An enum describing the types of messages to be logged.
34 |     public enum LogLevel: Int {
[43/69] Compiling ContentstackSwift ContentstackLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackConfig.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ContentstackConfig' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public struct ContentstackConfig {
    |               `- note: consider making struct 'ContentstackConfig' conform to the 'Sendable' protocol
 11 |
 12 |     /// The singleton instance of 'ContentstackConfig'.
 13 |     public static let `default` = ContentstackConfig()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ContentstackConfig' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |     public var earlyAccess: [String]?
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:68:24: warning: static property 'regionsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 66 |     public static let regionsURL = "https://artifacts.contentstack.com/regions.json"
 67 |
 68 |     private static var regionsCache: [[String: Any]]?
    |                        |- warning: static property 'regionsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'regionsCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'regionsCache' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |     // Ensures the live download is attempted at most once per process so that genuinely
 70 |     // invalid region strings do not trigger repeated network calls.
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:71:24: warning: static property 'liveRefreshDone' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 69 |     // Ensures the live download is attempted at most once per process so that genuinely
 70 |     // invalid region strings do not trigger repeated network calls.
 71 |     private static var liveRefreshDone = false
    |                        |- warning: static property 'liveRefreshDone' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'liveRefreshDone' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'liveRefreshDone' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 |     // Allows tests to disable the network fallback.
 73 |     static var isLiveRefreshEnabled = true
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:73:16: warning: static property 'isLiveRefreshEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 71 |     private static var liveRefreshDone = false
 72 |     // Allows tests to disable the network fallback.
 73 |     static var isLiveRefreshEnabled = true
    |                |- warning: static property 'isLiveRefreshEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'isLiveRefreshEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'isLiveRefreshEnabled' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 74 |     // Allows tests to bypass the on-disk cache so the download path can be exercised deterministically.
 75 |     static var isDiskCacheEnabled = true
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:75:16: warning: static property 'isDiskCacheEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 73 |     static var isLiveRefreshEnabled = true
 74 |     // Allows tests to bypass the on-disk cache so the download path can be exercised deterministically.
 75 |     static var isDiskCacheEnabled = true
    |                |- warning: static property 'isDiskCacheEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'isDiskCacheEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'isDiskCacheEnabled' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |     // The session used to download the registry. Overridable so tests can inject a DVR session.
 77 |     static var session: URLSession = .shared
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:77:16: warning: static property 'session' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 75 |     static var isDiskCacheEnabled = true
 76 |     // The session used to download the registry. Overridable so tests can inject a DVR session.
 77 |     static var session: URLSession = .shared
    |                |- warning: static property 'session' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'session' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'session' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 78 |     private static let lock = NSLock()
 79 |
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:198:13: warning: mutation of captured var 'fetchedData' in concurrently-executing code
196 |         var fetchedData: Data?
197 |         let task = session.dataTask(with: request) { data, _, _ in
198 |             fetchedData = data
    |             `- warning: mutation of captured var 'fetchedData' in concurrently-executing code
199 |             semaphore.signal()
200 |         }
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackLogger.swift:24:23: 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
22 |     /// The type of logger used to log messages; defaults to `NSLog` on
23 |     /// iOS, tvOS, watchOS, macOS. Defaults to `print` on other platforms.
24 |     public static var logType: LogType = .nsLog
   |                       |- warning: static property 'logType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logType' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'logType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |     #else
26 |     /// The type of logger used to log messages; defaults to `NSLog` on
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackLogger.swift:32: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
30 |
31 |     /// The highest order of message types that should be logged. Defaults to `LogLevel.error`.
32 |     public static var logLevel: LogLevel = .error
   |                       |- warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logLevel' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'logLevel' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |     /// An enum describing the types of messages to be logged.
34 |     public enum LogLevel: Int {
[44/69] Compiling ContentstackSwift ContentstackMessages.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackConfig.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ContentstackConfig' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public struct ContentstackConfig {
    |               `- note: consider making struct 'ContentstackConfig' conform to the 'Sendable' protocol
 11 |
 12 |     /// The singleton instance of 'ContentstackConfig'.
 13 |     public static let `default` = ContentstackConfig()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ContentstackConfig' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |     public var earlyAccess: [String]?
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:68:24: warning: static property 'regionsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 66 |     public static let regionsURL = "https://artifacts.contentstack.com/regions.json"
 67 |
 68 |     private static var regionsCache: [[String: Any]]?
    |                        |- warning: static property 'regionsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'regionsCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'regionsCache' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |     // Ensures the live download is attempted at most once per process so that genuinely
 70 |     // invalid region strings do not trigger repeated network calls.
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:71:24: warning: static property 'liveRefreshDone' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 69 |     // Ensures the live download is attempted at most once per process so that genuinely
 70 |     // invalid region strings do not trigger repeated network calls.
 71 |     private static var liveRefreshDone = false
    |                        |- warning: static property 'liveRefreshDone' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'liveRefreshDone' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'liveRefreshDone' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 |     // Allows tests to disable the network fallback.
 73 |     static var isLiveRefreshEnabled = true
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:73:16: warning: static property 'isLiveRefreshEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 71 |     private static var liveRefreshDone = false
 72 |     // Allows tests to disable the network fallback.
 73 |     static var isLiveRefreshEnabled = true
    |                |- warning: static property 'isLiveRefreshEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'isLiveRefreshEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'isLiveRefreshEnabled' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 74 |     // Allows tests to bypass the on-disk cache so the download path can be exercised deterministically.
 75 |     static var isDiskCacheEnabled = true
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:75:16: warning: static property 'isDiskCacheEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 73 |     static var isLiveRefreshEnabled = true
 74 |     // Allows tests to bypass the on-disk cache so the download path can be exercised deterministically.
 75 |     static var isDiskCacheEnabled = true
    |                |- warning: static property 'isDiskCacheEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'isDiskCacheEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'isDiskCacheEnabled' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |     // The session used to download the registry. Overridable so tests can inject a DVR session.
 77 |     static var session: URLSession = .shared
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:77:16: warning: static property 'session' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 75 |     static var isDiskCacheEnabled = true
 76 |     // The session used to download the registry. Overridable so tests can inject a DVR session.
 77 |     static var session: URLSession = .shared
    |                |- warning: static property 'session' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'session' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'session' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 78 |     private static let lock = NSLock()
 79 |
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:198:13: warning: mutation of captured var 'fetchedData' in concurrently-executing code
196 |         var fetchedData: Data?
197 |         let task = session.dataTask(with: request) { data, _, _ in
198 |             fetchedData = data
    |             `- warning: mutation of captured var 'fetchedData' in concurrently-executing code
199 |             semaphore.signal()
200 |         }
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackLogger.swift:24:23: 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
22 |     /// The type of logger used to log messages; defaults to `NSLog` on
23 |     /// iOS, tvOS, watchOS, macOS. Defaults to `print` on other platforms.
24 |     public static var logType: LogType = .nsLog
   |                       |- warning: static property 'logType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logType' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'logType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |     #else
26 |     /// The type of logger used to log messages; defaults to `NSLog` on
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackLogger.swift:32: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
30 |
31 |     /// The highest order of message types that should be logged. Defaults to `LogLevel.error`.
32 |     public static var logLevel: LogLevel = .error
   |                       |- warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logLevel' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'logLevel' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |     /// An enum describing the types of messages to be logged.
34 |     public enum LogLevel: Int {
[45/69] Compiling ContentstackSwift QueryProtocols.swift
/Users/admin/builder/spi-builder-workspace/Sources/QueryProtocols.swift:11:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
  9 | /// A base Query protocol which holds the essentials shared by all query types in the SDK which enable
 10 | /// querying against content types, entries and assets.
 11 | public protocol QueryProtocol: class, CachePolicyAccessible {
    |                                `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 12 |     associatedtype ResourceType
 13 |     /// The Stack instance to perform operation,
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:242:28: warning: capture of 'cachePolicy' with non-sendable type 'CachePolicy' in a '@Sendable' closure
240 |                 if let response = response as? HTTPURLResponse {
241 |                     if response.statusCode != 200 {
242 |                         if cachePolicy == .networkElseCache,
    |                            `- warning: capture of 'cachePolicy' with non-sendable type 'CachePolicy' in a '@Sendable' closure
243 |                             self.canFullfillRequestWithCache(request) {
244 |                             self.fullfillRequestWithCache(request, then: completion)
/Users/admin/builder/spi-builder-workspace/Sources/CSDefinitions.swift:49:13: note: consider making enum 'CachePolicy' conform to the 'Sendable' protocol
47 | }
48 | /// The cache policies allow you to define the source from where the SDK will retrieve the content.
49 | public enum CachePolicy {
   |             `- note: consider making enum 'CachePolicy' conform to the 'Sendable' protocol
50 |     ///The SDK retrieves data through a network call, and saves the retrieved data in the cache.
51 |     ///This is set as the default policy.
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:243:29: warning: capture of 'self' with non-sendable type 'Stack' in a '@Sendable' closure
 38 |
 39 | /// Stack is instance for performing Contentstack Delivery API request.
 40 | public class Stack: CachePolicyAccessible {
    |              `- note: class 'Stack' does not conform to the 'Sendable' protocol
 41 |     internal var urlSession: URLSession
 42 |
    :
241 |                     if response.statusCode != 200 {
242 |                         if cachePolicy == .networkElseCache,
243 |                             self.canFullfillRequestWithCache(request) {
    |                             `- warning: capture of 'self' with non-sendable type 'Stack' in a '@Sendable' closure
244 |                             self.fullfillRequestWithCache(request, then: completion)
245 |                             return
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:244:74: warning: capture of 'completion' with non-sendable type 'ResultsHandler<Data>' (aka '(Result<Data, any Error>, ResponseType) -> ()') in a '@Sendable' closure
242 |                         if cachePolicy == .networkElseCache,
243 |                             self.canFullfillRequestWithCache(request) {
244 |                             self.fullfillRequestWithCache(request, then: completion)
    |                                                                          |- warning: capture of 'completion' with non-sendable type 'ResultsHandler<Data>' (aka '(Result<Data, any Error>, ResponseType) -> ()') in a '@Sendable' closure
    |                                                                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
245 |                             return
246 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:243:62: warning: reference to captured var 'request' in concurrently-executing code
241 |                     if response.statusCode != 200 {
242 |                         if cachePolicy == .networkElseCache,
243 |                             self.canFullfillRequestWithCache(request) {
    |                                                              `- warning: reference to captured var 'request' in concurrently-executing code
244 |                             self.fullfillRequestWithCache(request, then: completion)
245 |                             return
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:244:59: warning: reference to captured var 'request' in concurrently-executing code
242 |                         if cachePolicy == .networkElseCache,
243 |                             self.canFullfillRequestWithCache(request) {
244 |                             self.fullfillRequestWithCache(request, then: completion)
    |                                                           `- warning: reference to captured var 'request' in concurrently-executing code
245 |                             return
246 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:262:30: warning: reference to captured var 'request' in concurrently-executing code
260 |                         CachedURLResponse(response: response,
261 |                                           data: data),
262 |                         for: request
    |                              `- warning: reference to captured var 'request' in concurrently-executing code
263 |                     )
264 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:271:54: warning: reference to captured var 'request' in concurrently-executing code
269 |             if let error = error {
270 |                 if cachePolicy == .networkElseCache,
271 |                     self.canFullfillRequestWithCache(request) {
    |                                                      `- warning: reference to captured var 'request' in concurrently-executing code
272 |                     self.fullfillRequestWithCache(request, then: completion)
273 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:272:51: warning: reference to captured var 'request' in concurrently-executing code
270 |                 if cachePolicy == .networkElseCache,
271 |                     self.canFullfillRequestWithCache(request) {
272 |                     self.fullfillRequestWithCache(request, then: completion)
    |                                                   `- warning: reference to captured var 'request' in concurrently-executing code
273 |                     return
274 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SyncStack.swift:131:23: warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | extension SyncStack: EndpointAccessible {
131 |     public static var endpoint: Endpoint = .sync
    |                       |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:310:34: warning: sending value of non-Sendable type '(Data, ResponseType)' risks causing data races; this is an error in the Swift 6 language mode
308 |                 switch result {
309 |                 case .success(let data):
310 |                     continuation.resume(returning: (data, responseType))
    |                                  |- warning: sending value of non-Sendable type '(Data, ResponseType)' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: Passing task-isolated value of non-Sendable type '(Data, ResponseType)' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
311 |                 case .failure(let error):
312 |                     continuation.resume(throwing: error)
[46/69] Compiling ContentstackSwift QueryableRange.swift
/Users/admin/builder/spi-builder-workspace/Sources/QueryProtocols.swift:11:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
  9 | /// A base Query protocol which holds the essentials shared by all query types in the SDK which enable
 10 | /// querying against content types, entries and assets.
 11 | public protocol QueryProtocol: class, CachePolicyAccessible {
    |                                `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 12 |     associatedtype ResourceType
 13 |     /// The Stack instance to perform operation,
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:242:28: warning: capture of 'cachePolicy' with non-sendable type 'CachePolicy' in a '@Sendable' closure
240 |                 if let response = response as? HTTPURLResponse {
241 |                     if response.statusCode != 200 {
242 |                         if cachePolicy == .networkElseCache,
    |                            `- warning: capture of 'cachePolicy' with non-sendable type 'CachePolicy' in a '@Sendable' closure
243 |                             self.canFullfillRequestWithCache(request) {
244 |                             self.fullfillRequestWithCache(request, then: completion)
/Users/admin/builder/spi-builder-workspace/Sources/CSDefinitions.swift:49:13: note: consider making enum 'CachePolicy' conform to the 'Sendable' protocol
47 | }
48 | /// The cache policies allow you to define the source from where the SDK will retrieve the content.
49 | public enum CachePolicy {
   |             `- note: consider making enum 'CachePolicy' conform to the 'Sendable' protocol
50 |     ///The SDK retrieves data through a network call, and saves the retrieved data in the cache.
51 |     ///This is set as the default policy.
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:243:29: warning: capture of 'self' with non-sendable type 'Stack' in a '@Sendable' closure
 38 |
 39 | /// Stack is instance for performing Contentstack Delivery API request.
 40 | public class Stack: CachePolicyAccessible {
    |              `- note: class 'Stack' does not conform to the 'Sendable' protocol
 41 |     internal var urlSession: URLSession
 42 |
    :
241 |                     if response.statusCode != 200 {
242 |                         if cachePolicy == .networkElseCache,
243 |                             self.canFullfillRequestWithCache(request) {
    |                             `- warning: capture of 'self' with non-sendable type 'Stack' in a '@Sendable' closure
244 |                             self.fullfillRequestWithCache(request, then: completion)
245 |                             return
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:244:74: warning: capture of 'completion' with non-sendable type 'ResultsHandler<Data>' (aka '(Result<Data, any Error>, ResponseType) -> ()') in a '@Sendable' closure
242 |                         if cachePolicy == .networkElseCache,
243 |                             self.canFullfillRequestWithCache(request) {
244 |                             self.fullfillRequestWithCache(request, then: completion)
    |                                                                          |- warning: capture of 'completion' with non-sendable type 'ResultsHandler<Data>' (aka '(Result<Data, any Error>, ResponseType) -> ()') in a '@Sendable' closure
    |                                                                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
245 |                             return
246 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:243:62: warning: reference to captured var 'request' in concurrently-executing code
241 |                     if response.statusCode != 200 {
242 |                         if cachePolicy == .networkElseCache,
243 |                             self.canFullfillRequestWithCache(request) {
    |                                                              `- warning: reference to captured var 'request' in concurrently-executing code
244 |                             self.fullfillRequestWithCache(request, then: completion)
245 |                             return
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:244:59: warning: reference to captured var 'request' in concurrently-executing code
242 |                         if cachePolicy == .networkElseCache,
243 |                             self.canFullfillRequestWithCache(request) {
244 |                             self.fullfillRequestWithCache(request, then: completion)
    |                                                           `- warning: reference to captured var 'request' in concurrently-executing code
245 |                             return
246 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:262:30: warning: reference to captured var 'request' in concurrently-executing code
260 |                         CachedURLResponse(response: response,
261 |                                           data: data),
262 |                         for: request
    |                              `- warning: reference to captured var 'request' in concurrently-executing code
263 |                     )
264 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:271:54: warning: reference to captured var 'request' in concurrently-executing code
269 |             if let error = error {
270 |                 if cachePolicy == .networkElseCache,
271 |                     self.canFullfillRequestWithCache(request) {
    |                                                      `- warning: reference to captured var 'request' in concurrently-executing code
272 |                     self.fullfillRequestWithCache(request, then: completion)
273 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:272:51: warning: reference to captured var 'request' in concurrently-executing code
270 |                 if cachePolicy == .networkElseCache,
271 |                     self.canFullfillRequestWithCache(request) {
272 |                     self.fullfillRequestWithCache(request, then: completion)
    |                                                   `- warning: reference to captured var 'request' in concurrently-executing code
273 |                     return
274 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SyncStack.swift:131:23: warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | extension SyncStack: EndpointAccessible {
131 |     public static var endpoint: Endpoint = .sync
    |                       |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:310:34: warning: sending value of non-Sendable type '(Data, ResponseType)' risks causing data races; this is an error in the Swift 6 language mode
308 |                 switch result {
309 |                 case .success(let data):
310 |                     continuation.resume(returning: (data, responseType))
    |                                  |- warning: sending value of non-Sendable type '(Data, ResponseType)' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: Passing task-isolated value of non-Sendable type '(Data, ResponseType)' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
311 |                 case .failure(let error):
312 |                     continuation.resume(throwing: error)
[47/69] Compiling ContentstackSwift Stack.swift
/Users/admin/builder/spi-builder-workspace/Sources/QueryProtocols.swift:11:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
  9 | /// A base Query protocol which holds the essentials shared by all query types in the SDK which enable
 10 | /// querying against content types, entries and assets.
 11 | public protocol QueryProtocol: class, CachePolicyAccessible {
    |                                `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 12 |     associatedtype ResourceType
 13 |     /// The Stack instance to perform operation,
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:242:28: warning: capture of 'cachePolicy' with non-sendable type 'CachePolicy' in a '@Sendable' closure
240 |                 if let response = response as? HTTPURLResponse {
241 |                     if response.statusCode != 200 {
242 |                         if cachePolicy == .networkElseCache,
    |                            `- warning: capture of 'cachePolicy' with non-sendable type 'CachePolicy' in a '@Sendable' closure
243 |                             self.canFullfillRequestWithCache(request) {
244 |                             self.fullfillRequestWithCache(request, then: completion)
/Users/admin/builder/spi-builder-workspace/Sources/CSDefinitions.swift:49:13: note: consider making enum 'CachePolicy' conform to the 'Sendable' protocol
47 | }
48 | /// The cache policies allow you to define the source from where the SDK will retrieve the content.
49 | public enum CachePolicy {
   |             `- note: consider making enum 'CachePolicy' conform to the 'Sendable' protocol
50 |     ///The SDK retrieves data through a network call, and saves the retrieved data in the cache.
51 |     ///This is set as the default policy.
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:243:29: warning: capture of 'self' with non-sendable type 'Stack' in a '@Sendable' closure
 38 |
 39 | /// Stack is instance for performing Contentstack Delivery API request.
 40 | public class Stack: CachePolicyAccessible {
    |              `- note: class 'Stack' does not conform to the 'Sendable' protocol
 41 |     internal var urlSession: URLSession
 42 |
    :
241 |                     if response.statusCode != 200 {
242 |                         if cachePolicy == .networkElseCache,
243 |                             self.canFullfillRequestWithCache(request) {
    |                             `- warning: capture of 'self' with non-sendable type 'Stack' in a '@Sendable' closure
244 |                             self.fullfillRequestWithCache(request, then: completion)
245 |                             return
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:244:74: warning: capture of 'completion' with non-sendable type 'ResultsHandler<Data>' (aka '(Result<Data, any Error>, ResponseType) -> ()') in a '@Sendable' closure
242 |                         if cachePolicy == .networkElseCache,
243 |                             self.canFullfillRequestWithCache(request) {
244 |                             self.fullfillRequestWithCache(request, then: completion)
    |                                                                          |- warning: capture of 'completion' with non-sendable type 'ResultsHandler<Data>' (aka '(Result<Data, any Error>, ResponseType) -> ()') in a '@Sendable' closure
    |                                                                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
245 |                             return
246 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:243:62: warning: reference to captured var 'request' in concurrently-executing code
241 |                     if response.statusCode != 200 {
242 |                         if cachePolicy == .networkElseCache,
243 |                             self.canFullfillRequestWithCache(request) {
    |                                                              `- warning: reference to captured var 'request' in concurrently-executing code
244 |                             self.fullfillRequestWithCache(request, then: completion)
245 |                             return
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:244:59: warning: reference to captured var 'request' in concurrently-executing code
242 |                         if cachePolicy == .networkElseCache,
243 |                             self.canFullfillRequestWithCache(request) {
244 |                             self.fullfillRequestWithCache(request, then: completion)
    |                                                           `- warning: reference to captured var 'request' in concurrently-executing code
245 |                             return
246 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:262:30: warning: reference to captured var 'request' in concurrently-executing code
260 |                         CachedURLResponse(response: response,
261 |                                           data: data),
262 |                         for: request
    |                              `- warning: reference to captured var 'request' in concurrently-executing code
263 |                     )
264 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:271:54: warning: reference to captured var 'request' in concurrently-executing code
269 |             if let error = error {
270 |                 if cachePolicy == .networkElseCache,
271 |                     self.canFullfillRequestWithCache(request) {
    |                                                      `- warning: reference to captured var 'request' in concurrently-executing code
272 |                     self.fullfillRequestWithCache(request, then: completion)
273 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:272:51: warning: reference to captured var 'request' in concurrently-executing code
270 |                 if cachePolicy == .networkElseCache,
271 |                     self.canFullfillRequestWithCache(request) {
272 |                     self.fullfillRequestWithCache(request, then: completion)
    |                                                   `- warning: reference to captured var 'request' in concurrently-executing code
273 |                     return
274 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SyncStack.swift:131:23: warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | extension SyncStack: EndpointAccessible {
131 |     public static var endpoint: Endpoint = .sync
    |                       |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:310:34: warning: sending value of non-Sendable type '(Data, ResponseType)' risks causing data races; this is an error in the Swift 6 language mode
308 |                 switch result {
309 |                 case .success(let data):
310 |                     continuation.resume(returning: (data, responseType))
    |                                  |- warning: sending value of non-Sendable type '(Data, ResponseType)' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: Passing task-isolated value of non-Sendable type '(Data, ResponseType)' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
311 |                 case .failure(let error):
312 |                     continuation.resume(throwing: error)
[48/69] Compiling ContentstackSwift SyncStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/QueryProtocols.swift:11:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
  9 | /// A base Query protocol which holds the essentials shared by all query types in the SDK which enable
 10 | /// querying against content types, entries and assets.
 11 | public protocol QueryProtocol: class, CachePolicyAccessible {
    |                                `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 12 |     associatedtype ResourceType
 13 |     /// The Stack instance to perform operation,
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:242:28: warning: capture of 'cachePolicy' with non-sendable type 'CachePolicy' in a '@Sendable' closure
240 |                 if let response = response as? HTTPURLResponse {
241 |                     if response.statusCode != 200 {
242 |                         if cachePolicy == .networkElseCache,
    |                            `- warning: capture of 'cachePolicy' with non-sendable type 'CachePolicy' in a '@Sendable' closure
243 |                             self.canFullfillRequestWithCache(request) {
244 |                             self.fullfillRequestWithCache(request, then: completion)
/Users/admin/builder/spi-builder-workspace/Sources/CSDefinitions.swift:49:13: note: consider making enum 'CachePolicy' conform to the 'Sendable' protocol
47 | }
48 | /// The cache policies allow you to define the source from where the SDK will retrieve the content.
49 | public enum CachePolicy {
   |             `- note: consider making enum 'CachePolicy' conform to the 'Sendable' protocol
50 |     ///The SDK retrieves data through a network call, and saves the retrieved data in the cache.
51 |     ///This is set as the default policy.
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:243:29: warning: capture of 'self' with non-sendable type 'Stack' in a '@Sendable' closure
 38 |
 39 | /// Stack is instance for performing Contentstack Delivery API request.
 40 | public class Stack: CachePolicyAccessible {
    |              `- note: class 'Stack' does not conform to the 'Sendable' protocol
 41 |     internal var urlSession: URLSession
 42 |
    :
241 |                     if response.statusCode != 200 {
242 |                         if cachePolicy == .networkElseCache,
243 |                             self.canFullfillRequestWithCache(request) {
    |                             `- warning: capture of 'self' with non-sendable type 'Stack' in a '@Sendable' closure
244 |                             self.fullfillRequestWithCache(request, then: completion)
245 |                             return
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:244:74: warning: capture of 'completion' with non-sendable type 'ResultsHandler<Data>' (aka '(Result<Data, any Error>, ResponseType) -> ()') in a '@Sendable' closure
242 |                         if cachePolicy == .networkElseCache,
243 |                             self.canFullfillRequestWithCache(request) {
244 |                             self.fullfillRequestWithCache(request, then: completion)
    |                                                                          |- warning: capture of 'completion' with non-sendable type 'ResultsHandler<Data>' (aka '(Result<Data, any Error>, ResponseType) -> ()') in a '@Sendable' closure
    |                                                                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
245 |                             return
246 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:243:62: warning: reference to captured var 'request' in concurrently-executing code
241 |                     if response.statusCode != 200 {
242 |                         if cachePolicy == .networkElseCache,
243 |                             self.canFullfillRequestWithCache(request) {
    |                                                              `- warning: reference to captured var 'request' in concurrently-executing code
244 |                             self.fullfillRequestWithCache(request, then: completion)
245 |                             return
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:244:59: warning: reference to captured var 'request' in concurrently-executing code
242 |                         if cachePolicy == .networkElseCache,
243 |                             self.canFullfillRequestWithCache(request) {
244 |                             self.fullfillRequestWithCache(request, then: completion)
    |                                                           `- warning: reference to captured var 'request' in concurrently-executing code
245 |                             return
246 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:262:30: warning: reference to captured var 'request' in concurrently-executing code
260 |                         CachedURLResponse(response: response,
261 |                                           data: data),
262 |                         for: request
    |                              `- warning: reference to captured var 'request' in concurrently-executing code
263 |                     )
264 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:271:54: warning: reference to captured var 'request' in concurrently-executing code
269 |             if let error = error {
270 |                 if cachePolicy == .networkElseCache,
271 |                     self.canFullfillRequestWithCache(request) {
    |                                                      `- warning: reference to captured var 'request' in concurrently-executing code
272 |                     self.fullfillRequestWithCache(request, then: completion)
273 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:272:51: warning: reference to captured var 'request' in concurrently-executing code
270 |                 if cachePolicy == .networkElseCache,
271 |                     self.canFullfillRequestWithCache(request) {
272 |                     self.fullfillRequestWithCache(request, then: completion)
    |                                                   `- warning: reference to captured var 'request' in concurrently-executing code
273 |                     return
274 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SyncStack.swift:131:23: warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | extension SyncStack: EndpointAccessible {
131 |     public static var endpoint: Endpoint = .sync
    |                       |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stack.swift:310:34: warning: sending value of non-Sendable type '(Data, ResponseType)' risks causing data races; this is an error in the Swift 6 language mode
308 |                 switch result {
309 |                 case .success(let data):
310 |                     continuation.resume(returning: (data, responseType))
    |                                  |- warning: sending value of non-Sendable type '(Data, ResponseType)' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: Passing task-isolated value of non-Sendable type '(Data, ResponseType)' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
311 |                 case .failure(let error):
312 |                     continuation.resume(throwing: error)
[49/69] Compiling ContentstackSwift Entry.swift
/Users/admin/builder/spi-builder-workspace/Sources/Error.swift:65:14: warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 63 |
 64 | /// Information regarding an error received from Contentstack's API.
 65 | 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
 66 |     public var debugDescription: String {
 67 |         let statusCodeString = "HTTP status code " + String(statusCode)
/Users/admin/builder/spi-builder-workspace/Sources/Error.swift:88:16: warning: stored property 'errorInfo' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.ErrorInfo?'; this is an error in the Swift 6 language mode
 86 |
 87 |     /// More detailed error Information.
 88 |     public let errorInfo: ErrorInfo!
    |                `- warning: stored property 'errorInfo' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.ErrorInfo?'; this is an error in the Swift 6 language mode
 89 |
 90 |     /// The HTTP status code.
    :
106 |
107 |     /// A description about detailed error information
108 |     public class ErrorInfo: Decodable, CustomDebugStringConvertible {
    |                  `- note: class 'ErrorInfo' does not conform to the 'Sendable' protocol
109 |         public var debugDescription: String {
110 |             var debugDescription = ""
/Users/admin/builder/spi-builder-workspace/Sources/Error.swift:91:16: warning: stored property 'statusCode' of 'Sendable'-conforming class 'APIError' is mutable; this is an error in the Swift 6 language mode
 89 |
 90 |     /// The HTTP status code.
 91 |     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
 92 |
 93 |     /// Decodable Initializer for APIError.
[50/69] Compiling ContentstackSwift EntryModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Error.swift:65:14: warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 63 |
 64 | /// Information regarding an error received from Contentstack's API.
 65 | 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
 66 |     public var debugDescription: String {
 67 |         let statusCodeString = "HTTP status code " + String(statusCode)
/Users/admin/builder/spi-builder-workspace/Sources/Error.swift:88:16: warning: stored property 'errorInfo' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.ErrorInfo?'; this is an error in the Swift 6 language mode
 86 |
 87 |     /// More detailed error Information.
 88 |     public let errorInfo: ErrorInfo!
    |                `- warning: stored property 'errorInfo' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.ErrorInfo?'; this is an error in the Swift 6 language mode
 89 |
 90 |     /// The HTTP status code.
    :
106 |
107 |     /// A description about detailed error information
108 |     public class ErrorInfo: Decodable, CustomDebugStringConvertible {
    |                  `- note: class 'ErrorInfo' does not conform to the 'Sendable' protocol
109 |         public var debugDescription: String {
110 |             var debugDescription = ""
/Users/admin/builder/spi-builder-workspace/Sources/Error.swift:91:16: warning: stored property 'statusCode' of 'Sendable'-conforming class 'APIError' is mutable; this is an error in the Swift 6 language mode
 89 |
 90 |     /// The HTTP status code.
 91 |     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
 92 |
 93 |     /// Decodable Initializer for APIError.
[51/69] Compiling ContentstackSwift EntryQuaryable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Error.swift:65:14: warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 63 |
 64 | /// Information regarding an error received from Contentstack's API.
 65 | 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
 66 |     public var debugDescription: String {
 67 |         let statusCodeString = "HTTP status code " + String(statusCode)
/Users/admin/builder/spi-builder-workspace/Sources/Error.swift:88:16: warning: stored property 'errorInfo' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.ErrorInfo?'; this is an error in the Swift 6 language mode
 86 |
 87 |     /// More detailed error Information.
 88 |     public let errorInfo: ErrorInfo!
    |                `- warning: stored property 'errorInfo' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.ErrorInfo?'; this is an error in the Swift 6 language mode
 89 |
 90 |     /// The HTTP status code.
    :
106 |
107 |     /// A description about detailed error information
108 |     public class ErrorInfo: Decodable, CustomDebugStringConvertible {
    |                  `- note: class 'ErrorInfo' does not conform to the 'Sendable' protocol
109 |         public var debugDescription: String {
110 |             var debugDescription = ""
/Users/admin/builder/spi-builder-workspace/Sources/Error.swift:91:16: warning: stored property 'statusCode' of 'Sendable'-conforming class 'APIError' is mutable; this is an error in the Swift 6 language mode
 89 |
 90 |     /// The HTTP status code.
 91 |     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
 92 |
 93 |     /// Decodable Initializer for APIError.
[52/69] Compiling ContentstackSwift Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/Error.swift:65:14: warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 63 |
 64 | /// Information regarding an error received from Contentstack's API.
 65 | 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
 66 |     public var debugDescription: String {
 67 |         let statusCodeString = "HTTP status code " + String(statusCode)
/Users/admin/builder/spi-builder-workspace/Sources/Error.swift:88:16: warning: stored property 'errorInfo' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.ErrorInfo?'; this is an error in the Swift 6 language mode
 86 |
 87 |     /// More detailed error Information.
 88 |     public let errorInfo: ErrorInfo!
    |                `- warning: stored property 'errorInfo' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.ErrorInfo?'; this is an error in the Swift 6 language mode
 89 |
 90 |     /// The HTTP status code.
    :
106 |
107 |     /// A description about detailed error information
108 |     public class ErrorInfo: Decodable, CustomDebugStringConvertible {
    |                  `- note: class 'ErrorInfo' does not conform to the 'Sendable' protocol
109 |         public var debugDescription: String {
110 |             var debugDescription = ""
/Users/admin/builder/spi-builder-workspace/Sources/Error.swift:91:16: warning: stored property 'statusCode' of 'Sendable'-conforming class 'APIError' is mutable; this is an error in the Swift 6 language mode
 89 |
 90 |     /// The HTTP status code.
 91 |     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
 92 |
 93 |     /// Decodable Initializer for APIError.
[53/69] Compiling ContentstackSwift CSURLSessionDelegate.swift
[54/69] Compiling ContentstackSwift ContentType.swift
[55/69] Compiling ContentstackSwift ContentTypeModel.swift
[56/69] Compiling ContentstackSwift Contentstack.swift
[57/69] Compiling ContentstackSwift FatalError.swift
/Users/admin/builder/spi-builder-workspace/Sources/FatalError.swift:18:16: warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | internal struct FatalError {
17 |     // 1
18 |     static var fatalErrorClosure: (String, StaticString, UInt) -> Never = defaultFatalErrorClosure
   |                |- warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'fatalErrorClosure' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'fatalErrorClosure' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |     // 2
20 |     private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FatalError.swift:20:24: warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
18 |     static var fatalErrorClosure: (String, StaticString, UInt) -> Never = defaultFatalErrorClosure
19 |     // 2
20 |     private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
   |                        |- warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'defaultFatalErrorClosure' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |     // 3
22 |     internal static func replaceFatalError(closure: @escaping (String, StaticString, UInt) -> Never) {
[58/69] Compiling ContentstackSwift GlobalField.swift
/Users/admin/builder/spi-builder-workspace/Sources/FatalError.swift:18:16: warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | internal struct FatalError {
17 |     // 1
18 |     static var fatalErrorClosure: (String, StaticString, UInt) -> Never = defaultFatalErrorClosure
   |                |- warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'fatalErrorClosure' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'fatalErrorClosure' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |     // 2
20 |     private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FatalError.swift:20:24: warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
18 |     static var fatalErrorClosure: (String, StaticString, UInt) -> Never = defaultFatalErrorClosure
19 |     // 2
20 |     private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
   |                        |- warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'defaultFatalErrorClosure' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |     // 3
22 |     internal static func replaceFatalError(closure: @escaping (String, StaticString, UInt) -> Never) {
[59/69] Compiling ContentstackSwift GlobalFieldModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/FatalError.swift:18:16: warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | internal struct FatalError {
17 |     // 1
18 |     static var fatalErrorClosure: (String, StaticString, UInt) -> Never = defaultFatalErrorClosure
   |                |- warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'fatalErrorClosure' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'fatalErrorClosure' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |     // 2
20 |     private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FatalError.swift:20:24: warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
18 |     static var fatalErrorClosure: (String, StaticString, UInt) -> Never = defaultFatalErrorClosure
19 |     // 2
20 |     private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
   |                        |- warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'defaultFatalErrorClosure' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |     // 3
22 |     internal static func replaceFatalError(closure: @escaping (String, StaticString, UInt) -> Never) {
[60/69] Compiling ContentstackSwift ImageOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/FatalError.swift:18:16: warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | internal struct FatalError {
17 |     // 1
18 |     static var fatalErrorClosure: (String, StaticString, UInt) -> Never = defaultFatalErrorClosure
   |                |- warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'fatalErrorClosure' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'fatalErrorClosure' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |     // 2
20 |     private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FatalError.swift:20:24: warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
18 |     static var fatalErrorClosure: (String, StaticString, UInt) -> Never = defaultFatalErrorClosure
19 |     // 2
20 |     private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
   |                        |- warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'defaultFatalErrorClosure' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |     // 3
22 |     internal static func replaceFatalError(closure: @escaping (String, StaticString, UInt) -> Never) {
[61/69] Compiling ContentstackSwift Asset.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSURLCache.swift:10:16: warning: class 'CSURLCache' must restate inherited '@unchecked Sendable' conformance
 8 | import Foundation
 9 |
10 | internal class CSURLCache: URLCache {
   |                `- warning: class 'CSURLCache' must restate inherited '@unchecked Sendable' conformance
11 |
12 |     internal static let `default`: CSURLCache = CSURLCache(memoryCapacity: 1024 * 1024,
[62/69] Compiling ContentstackSwift AssetModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSURLCache.swift:10:16: warning: class 'CSURLCache' must restate inherited '@unchecked Sendable' conformance
 8 | import Foundation
 9 |
10 | internal class CSURLCache: URLCache {
   |                `- warning: class 'CSURLCache' must restate inherited '@unchecked Sendable' conformance
11 |
12 |     internal static let `default`: CSURLCache = CSURLCache(memoryCapacity: 1024 * 1024,
[63/69] Compiling ContentstackSwift CSDefinitions.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSURLCache.swift:10:16: warning: class 'CSURLCache' must restate inherited '@unchecked Sendable' conformance
 8 | import Foundation
 9 |
10 | internal class CSURLCache: URLCache {
   |                `- warning: class 'CSURLCache' must restate inherited '@unchecked Sendable' conformance
11 |
12 |     internal static let `default`: CSURLCache = CSURLCache(memoryCapacity: 1024 * 1024,
[64/69] Compiling ContentstackSwift CSURLCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSURLCache.swift:10:16: warning: class 'CSURLCache' must restate inherited '@unchecked Sendable' conformance
 8 | import Foundation
 9 |
10 | internal class CSURLCache: URLCache {
   |                `- warning: class 'CSURLCache' must restate inherited '@unchecked Sendable' conformance
11 |
12 |     internal static let `default`: CSURLCache = CSURLCache(memoryCapacity: 1024 * 1024,
[65/69] Compiling ContentstackSwift SystemFields.swift
/Users/admin/builder/spi-builder-workspace/Sources/SystemFields.swift:11:31: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
  9 |
 10 | /// Sysyem Fields are available fields for entities in Contentstack.
 11 | public protocol SystemFields: class {
    |                               `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 12 |     /// The unique identifier of the entity.
 13 |     var uid: String { get }
[66/69] Compiling ContentstackSwift Taxonomy.swift
/Users/admin/builder/spi-builder-workspace/Sources/SystemFields.swift:11:31: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
  9 |
 10 | /// Sysyem Fields are available fields for entities in Contentstack.
 11 | public protocol SystemFields: class {
    |                               `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 12 |     /// The unique identifier of the entity.
 13 |     var uid: String { get }
[67/69] Compiling ContentstackSwift TaxonomyModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/SystemFields.swift:11:31: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
  9 |
 10 | /// Sysyem Fields are available fields for entities in Contentstack.
 11 | public protocol SystemFields: class {
    |                               `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 12 |     /// The unique identifier of the entity.
 13 |     var uid: String { get }
[68/69] Compiling ContentstackSwift Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/SystemFields.swift:11:31: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
  9 |
 10 | /// Sysyem Fields are available fields for entities in Contentstack.
 11 | public protocol SystemFields: class {
    |                               `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 12 |     /// The unique identifier of the entity.
 13 |     var uid: String { get }
[69/69] Emitting module ContentstackSwift
/Users/admin/builder/spi-builder-workspace/Sources/CSURLCache.swift:10:16: warning: class 'CSURLCache' must restate inherited '@unchecked Sendable' conformance
 8 | import Foundation
 9 |
10 | internal class CSURLCache: URLCache {
   |                `- warning: class 'CSURLCache' must restate inherited '@unchecked Sendable' conformance
11 |
12 |     internal static let `default`: CSURLCache = CSURLCache(memoryCapacity: 1024 * 1024,
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackConfig.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ContentstackConfig' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public struct ContentstackConfig {
    |               `- note: consider making struct 'ContentstackConfig' conform to the 'Sendable' protocol
 11 |
 12 |     /// The singleton instance of 'ContentstackConfig'.
 13 |     public static let `default` = ContentstackConfig()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ContentstackConfig' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |     public var earlyAccess: [String]?
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:68:24: warning: static property 'regionsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 66 |     public static let regionsURL = "https://artifacts.contentstack.com/regions.json"
 67 |
 68 |     private static var regionsCache: [[String: Any]]?
    |                        |- warning: static property 'regionsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'regionsCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'regionsCache' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |     // Ensures the live download is attempted at most once per process so that genuinely
 70 |     // invalid region strings do not trigger repeated network calls.
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:71:24: warning: static property 'liveRefreshDone' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 69 |     // Ensures the live download is attempted at most once per process so that genuinely
 70 |     // invalid region strings do not trigger repeated network calls.
 71 |     private static var liveRefreshDone = false
    |                        |- warning: static property 'liveRefreshDone' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'liveRefreshDone' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'liveRefreshDone' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 |     // Allows tests to disable the network fallback.
 73 |     static var isLiveRefreshEnabled = true
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:73:16: warning: static property 'isLiveRefreshEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 71 |     private static var liveRefreshDone = false
 72 |     // Allows tests to disable the network fallback.
 73 |     static var isLiveRefreshEnabled = true
    |                |- warning: static property 'isLiveRefreshEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'isLiveRefreshEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'isLiveRefreshEnabled' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 74 |     // Allows tests to bypass the on-disk cache so the download path can be exercised deterministically.
 75 |     static var isDiskCacheEnabled = true
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:75:16: warning: static property 'isDiskCacheEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 73 |     static var isLiveRefreshEnabled = true
 74 |     // Allows tests to bypass the on-disk cache so the download path can be exercised deterministically.
 75 |     static var isDiskCacheEnabled = true
    |                |- warning: static property 'isDiskCacheEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'isDiskCacheEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'isDiskCacheEnabled' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |     // The session used to download the registry. Overridable so tests can inject a DVR session.
 77 |     static var session: URLSession = .shared
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackEndpoint.swift:77:16: warning: static property 'session' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 75 |     static var isDiskCacheEnabled = true
 76 |     // The session used to download the registry. Overridable so tests can inject a DVR session.
 77 |     static var session: URLSession = .shared
    |                |- warning: static property 'session' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'session' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'session' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 78 |     private static let lock = NSLock()
 79 |
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackLogger.swift:24:23: 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
22 |     /// The type of logger used to log messages; defaults to `NSLog` on
23 |     /// iOS, tvOS, watchOS, macOS. Defaults to `print` on other platforms.
24 |     public static var logType: LogType = .nsLog
   |                       |- warning: static property 'logType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logType' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'logType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |     #else
26 |     /// The type of logger used to log messages; defaults to `NSLog` on
/Users/admin/builder/spi-builder-workspace/Sources/ContentstackLogger.swift:32: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
30 |
31 |     /// The highest order of message types that should be logged. Defaults to `LogLevel.error`.
32 |     public static var logLevel: LogLevel = .error
   |                       |- warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logLevel' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'logLevel' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |     /// An enum describing the types of messages to be logged.
34 |     public enum LogLevel: Int {
/Users/admin/builder/spi-builder-workspace/Sources/Error.swift:65:14: warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 63 |
 64 | /// Information regarding an error received from Contentstack's API.
 65 | 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
 66 |     public var debugDescription: String {
 67 |         let statusCodeString = "HTTP status code " + String(statusCode)
/Users/admin/builder/spi-builder-workspace/Sources/Error.swift:88:16: warning: stored property 'errorInfo' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.ErrorInfo?'; this is an error in the Swift 6 language mode
 86 |
 87 |     /// More detailed error Information.
 88 |     public let errorInfo: ErrorInfo!
    |                `- warning: stored property 'errorInfo' of 'Sendable'-conforming class 'APIError' has non-sendable type 'APIError.ErrorInfo?'; this is an error in the Swift 6 language mode
 89 |
 90 |     /// The HTTP status code.
    :
106 |
107 |     /// A description about detailed error information
108 |     public class ErrorInfo: Decodable, CustomDebugStringConvertible {
    |                  `- note: class 'ErrorInfo' does not conform to the 'Sendable' protocol
109 |         public var debugDescription: String {
110 |             var debugDescription = ""
/Users/admin/builder/spi-builder-workspace/Sources/Error.swift:91:16: warning: stored property 'statusCode' of 'Sendable'-conforming class 'APIError' is mutable; this is an error in the Swift 6 language mode
 89 |
 90 |     /// The HTTP status code.
 91 |     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
 92 |
 93 |     /// Decodable Initializer for APIError.
/Users/admin/builder/spi-builder-workspace/Sources/FatalError.swift:18:16: warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | internal struct FatalError {
17 |     // 1
18 |     static var fatalErrorClosure: (String, StaticString, UInt) -> Never = defaultFatalErrorClosure
   |                |- warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'fatalErrorClosure' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'fatalErrorClosure' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |     // 2
20 |     private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FatalError.swift:20:24: warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
18 |     static var fatalErrorClosure: (String, StaticString, UInt) -> Never = defaultFatalErrorClosure
19 |     // 2
20 |     private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
   |                        |- warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'defaultFatalErrorClosure' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |     // 3
22 |     internal static func replaceFatalError(closure: @escaping (String, StaticString, UInt) -> Never) {
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:94:27: warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
 92 |
 93 |         /// To include `count` in the response.
 94 |         public static let count: Include = Include(rawValue: 1 << 0)
    |                           |- warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'count' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 95 |         /// To include Unpublished Entries in response,
 96 |         public static let unpublished: Include = Include(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:96:27: warning: static property 'unpublished' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
 94 |         public static let count: Include = Include(rawValue: 1 << 0)
 95 |         /// To include Unpublished Entries in response,
 96 |         public static let unpublished: Include = Include(rawValue: 1 << 1)
    |                           |- warning: static property 'unpublished' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'unpublished' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 97 |         /// To include ContentType schema in Entry response,
 98 |         public static let contentType: Include = Include(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:98:27: warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
 96 |         public static let unpublished: Include = Include(rawValue: 1 << 1)
 97 |         /// To include ContentType schema in Entry response,
 98 |         public static let contentType: Include = Include(rawValue: 1 << 2)
    |                           |- warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'contentType' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |         /// To include Global Fields schema in Entry response,
100 |         public static let globalField: Include = Include(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:100:27: warning: static property 'globalField' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
 98 |         public static let contentType: Include = Include(rawValue: 1 << 2)
 99 |         /// To include Global Fields schema in Entry response,
100 |         public static let globalField: Include = Include(rawValue: 1 << 3)
    |                           |- warning: static property 'globalField' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'globalField' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |         /// To include Reference ContentType Uid in reference field in Entry response,
102 |         public static let refContentTypeUID: Include = Include(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:102:27: warning: static property 'refContentTypeUID' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
100 |         public static let globalField: Include = Include(rawValue: 1 << 3)
101 |         /// To include Reference ContentType Uid in reference field in Entry response,
102 |         public static let refContentTypeUID: Include = Include(rawValue: 1 << 4)
    |                           |- warning: static property 'refContentTypeUID' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'refContentTypeUID' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |         /// Retrieve the published content of the fallback locale if an entry is not localized in specified locale.
104 |         public static let fallback: Include = Include(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:104:27: warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
102 |         public static let refContentTypeUID: Include = Include(rawValue: 1 << 4)
103 |         /// Retrieve the published content of the fallback locale if an entry is not localized in specified locale.
104 |         public static let fallback: Include = Include(rawValue: 1 << 5)
    |                           |- warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'fallback' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |         /// Include Embedded Objects (Entries and Assets) along with entry/entries details.
106 |         public static let embeddedItems: Include = Include(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:106:27: warning: static property 'embeddedItems' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
104 |         public static let fallback: Include = Include(rawValue: 1 << 5)
105 |         /// Include Embedded Objects (Entries and Assets) along with entry/entries details.
106 |         public static let embeddedItems: Include = Include(rawValue: 1 << 6)
    |                           |- warning: static property 'embeddedItems' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'embeddedItems' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 |         /// Include Embedded Objects (Entries and Assets) along with entry/entries details.
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:109:27: warning: static property 'metadata' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
107 |
108 |         /// Include Embedded Objects (Entries and Assets) along with entry/entries details.
109 |         public static let metadata: Include = Include(rawValue: 1 << 7)
    |                           |- warning: static property 'metadata' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'metadata' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 |         /// To inclide all `Query.Include` values.
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:112:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     /// `ContentType schema`, `Global Fields schema`, and `Reference ContentType Uid`
 80 |     /// in result.
 81 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
 82 |         /// Creates a new option set from the given raw value.
 83 |         ///
    :
110 |
111 |         /// To inclide all `Query.Include` values.
112 |         public static let all: Include = [.count,
    |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Query.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |                                           .unpublished,
114 |                                           .contentType,
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:138:27: warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'ContentTypeQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
123 | extension ContentTypeQuery {
124 |     /// The `ContentTypeQuery.Include` is parameter for including `count`, `Global Fields schema` in result.
125 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
126 |         /// Creates a new option set from the given raw value.
127 |         ///
    :
136 |
137 |         /// To include count in the response.
138 |         public static let count: Include = Include(rawValue: 1 << 0)
    |                           |- warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'ContentTypeQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'count' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
139 |         /// To include Global Fields schema in ContentType response,
140 |         public static let globalFields: Include = Include(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:140:27: warning: static property 'globalFields' is not concurrency-safe because non-'Sendable' type 'ContentTypeQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
123 | extension ContentTypeQuery {
124 |     /// The `ContentTypeQuery.Include` is parameter for including `count`, `Global Fields schema` in result.
125 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
126 |         /// Creates a new option set from the given raw value.
127 |         ///
    :
138 |         public static let count: Include = Include(rawValue: 1 << 0)
139 |         /// To include Global Fields schema in ContentType response,
140 |         public static let globalFields: Include = Include(rawValue: 1 << 1)
    |                           |- warning: static property 'globalFields' is not concurrency-safe because non-'Sendable' type 'ContentTypeQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'globalFields' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 |         /// To include all `ContentTypeQuery.Include` values.
142 |         public static let all: Include = [.count,
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:142:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ContentTypeQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
123 | extension ContentTypeQuery {
124 |     /// The `ContentTypeQuery.Include` is parameter for including `count`, `Global Fields schema` in result.
125 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
126 |         /// Creates a new option set from the given raw value.
127 |         ///
    :
140 |         public static let globalFields: Include = Include(rawValue: 1 << 1)
141 |         /// To include all `ContentTypeQuery.Include` values.
142 |         public static let all: Include = [.count,
    |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ContentTypeQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 |                                           .globalFields]
144 |     }
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:163:27: warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
148 |     /// The `AssetQuery.Include` is parameter for including `count`, `relative URLs`,
149 |     /// and `dimensions` in result.
150 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
151 |         /// Creates a new option set from the given raw value.
152 |         ///
    :
161 |
162 |         /// To include count in the response.
163 |         public static let count: Include = Include(rawValue: 1 << 0)
    |                           |- warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'count' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |         /// To include the relative URLs of the assets in the response.
165 |         public static let relativeURL: Include = Include(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:165:27: warning: static property 'relativeURL' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
148 |     /// The `AssetQuery.Include` is parameter for including `count`, `relative URLs`,
149 |     /// and `dimensions` in result.
150 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
151 |         /// Creates a new option set from the given raw value.
152 |         ///
    :
163 |         public static let count: Include = Include(rawValue: 1 << 0)
164 |         /// To include the relative URLs of the assets in the response.
165 |         public static let relativeURL: Include = Include(rawValue: 1 << 1)
    |                           |- warning: static property 'relativeURL' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'relativeURL' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 |         /// To include the dimensions (height and width) of the image in the response.
167 |         /// Supported image types: JPG, GIF, PNG, WebP, BMP, TIFF, SVG, and PSD.
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:168:27: warning: static property 'dimension' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
148 |     /// The `AssetQuery.Include` is parameter for including `count`, `relative URLs`,
149 |     /// and `dimensions` in result.
150 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
151 |         /// Creates a new option set from the given raw value.
152 |         ///
    :
166 |         /// To include the dimensions (height and width) of the image in the response.
167 |         /// Supported image types: JPG, GIF, PNG, WebP, BMP, TIFF, SVG, and PSD.
168 |         public static let dimension: Include = Include(rawValue: 1 << 2)
    |                           |- warning: static property 'dimension' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'dimension' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |         /// Retrieve the published content of the fallback locale if an entry is not localized in specified locale.
170 |         public static let fallback: Include = Include(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:170:27: warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
148 |     /// The `AssetQuery.Include` is parameter for including `count`, `relative URLs`,
149 |     /// and `dimensions` in result.
150 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
151 |         /// Creates a new option set from the given raw value.
152 |         ///
    :
168 |         public static let dimension: Include = Include(rawValue: 1 << 2)
169 |         /// Retrieve the published content of the fallback locale if an entry is not localized in specified locale.
170 |         public static let fallback: Include = Include(rawValue: 1 << 3)
    |                           |- warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'fallback' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 |         /// Retrieve the published content of the fallback locale if an entry is not localized in specified locale.
172 |         public static let metadata: Include = Include(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:172:27: warning: static property 'metadata' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
148 |     /// The `AssetQuery.Include` is parameter for including `count`, `relative URLs`,
149 |     /// and `dimensions` in result.
150 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
151 |         /// Creates a new option set from the given raw value.
152 |         ///
    :
170 |         public static let fallback: Include = Include(rawValue: 1 << 3)
171 |         /// Retrieve the published content of the fallback locale if an entry is not localized in specified locale.
172 |         public static let metadata: Include = Include(rawValue: 1 << 4)
    |                           |- warning: static property 'metadata' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'metadata' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 |         /// To inclide all `AssetQuery.Include` values.
174 |         public static let all: Include = [.count,
/Users/admin/builder/spi-builder-workspace/Sources/QueryParameter.swift:174:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
148 |     /// The `AssetQuery.Include` is parameter for including `count`, `relative URLs`,
149 |     /// and `dimensions` in result.
150 |     public struct Include: OptionSet {
    |                   `- note: consider making struct 'Include' conform to the 'Sendable' protocol
151 |         /// Creates a new option set from the given raw value.
152 |         ///
    :
172 |         public static let metadata: Include = Include(rawValue: 1 << 4)
173 |         /// To inclide all `AssetQuery.Include` values.
174 |         public static let all: Include = [.count,
    |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'AssetQuery.Include' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 |                                           .relativeURL,
176 |                                           .dimension,
/Users/admin/builder/spi-builder-workspace/Sources/QueryProtocols.swift:11:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
  9 | /// A base Query protocol which holds the essentials shared by all query types in the SDK which enable
 10 | /// querying against content types, entries and assets.
 11 | public protocol QueryProtocol: class, CachePolicyAccessible {
    |                                `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 12 |     associatedtype ResourceType
 13 |     /// The Stack instance to perform operation,
/Users/admin/builder/spi-builder-workspace/Sources/SyncStack.swift:131:23: warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | extension SyncStack: EndpointAccessible {
131 |     public static var endpoint: Endpoint = .sync
    |                       |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemFields.swift:11:31: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
  9 |
 10 | /// Sysyem Fields are available fields for entities in Contentstack.
 11 | public protocol SystemFields: class {
    |                               `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 12 |     /// The unique identifier of the entity.
 13 |     var uid: String { get }
Build complete! (11.30s)
Fetching https://github.com/contentstack/contentstack-swift-dvr.git
Fetching https://github.com/contentstack/contentstack-utils-swift.git
[10/939] Fetching contentstack-swift-dvr
[20/1796] Fetching contentstack-swift-dvr, contentstack-utils-swift
Fetched https://github.com/contentstack/contentstack-utils-swift.git from cache (0.94s)
Fetched https://github.com/contentstack/contentstack-swift-dvr.git from cache (0.95s)
Computing version for https://github.com/contentstack/contentstack-swift-dvr.git
Computed https://github.com/contentstack/contentstack-swift-dvr.git at 1.0.0 (1.56s)
Computing version for https://github.com/contentstack/contentstack-utils-swift.git
Computed https://github.com/contentstack/contentstack-utils-swift.git at 1.3.4 (0.62s)
Creating working copy for https://github.com/contentstack/contentstack-utils-swift.git
Working copy of https://github.com/contentstack/contentstack-utils-swift.git resolved at 1.3.4
Creating working copy for https://github.com/contentstack/contentstack-swift-dvr.git
Working copy of https://github.com/contentstack/contentstack-swift-dvr.git resolved at 1.0.0
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/PrivacyInfo.xcprivacy
Build complete.
{
  "dependencies" : [
    {
      "identity" : "contentstack-utils-swift",
      "requirement" : {
        "exact" : [
          "1.3.4"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/contentstack/contentstack-utils-swift.git"
    },
    {
      "identity" : "contentstack-swift-dvr",
      "requirement" : {
        "exact" : [
          "1.0.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/contentstack/contentstack-swift-dvr.git"
    }
  ],
  "manifest_display_name" : "ContentstackSwift",
  "name" : "ContentstackSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "ContentstackSwift",
      "targets" : [
        "ContentstackSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ContentstackTests",
      "module_type" : "SwiftTarget",
      "name" : "ContentstackTests",
      "path" : "Tests",
      "product_dependencies" : [
        "DVR"
      ],
      "sources" : [
        "AssetQueryAPITest.swift",
        "AssetQueryTest.swift",
        "AssetTest.swift",
        "AsyncAwaitAPITest.swift",
        "CSDefinitionsTest.swift",
        "ContentStackLogTest.swift",
        "ContentTypeQueryAPITest.swift",
        "ContentTypeQueryTest.swift",
        "ContentTypeTest.swift",
        "ContentstackConfigTest.swift",
        "ContentstackEndpointTest.swift",
        "ContentstackTest.swift",
        "ContentstackTests.swift",
        "DateTest.swift",
        "DecodableTest.swift",
        "EndPointTest.swift",
        "EntryAPITest.swift",
        "EntryQueriable\u0010\u0010Test.swift",
        "EntryTest.swift",
        "EntryVariantsAPITest.swift",
        "ErrorTest.swift",
        "GlobalFieldAPITest.swift",
        "ImageTransformEquatableTest.swift",
        "ImageTransformErrorTest.swift",
        "ImageTransformTest.swift",
        "ImageTransformTestAdditional.swift",
        "LinuxMain.swift",
        "ParameterEncodingTest.swift",
        "Product.swift",
        "QueryEntryType.swift",
        "QueryOnAPITest.swift",
        "QueryOperationTest.swift",
        "QueryParameterTest.swift",
        "QueryTest.swift",
        "QueryableRangeTest.swift",
        "Session.swift",
        "StackCacheAPITest.swift",
        "StackInitializationTest.swift",
        "StackTest.swift",
        "SutBuilder.swift",
        "SyncAPITest.swift",
        "SyncTest.swift",
        "TaxonomyTest.swift",
        "TaxonomyUnitTest.swift",
        "UtilsTest.swift",
        "XCTestCase+Extension.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ContentstackSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ContentstackSwift",
      "module_type" : "SwiftTarget",
      "name" : "ContentstackSwift",
      "path" : "Sources",
      "product_dependencies" : [
        "ContentstackUtils"
      ],
      "product_memberships" : [
        "ContentstackSwift"
      ],
      "sources" : [
        "Asset.swift",
        "AssetModel.swift",
        "CSDefinitions.swift",
        "CSURLCache.swift",
        "CSURLSessionDelegate.swift",
        "ContentType.swift",
        "ContentTypeModel.swift",
        "Contentstack.swift",
        "ContentstackConfig.swift",
        "ContentstackEndpoint.swift",
        "ContentstackLogger.swift",
        "ContentstackMessages.swift",
        "ContentstackResponse.swift",
        "Date.swift",
        "Decodable.swift",
        "EndPoint.swift",
        "Entry.swift",
        "EntryModel.swift",
        "EntryQuaryable.swift",
        "Error.swift",
        "FatalError.swift",
        "GlobalField.swift",
        "GlobalFieldModel.swift",
        "ImageOperation.swift",
        "ImageOperations.swift",
        "ImageParameter.swift",
        "ImageTransform.swift",
        "ImageTransformError.swift",
        "ParameterEncoding.swift",
        "Query.swift",
        "QueryOperation.swift",
        "QueryParameter.swift",
        "QueryProtocols.swift",
        "QueryableRange.swift",
        "Stack.swift",
        "SyncStack.swift",
        "SystemFields.swift",
        "Taxonomy.swift",
        "TaxonomyModel.swift",
        "Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.