This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of WikipediaKit with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 13

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

115 |                 }
116 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Search.swift:200:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
198 |             else {
199 |                 DispatchQueue.main.async {
200 |                     completion(nil, .other(nil))
    |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
201 |                 }
202 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Search.swift:76:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
 74 |             } else {
 75 |                 DispatchQueue.main.async {
 76 |                     completion(searchResults, error)
    |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 77 |                 }
 78 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Search.swift:76:32: warning: sending 'searchResults' risks causing data races; this is an error in the Swift 6 language mode
 74 |             } else {
 75 |                 DispatchQueue.main.async {
 76 |                     completion(searchResults, error)
    |                                |- warning: sending 'searchResults' risks causing data races; this is an error in the Swift 6 language mode
    |                                `- note: task-isolated 'searchResults' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 77 |                 }
 78 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Search.swift:65:29: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
 63 |                     if (fullTextSearchResults?.items.count ?? 0) >= (prefixSearchResults?.items.count ?? 0) {
 64 |                         DispatchQueue.main.async {
 65 |                             completion(fullTextSearchResults, error)
    |                             |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                             `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 66 |                         }
 67 |                     } else {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Search.swift:65:40: warning: sending 'fullTextSearchResults' risks causing data races; this is an error in the Swift 6 language mode
 63 |                     if (fullTextSearchResults?.items.count ?? 0) >= (prefixSearchResults?.items.count ?? 0) {
 64 |                         DispatchQueue.main.async {
 65 |                             completion(fullTextSearchResults, error)
    |                                        |- warning: sending 'fullTextSearchResults' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: task-isolated 'fullTextSearchResults' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 66 |                         }
 67 |                     } else {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Search.swift:69:29: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
 67 |                     } else {
 68 |                         DispatchQueue.main.async {
 69 |                             completion(prefixSearchResults, nil)
    |                             |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                             `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 70 |                         }
 71 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Search.swift:69:40: warning: sending 'prefixSearchResults' risks causing data races; this is an error in the Swift 6 language mode
 67 |                     } else {
 68 |                         DispatchQueue.main.async {
 69 |                             completion(prefixSearchResults, nil)
    |                                        |- warning: sending 'prefixSearchResults' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: task-isolated 'prefixSearchResults' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 70 |                         }
 71 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Search.swift:261:25: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
259 |
260 |                     DispatchQueue.main.async {
261 |                         completion (searchResults, .notEnoughResults)
    |                         |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
262 |                     }
263 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Search.swift:261:37: warning: sending 'searchResults' risks causing data races; this is an error in the Swift 6 language mode
259 |
260 |                     DispatchQueue.main.async {
261 |                         completion (searchResults, .notEnoughResults)
    |                                     |- warning: sending 'searchResults' risks causing data races; this is an error in the Swift 6 language mode
    |                                     `- note: task-isolated 'searchResults' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
262 |                     }
263 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Search.swift:269:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
267 |
268 |                 DispatchQueue.main.async {
269 |                     completion(searchResults, error)
    |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
270 |                 }
271 |
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Search.swift:269:32: warning: sending 'searchResults' risks causing data races; this is an error in the Swift 6 language mode
267 |
268 |                 DispatchQueue.main.async {
269 |                     completion(searchResults, error)
    |                                |- warning: sending 'searchResults' risks causing data races; this is an error in the Swift 6 language mode
    |                                `- note: task-isolated 'searchResults' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
270 |                 }
271 |
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Search.swift:277:25: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
275 |                 if searchResults.offset == 0 {
276 |                     DispatchQueue.main.async {
277 |                         completion (searchResults, .notFound)
    |                         |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
278 |                     }
279 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Search.swift:277:37: warning: sending 'searchResults' risks causing data races; this is an error in the Swift 6 language mode
275 |                 if searchResults.offset == 0 {
276 |                     DispatchQueue.main.async {
277 |                         completion (searchResults, .notFound)
    |                                     |- warning: sending 'searchResults' risks causing data races; this is an error in the Swift 6 language mode
    |                                     `- note: task-isolated 'searchResults' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
278 |                     }
279 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Search.swift:284:25: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
282 |                     searchResults.canLoadMore = false
283 |                     DispatchQueue.main.async {
284 |                         completion (searchResults, error)
    |                         |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
285 |                     }
286 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Search.swift:284:37: warning: sending 'searchResults' risks causing data races; this is an error in the Swift 6 language mode
282 |                     searchResults.canLoadMore = false
283 |                     DispatchQueue.main.async {
284 |                         completion (searchResults, error)
    |                                     |- warning: sending 'searchResults' risks causing data races; this is an error in the Swift 6 language mode
    |                                     `- note: task-isolated 'searchResults' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
285 |                     }
286 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Search.swift:224:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
222 |             guard let query = jsonDictionary["query"] as? JSONDictionary else {
223 |                 DispatchQueue.main.async {
224 |                     completion (searchResults, .notFound)
    |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
225 |                 }
226 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Search.swift:224:33: warning: sending 'searchResults' risks causing data races; this is an error in the Swift 6 language mode
222 |             guard let query = jsonDictionary["query"] as? JSONDictionary else {
223 |                 DispatchQueue.main.async {
224 |                     completion (searchResults, .notFound)
    |                                 |- warning: sending 'searchResults' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: task-isolated 'searchResults' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
225 |                 }
226 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Search.swift:217:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
215 |             guard let jsonDictionary = jsonDictionary else {
216 |                 DispatchQueue.main.async {
217 |                     completion (searchResults, .decodingError)
    |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
218 |                 }
219 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Search.swift:217:33: warning: sending 'searchResults' risks causing data races; this is an error in the Swift 6 language mode
215 |             guard let jsonDictionary = jsonDictionary else {
216 |                 DispatchQueue.main.async {
217 |                     completion (searchResults, .decodingError)
    |                                 |- warning: sending 'searchResults' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: task-isolated 'searchResults' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
218 |                 }
219 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Search.swift:210:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
208 |                 // (also occurs when the request was cancelled programmatically)
209 |                 DispatchQueue.main.async {
210 |                     completion (searchResults, error)
    |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
211 |                 }
212 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Search.swift:210:33: warning: sending 'searchResults' risks causing data races; this is an error in the Swift 6 language mode
208 |                 // (also occurs when the request was cancelled programmatically)
209 |                 DispatchQueue.main.async {
210 |                     completion (searchResults, error)
    |                                 |- warning: sending 'searchResults' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: task-isolated 'searchResults' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
211 |                 }
212 |                 return
[17/31] Compiling WikipediaKit WikipediaLanguage.swift
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaLanguage.swift:96:23: warning: static property 'systemLanguageCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 94 |     }
 95 |
 96 |     public static var systemLanguageCode: String = {
    |                       |- warning: static property 'systemLanguageCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'systemLanguageCode' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'systemLanguageCode' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 97 |         guard let preferredLanguage = Locale.preferredLanguages.first else { return "en" }
 98 |         let languageComponents = Locale.components(fromIdentifier: preferredLanguage)
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaLanguage.swift:103:23: warning: static property 'systemLanguage' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
101 |     }()
102 |
103 |     public static var systemLanguage: WikipediaLanguage = {
    |                       |- warning: static property 'systemLanguage' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'systemLanguage' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'systemLanguage' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |         return WikipediaLanguage(systemLanguageCode)
105 |     }()
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaLanguage.swift:107:23: warning: static property 'supportedSystemLanguage' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
105 |     }()
106 |
107 |     public static var supportedSystemLanguage: WikipediaLanguage = {
    |                       |- warning: static property 'supportedSystemLanguage' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'supportedSystemLanguage' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'supportedSystemLanguage' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 |         if defaultLanguages.keys.contains(systemLanguageCode) {
109 |             return WikipediaLanguage(systemLanguageCode)
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaLanguage.swift:120:16: warning: static property 'supportedChineseLocaleVariants' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
118 |     // https://meta.wikimedia.org/wiki/Automatic_conversion_between_simplified_and_traditional_Chinese
119 |
120 |     static var supportedChineseLocaleVariants = ["cn", "hk", "mo", "my", "sg", "tw"]
    |                |- warning: static property 'supportedChineseLocaleVariants' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'supportedChineseLocaleVariants' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'supportedChineseLocaleVariants' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 |     public static var preferredChineseVariant: String? = {
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaLanguage.swift:122:23: warning: static property 'preferredChineseVariant' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
120 |     static var supportedChineseLocaleVariants = ["cn", "hk", "mo", "my", "sg", "tw"]
121 |
122 |     public static var preferredChineseVariant: String? = {
    |                       |- warning: static property 'preferredChineseVariant' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'preferredChineseVariant' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'preferredChineseVariant' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 |         let preferredLanguages = Locale.preferredLanguages
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaLanguage.swift:147:23: warning: static property 'rightToLeftLanguageCodes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
145 |     }()
146 |
147 |     public static var rightToLeftLanguageCodes = [
    |                       |- warning: static property 'rightToLeftLanguageCodes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'rightToLeftLanguageCodes' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'rightToLeftLanguageCodes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |         "ar",
149 |         "arc",
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:37:23: warning: static property 'appAuthorEmailForAPI' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 35 | public class WikipediaNetworking {
 36 |
 37 |     public static var appAuthorEmailForAPI = ""
    |                       |- warning: static property 'appAuthorEmailForAPI' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'appAuthorEmailForAPI' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'appAuthorEmailForAPI' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |
 39 |     public static let shared: WikipediaNetworking = {
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:39:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WikipediaNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
 33 | #endif
 34 |
 35 | public class WikipediaNetworking {
    |              `- note: class 'WikipediaNetworking' does not conform to the 'Sendable' protocol
 36 |
 37 |     public static var appAuthorEmailForAPI = ""
 38 |
 39 |     public static let shared: WikipediaNetworking = {
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WikipediaNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |         return WikipediaNetworking()
 41 |     }()
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:43:23: warning: static property 'debugPerformance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 41 |     }()
 42 |
 43 |     public static var debugPerformance = false
    |                       |- warning: static property 'debugPerformance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'debugPerformance' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'debugPerformance' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 44 |
 45 |     private func logMessage(_ message: String) {
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:53:28: warning: static property 'sharedActivityIndicatorDelegate' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 51 |     }
 52 |
 53 |     public static weak var sharedActivityIndicatorDelegate: WikipediaNetworkingActivityDelegate?
    |                            |- warning: static property 'sharedActivityIndicatorDelegate' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'sharedActivityIndicatorDelegate' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: annotate 'sharedActivityIndicatorDelegate' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 |     let session = URLSession(configuration: URLSessionConfiguration.default)
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:88:17: warning: capture of 'self' with non-sendable type 'WikipediaNetworking' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 33 | #endif
 34 |
 35 | public class WikipediaNetworking {
    |              `- note: class 'WikipediaNetworking' does not conform to the 'Sendable' protocol
 36 |
 37 |     public static var appAuthorEmailForAPI = ""
    :
 86 |                 let endNetworkingTime = Date()
 87 |                 let totalNetworkingTime: Double = endNetworkingTime.timeIntervalSince(startTime)
 88 |                 self.logMessage("\(totalNetworkingTime) seconds for network retrieval")
    |                 `- warning: capture of 'self' with non-sendable type 'WikipediaNetworking' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 89 |             #endif
 90 |
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:113:17: warning: capture of 'completion' with non-sendable type '(JSONDictionary?, WikipediaError?) -> ()' (aka '(Optional<Dictionary<String, AnyObject>>, Optional<WikipediaError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
111 |                     }
112 |                 }
113 |                 completion(nil, wikipediaError)
    |                 |- warning: capture of 'completion' with non-sendable type '(JSONDictionary?, WikipediaError?) -> ()' (aka '(Optional<Dictionary<String, AnyObject>>, Optional<WikipediaError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
114 |                 return
115 |             }
[18/31] Compiling WikipediaKit WikipediaNamespace.swift
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaLanguage.swift:96:23: warning: static property 'systemLanguageCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 94 |     }
 95 |
 96 |     public static var systemLanguageCode: String = {
    |                       |- warning: static property 'systemLanguageCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'systemLanguageCode' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'systemLanguageCode' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 97 |         guard let preferredLanguage = Locale.preferredLanguages.first else { return "en" }
 98 |         let languageComponents = Locale.components(fromIdentifier: preferredLanguage)
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaLanguage.swift:103:23: warning: static property 'systemLanguage' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
101 |     }()
102 |
103 |     public static var systemLanguage: WikipediaLanguage = {
    |                       |- warning: static property 'systemLanguage' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'systemLanguage' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'systemLanguage' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |         return WikipediaLanguage(systemLanguageCode)
105 |     }()
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaLanguage.swift:107:23: warning: static property 'supportedSystemLanguage' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
105 |     }()
106 |
107 |     public static var supportedSystemLanguage: WikipediaLanguage = {
    |                       |- warning: static property 'supportedSystemLanguage' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'supportedSystemLanguage' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'supportedSystemLanguage' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 |         if defaultLanguages.keys.contains(systemLanguageCode) {
109 |             return WikipediaLanguage(systemLanguageCode)
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaLanguage.swift:120:16: warning: static property 'supportedChineseLocaleVariants' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
118 |     // https://meta.wikimedia.org/wiki/Automatic_conversion_between_simplified_and_traditional_Chinese
119 |
120 |     static var supportedChineseLocaleVariants = ["cn", "hk", "mo", "my", "sg", "tw"]
    |                |- warning: static property 'supportedChineseLocaleVariants' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'supportedChineseLocaleVariants' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'supportedChineseLocaleVariants' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 |     public static var preferredChineseVariant: String? = {
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaLanguage.swift:122:23: warning: static property 'preferredChineseVariant' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
120 |     static var supportedChineseLocaleVariants = ["cn", "hk", "mo", "my", "sg", "tw"]
121 |
122 |     public static var preferredChineseVariant: String? = {
    |                       |- warning: static property 'preferredChineseVariant' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'preferredChineseVariant' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'preferredChineseVariant' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 |         let preferredLanguages = Locale.preferredLanguages
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaLanguage.swift:147:23: warning: static property 'rightToLeftLanguageCodes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
145 |     }()
146 |
147 |     public static var rightToLeftLanguageCodes = [
    |                       |- warning: static property 'rightToLeftLanguageCodes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'rightToLeftLanguageCodes' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'rightToLeftLanguageCodes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |         "ar",
149 |         "arc",
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:37:23: warning: static property 'appAuthorEmailForAPI' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 35 | public class WikipediaNetworking {
 36 |
 37 |     public static var appAuthorEmailForAPI = ""
    |                       |- warning: static property 'appAuthorEmailForAPI' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'appAuthorEmailForAPI' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'appAuthorEmailForAPI' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |
 39 |     public static let shared: WikipediaNetworking = {
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:39:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WikipediaNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
 33 | #endif
 34 |
 35 | public class WikipediaNetworking {
    |              `- note: class 'WikipediaNetworking' does not conform to the 'Sendable' protocol
 36 |
 37 |     public static var appAuthorEmailForAPI = ""
 38 |
 39 |     public static let shared: WikipediaNetworking = {
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WikipediaNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |         return WikipediaNetworking()
 41 |     }()
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:43:23: warning: static property 'debugPerformance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 41 |     }()
 42 |
 43 |     public static var debugPerformance = false
    |                       |- warning: static property 'debugPerformance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'debugPerformance' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'debugPerformance' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 44 |
 45 |     private func logMessage(_ message: String) {
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:53:28: warning: static property 'sharedActivityIndicatorDelegate' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 51 |     }
 52 |
 53 |     public static weak var sharedActivityIndicatorDelegate: WikipediaNetworkingActivityDelegate?
    |                            |- warning: static property 'sharedActivityIndicatorDelegate' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'sharedActivityIndicatorDelegate' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: annotate 'sharedActivityIndicatorDelegate' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 |     let session = URLSession(configuration: URLSessionConfiguration.default)
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:88:17: warning: capture of 'self' with non-sendable type 'WikipediaNetworking' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 33 | #endif
 34 |
 35 | public class WikipediaNetworking {
    |              `- note: class 'WikipediaNetworking' does not conform to the 'Sendable' protocol
 36 |
 37 |     public static var appAuthorEmailForAPI = ""
    :
 86 |                 let endNetworkingTime = Date()
 87 |                 let totalNetworkingTime: Double = endNetworkingTime.timeIntervalSince(startTime)
 88 |                 self.logMessage("\(totalNetworkingTime) seconds for network retrieval")
    |                 `- warning: capture of 'self' with non-sendable type 'WikipediaNetworking' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 89 |             #endif
 90 |
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:113:17: warning: capture of 'completion' with non-sendable type '(JSONDictionary?, WikipediaError?) -> ()' (aka '(Optional<Dictionary<String, AnyObject>>, Optional<WikipediaError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
111 |                     }
112 |                 }
113 |                 completion(nil, wikipediaError)
    |                 |- warning: capture of 'completion' with non-sendable type '(JSONDictionary?, WikipediaError?) -> ()' (aka '(Optional<Dictionary<String, AnyObject>>, Optional<WikipediaError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
114 |                 return
115 |             }
[19/31] Compiling WikipediaKit WikipediaNetworking.swift
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaLanguage.swift:96:23: warning: static property 'systemLanguageCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 94 |     }
 95 |
 96 |     public static var systemLanguageCode: String = {
    |                       |- warning: static property 'systemLanguageCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'systemLanguageCode' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'systemLanguageCode' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 97 |         guard let preferredLanguage = Locale.preferredLanguages.first else { return "en" }
 98 |         let languageComponents = Locale.components(fromIdentifier: preferredLanguage)
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaLanguage.swift:103:23: warning: static property 'systemLanguage' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
101 |     }()
102 |
103 |     public static var systemLanguage: WikipediaLanguage = {
    |                       |- warning: static property 'systemLanguage' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'systemLanguage' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'systemLanguage' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |         return WikipediaLanguage(systemLanguageCode)
105 |     }()
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaLanguage.swift:107:23: warning: static property 'supportedSystemLanguage' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
105 |     }()
106 |
107 |     public static var supportedSystemLanguage: WikipediaLanguage = {
    |                       |- warning: static property 'supportedSystemLanguage' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'supportedSystemLanguage' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'supportedSystemLanguage' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 |         if defaultLanguages.keys.contains(systemLanguageCode) {
109 |             return WikipediaLanguage(systemLanguageCode)
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaLanguage.swift:120:16: warning: static property 'supportedChineseLocaleVariants' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
118 |     // https://meta.wikimedia.org/wiki/Automatic_conversion_between_simplified_and_traditional_Chinese
119 |
120 |     static var supportedChineseLocaleVariants = ["cn", "hk", "mo", "my", "sg", "tw"]
    |                |- warning: static property 'supportedChineseLocaleVariants' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'supportedChineseLocaleVariants' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'supportedChineseLocaleVariants' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 |     public static var preferredChineseVariant: String? = {
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaLanguage.swift:122:23: warning: static property 'preferredChineseVariant' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
120 |     static var supportedChineseLocaleVariants = ["cn", "hk", "mo", "my", "sg", "tw"]
121 |
122 |     public static var preferredChineseVariant: String? = {
    |                       |- warning: static property 'preferredChineseVariant' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'preferredChineseVariant' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'preferredChineseVariant' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 |         let preferredLanguages = Locale.preferredLanguages
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaLanguage.swift:147:23: warning: static property 'rightToLeftLanguageCodes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
145 |     }()
146 |
147 |     public static var rightToLeftLanguageCodes = [
    |                       |- warning: static property 'rightToLeftLanguageCodes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'rightToLeftLanguageCodes' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'rightToLeftLanguageCodes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |         "ar",
149 |         "arc",
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:37:23: warning: static property 'appAuthorEmailForAPI' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 35 | public class WikipediaNetworking {
 36 |
 37 |     public static var appAuthorEmailForAPI = ""
    |                       |- warning: static property 'appAuthorEmailForAPI' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'appAuthorEmailForAPI' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'appAuthorEmailForAPI' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |
 39 |     public static let shared: WikipediaNetworking = {
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:39:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WikipediaNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
 33 | #endif
 34 |
 35 | public class WikipediaNetworking {
    |              `- note: class 'WikipediaNetworking' does not conform to the 'Sendable' protocol
 36 |
 37 |     public static var appAuthorEmailForAPI = ""
 38 |
 39 |     public static let shared: WikipediaNetworking = {
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WikipediaNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |         return WikipediaNetworking()
 41 |     }()
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:43:23: warning: static property 'debugPerformance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 41 |     }()
 42 |
 43 |     public static var debugPerformance = false
    |                       |- warning: static property 'debugPerformance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'debugPerformance' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'debugPerformance' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 44 |
 45 |     private func logMessage(_ message: String) {
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:53:28: warning: static property 'sharedActivityIndicatorDelegate' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 51 |     }
 52 |
 53 |     public static weak var sharedActivityIndicatorDelegate: WikipediaNetworkingActivityDelegate?
    |                            |- warning: static property 'sharedActivityIndicatorDelegate' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'sharedActivityIndicatorDelegate' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: annotate 'sharedActivityIndicatorDelegate' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 |     let session = URLSession(configuration: URLSessionConfiguration.default)
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:88:17: warning: capture of 'self' with non-sendable type 'WikipediaNetworking' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 33 | #endif
 34 |
 35 | public class WikipediaNetworking {
    |              `- note: class 'WikipediaNetworking' does not conform to the 'Sendable' protocol
 36 |
 37 |     public static var appAuthorEmailForAPI = ""
    :
 86 |                 let endNetworkingTime = Date()
 87 |                 let totalNetworkingTime: Double = endNetworkingTime.timeIntervalSince(startTime)
 88 |                 self.logMessage("\(totalNetworkingTime) seconds for network retrieval")
    |                 `- warning: capture of 'self' with non-sendable type 'WikipediaNetworking' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 89 |             #endif
 90 |
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:113:17: warning: capture of 'completion' with non-sendable type '(JSONDictionary?, WikipediaError?) -> ()' (aka '(Optional<Dictionary<String, AnyObject>>, Optional<WikipediaError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
111 |                     }
112 |                 }
113 |                 completion(nil, wikipediaError)
    |                 |- warning: capture of 'completion' with non-sendable type '(JSONDictionary?, WikipediaError?) -> ()' (aka '(Optional<Dictionary<String, AnyObject>>, Optional<WikipediaError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
114 |                 return
115 |             }
[20/31] Compiling WikipediaKit WikipediaError.swift
[21/31] Compiling WikipediaKit WikipediaFeatured.swift
[22/31] Compiling WikipediaKit WikipediaImage.swift
[23/31] Compiling WikipediaKit WikipediaArticleCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia.swift:46:28: warning: static property 'sharedFormattingDelegate' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |     }()
45 |
46 |     public static weak var sharedFormattingDelegate: WikipediaTextFormattingDelegate?
   |                            |- warning: static property 'sharedFormattingDelegate' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: convert 'sharedFormattingDelegate' to a 'let' constant to make 'Sendable' shared state immutable
   |                            |- note: annotate 'sharedFormattingDelegate' with '@MainActor' if property should only be accessed from the main actor
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 |     let articleCache: WikipediaArticleCache = {
[24/31] Compiling WikipediaKit WikipediaArticleLanguageLink.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia.swift:46:28: warning: static property 'sharedFormattingDelegate' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |     }()
45 |
46 |     public static weak var sharedFormattingDelegate: WikipediaTextFormattingDelegate?
   |                            |- warning: static property 'sharedFormattingDelegate' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: convert 'sharedFormattingDelegate' to a 'let' constant to make 'Sendable' shared state immutable
   |                            |- note: annotate 'sharedFormattingDelegate' with '@MainActor' if property should only be accessed from the main actor
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 |     let articleCache: WikipediaArticleCache = {
[25/31] Compiling WikipediaKit WikipediaArticlePreview.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia.swift:46:28: warning: static property 'sharedFormattingDelegate' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |     }()
45 |
46 |     public static weak var sharedFormattingDelegate: WikipediaTextFormattingDelegate?
   |                            |- warning: static property 'sharedFormattingDelegate' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: convert 'sharedFormattingDelegate' to a 'let' constant to make 'Sendable' shared state immutable
   |                            |- note: annotate 'sharedFormattingDelegate' with '@MainActor' if property should only be accessed from the main actor
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 |     let articleCache: WikipediaArticleCache = {
[26/31] Compiling WikipediaKit Wikipedia+ArticleSummary.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:51:25: warning: capture of 'completion' with non-sendable type '(WikipediaArticlePreview?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 |                 else {
50 |                     DispatchQueue.main.async {
51 |                         completion(nil, .other(nil))
   |                         |- warning: capture of 'completion' with non-sendable type '(WikipediaArticlePreview?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 |                     }
53 |                     return nil
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:39:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WikipediaNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
 33 | #endif
 34 |
 35 | public class WikipediaNetworking {
    |              `- note: class 'WikipediaNetworking' does not conform to the 'Sendable' protocol
 36 |
 37 |     public static var appAuthorEmailForAPI = ""
 38 |
 39 |     public static let shared: WikipediaNetworking = {
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WikipediaNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |         return WikipediaNetworking()
 41 |     }()
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:63:25: warning: capture of 'completion' with non-sendable type '(WikipediaArticlePreview?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 |                     // (also occurs when the request was cancelled programmatically)
62 |                     DispatchQueue.main.async {
63 |                         completion (nil, error)
   |                         |- warning: capture of 'completion' with non-sendable type '(WikipediaArticlePreview?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
64 |                     }
65 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:70:25: warning: capture of 'completion' with non-sendable type '(WikipediaArticlePreview?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
68 |                 guard let jsonDictionary = jsonDictionary  else {
69 |                     DispatchQueue.main.async {
70 |                         completion (nil, .decodingError)
   |                         |- warning: capture of 'completion' with non-sendable type '(WikipediaArticlePreview?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
71 |                     }
72 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:78:21: warning: capture of 'completion' with non-sendable type '(WikipediaArticlePreview?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 |
77 |                 DispatchQueue.main.async {
78 |                     completion(articlePreview, error)
   |                     |- warning: capture of 'completion' with non-sendable type '(WikipediaArticlePreview?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
79 |                 }
80 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:78:32: warning: capture of 'articlePreview' with non-sendable type 'WikipediaArticlePreview?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 |
77 |                 DispatchQueue.main.async {
78 |                     completion(articlePreview, error)
   |                                `- warning: capture of 'articlePreview' with non-sendable type 'WikipediaArticlePreview?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
79 |                 }
80 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaArticlePreview.swift:49:14: note: class 'WikipediaArticlePreview' does not conform to the 'Sendable' protocol
 47 | }
 48 |
 49 | public class WikipediaArticlePreview: Hashable, Equatable {
    |              `- note: class 'WikipediaArticlePreview' does not conform to the 'Sendable' protocol
 50 |
 51 |     public var language: WikipediaLanguage
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:52:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 |             else {
51 |                 DispatchQueue.main.async {
52 |                     completion(.failure(.other(nil)))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
53 |                 }
54 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:64:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 |                 // (also occurs when the request was cancelled programmatically)
63 |                 DispatchQueue.main.async {
64 |                     completion(.failure(error!))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
65 |                 }
66 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:71:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 |             guard let jsonDictionary = jsonDictionary  else {
70 |                 DispatchQueue.main.async {
71 |                     completion(.failure(.decodingError))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
72 |                 }
73 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:78:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 |             if let featured = WikipediaFeatured(jsonDictionary: jsonDictionary, language: language) {
77 |                 DispatchQueue.main.async {
78 |                     completion(.success(featured))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
79 |                 }
80 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:78:41: warning: capture of 'featured' with non-sendable type 'WikipediaFeatured' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 |             if let featured = WikipediaFeatured(jsonDictionary: jsonDictionary, language: language) {
77 |                 DispatchQueue.main.async {
78 |                     completion(.success(featured))
   |                                         `- warning: capture of 'featured' with non-sendable type 'WikipediaFeatured' in a `@Sendable` closure; this is an error in the Swift 6 language mode
79 |                 }
80 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaFeatured.swift:32:15: note: consider making struct 'WikipediaFeatured' conform to the 'Sendable' protocol
30 | import Foundation
31 |
32 | public struct WikipediaFeatured {
   |               `- note: consider making struct 'WikipediaFeatured' conform to the 'Sendable' protocol
33 |     public let date: Date
34 |     public let language: WikipediaLanguage
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:82:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 |             } else {
81 |                 DispatchQueue.main.async {
82 |                     completion(.failure(.noResults))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 |                 }
84 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:46:21: warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 44 |                   firstURL.path != "" else {
 45 |                 DispatchQueue.main.async {
 46 |                     completion(nil, .other(nil))
    |                     |- warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 47 |                 }
 48 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:61:21: warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 59 |             return self.requestSizedImageMetadata(language: language, ids: imageIDs, width: width) { imageMetadata, error in
 60 |                 DispatchQueue.main.async {
 61 |                     completion(imageMetadata, error)
    |                     |- warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 62 |                 }
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:61:32: warning: capture of 'imageMetadata' with non-sendable type '[WikipediaImage]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 59 |             return self.requestSizedImageMetadata(language: language, ids: imageIDs, width: width) { imageMetadata, error in
 60 |                 DispatchQueue.main.async {
 61 |                     completion(imageMetadata, error)
    |                                `- warning: capture of 'imageMetadata' with non-sendable type '[WikipediaImage]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 62 |                 }
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaImage.swift:32:14: note: class 'WikipediaImage' does not conform to the 'Sendable' protocol
 30 | import Foundation
 31 |
 32 | public class WikipediaImage {
    |              `- note: class 'WikipediaImage' does not conform to the 'Sendable' protocol
 33 |
 34 |     public let language: WikipediaLanguage
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:100:21: warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 98 |             else {
 99 |                 DispatchQueue.main.async {
100 |                     completion(nil, .other(nil))
    |                     |- warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
101 |                 }
102 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:109:21: warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 |             guard error == nil else {
108 |                 DispatchQueue.main.async {
109 |                     completion (nil, error)
    |                     |- warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
110 |                 }
111 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:119:21: warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
117 |                 else {
118 |                 DispatchQueue.main.async {
119 |                     completion (nil, .decodingError)
    |                     |- warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
120 |                 }
121 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:131:17: warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
129 |             }
130 |             DispatchQueue.main.async {
131 |                 completion(images, error)
    |                 |- warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
132 |             }
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:131:28: warning: capture of 'images' with non-sendable type '[WikipediaImage]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
129 |             }
130 |             DispatchQueue.main.async {
131 |                 completion(images, error)
    |                            `- warning: capture of 'images' with non-sendable type '[WikipediaImage]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 |             }
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaImage.swift:32:14: note: class 'WikipediaImage' does not conform to the 'Sendable' protocol
 30 | import Foundation
 31 |
 32 | public class WikipediaImage {
    |              `- note: class 'WikipediaImage' does not conform to the 'Sendable' protocol
 33 |
 34 |     public let language: WikipediaLanguage
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:131:28: warning: reference to captured var 'images' in concurrently-executing code; this is an error in the Swift 6 language mode
129 |             }
130 |             DispatchQueue.main.async {
131 |                 completion(images, error)
    |                            `- warning: reference to captured var 'images' in concurrently-executing code; this is an error in the Swift 6 language mode
132 |             }
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:37:23: warning: static property 'appAuthorEmailForAPI' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 35 | public class WikipediaNetworking {
 36 |
 37 |     public static var appAuthorEmailForAPI = ""
    |                       |- warning: static property 'appAuthorEmailForAPI' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'appAuthorEmailForAPI' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'appAuthorEmailForAPI' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |
 39 |     public static let shared: WikipediaNetworking = {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:51:25: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
49 |                 else {
50 |                     DispatchQueue.main.async {
51 |                         completion(nil, .other(nil))
   |                         |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
52 |                     }
53 |                     return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:78:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
76 |
77 |                 DispatchQueue.main.async {
78 |                     completion(articlePreview, error)
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
79 |                 }
80 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:78:32: warning: sending 'articlePreview' risks causing data races; this is an error in the Swift 6 language mode
76 |
77 |                 DispatchQueue.main.async {
78 |                     completion(articlePreview, error)
   |                                |- warning: sending 'articlePreview' risks causing data races; this is an error in the Swift 6 language mode
   |                                `- note: task-isolated 'articlePreview' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
79 |                 }
80 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:70:25: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
68 |                 guard let jsonDictionary = jsonDictionary  else {
69 |                     DispatchQueue.main.async {
70 |                         completion (nil, .decodingError)
   |                         |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
71 |                     }
72 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:63:25: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
61 |                     // (also occurs when the request was cancelled programmatically)
62 |                     DispatchQueue.main.async {
63 |                         completion (nil, error)
   |                         |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
64 |                     }
65 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:52:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
50 |             else {
51 |                 DispatchQueue.main.async {
52 |                     completion(.failure(.other(nil)))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
53 |                 }
54 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:78:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
76 |             if let featured = WikipediaFeatured(jsonDictionary: jsonDictionary, language: language) {
77 |                 DispatchQueue.main.async {
78 |                     completion(.success(featured))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
79 |                 }
80 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:78:41: warning: sending 'featured' risks causing data races; this is an error in the Swift 6 language mode
76 |             if let featured = WikipediaFeatured(jsonDictionary: jsonDictionary, language: language) {
77 |                 DispatchQueue.main.async {
78 |                     completion(.success(featured))
   |                                         |- warning: sending 'featured' risks causing data races; this is an error in the Swift 6 language mode
   |                                         `- note: task-isolated 'featured' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
79 |                 }
80 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:82:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
80 |             } else {
81 |                 DispatchQueue.main.async {
82 |                     completion(.failure(.noResults))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
83 |                 }
84 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:71:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
69 |             guard let jsonDictionary = jsonDictionary  else {
70 |                 DispatchQueue.main.async {
71 |                     completion(.failure(.decodingError))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
72 |                 }
73 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:64:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
62 |                 // (also occurs when the request was cancelled programmatically)
63 |                 DispatchQueue.main.async {
64 |                     completion(.failure(error!))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
65 |                 }
66 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:100:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
 98 |             else {
 99 |                 DispatchQueue.main.async {
100 |                     completion(nil, .other(nil))
    |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
101 |                 }
102 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:46:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
 44 |                   firstURL.path != "" else {
 45 |                 DispatchQueue.main.async {
 46 |                     completion(nil, .other(nil))
    |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 47 |                 }
 48 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:61:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
 59 |             return self.requestSizedImageMetadata(language: language, ids: imageIDs, width: width) { imageMetadata, error in
 60 |                 DispatchQueue.main.async {
 61 |                     completion(imageMetadata, error)
    |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 62 |                 }
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:61:32: warning: sending 'imageMetadata' risks causing data races; this is an error in the Swift 6 language mode
 59 |             return self.requestSizedImageMetadata(language: language, ids: imageIDs, width: width) { imageMetadata, error in
 60 |                 DispatchQueue.main.async {
 61 |                     completion(imageMetadata, error)
    |                                |- warning: sending 'imageMetadata' risks causing data races; this is an error in the Swift 6 language mode
    |                                `- note: task-isolated 'imageMetadata' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 62 |                 }
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:131:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
129 |             }
130 |             DispatchQueue.main.async {
131 |                 completion(images, error)
    |                 |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
132 |             }
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:131:28: warning: sending 'images' risks causing data races; this is an error in the Swift 6 language mode
129 |             }
130 |             DispatchQueue.main.async {
131 |                 completion(images, error)
    |                            |- warning: sending 'images' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: task-isolated 'images' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
132 |             }
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:119:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
117 |                 else {
118 |                 DispatchQueue.main.async {
119 |                     completion (nil, .decodingError)
    |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
120 |                 }
121 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:109:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
107 |             guard error == nil else {
108 |                 DispatchQueue.main.async {
109 |                     completion (nil, error)
    |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
110 |                 }
111 |                 return
[27/31] Compiling WikipediaKit Wikipedia+Featured.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:51:25: warning: capture of 'completion' with non-sendable type '(WikipediaArticlePreview?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 |                 else {
50 |                     DispatchQueue.main.async {
51 |                         completion(nil, .other(nil))
   |                         |- warning: capture of 'completion' with non-sendable type '(WikipediaArticlePreview?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 |                     }
53 |                     return nil
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:39:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WikipediaNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
 33 | #endif
 34 |
 35 | public class WikipediaNetworking {
    |              `- note: class 'WikipediaNetworking' does not conform to the 'Sendable' protocol
 36 |
 37 |     public static var appAuthorEmailForAPI = ""
 38 |
 39 |     public static let shared: WikipediaNetworking = {
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WikipediaNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |         return WikipediaNetworking()
 41 |     }()
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:63:25: warning: capture of 'completion' with non-sendable type '(WikipediaArticlePreview?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 |                     // (also occurs when the request was cancelled programmatically)
62 |                     DispatchQueue.main.async {
63 |                         completion (nil, error)
   |                         |- warning: capture of 'completion' with non-sendable type '(WikipediaArticlePreview?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
64 |                     }
65 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:70:25: warning: capture of 'completion' with non-sendable type '(WikipediaArticlePreview?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
68 |                 guard let jsonDictionary = jsonDictionary  else {
69 |                     DispatchQueue.main.async {
70 |                         completion (nil, .decodingError)
   |                         |- warning: capture of 'completion' with non-sendable type '(WikipediaArticlePreview?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
71 |                     }
72 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:78:21: warning: capture of 'completion' with non-sendable type '(WikipediaArticlePreview?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 |
77 |                 DispatchQueue.main.async {
78 |                     completion(articlePreview, error)
   |                     |- warning: capture of 'completion' with non-sendable type '(WikipediaArticlePreview?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
79 |                 }
80 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:78:32: warning: capture of 'articlePreview' with non-sendable type 'WikipediaArticlePreview?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 |
77 |                 DispatchQueue.main.async {
78 |                     completion(articlePreview, error)
   |                                `- warning: capture of 'articlePreview' with non-sendable type 'WikipediaArticlePreview?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
79 |                 }
80 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaArticlePreview.swift:49:14: note: class 'WikipediaArticlePreview' does not conform to the 'Sendable' protocol
 47 | }
 48 |
 49 | public class WikipediaArticlePreview: Hashable, Equatable {
    |              `- note: class 'WikipediaArticlePreview' does not conform to the 'Sendable' protocol
 50 |
 51 |     public var language: WikipediaLanguage
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:52:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 |             else {
51 |                 DispatchQueue.main.async {
52 |                     completion(.failure(.other(nil)))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
53 |                 }
54 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:64:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 |                 // (also occurs when the request was cancelled programmatically)
63 |                 DispatchQueue.main.async {
64 |                     completion(.failure(error!))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
65 |                 }
66 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:71:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 |             guard let jsonDictionary = jsonDictionary  else {
70 |                 DispatchQueue.main.async {
71 |                     completion(.failure(.decodingError))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
72 |                 }
73 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:78:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 |             if let featured = WikipediaFeatured(jsonDictionary: jsonDictionary, language: language) {
77 |                 DispatchQueue.main.async {
78 |                     completion(.success(featured))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
79 |                 }
80 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:78:41: warning: capture of 'featured' with non-sendable type 'WikipediaFeatured' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 |             if let featured = WikipediaFeatured(jsonDictionary: jsonDictionary, language: language) {
77 |                 DispatchQueue.main.async {
78 |                     completion(.success(featured))
   |                                         `- warning: capture of 'featured' with non-sendable type 'WikipediaFeatured' in a `@Sendable` closure; this is an error in the Swift 6 language mode
79 |                 }
80 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaFeatured.swift:32:15: note: consider making struct 'WikipediaFeatured' conform to the 'Sendable' protocol
30 | import Foundation
31 |
32 | public struct WikipediaFeatured {
   |               `- note: consider making struct 'WikipediaFeatured' conform to the 'Sendable' protocol
33 |     public let date: Date
34 |     public let language: WikipediaLanguage
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:82:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 |             } else {
81 |                 DispatchQueue.main.async {
82 |                     completion(.failure(.noResults))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 |                 }
84 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:46:21: warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 44 |                   firstURL.path != "" else {
 45 |                 DispatchQueue.main.async {
 46 |                     completion(nil, .other(nil))
    |                     |- warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 47 |                 }
 48 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:61:21: warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 59 |             return self.requestSizedImageMetadata(language: language, ids: imageIDs, width: width) { imageMetadata, error in
 60 |                 DispatchQueue.main.async {
 61 |                     completion(imageMetadata, error)
    |                     |- warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 62 |                 }
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:61:32: warning: capture of 'imageMetadata' with non-sendable type '[WikipediaImage]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 59 |             return self.requestSizedImageMetadata(language: language, ids: imageIDs, width: width) { imageMetadata, error in
 60 |                 DispatchQueue.main.async {
 61 |                     completion(imageMetadata, error)
    |                                `- warning: capture of 'imageMetadata' with non-sendable type '[WikipediaImage]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 62 |                 }
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaImage.swift:32:14: note: class 'WikipediaImage' does not conform to the 'Sendable' protocol
 30 | import Foundation
 31 |
 32 | public class WikipediaImage {
    |              `- note: class 'WikipediaImage' does not conform to the 'Sendable' protocol
 33 |
 34 |     public let language: WikipediaLanguage
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:100:21: warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 98 |             else {
 99 |                 DispatchQueue.main.async {
100 |                     completion(nil, .other(nil))
    |                     |- warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
101 |                 }
102 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:109:21: warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 |             guard error == nil else {
108 |                 DispatchQueue.main.async {
109 |                     completion (nil, error)
    |                     |- warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
110 |                 }
111 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:119:21: warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
117 |                 else {
118 |                 DispatchQueue.main.async {
119 |                     completion (nil, .decodingError)
    |                     |- warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
120 |                 }
121 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:131:17: warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
129 |             }
130 |             DispatchQueue.main.async {
131 |                 completion(images, error)
    |                 |- warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
132 |             }
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:131:28: warning: capture of 'images' with non-sendable type '[WikipediaImage]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
129 |             }
130 |             DispatchQueue.main.async {
131 |                 completion(images, error)
    |                            `- warning: capture of 'images' with non-sendable type '[WikipediaImage]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 |             }
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaImage.swift:32:14: note: class 'WikipediaImage' does not conform to the 'Sendable' protocol
 30 | import Foundation
 31 |
 32 | public class WikipediaImage {
    |              `- note: class 'WikipediaImage' does not conform to the 'Sendable' protocol
 33 |
 34 |     public let language: WikipediaLanguage
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:131:28: warning: reference to captured var 'images' in concurrently-executing code; this is an error in the Swift 6 language mode
129 |             }
130 |             DispatchQueue.main.async {
131 |                 completion(images, error)
    |                            `- warning: reference to captured var 'images' in concurrently-executing code; this is an error in the Swift 6 language mode
132 |             }
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:37:23: warning: static property 'appAuthorEmailForAPI' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 35 | public class WikipediaNetworking {
 36 |
 37 |     public static var appAuthorEmailForAPI = ""
    |                       |- warning: static property 'appAuthorEmailForAPI' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'appAuthorEmailForAPI' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'appAuthorEmailForAPI' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |
 39 |     public static let shared: WikipediaNetworking = {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:51:25: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
49 |                 else {
50 |                     DispatchQueue.main.async {
51 |                         completion(nil, .other(nil))
   |                         |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
52 |                     }
53 |                     return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:78:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
76 |
77 |                 DispatchQueue.main.async {
78 |                     completion(articlePreview, error)
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
79 |                 }
80 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:78:32: warning: sending 'articlePreview' risks causing data races; this is an error in the Swift 6 language mode
76 |
77 |                 DispatchQueue.main.async {
78 |                     completion(articlePreview, error)
   |                                |- warning: sending 'articlePreview' risks causing data races; this is an error in the Swift 6 language mode
   |                                `- note: task-isolated 'articlePreview' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
79 |                 }
80 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:70:25: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
68 |                 guard let jsonDictionary = jsonDictionary  else {
69 |                     DispatchQueue.main.async {
70 |                         completion (nil, .decodingError)
   |                         |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
71 |                     }
72 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:63:25: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
61 |                     // (also occurs when the request was cancelled programmatically)
62 |                     DispatchQueue.main.async {
63 |                         completion (nil, error)
   |                         |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
64 |                     }
65 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:52:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
50 |             else {
51 |                 DispatchQueue.main.async {
52 |                     completion(.failure(.other(nil)))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
53 |                 }
54 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:78:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
76 |             if let featured = WikipediaFeatured(jsonDictionary: jsonDictionary, language: language) {
77 |                 DispatchQueue.main.async {
78 |                     completion(.success(featured))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
79 |                 }
80 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:78:41: warning: sending 'featured' risks causing data races; this is an error in the Swift 6 language mode
76 |             if let featured = WikipediaFeatured(jsonDictionary: jsonDictionary, language: language) {
77 |                 DispatchQueue.main.async {
78 |                     completion(.success(featured))
   |                                         |- warning: sending 'featured' risks causing data races; this is an error in the Swift 6 language mode
   |                                         `- note: task-isolated 'featured' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
79 |                 }
80 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:82:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
80 |             } else {
81 |                 DispatchQueue.main.async {
82 |                     completion(.failure(.noResults))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
83 |                 }
84 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:71:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
69 |             guard let jsonDictionary = jsonDictionary  else {
70 |                 DispatchQueue.main.async {
71 |                     completion(.failure(.decodingError))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
72 |                 }
73 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:64:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
62 |                 // (also occurs when the request was cancelled programmatically)
63 |                 DispatchQueue.main.async {
64 |                     completion(.failure(error!))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
65 |                 }
66 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:100:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
 98 |             else {
 99 |                 DispatchQueue.main.async {
100 |                     completion(nil, .other(nil))
    |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
101 |                 }
102 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:46:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
 44 |                   firstURL.path != "" else {
 45 |                 DispatchQueue.main.async {
 46 |                     completion(nil, .other(nil))
    |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 47 |                 }
 48 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:61:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
 59 |             return self.requestSizedImageMetadata(language: language, ids: imageIDs, width: width) { imageMetadata, error in
 60 |                 DispatchQueue.main.async {
 61 |                     completion(imageMetadata, error)
    |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 62 |                 }
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:61:32: warning: sending 'imageMetadata' risks causing data races; this is an error in the Swift 6 language mode
 59 |             return self.requestSizedImageMetadata(language: language, ids: imageIDs, width: width) { imageMetadata, error in
 60 |                 DispatchQueue.main.async {
 61 |                     completion(imageMetadata, error)
    |                                |- warning: sending 'imageMetadata' risks causing data races; this is an error in the Swift 6 language mode
    |                                `- note: task-isolated 'imageMetadata' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 62 |                 }
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:131:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
129 |             }
130 |             DispatchQueue.main.async {
131 |                 completion(images, error)
    |                 |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
132 |             }
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:131:28: warning: sending 'images' risks causing data races; this is an error in the Swift 6 language mode
129 |             }
130 |             DispatchQueue.main.async {
131 |                 completion(images, error)
    |                            |- warning: sending 'images' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: task-isolated 'images' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
132 |             }
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:119:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
117 |                 else {
118 |                 DispatchQueue.main.async {
119 |                     completion (nil, .decodingError)
    |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
120 |                 }
121 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:109:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
107 |             guard error == nil else {
108 |                 DispatchQueue.main.async {
109 |                     completion (nil, error)
    |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
110 |                 }
111 |                 return
[28/31] Compiling WikipediaKit Wikipedia+ImageMeta.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:51:25: warning: capture of 'completion' with non-sendable type '(WikipediaArticlePreview?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 |                 else {
50 |                     DispatchQueue.main.async {
51 |                         completion(nil, .other(nil))
   |                         |- warning: capture of 'completion' with non-sendable type '(WikipediaArticlePreview?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 |                     }
53 |                     return nil
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:39:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WikipediaNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
 33 | #endif
 34 |
 35 | public class WikipediaNetworking {
    |              `- note: class 'WikipediaNetworking' does not conform to the 'Sendable' protocol
 36 |
 37 |     public static var appAuthorEmailForAPI = ""
 38 |
 39 |     public static let shared: WikipediaNetworking = {
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WikipediaNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |         return WikipediaNetworking()
 41 |     }()
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:63:25: warning: capture of 'completion' with non-sendable type '(WikipediaArticlePreview?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 |                     // (also occurs when the request was cancelled programmatically)
62 |                     DispatchQueue.main.async {
63 |                         completion (nil, error)
   |                         |- warning: capture of 'completion' with non-sendable type '(WikipediaArticlePreview?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
64 |                     }
65 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:70:25: warning: capture of 'completion' with non-sendable type '(WikipediaArticlePreview?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
68 |                 guard let jsonDictionary = jsonDictionary  else {
69 |                     DispatchQueue.main.async {
70 |                         completion (nil, .decodingError)
   |                         |- warning: capture of 'completion' with non-sendable type '(WikipediaArticlePreview?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
71 |                     }
72 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:78:21: warning: capture of 'completion' with non-sendable type '(WikipediaArticlePreview?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 |
77 |                 DispatchQueue.main.async {
78 |                     completion(articlePreview, error)
   |                     |- warning: capture of 'completion' with non-sendable type '(WikipediaArticlePreview?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
79 |                 }
80 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:78:32: warning: capture of 'articlePreview' with non-sendable type 'WikipediaArticlePreview?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 |
77 |                 DispatchQueue.main.async {
78 |                     completion(articlePreview, error)
   |                                `- warning: capture of 'articlePreview' with non-sendable type 'WikipediaArticlePreview?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
79 |                 }
80 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaArticlePreview.swift:49:14: note: class 'WikipediaArticlePreview' does not conform to the 'Sendable' protocol
 47 | }
 48 |
 49 | public class WikipediaArticlePreview: Hashable, Equatable {
    |              `- note: class 'WikipediaArticlePreview' does not conform to the 'Sendable' protocol
 50 |
 51 |     public var language: WikipediaLanguage
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:52:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 |             else {
51 |                 DispatchQueue.main.async {
52 |                     completion(.failure(.other(nil)))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
53 |                 }
54 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:64:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 |                 // (also occurs when the request was cancelled programmatically)
63 |                 DispatchQueue.main.async {
64 |                     completion(.failure(error!))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
65 |                 }
66 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:71:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 |             guard let jsonDictionary = jsonDictionary  else {
70 |                 DispatchQueue.main.async {
71 |                     completion(.failure(.decodingError))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
72 |                 }
73 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:78:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 |             if let featured = WikipediaFeatured(jsonDictionary: jsonDictionary, language: language) {
77 |                 DispatchQueue.main.async {
78 |                     completion(.success(featured))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
79 |                 }
80 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:78:41: warning: capture of 'featured' with non-sendable type 'WikipediaFeatured' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 |             if let featured = WikipediaFeatured(jsonDictionary: jsonDictionary, language: language) {
77 |                 DispatchQueue.main.async {
78 |                     completion(.success(featured))
   |                                         `- warning: capture of 'featured' with non-sendable type 'WikipediaFeatured' in a `@Sendable` closure; this is an error in the Swift 6 language mode
79 |                 }
80 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaFeatured.swift:32:15: note: consider making struct 'WikipediaFeatured' conform to the 'Sendable' protocol
30 | import Foundation
31 |
32 | public struct WikipediaFeatured {
   |               `- note: consider making struct 'WikipediaFeatured' conform to the 'Sendable' protocol
33 |     public let date: Date
34 |     public let language: WikipediaLanguage
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:82:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 |             } else {
81 |                 DispatchQueue.main.async {
82 |                     completion(.failure(.noResults))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaFeatured, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 |                 }
84 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:46:21: warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 44 |                   firstURL.path != "" else {
 45 |                 DispatchQueue.main.async {
 46 |                     completion(nil, .other(nil))
    |                     |- warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 47 |                 }
 48 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:61:21: warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 59 |             return self.requestSizedImageMetadata(language: language, ids: imageIDs, width: width) { imageMetadata, error in
 60 |                 DispatchQueue.main.async {
 61 |                     completion(imageMetadata, error)
    |                     |- warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 62 |                 }
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:61:32: warning: capture of 'imageMetadata' with non-sendable type '[WikipediaImage]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 59 |             return self.requestSizedImageMetadata(language: language, ids: imageIDs, width: width) { imageMetadata, error in
 60 |                 DispatchQueue.main.async {
 61 |                     completion(imageMetadata, error)
    |                                `- warning: capture of 'imageMetadata' with non-sendable type '[WikipediaImage]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 62 |                 }
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaImage.swift:32:14: note: class 'WikipediaImage' does not conform to the 'Sendable' protocol
 30 | import Foundation
 31 |
 32 | public class WikipediaImage {
    |              `- note: class 'WikipediaImage' does not conform to the 'Sendable' protocol
 33 |
 34 |     public let language: WikipediaLanguage
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:100:21: warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 98 |             else {
 99 |                 DispatchQueue.main.async {
100 |                     completion(nil, .other(nil))
    |                     |- warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
101 |                 }
102 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:109:21: warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 |             guard error == nil else {
108 |                 DispatchQueue.main.async {
109 |                     completion (nil, error)
    |                     |- warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
110 |                 }
111 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:119:21: warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
117 |                 else {
118 |                 DispatchQueue.main.async {
119 |                     completion (nil, .decodingError)
    |                     |- warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
120 |                 }
121 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:131:17: warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
129 |             }
130 |             DispatchQueue.main.async {
131 |                 completion(images, error)
    |                 |- warning: capture of 'completion' with non-sendable type '([WikipediaImage]?, WikipediaError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
132 |             }
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:131:28: warning: capture of 'images' with non-sendable type '[WikipediaImage]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
129 |             }
130 |             DispatchQueue.main.async {
131 |                 completion(images, error)
    |                            `- warning: capture of 'images' with non-sendable type '[WikipediaImage]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 |             }
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaImage.swift:32:14: note: class 'WikipediaImage' does not conform to the 'Sendable' protocol
 30 | import Foundation
 31 |
 32 | public class WikipediaImage {
    |              `- note: class 'WikipediaImage' does not conform to the 'Sendable' protocol
 33 |
 34 |     public let language: WikipediaLanguage
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:131:28: warning: reference to captured var 'images' in concurrently-executing code; this is an error in the Swift 6 language mode
129 |             }
130 |             DispatchQueue.main.async {
131 |                 completion(images, error)
    |                            `- warning: reference to captured var 'images' in concurrently-executing code; this is an error in the Swift 6 language mode
132 |             }
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:37:23: warning: static property 'appAuthorEmailForAPI' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 35 | public class WikipediaNetworking {
 36 |
 37 |     public static var appAuthorEmailForAPI = ""
    |                       |- warning: static property 'appAuthorEmailForAPI' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'appAuthorEmailForAPI' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'appAuthorEmailForAPI' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |
 39 |     public static let shared: WikipediaNetworking = {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:51:25: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
49 |                 else {
50 |                     DispatchQueue.main.async {
51 |                         completion(nil, .other(nil))
   |                         |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
52 |                     }
53 |                     return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:78:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
76 |
77 |                 DispatchQueue.main.async {
78 |                     completion(articlePreview, error)
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
79 |                 }
80 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:78:32: warning: sending 'articlePreview' risks causing data races; this is an error in the Swift 6 language mode
76 |
77 |                 DispatchQueue.main.async {
78 |                     completion(articlePreview, error)
   |                                |- warning: sending 'articlePreview' risks causing data races; this is an error in the Swift 6 language mode
   |                                `- note: task-isolated 'articlePreview' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
79 |                 }
80 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:70:25: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
68 |                 guard let jsonDictionary = jsonDictionary  else {
69 |                     DispatchQueue.main.async {
70 |                         completion (nil, .decodingError)
   |                         |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
71 |                     }
72 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:63:25: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
61 |                     // (also occurs when the request was cancelled programmatically)
62 |                     DispatchQueue.main.async {
63 |                         completion (nil, error)
   |                         |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
64 |                     }
65 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:52:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
50 |             else {
51 |                 DispatchQueue.main.async {
52 |                     completion(.failure(.other(nil)))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
53 |                 }
54 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:78:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
76 |             if let featured = WikipediaFeatured(jsonDictionary: jsonDictionary, language: language) {
77 |                 DispatchQueue.main.async {
78 |                     completion(.success(featured))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
79 |                 }
80 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:78:41: warning: sending 'featured' risks causing data races; this is an error in the Swift 6 language mode
76 |             if let featured = WikipediaFeatured(jsonDictionary: jsonDictionary, language: language) {
77 |                 DispatchQueue.main.async {
78 |                     completion(.success(featured))
   |                                         |- warning: sending 'featured' risks causing data races; this is an error in the Swift 6 language mode
   |                                         `- note: task-isolated 'featured' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
79 |                 }
80 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:82:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
80 |             } else {
81 |                 DispatchQueue.main.async {
82 |                     completion(.failure(.noResults))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
83 |                 }
84 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:71:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
69 |             guard let jsonDictionary = jsonDictionary  else {
70 |                 DispatchQueue.main.async {
71 |                     completion(.failure(.decodingError))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
72 |                 }
73 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Featured.swift:64:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
62 |                 // (also occurs when the request was cancelled programmatically)
63 |                 DispatchQueue.main.async {
64 |                     completion(.failure(error!))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
65 |                 }
66 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:100:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
 98 |             else {
 99 |                 DispatchQueue.main.async {
100 |                     completion(nil, .other(nil))
    |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
101 |                 }
102 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:46:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
 44 |                   firstURL.path != "" else {
 45 |                 DispatchQueue.main.async {
 46 |                     completion(nil, .other(nil))
    |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 47 |                 }
 48 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:61:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
 59 |             return self.requestSizedImageMetadata(language: language, ids: imageIDs, width: width) { imageMetadata, error in
 60 |                 DispatchQueue.main.async {
 61 |                     completion(imageMetadata, error)
    |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 62 |                 }
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:61:32: warning: sending 'imageMetadata' risks causing data races; this is an error in the Swift 6 language mode
 59 |             return self.requestSizedImageMetadata(language: language, ids: imageIDs, width: width) { imageMetadata, error in
 60 |                 DispatchQueue.main.async {
 61 |                     completion(imageMetadata, error)
    |                                |- warning: sending 'imageMetadata' risks causing data races; this is an error in the Swift 6 language mode
    |                                `- note: task-isolated 'imageMetadata' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 62 |                 }
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:131:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
129 |             }
130 |             DispatchQueue.main.async {
131 |                 completion(images, error)
    |                 |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
132 |             }
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:131:28: warning: sending 'images' risks causing data races; this is an error in the Swift 6 language mode
129 |             }
130 |             DispatchQueue.main.async {
131 |                 completion(images, error)
    |                            |- warning: sending 'images' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: task-isolated 'images' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
132 |             }
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:119:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
117 |                 else {
118 |                 DispatchQueue.main.async {
119 |                     completion (nil, .decodingError)
    |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
120 |                 }
121 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:109:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
107 |             guard error == nil else {
108 |                 DispatchQueue.main.async {
109 |                     completion (nil, error)
    |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
110 |                 }
111 |                 return
[29/31] Compiling WikipediaKit String+Wikipedia.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:47:17: warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 |         if let cachedArticle = self.articleCache.get(language: language, title: title) {
46 |             DispatchQueue.main.async {
47 |                 completion(.success(cachedArticle))
   |                 |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
48 |             }
49 |             return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:47:37: warning: capture of 'cachedArticle' with non-sendable type 'WikipediaArticle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 |         if let cachedArticle = self.articleCache.get(language: language, title: title) {
46 |             DispatchQueue.main.async {
47 |                 completion(.success(cachedArticle))
   |                                     `- warning: capture of 'cachedArticle' with non-sendable type 'WikipediaArticle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
48 |             }
49 |             return nil
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaArticle.swift:32:14: note: class 'WikipediaArticle' does not conform to the 'Sendable' protocol
 30 | import Foundation
 31 |
 32 | public class WikipediaArticle {
    |              `- note: class 'WikipediaArticle' does not conform to the 'Sendable' protocol
 33 |
 34 |     public var language: WikipediaLanguage
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:59:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 |             else {
58 |                 DispatchQueue.main.async {
59 |                     completion(.failure(.other(nil)))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
60 |                 }
61 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:39:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WikipediaNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
 33 | #endif
 34 |
 35 | public class WikipediaNetworking {
    |              `- note: class 'WikipediaNetworking' does not conform to the 'Sendable' protocol
 36 |
 37 |     public static var appAuthorEmailForAPI = ""
 38 |
 39 |     public static let shared: WikipediaNetworking = {
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WikipediaNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |         return WikipediaNetworking()
 41 |     }()
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:70:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
68 |             guard error == nil else {
69 |                 DispatchQueue.main.async {
70 |                     completion (.failure(error!))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
71 |                 }
72 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:77:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 |             guard let jsonDictionary = jsonDictionary  else {
76 |                 DispatchQueue.main.async {
77 |                     completion (.failure(.decodingError))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
78 |                 }
79 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:85:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
83 |                 self.articleCache.add(article)
84 |                 DispatchQueue.main.async {
85 |                     completion(.success(article))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
86 |                 }
87 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:85:41: warning: capture of 'article' with non-sendable type 'WikipediaArticle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
83 |                 self.articleCache.add(article)
84 |                 DispatchQueue.main.async {
85 |                     completion(.success(article))
   |                                         `- warning: capture of 'article' with non-sendable type 'WikipediaArticle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
86 |                 }
87 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaArticle.swift:32:14: note: class 'WikipediaArticle' does not conform to the 'Sendable' protocol
 30 | import Foundation
 31 |
 32 | public class WikipediaArticle {
    |              `- note: class 'WikipediaArticle' does not conform to the 'Sendable' protocol
 33 |
 34 |     public var language: WikipediaLanguage
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:89:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
87 |             } else {
88 |                 DispatchQueue.main.async {
89 |                     completion(.failure(.decodingError))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
90 |                 }
91 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:37:23: warning: static property 'appAuthorEmailForAPI' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 35 | public class WikipediaNetworking {
 36 |
 37 |     public static var appAuthorEmailForAPI = ""
    |                       |- warning: static property 'appAuthorEmailForAPI' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'appAuthorEmailForAPI' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'appAuthorEmailForAPI' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |
 39 |     public static let shared: WikipediaNetworking = {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:47:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
45 |         if let cachedArticle = self.articleCache.get(language: language, title: title) {
46 |             DispatchQueue.main.async {
47 |                 completion(.success(cachedArticle))
   |                 |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                 `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
48 |             }
49 |             return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:47:37: warning: sending 'cachedArticle' risks causing data races; this is an error in the Swift 6 language mode
45 |         if let cachedArticle = self.articleCache.get(language: language, title: title) {
46 |             DispatchQueue.main.async {
47 |                 completion(.success(cachedArticle))
   |                                     |- warning: sending 'cachedArticle' risks causing data races; this is an error in the Swift 6 language mode
   |                                     `- note: task-isolated 'cachedArticle' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
48 |             }
49 |             return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:59:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
57 |             else {
58 |                 DispatchQueue.main.async {
59 |                     completion(.failure(.other(nil)))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
60 |                 }
61 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:85:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
83 |                 self.articleCache.add(article)
84 |                 DispatchQueue.main.async {
85 |                     completion(.success(article))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
86 |                 }
87 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:85:41: warning: sending 'article' risks causing data races; this is an error in the Swift 6 language mode
83 |                 self.articleCache.add(article)
84 |                 DispatchQueue.main.async {
85 |                     completion(.success(article))
   |                                         |- warning: sending 'article' risks causing data races; this is an error in the Swift 6 language mode
   |                                         `- note: task-isolated 'article' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
86 |                 }
87 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:89:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
87 |             } else {
88 |                 DispatchQueue.main.async {
89 |                     completion(.failure(.decodingError))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
90 |                 }
91 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:77:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
75 |             guard let jsonDictionary = jsonDictionary  else {
76 |                 DispatchQueue.main.async {
77 |                     completion (.failure(.decodingError))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
78 |                 }
79 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:70:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
68 |             guard error == nil else {
69 |                 DispatchQueue.main.async {
70 |                     completion (.failure(error!))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
71 |                 }
72 |                 return
[30/31] Compiling WikipediaKit URL+Wikipedia.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:47:17: warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 |         if let cachedArticle = self.articleCache.get(language: language, title: title) {
46 |             DispatchQueue.main.async {
47 |                 completion(.success(cachedArticle))
   |                 |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
48 |             }
49 |             return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:47:37: warning: capture of 'cachedArticle' with non-sendable type 'WikipediaArticle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 |         if let cachedArticle = self.articleCache.get(language: language, title: title) {
46 |             DispatchQueue.main.async {
47 |                 completion(.success(cachedArticle))
   |                                     `- warning: capture of 'cachedArticle' with non-sendable type 'WikipediaArticle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
48 |             }
49 |             return nil
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaArticle.swift:32:14: note: class 'WikipediaArticle' does not conform to the 'Sendable' protocol
 30 | import Foundation
 31 |
 32 | public class WikipediaArticle {
    |              `- note: class 'WikipediaArticle' does not conform to the 'Sendable' protocol
 33 |
 34 |     public var language: WikipediaLanguage
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:59:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 |             else {
58 |                 DispatchQueue.main.async {
59 |                     completion(.failure(.other(nil)))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
60 |                 }
61 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:39:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WikipediaNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
 33 | #endif
 34 |
 35 | public class WikipediaNetworking {
    |              `- note: class 'WikipediaNetworking' does not conform to the 'Sendable' protocol
 36 |
 37 |     public static var appAuthorEmailForAPI = ""
 38 |
 39 |     public static let shared: WikipediaNetworking = {
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WikipediaNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |         return WikipediaNetworking()
 41 |     }()
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:70:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
68 |             guard error == nil else {
69 |                 DispatchQueue.main.async {
70 |                     completion (.failure(error!))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
71 |                 }
72 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:77:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 |             guard let jsonDictionary = jsonDictionary  else {
76 |                 DispatchQueue.main.async {
77 |                     completion (.failure(.decodingError))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
78 |                 }
79 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:85:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
83 |                 self.articleCache.add(article)
84 |                 DispatchQueue.main.async {
85 |                     completion(.success(article))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
86 |                 }
87 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:85:41: warning: capture of 'article' with non-sendable type 'WikipediaArticle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
83 |                 self.articleCache.add(article)
84 |                 DispatchQueue.main.async {
85 |                     completion(.success(article))
   |                                         `- warning: capture of 'article' with non-sendable type 'WikipediaArticle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
86 |                 }
87 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaArticle.swift:32:14: note: class 'WikipediaArticle' does not conform to the 'Sendable' protocol
 30 | import Foundation
 31 |
 32 | public class WikipediaArticle {
    |              `- note: class 'WikipediaArticle' does not conform to the 'Sendable' protocol
 33 |
 34 |     public var language: WikipediaLanguage
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:89:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
87 |             } else {
88 |                 DispatchQueue.main.async {
89 |                     completion(.failure(.decodingError))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
90 |                 }
91 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:37:23: warning: static property 'appAuthorEmailForAPI' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 35 | public class WikipediaNetworking {
 36 |
 37 |     public static var appAuthorEmailForAPI = ""
    |                       |- warning: static property 'appAuthorEmailForAPI' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'appAuthorEmailForAPI' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'appAuthorEmailForAPI' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |
 39 |     public static let shared: WikipediaNetworking = {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:47:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
45 |         if let cachedArticle = self.articleCache.get(language: language, title: title) {
46 |             DispatchQueue.main.async {
47 |                 completion(.success(cachedArticle))
   |                 |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                 `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
48 |             }
49 |             return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:47:37: warning: sending 'cachedArticle' risks causing data races; this is an error in the Swift 6 language mode
45 |         if let cachedArticle = self.articleCache.get(language: language, title: title) {
46 |             DispatchQueue.main.async {
47 |                 completion(.success(cachedArticle))
   |                                     |- warning: sending 'cachedArticle' risks causing data races; this is an error in the Swift 6 language mode
   |                                     `- note: task-isolated 'cachedArticle' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
48 |             }
49 |             return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:59:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
57 |             else {
58 |                 DispatchQueue.main.async {
59 |                     completion(.failure(.other(nil)))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
60 |                 }
61 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:85:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
83 |                 self.articleCache.add(article)
84 |                 DispatchQueue.main.async {
85 |                     completion(.success(article))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
86 |                 }
87 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:85:41: warning: sending 'article' risks causing data races; this is an error in the Swift 6 language mode
83 |                 self.articleCache.add(article)
84 |                 DispatchQueue.main.async {
85 |                     completion(.success(article))
   |                                         |- warning: sending 'article' risks causing data races; this is an error in the Swift 6 language mode
   |                                         `- note: task-isolated 'article' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
86 |                 }
87 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:89:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
87 |             } else {
88 |                 DispatchQueue.main.async {
89 |                     completion(.failure(.decodingError))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
90 |                 }
91 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:77:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
75 |             guard let jsonDictionary = jsonDictionary  else {
76 |                 DispatchQueue.main.async {
77 |                     completion (.failure(.decodingError))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
78 |                 }
79 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:70:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
68 |             guard error == nil else {
69 |                 DispatchQueue.main.async {
70 |                     completion (.failure(error!))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
71 |                 }
72 |                 return
[31/31] Compiling WikipediaKit Wikipedia+Article.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:47:17: warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 |         if let cachedArticle = self.articleCache.get(language: language, title: title) {
46 |             DispatchQueue.main.async {
47 |                 completion(.success(cachedArticle))
   |                 |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
48 |             }
49 |             return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:47:37: warning: capture of 'cachedArticle' with non-sendable type 'WikipediaArticle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 |         if let cachedArticle = self.articleCache.get(language: language, title: title) {
46 |             DispatchQueue.main.async {
47 |                 completion(.success(cachedArticle))
   |                                     `- warning: capture of 'cachedArticle' with non-sendable type 'WikipediaArticle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
48 |             }
49 |             return nil
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaArticle.swift:32:14: note: class 'WikipediaArticle' does not conform to the 'Sendable' protocol
 30 | import Foundation
 31 |
 32 | public class WikipediaArticle {
    |              `- note: class 'WikipediaArticle' does not conform to the 'Sendable' protocol
 33 |
 34 |     public var language: WikipediaLanguage
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:59:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 |             else {
58 |                 DispatchQueue.main.async {
59 |                     completion(.failure(.other(nil)))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
60 |                 }
61 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:39:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WikipediaNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
 33 | #endif
 34 |
 35 | public class WikipediaNetworking {
    |              `- note: class 'WikipediaNetworking' does not conform to the 'Sendable' protocol
 36 |
 37 |     public static var appAuthorEmailForAPI = ""
 38 |
 39 |     public static let shared: WikipediaNetworking = {
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WikipediaNetworking' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |         return WikipediaNetworking()
 41 |     }()
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:70:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
68 |             guard error == nil else {
69 |                 DispatchQueue.main.async {
70 |                     completion (.failure(error!))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
71 |                 }
72 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:77:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 |             guard let jsonDictionary = jsonDictionary  else {
76 |                 DispatchQueue.main.async {
77 |                     completion (.failure(.decodingError))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
78 |                 }
79 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:85:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
83 |                 self.articleCache.add(article)
84 |                 DispatchQueue.main.async {
85 |                     completion(.success(article))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
86 |                 }
87 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:85:41: warning: capture of 'article' with non-sendable type 'WikipediaArticle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
83 |                 self.articleCache.add(article)
84 |                 DispatchQueue.main.async {
85 |                     completion(.success(article))
   |                                         `- warning: capture of 'article' with non-sendable type 'WikipediaArticle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
86 |                 }
87 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaArticle.swift:32:14: note: class 'WikipediaArticle' does not conform to the 'Sendable' protocol
 30 | import Foundation
 31 |
 32 | public class WikipediaArticle {
    |              `- note: class 'WikipediaArticle' does not conform to the 'Sendable' protocol
 33 |
 34 |     public var language: WikipediaLanguage
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:89:21: warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
87 |             } else {
88 |                 DispatchQueue.main.async {
89 |                     completion(.failure(.decodingError))
   |                     |- warning: capture of 'completion' with non-sendable type '(Result<WikipediaArticle, WikipediaError>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
90 |                 }
91 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WikipediaNetworking.swift:37:23: warning: static property 'appAuthorEmailForAPI' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 35 | public class WikipediaNetworking {
 36 |
 37 |     public static var appAuthorEmailForAPI = ""
    |                       |- warning: static property 'appAuthorEmailForAPI' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'appAuthorEmailForAPI' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'appAuthorEmailForAPI' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |
 39 |     public static let shared: WikipediaNetworking = {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:47:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
45 |         if let cachedArticle = self.articleCache.get(language: language, title: title) {
46 |             DispatchQueue.main.async {
47 |                 completion(.success(cachedArticle))
   |                 |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                 `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
48 |             }
49 |             return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:47:37: warning: sending 'cachedArticle' risks causing data races; this is an error in the Swift 6 language mode
45 |         if let cachedArticle = self.articleCache.get(language: language, title: title) {
46 |             DispatchQueue.main.async {
47 |                 completion(.success(cachedArticle))
   |                                     |- warning: sending 'cachedArticle' risks causing data races; this is an error in the Swift 6 language mode
   |                                     `- note: task-isolated 'cachedArticle' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
48 |             }
49 |             return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:59:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
57 |             else {
58 |                 DispatchQueue.main.async {
59 |                     completion(.failure(.other(nil)))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
60 |                 }
61 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:85:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
83 |                 self.articleCache.add(article)
84 |                 DispatchQueue.main.async {
85 |                     completion(.success(article))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
86 |                 }
87 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:85:41: warning: sending 'article' risks causing data races; this is an error in the Swift 6 language mode
83 |                 self.articleCache.add(article)
84 |                 DispatchQueue.main.async {
85 |                     completion(.success(article))
   |                                         |- warning: sending 'article' risks causing data races; this is an error in the Swift 6 language mode
   |                                         `- note: task-isolated 'article' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
86 |                 }
87 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:89:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
87 |             } else {
88 |                 DispatchQueue.main.async {
89 |                     completion(.failure(.decodingError))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
90 |                 }
91 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:77:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
75 |             guard let jsonDictionary = jsonDictionary  else {
76 |                 DispatchQueue.main.async {
77 |                     completion (.failure(.decodingError))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
78 |                 }
79 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Wikipedia+Article.swift:70:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
68 |             guard error == nil else {
69 |                 DispatchQueue.main.async {
70 |                     completion (.failure(error!))
   |                     |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
71 |                 }
72 |                 return
Build complete! (25.21s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "WikipediaKit",
  "name" : "WikipediaKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "WikipediaKit",
      "targets" : [
        "WikipediaKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WikipediaKitTests",
      "module_type" : "SwiftTarget",
      "name" : "WikipediaKitTests",
      "path" : "Tests/WikipediaKitTests",
      "sources" : [
        "WikipediaKitTests.swift"
      ],
      "target_dependencies" : [
        "WikipediaKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WikipediaKit",
      "module_type" : "SwiftTarget",
      "name" : "WikipediaKit",
      "path" : "Sources",
      "product_memberships" : [
        "WikipediaKit"
      ],
      "sources" : [
        "String+Wikipedia.swift",
        "URL+Wikipedia.swift",
        "Wikipedia+Article.swift",
        "Wikipedia+ArticleSummary.swift",
        "Wikipedia+Featured.swift",
        "Wikipedia+ImageMeta.swift",
        "Wikipedia+Languages.swift",
        "Wikipedia+NearbySearch.swift",
        "Wikipedia+RandomArticles.swift",
        "Wikipedia+Search.swift",
        "Wikipedia.swift",
        "WikipediaArticle.swift",
        "WikipediaArticleCache.swift",
        "WikipediaArticleLanguageLink.swift",
        "WikipediaArticlePreview.swift",
        "WikipediaError.swift",
        "WikipediaFeatured.swift",
        "WikipediaImage.swift",
        "WikipediaLanguage.swift",
        "WikipediaNamespace.swift",
        "WikipediaNetworking.swift",
        "WikipediaNetworkingActivityDelegate.swift",
        "WikipediaRandomArticlesBuffer.swift",
        "WikipediaSearchMethod.swift",
        "WikipediaSearchResults.swift",
        "WikipediaSearchResultsCache.swift",
        "WikipediaTOCItem.swift",
        "WikipediaTextFormattingDelegate.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.