Build Information
Successful build of CrowdinSDK, reference 1.16.0 (b6a1ed), with Swift 6.1 for macOS (SPM) on 30 Apr 2026 16:57:03 UTC.
Swift 6 data race errors: 32
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Dictionary with localization keys for different states.
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Utils/ObjectAssociation.swift:10:13: note: generic class 'ObjectAssociation' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | final class ObjectAssociation<T: Any> {
| `- note: generic class 'ObjectAssociation' does not conform to the 'Sendable' protocol
11 | private let policy: objc_AssociationPolicy
12 |
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/Extensions/CrowdinSDKConfig+CrowdinProvider.swift:12:24: warning: static property 'crowdinProviderConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | extension CrowdinSDKConfig {
11 | // Crowdin provider configuration
12 | private static var crowdinProviderConfig: CrowdinProviderConfig? = nil
| |- warning: static property 'crowdinProviderConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'crowdinProviderConfig' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'crowdinProviderConfig' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | // Realtime updates
14 | var crowdinProviderConfig: CrowdinProviderConfig? {
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/LocalizationDownloader/CrowdinLocalizationDownloader.swift:121:13: warning: capture of 'completion' with non-sendable type 'CrowdinDownloaderCompletion' (aka '(Optional<Dictionary<String, String>>, Optional<Dictionary<AnyHashable, Any>>, Optional<Array<any Error>>) -> ()') in a '@Sendable' closure
119 |
120 | let completionBlock = BlockOperation {
121 | completion(context.strings, context.plurals, context.errors)
| |- warning: capture of 'completion' with non-sendable type 'CrowdinDownloaderCompletion' (aka '(Optional<Dictionary<String, String>>, Optional<Dictionary<AnyHashable, Any>>, Optional<Array<any Error>>) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
122 | }
123 |
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/LocalizationDownloader/CrowdinLocalizationDownloader.swift:121:24: warning: capture of 'context' with non-sendable type 'CrowdinLocalizationDownloader.DownloadContext' in a '@Sendable' closure
12 | fileprivate let manifestManager: ManifestManager
13 |
14 | class DownloadContext {
| `- note: class 'DownloadContext' does not conform to the 'Sendable' protocol
15 | private var _strings: [String: String]? = nil
16 | private var _plurals: [AnyHashable: Any]? = nil
:
119 |
120 | let completionBlock = BlockOperation {
121 | completion(context.strings, context.plurals, context.errors)
| `- warning: capture of 'context' with non-sendable type 'CrowdinLocalizationDownloader.DownloadContext' in a '@Sendable' closure
122 | }
123 |
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/ScreenshotFeature/ScreenshotUploader.swift:87:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
85 | downloadMappingIfNeeded(completion: { error in
86 | DispatchQueue.main.async {
87 | completion(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
88 | }
89 | })
[162/193] Compiling CrowdinSDK FileEtagStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/ScreenshotFeature/ScreenshotFeature.swift:20:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | class ScreenshotFeature {
19 | /// Shared instance of the ScreenshotFeature.
20 | static var shared: ScreenshotFeature?
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// The uploader responsible for sending screenshots to Crowdin.
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/ScreenshotFeature/ScreenshotFeature.swift:52:41: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 | /// - success: A closure to be called when the screenshot is successfully captured and uploaded.
41 | /// - errorHandler: A closure to be called when an error occurs during the process. The closure receives an optional Error parameter.
42 | func captureScreenshot(name: String, success: @escaping (() -> Void), errorHandler: @escaping ((Error?) -> Void)) {
| `- note: add '@MainActor' to make instance method 'captureScreenshot(name:success:errorHandler:)' part of global actor 'MainActor'
43 | guard name.validateScreenshotName() else {
44 | errorHandler(NSError(domain: String.screenshotValidationError(), code: defaultCrowdinErrorCode, userInfo: nil))
:
50 | }
51 | guard let vc = ScreenshotFeature.topViewController else { return }
52 | self.captureScreenshot(view: vc.view, name: name, success: success, errorHandler: errorHandler)
| `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
53 | }
54 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
77 | */
78 | @property (strong) IBOutlet NSView *view;
| `- note: property declared here
79 |
80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/ScreenshotFeature/ScreenshotFeature.swift:62:37: warning: main actor-isolated property 'screenshot' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | /// - success: A closure to be called when the screenshot is successfully captured and uploaded.
60 | /// - errorHandler: A closure to be called when an error occurs during the process. The closure receives an optional Error parameter.
61 | func captureScreenshot(view: CWView, name: String, success: @escaping (() -> Void), errorHandler: @escaping ((Error?) -> Void)) {
| `- note: add '@MainActor' to make instance method 'captureScreenshot(view:name:success:errorHandler:)' part of global actor 'MainActor'
62 | guard let screenshot = view.screenshot else {
| `- warning: main actor-isolated property 'screenshot' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
63 | errorHandler(NSError(domain: "Unable to create screenshot.", code: defaultCrowdinErrorCode, userInfo: nil))
64 | return
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/PlatformsSupport/CrowdinSDK+PlatformsSupport.swift:27:9: note: property declared here
25 | var alpha: CGFloat { alphaValue }
26 |
27 | var screenshot: CWImage? { CWImage(data: dataWithPDF(inside: bounds)) }
| `- note: property declared here
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/ScreenshotFeature/ScreenshotFeature.swift:87:43: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
75 | }
76 |
77 | func updateOrUploadScreenshot(name: String, success: @escaping ((ScreenshotUploadResult) -> Void), errorHandler: @escaping ((Error?) -> Void)) {
| `- note: add '@MainActor' to make instance method 'updateOrUploadScreenshot(name:success:errorHandler:)' part of global actor 'MainActor'
78 | guard name.validateScreenshotName() else {
79 | errorHandler(NSError(domain: String.screenshotValidationError(), code: defaultCrowdinErrorCode, userInfo: nil))
:
85 | }
86 | guard let vc = ScreenshotFeature.topViewController else { return }
87 | updateOrUploadScreenshot(view: vc.view, name: name, success: success, errorHandler: errorHandler)
| `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
88 | }
89 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
77 | */
78 | @property (strong) IBOutlet NSView *view;
| `- note: property declared here
79 |
80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/ScreenshotFeature/ScreenshotFeature.swift:97:37: warning: main actor-isolated property 'screenshot' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
94 | /// - success: A closure to be called when the screenshot is successfully updated or uploaded.
95 | /// - errorHandler: A closure to be called when an error occurs during the process. The closure receives an optional Error parameter.
96 | func updateOrUploadScreenshot(view: CWView, name: String, success: @escaping ((ScreenshotUploadResult) -> Void), errorHandler: @escaping ((Error?) -> Void)) {
| `- note: add '@MainActor' to make instance method 'updateOrUploadScreenshot(view:name:success:errorHandler:)' part of global actor 'MainActor'
97 | guard let screenshot = view.screenshot else {
| `- warning: main actor-isolated property 'screenshot' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
98 | errorHandler(NSError(domain: "Unable to create screenshot from view.", code: defaultCrowdinErrorCode, userInfo: nil))
99 | return
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/PlatformsSupport/CrowdinSDK+PlatformsSupport.swift:27:9: note: property declared here
25 | var alpha: CGFloat { alphaValue }
26 |
27 | var screenshot: CWImage? { CWImage(data: dataWithPDF(inside: bounds)) }
| `- note: property declared here
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/ScreenshotFeature/ScreenshotFeature.swift:145:48: warning: main actor-isolated property 'contentViewController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
143 | class var topViewController: CWViewController? {
144 | #if os(OSX)
145 | return NSApplication.shared.keyWindow?.contentViewController
| `- warning: main actor-isolated property 'contentViewController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
146 | #elseif os(iOS) || os(tvOS)
147 | guard let window = UIApplication.shared.cw_KeyWindow, let topViewController = window.topViewController() else { return nil }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:651:48: note: property declared here
649 | /*! The main content view controller for the window. This provides the contentView of the window. Assigning this value will remove the existing contentView and will make the contentViewController.view the main contentView for the window. The default value is nil. The contentViewController only controls the contentView, and not the title of the window. The window title can easily be bound to the contentViewController with the following: [window bind:NSTitleBinding toObject:contentViewController withKeyPath:@"title" options:nil]. Setting the contentViewController will cause the window to resize based on the current size of the contentViewController. Autolayout should be used to restrict the size of the window. The value of the contentViewController is encoded in the NIB. Directly assigning a contentView will clear out the contentViewController.
650 | */
651 | @property (nullable, strong) NSViewController *contentViewController API_AVAILABLE(macos(10.10));
| `- note: property declared here
652 |
653 | /*! Convenience method for creating an autoreleased titled window with the given contentViewController. A basic NSWindow with the following attributes is made: titled, closable, resizable, miniaturizable. The window's title is automatically bound to the contentViewController's title. The size of the window can easily be controlled by utilizing autolayout and applying size constraints to the view (or its subviews). The window has isReleasedWhenClosed set to NO, and it must be explicitly retained to keep the window instance alive. To have it automatically be freed when it is closed, do the following: [window retain] and [window setReleasedWhenClosed:YES].
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/ScreenshotFeature/ScreenshotFeature.swift:145:37: warning: main actor-isolated property 'keyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
143 | class var topViewController: CWViewController? {
144 | #if os(OSX)
145 | return NSApplication.shared.keyWindow?.contentViewController
| `- warning: main actor-isolated property 'keyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
146 | #elseif os(iOS) || os(tvOS)
147 | guard let window = UIApplication.shared.cw_KeyWindow, let topViewController = window.topViewController() else { return nil }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:202:48: note: property declared here
200 |
201 | @property (nullable, readonly, weak) NSWindow *mainWindow;
202 | @property (nullable, readonly, weak) NSWindow *keyWindow;
| `- note: property declared here
203 | @property (getter=isActive, readonly) BOOL active;
204 | @property (getter=isHidden, readonly) BOOL hidden;
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/ScreenshotFeature/ScreenshotFeature.swift:145:30: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
143 | class var topViewController: CWViewController? {
144 | #if os(OSX)
145 | return NSApplication.shared.keyWindow?.contentViewController
| `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
146 | #elseif os(iOS) || os(tvOS)
147 | guard let window = UIApplication.shared.cw_KeyWindow, let topViewController = window.topViewController() else { return nil }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:193:61: note: class property declared here
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
| `- note: class property declared here
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
195 |
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/ScreenshotFeature/ScreenshotInformationCollector.swift:32:68: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 | static let scale = CWScreen.scale()
29 |
30 | class func captureControlsInformation() -> [ControlInformation] {
| `- note: add '@MainActor' to make class method 'captureControlsInformation()' part of global actor 'MainActor'
31 | guard let topViewController = ScreenshotFeature.topViewController else { return [] }
32 | return self.getControlsInformation(from: topViewController.view, rootView: topViewController.view)
| `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
33 | }
34 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
77 | */
78 | @property (strong) IBOutlet NSView *view;
| `- note: property declared here
79 |
80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/ScreenshotFeature/ScreenshotInformationCollector.swift:32:102: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 | static let scale = CWScreen.scale()
29 |
30 | class func captureControlsInformation() -> [ControlInformation] {
| `- note: add '@MainActor' to make class method 'captureControlsInformation()' part of global actor 'MainActor'
31 | guard let topViewController = ScreenshotFeature.topViewController else { return [] }
32 | return self.getControlsInformation(from: topViewController.view, rootView: topViewController.view)
| `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
33 | }
34 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
77 | */
78 | @property (strong) IBOutlet NSView *view;
| `- note: property declared here
79 |
80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/ScreenshotFeature/ScreenshotInformationCollector.swift:37:8: warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
33 | }
34 |
35 | class func getControlsInformation(from view: CWView, rootView: CWView) -> [ControlInformation] {
| `- note: add '@MainActor' to make class method 'getControlsInformation(from:rootView:)' part of global actor 'MainActor'
36 | var description = [ControlInformation]()
37 | view.subviews.forEach { subview in
| `- warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
38 | guard !subview.isHidden && subview.alpha != 0.0 else { return }
39 | if let label = subview as? CWLabel, let localizationKey = label.localizationKey {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:88:46: note: property declared here
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
| `- note: property declared here
89 | - (BOOL)isDescendantOf:(NSView *)view;
90 | - (nullable NSView *)ancestorSharedWithView:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/ScreenshotFeature/ScreenshotInformationCollector.swift:38:28: warning: main actor-isolated property 'isHidden' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
36 | var description = [ControlInformation]()
37 | view.subviews.forEach { subview in
38 | guard !subview.isHidden && subview.alpha != 0.0 else { return }
| `- warning: main actor-isolated property 'isHidden' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
39 | if let label = subview as? CWLabel, let localizationKey = label.localizationKey {
40 | if let frame = label.superview?.convert(label.frame, to: rootView), rootView.bounds.contains(frame), frame.isValid { // Check wheather control frame is visible on screen.
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:92:34: note: property declared here
90 | - (nullable NSView *)ancestorSharedWithView:(NSView *)view;
91 | @property (nullable, readonly, assign) NSView *opaqueAncestor;
92 | @property (getter=isHidden) BOOL hidden;
| `- note: property declared here
93 | @property (getter=isHiddenOrHasHiddenAncestor, readonly) BOOL hiddenOrHasHiddenAncestor;
94 |
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/ScreenshotFeature/ScreenshotInformationCollector.swift:38:48: warning: main actor-isolated property 'alpha' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
36 | var description = [ControlInformation]()
37 | view.subviews.forEach { subview in
38 | guard !subview.isHidden && subview.alpha != 0.0 else { return }
| `- warning: main actor-isolated property 'alpha' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
39 | if let label = subview as? CWLabel, let localizationKey = label.localizationKey {
40 | if let frame = label.superview?.convert(label.frame, to: rootView), rootView.bounds.contains(frame), frame.isValid { // Check wheather control frame is visible on screen.
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/PlatformsSupport/CrowdinSDK+PlatformsSupport.swift:25:9: note: property declared here
23 |
24 | extension CWView {
25 | var alpha: CGFloat { alphaValue }
| `- note: property declared here
26 |
27 | var screenshot: CWImage? { CWImage(data: dataWithPDF(inside: bounds)) }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/ScreenshotFeature/ScreenshotInformationCollector.swift:39:68: warning: main actor-isolated property 'localizationKey' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
37 | view.subviews.forEach { subview in
38 | guard !subview.isHidden && subview.alpha != 0.0 else { return }
39 | if let label = subview as? CWLabel, let localizationKey = label.localizationKey {
| `- warning: main actor-isolated property 'localizationKey' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 | if let frame = label.superview?.convert(label.frame, to: rootView), rootView.bounds.contains(frame), frame.isValid { // Check wheather control frame is visible on screen.
41 | #if os(OSX)
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Extensions/Label+Swizzle/Label+Swizzle.swift:16:9: note: property declared here
14 |
15 | /// Localization key.
16 | var localizationKey: String? {
| `- note: property declared here
17 | get { return CWLabel.localizationKeyAssociation[self] }
18 | set { CWLabel.localizationKeyAssociation[self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/ScreenshotFeature/ScreenshotInformationCollector.swift:40:49: warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
38 | guard !subview.isHidden && subview.alpha != 0.0 else { return }
39 | if let label = subview as? CWLabel, let localizationKey = label.localizationKey {
40 | if let frame = label.superview?.convert(label.frame, to: rootView), rootView.bounds.contains(frame), frame.isValid { // Check wheather control frame is visible on screen.
| `- warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | #if os(OSX)
42 | let x = frame.origin.x * scale
AppKit.NSView.convert:2:22: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func convert(_ rect: NSRect, to view: NSView?) -> NSRect}
| |- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/ScreenshotFeature/ScreenshotInformationCollector.swift:40:38: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
38 | guard !subview.isHidden && subview.alpha != 0.0 else { return }
39 | if let label = subview as? CWLabel, let localizationKey = label.localizationKey {
40 | if let frame = label.superview?.convert(label.frame, to: rootView), rootView.bounds.contains(frame), frame.isValid { // Check wheather control frame is visible on screen.
| `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
41 | #if os(OSX)
42 | let x = frame.origin.x * scale
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
| `- note: property declared here
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/ScreenshotFeature/ScreenshotInformationCollector.swift:40:63: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
38 | guard !subview.isHidden && subview.alpha != 0.0 else { return }
39 | if let label = subview as? CWLabel, let localizationKey = label.localizationKey {
40 | if let frame = label.superview?.convert(label.frame, to: rootView), rootView.bounds.contains(frame), frame.isValid { // Check wheather control frame is visible on screen.
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
41 | #if os(OSX)
42 | let x = frame.origin.x * scale
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: property declared here
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
| `- note: property declared here
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/ScreenshotFeature/ScreenshotInformationCollector.swift:40:94: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
38 | guard !subview.isHidden && subview.alpha != 0.0 else { return }
39 | if let label = subview as? CWLabel, let localizationKey = label.localizationKey {
40 | if let frame = label.superview?.convert(label.frame, to: rootView), rootView.bounds.contains(frame), frame.isValid { // Check wheather control frame is visible on screen.
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
41 | #if os(OSX)
42 | let x = frame.origin.x * scale
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/ScreenshotFeature/ScreenshotInformationCollector.swift:43:39: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
41 | #if os(OSX)
42 | let x = frame.origin.x * scale
43 | let y = (rootView.bounds.size.height - frame.origin.y - frame.size.height) * scale
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
44 | let newRect = CGRect(x: x, y: y, width: frame.size.width * scale, height: frame.size.height * scale)
45 | description.append(ControlInformation(key: localizationKey, rect: newRect))
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/CrowdinRemoteLocalizationStorage.swift:68:49: warning: 'currentLocalization' is deprecated: Please use setCurrentLocalization(_:completion:) to update localization.
66 | // Only update localization if it wasn't explicitly set and if CrowdinSDK has a current localization
67 | // or if the current localization is not in the available localizations
68 | if let currentLocalization = CrowdinSDK.currentLocalization,
| `- warning: 'currentLocalization' is deprecated: Please use setCurrentLocalization(_:completion:) to update localization.
69 | self.localizations.contains(currentLocalization) {
70 | self.localization = currentLocalization
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/Extensions/CrowdinSDK+ReactNative.swift:12:24: warning: static property 'localizationProviderObjectAssociation' is not concurrency-safe because non-'Sendable' type 'ObjectAssociation<LocalizationProvider>' may have shared mutable state; this is an error in the Swift 6 language mode
10 | extension CrowdinSDK {
11 | /// Association object for storing localization keys for different states.
12 | private static let localizationProviderObjectAssociation = ObjectAssociation<LocalizationProvider>()
| |- warning: static property 'localizationProviderObjectAssociation' is not concurrency-safe because non-'Sendable' type 'ObjectAssociation<LocalizationProvider>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'localizationProviderObjectAssociation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Dictionary with localization keys for different states.
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Utils/ObjectAssociation.swift:10:13: note: generic class 'ObjectAssociation' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | final class ObjectAssociation<T: Any> {
| `- note: generic class 'ObjectAssociation' does not conform to the 'Sendable' protocol
11 | private let policy: objc_AssociationPolicy
12 |
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/Extensions/CrowdinSDKConfig+CrowdinProvider.swift:12:24: warning: static property 'crowdinProviderConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | extension CrowdinSDKConfig {
11 | // Crowdin provider configuration
12 | private static var crowdinProviderConfig: CrowdinProviderConfig? = nil
| |- warning: static property 'crowdinProviderConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'crowdinProviderConfig' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'crowdinProviderConfig' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | // Realtime updates
14 | var crowdinProviderConfig: CrowdinProviderConfig? {
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/LocalizationDownloader/CrowdinLocalizationDownloader.swift:121:13: warning: capture of 'completion' with non-sendable type 'CrowdinDownloaderCompletion' (aka '(Optional<Dictionary<String, String>>, Optional<Dictionary<AnyHashable, Any>>, Optional<Array<any Error>>) -> ()') in a '@Sendable' closure
119 |
120 | let completionBlock = BlockOperation {
121 | completion(context.strings, context.plurals, context.errors)
| |- warning: capture of 'completion' with non-sendable type 'CrowdinDownloaderCompletion' (aka '(Optional<Dictionary<String, String>>, Optional<Dictionary<AnyHashable, Any>>, Optional<Array<any Error>>) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
122 | }
123 |
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/LocalizationDownloader/CrowdinLocalizationDownloader.swift:121:24: warning: capture of 'context' with non-sendable type 'CrowdinLocalizationDownloader.DownloadContext' in a '@Sendable' closure
12 | fileprivate let manifestManager: ManifestManager
13 |
14 | class DownloadContext {
| `- note: class 'DownloadContext' does not conform to the 'Sendable' protocol
15 | private var _strings: [String: String]? = nil
16 | private var _plurals: [AnyHashable: Any]? = nil
:
119 |
120 | let completionBlock = BlockOperation {
121 | completion(context.strings, context.plurals, context.errors)
| `- warning: capture of 'context' with non-sendable type 'CrowdinLocalizationDownloader.DownloadContext' in a '@Sendable' closure
122 | }
123 |
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/ScreenshotFeature/ScreenshotUploader.swift:87:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
85 | downloadMappingIfNeeded(completion: { error in
86 | DispatchQueue.main.async {
87 | completion(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
88 | }
89 | })
[163/193] Compiling CrowdinSDK NSButton+Swizzle.swift
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Localization.swift:29:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // swiftlint:disable implicitly_unwrapped_optional
28 | /// Instance of shared @Localization class instance.
29 | static var current: Localization! = nil
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Property for detecting and storing curent localization value depending on current SDK mode.
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/LocalizationUpdateObserver.swift:40:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | class LocalizationUpdateObserver {
40 | static var shared = LocalizationUpdateObserver()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | var downloadHandlerContainer = HandlerContainer<LocalizationUpdateDownload>()
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:13: warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
92 | }
93 |
94 | class PluralsLocalizationDataSource: LocalizationDataSourceProtocol {
| `- note: class 'PluralsLocalizationDataSource' does not conform to the 'Sendable' protocol
95 | typealias Values = [AnyHashable: Any]
96 |
:
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
131 | }
132 | }
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:29: warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
131 | }
132 | }
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
| `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 | public typealias Element = (key: Key, value: Value)
3 | @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
[164/193] Compiling CrowdinSDK NSNotification.swift
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Localization.swift:29:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // swiftlint:disable implicitly_unwrapped_optional
28 | /// Instance of shared @Localization class instance.
29 | static var current: Localization! = nil
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Property for detecting and storing curent localization value depending on current SDK mode.
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/LocalizationUpdateObserver.swift:40:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | class LocalizationUpdateObserver {
40 | static var shared = LocalizationUpdateObserver()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | var downloadHandlerContainer = HandlerContainer<LocalizationUpdateDownload>()
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:13: warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
92 | }
93 |
94 | class PluralsLocalizationDataSource: LocalizationDataSourceProtocol {
| `- note: class 'PluralsLocalizationDataSource' does not conform to the 'Sendable' protocol
95 | typealias Values = [AnyHashable: Any]
96 |
:
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
131 | }
132 | }
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:29: warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
131 | }
132 | }
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
| `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 | public typealias Element = (key: Key, value: Value)
3 | @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
[165/193] Compiling CrowdinSDK String.swift
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Localization.swift:29:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // swiftlint:disable implicitly_unwrapped_optional
28 | /// Instance of shared @Localization class instance.
29 | static var current: Localization! = nil
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Property for detecting and storing curent localization value depending on current SDK mode.
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/LocalizationUpdateObserver.swift:40:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | class LocalizationUpdateObserver {
40 | static var shared = LocalizationUpdateObserver()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | var downloadHandlerContainer = HandlerContainer<LocalizationUpdateDownload>()
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:13: warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
92 | }
93 |
94 | class PluralsLocalizationDataSource: LocalizationDataSourceProtocol {
| `- note: class 'PluralsLocalizationDataSource' does not conform to the 'Sendable' protocol
95 | typealias Values = [AnyHashable: Any]
96 |
:
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
131 | }
132 | }
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:29: warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
131 | }
132 | }
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
| `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 | public typealias Element = (key: Key, value: Value)
3 | @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
[166/193] Compiling CrowdinSDK UIButton+Swizzle.swift
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Localization.swift:29:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // swiftlint:disable implicitly_unwrapped_optional
28 | /// Instance of shared @Localization class instance.
29 | static var current: Localization! = nil
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Property for detecting and storing curent localization value depending on current SDK mode.
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/LocalizationUpdateObserver.swift:40:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | class LocalizationUpdateObserver {
40 | static var shared = LocalizationUpdateObserver()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | var downloadHandlerContainer = HandlerContainer<LocalizationUpdateDownload>()
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:13: warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
92 | }
93 |
94 | class PluralsLocalizationDataSource: LocalizationDataSourceProtocol {
| `- note: class 'PluralsLocalizationDataSource' does not conform to the 'Sendable' protocol
95 | typealias Values = [AnyHashable: Any]
96 |
:
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
131 | }
132 | }
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:29: warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
131 | }
132 | }
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
| `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 | public typealias Element = (key: Key, value: Value)
3 | @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
[167/193] Compiling CrowdinSDK UIView.swift
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Localization.swift:29:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // swiftlint:disable implicitly_unwrapped_optional
28 | /// Instance of shared @Localization class instance.
29 | static var current: Localization! = nil
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Property for detecting and storing curent localization value depending on current SDK mode.
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/LocalizationUpdateObserver.swift:40:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | class LocalizationUpdateObserver {
40 | static var shared = LocalizationUpdateObserver()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | var downloadHandlerContainer = HandlerContainer<LocalizationUpdateDownload>()
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:13: warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
92 | }
93 |
94 | class PluralsLocalizationDataSource: LocalizationDataSourceProtocol {
| `- note: class 'PluralsLocalizationDataSource' does not conform to the 'Sendable' protocol
95 | typealias Values = [AnyHashable: Any]
96 |
:
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
131 | }
132 | }
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:29: warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
131 | }
132 | }
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
| `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 | public typealias Element = (key: Key, value: Value)
3 | @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
[168/193] Compiling CrowdinSDK UIViewController.swift
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Localization.swift:29:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // swiftlint:disable implicitly_unwrapped_optional
28 | /// Instance of shared @Localization class instance.
29 | static var current: Localization! = nil
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Property for detecting and storing curent localization value depending on current SDK mode.
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/LocalizationUpdateObserver.swift:40:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | class LocalizationUpdateObserver {
40 | static var shared = LocalizationUpdateObserver()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | var downloadHandlerContainer = HandlerContainer<LocalizationUpdateDownload>()
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:13: warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
92 | }
93 |
94 | class PluralsLocalizationDataSource: LocalizationDataSourceProtocol {
| `- note: class 'PluralsLocalizationDataSource' does not conform to the 'Sendable' protocol
95 | typealias Values = [AnyHashable: Any]
96 |
:
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
131 | }
132 | }
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:29: warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
131 | }
132 | }
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
| `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 | public typealias Element = (key: Key, value: Value)
3 | @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
[169/193] Compiling CrowdinSDK UIWindow.swift
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Localization.swift:29:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // swiftlint:disable implicitly_unwrapped_optional
28 | /// Instance of shared @Localization class instance.
29 | static var current: Localization! = nil
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Property for detecting and storing curent localization value depending on current SDK mode.
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/LocalizationUpdateObserver.swift:40:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | class LocalizationUpdateObserver {
40 | static var shared = LocalizationUpdateObserver()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | var downloadHandlerContainer = HandlerContainer<LocalizationUpdateDownload>()
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:13: warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
92 | }
93 |
94 | class PluralsLocalizationDataSource: LocalizationDataSourceProtocol {
| `- note: class 'PluralsLocalizationDataSource' does not conform to the 'Sendable' protocol
95 | typealias Values = [AnyHashable: Any]
96 |
:
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
131 | }
132 | }
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:29: warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
131 | }
132 | }
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
| `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 | public typealias Element = (key: Key, value: Value)
3 | @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
[170/193] Compiling CrowdinSDK UserDefaults.swift
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Localization.swift:29:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // swiftlint:disable implicitly_unwrapped_optional
28 | /// Instance of shared @Localization class instance.
29 | static var current: Localization! = nil
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Property for detecting and storing curent localization value depending on current SDK mode.
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/LocalizationUpdateObserver.swift:40:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | class LocalizationUpdateObserver {
40 | static var shared = LocalizationUpdateObserver()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | var downloadHandlerContainer = HandlerContainer<LocalizationUpdateDownload>()
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:13: warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
92 | }
93 |
94 | class PluralsLocalizationDataSource: LocalizationDataSourceProtocol {
| `- note: class 'PluralsLocalizationDataSource' does not conform to the 'Sendable' protocol
95 | typealias Values = [AnyHashable: Any]
96 |
:
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
131 | }
132 | }
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:29: warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
131 | }
132 | }
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
| `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 | public typealias Element = (key: Key, value: Value)
3 | @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
[171/193] Compiling CrowdinSDK CrowdinDownloader.swift
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Localization.swift:29:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // swiftlint:disable implicitly_unwrapped_optional
28 | /// Instance of shared @Localization class instance.
29 | static var current: Localization! = nil
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Property for detecting and storing curent localization value depending on current SDK mode.
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/LocalizationUpdateObserver.swift:40:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | class LocalizationUpdateObserver {
40 | static var shared = LocalizationUpdateObserver()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | var downloadHandlerContainer = HandlerContainer<LocalizationUpdateDownload>()
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:13: warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
92 | }
93 |
94 | class PluralsLocalizationDataSource: LocalizationDataSourceProtocol {
| `- note: class 'PluralsLocalizationDataSource' does not conform to the 'Sendable' protocol
95 | typealias Values = [AnyHashable: Any]
96 |
:
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
131 | }
132 | }
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:29: warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
131 | }
132 | }
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
| `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 | public typealias Element = (key: Key, value: Value)
3 | @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
[172/193] Compiling CrowdinSDK LocalLocalizationExtractor.swift
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Localization.swift:29:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // swiftlint:disable implicitly_unwrapped_optional
28 | /// Instance of shared @Localization class instance.
29 | static var current: Localization! = nil
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Property for detecting and storing curent localization value depending on current SDK mode.
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/LocalizationUpdateObserver.swift:40:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | class LocalizationUpdateObserver {
40 | static var shared = LocalizationUpdateObserver()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | var downloadHandlerContainer = HandlerContainer<LocalizationUpdateDownload>()
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:13: warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
92 | }
93 |
94 | class PluralsLocalizationDataSource: LocalizationDataSourceProtocol {
| `- note: class 'PluralsLocalizationDataSource' does not conform to the 'Sendable' protocol
95 | typealias Values = [AnyHashable: Any]
96 |
:
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
131 | }
132 | }
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:29: warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
131 | }
132 | }
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
| `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 | public typealias Element = (key: Key, value: Value)
3 | @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
[173/193] Compiling CrowdinSDK Localization.swift
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Localization.swift:29:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // swiftlint:disable implicitly_unwrapped_optional
28 | /// Instance of shared @Localization class instance.
29 | static var current: Localization! = nil
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Property for detecting and storing curent localization value depending on current SDK mode.
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/LocalizationUpdateObserver.swift:40:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | class LocalizationUpdateObserver {
40 | static var shared = LocalizationUpdateObserver()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | var downloadHandlerContainer = HandlerContainer<LocalizationUpdateDownload>()
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:13: warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
92 | }
93 |
94 | class PluralsLocalizationDataSource: LocalizationDataSourceProtocol {
| `- note: class 'PluralsLocalizationDataSource' does not conform to the 'Sendable' protocol
95 | typealias Values = [AnyHashable: Any]
96 |
:
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
131 | }
132 | }
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:29: warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
131 | }
132 | }
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
| `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 | public typealias Element = (key: Key, value: Value)
3 | @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
[174/193] Compiling CrowdinSDK LocalizationUpdateObserver.swift
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Localization.swift:29:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // swiftlint:disable implicitly_unwrapped_optional
28 | /// Instance of shared @Localization class instance.
29 | static var current: Localization! = nil
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Property for detecting and storing curent localization value depending on current SDK mode.
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/LocalizationUpdateObserver.swift:40:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | class LocalizationUpdateObserver {
40 | static var shared = LocalizationUpdateObserver()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | var downloadHandlerContainer = HandlerContainer<LocalizationUpdateDownload>()
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:13: warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
92 | }
93 |
94 | class PluralsLocalizationDataSource: LocalizationDataSourceProtocol {
| `- note: class 'PluralsLocalizationDataSource' does not conform to the 'Sendable' protocol
95 | typealias Values = [AnyHashable: Any]
96 |
:
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
131 | }
132 | }
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:29: warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
131 | }
132 | }
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
| `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 | public typealias Element = (key: Key, value: Value)
3 | @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
[175/193] Compiling CrowdinSDK InBundleLocalizationStorage.swift
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Localization.swift:29:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // swiftlint:disable implicitly_unwrapped_optional
28 | /// Instance of shared @Localization class instance.
29 | static var current: Localization! = nil
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Property for detecting and storing curent localization value depending on current SDK mode.
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/LocalizationUpdateObserver.swift:40:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | class LocalizationUpdateObserver {
40 | static var shared = LocalizationUpdateObserver()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | var downloadHandlerContainer = HandlerContainer<LocalizationUpdateDownload>()
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:13: warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
92 | }
93 |
94 | class PluralsLocalizationDataSource: LocalizationDataSourceProtocol {
| `- note: class 'PluralsLocalizationDataSource' does not conform to the 'Sendable' protocol
95 | typealias Values = [AnyHashable: Any]
96 |
:
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
131 | }
132 | }
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:29: warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
131 | }
132 | }
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
| `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 | public typealias Element = (key: Key, value: Value)
3 | @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
[176/193] Compiling CrowdinSDK LocalLocalizationStorage.swift
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Localization.swift:29:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // swiftlint:disable implicitly_unwrapped_optional
28 | /// Instance of shared @Localization class instance.
29 | static var current: Localization! = nil
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Property for detecting and storing curent localization value depending on current SDK mode.
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/LocalizationUpdateObserver.swift:40:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | class LocalizationUpdateObserver {
40 | static var shared = LocalizationUpdateObserver()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | var downloadHandlerContainer = HandlerContainer<LocalizationUpdateDownload>()
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:13: warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
92 | }
93 |
94 | class PluralsLocalizationDataSource: LocalizationDataSourceProtocol {
| `- note: class 'PluralsLocalizationDataSource' does not conform to the 'Sendable' protocol
95 | typealias Values = [AnyHashable: Any]
96 |
:
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
131 | }
132 | }
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:29: warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
131 | }
132 | }
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
| `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 | public typealias Element = (key: Key, value: Value)
3 | @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
[177/193] Compiling CrowdinSDK LocalizationDataSource.swift
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Localization.swift:29:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // swiftlint:disable implicitly_unwrapped_optional
28 | /// Instance of shared @Localization class instance.
29 | static var current: Localization! = nil
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Property for detecting and storing curent localization value depending on current SDK mode.
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/LocalizationUpdateObserver.swift:40:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | class LocalizationUpdateObserver {
40 | static var shared = LocalizationUpdateObserver()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | var downloadHandlerContainer = HandlerContainer<LocalizationUpdateDownload>()
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:13: warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
92 | }
93 |
94 | class PluralsLocalizationDataSource: LocalizationDataSourceProtocol {
| `- note: class 'PluralsLocalizationDataSource' does not conform to the 'Sendable' protocol
95 | typealias Values = [AnyHashable: Any]
96 |
:
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
131 | }
132 | }
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:29: warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
131 | }
132 | }
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
| `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 | public typealias Element = (key: Key, value: Value)
3 | @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
[178/193] Compiling CrowdinSDK LocalizationProvider.swift
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Localization.swift:29:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // swiftlint:disable implicitly_unwrapped_optional
28 | /// Instance of shared @Localization class instance.
29 | static var current: Localization! = nil
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Property for detecting and storing curent localization value depending on current SDK mode.
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/LocalizationUpdateObserver.swift:40:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | class LocalizationUpdateObserver {
40 | static var shared = LocalizationUpdateObserver()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | var downloadHandlerContainer = HandlerContainer<LocalizationUpdateDownload>()
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:13: warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
92 | }
93 |
94 | class PluralsLocalizationDataSource: LocalizationDataSourceProtocol {
| `- note: class 'PluralsLocalizationDataSource' does not conform to the 'Sendable' protocol
95 | typealias Values = [AnyHashable: Any]
96 |
:
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'self' with non-sendable type 'PluralsLocalizationDataSource' in a '@Sendable' closure
131 | }
132 | }
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'subscribeForRealtimeUpdates'
<unknown>:0: warning: no method declared with Objective-C selector 'unsubscribeFromRealtimeUpdates'
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/Localization/Provider/LocalizationDataSource.swift:130:29: warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
128 | func update(with values: [AnyHashable: Any]) {
129 | accessQueue.async(flags: .barrier) {
130 | self._plurals = values
| `- warning: capture of 'values' with non-sendable type '[AnyHashable : Any]' in a '@Sendable' closure
131 | }
132 | }
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
| `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 | public typealias Element = (key: Key, value: Value)
3 | @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
[179/193] Compiling CrowdinSDK CrowdinDownloadOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/Operations/CrowdinDownloadOperation.swift:15:7: warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
13 | }
14 |
15 | class CrowdinDownloadOperation: AsyncOperation, CrowdinDownloadOperationProtocol {
| `- warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
16 | var filePath: String
17 | var contentDeliveryAPI: CrowdinContentDeliveryAPI
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:174:30: warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
8 | import Foundation
9 |
10 | class CrowdinSupportedLanguages {
| `- note: class 'CrowdinSupportedLanguages' does not conform to the 'Sendable' protocol
11 | /// Serial queue for thread-safe access to mutable state
12 | private let queue = DispatchQueue(label: "com.crowdin.sdk.supportedLanguages", attributes: [])
:
172 | let session = URLSession.shared
173 | let task = session.dataTask(with: request) { [weak self] data, response, taskError in
174 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
175 |
176 | if let taskError = taskError {
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:235:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
233 |
234 | DispatchQueue.main.async {
235 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:251:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
249 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .error, message: "Failed to download supported languages: \(error.localizedDescription)"))
250 | DispatchQueue.main.async {
251 | callbacks.forEach { $0(error) }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
252 | }
253 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:294:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
292 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .info, message: "Download supported languages success"))
293 | DispatchQueue.main.async {
294 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
295 | }
296 | }
[180/193] Compiling CrowdinSDK CrowdinSupportedLanguages.swift
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/Operations/CrowdinDownloadOperation.swift:15:7: warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
13 | }
14 |
15 | class CrowdinDownloadOperation: AsyncOperation, CrowdinDownloadOperationProtocol {
| `- warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
16 | var filePath: String
17 | var contentDeliveryAPI: CrowdinContentDeliveryAPI
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:174:30: warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
8 | import Foundation
9 |
10 | class CrowdinSupportedLanguages {
| `- note: class 'CrowdinSupportedLanguages' does not conform to the 'Sendable' protocol
11 | /// Serial queue for thread-safe access to mutable state
12 | private let queue = DispatchQueue(label: "com.crowdin.sdk.supportedLanguages", attributes: [])
:
172 | let session = URLSession.shared
173 | let task = session.dataTask(with: request) { [weak self] data, response, taskError in
174 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
175 |
176 | if let taskError = taskError {
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:235:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
233 |
234 | DispatchQueue.main.async {
235 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:251:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
249 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .error, message: "Failed to download supported languages: \(error.localizedDescription)"))
250 | DispatchQueue.main.async {
251 | callbacks.forEach { $0(error) }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
252 | }
253 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:294:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
292 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .info, message: "Download supported languages success"))
293 | DispatchQueue.main.async {
294 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
295 | }
296 | }
[181/193] Compiling CrowdinSDK CrowdinLogDetailsVC.swift
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/Operations/CrowdinDownloadOperation.swift:15:7: warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
13 | }
14 |
15 | class CrowdinDownloadOperation: AsyncOperation, CrowdinDownloadOperationProtocol {
| `- warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
16 | var filePath: String
17 | var contentDeliveryAPI: CrowdinContentDeliveryAPI
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:174:30: warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
8 | import Foundation
9 |
10 | class CrowdinSupportedLanguages {
| `- note: class 'CrowdinSupportedLanguages' does not conform to the 'Sendable' protocol
11 | /// Serial queue for thread-safe access to mutable state
12 | private let queue = DispatchQueue(label: "com.crowdin.sdk.supportedLanguages", attributes: [])
:
172 | let session = URLSession.shared
173 | let task = session.dataTask(with: request) { [weak self] data, response, taskError in
174 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
175 |
176 | if let taskError = taskError {
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:235:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
233 |
234 | DispatchQueue.main.async {
235 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:251:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
249 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .error, message: "Failed to download supported languages: \(error.localizedDescription)"))
250 | DispatchQueue.main.async {
251 | callbacks.forEach { $0(error) }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
252 | }
253 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:294:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
292 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .info, message: "Download supported languages success"))
293 | DispatchQueue.main.async {
294 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
295 | }
296 | }
[182/193] Compiling CrowdinSDK CrowdinLogCell.swift
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/Operations/CrowdinDownloadOperation.swift:15:7: warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
13 | }
14 |
15 | class CrowdinDownloadOperation: AsyncOperation, CrowdinDownloadOperationProtocol {
| `- warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
16 | var filePath: String
17 | var contentDeliveryAPI: CrowdinContentDeliveryAPI
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:174:30: warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
8 | import Foundation
9 |
10 | class CrowdinSupportedLanguages {
| `- note: class 'CrowdinSupportedLanguages' does not conform to the 'Sendable' protocol
11 | /// Serial queue for thread-safe access to mutable state
12 | private let queue = DispatchQueue(label: "com.crowdin.sdk.supportedLanguages", attributes: [])
:
172 | let session = URLSession.shared
173 | let task = session.dataTask(with: request) { [weak self] data, response, taskError in
174 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
175 |
176 | if let taskError = taskError {
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:235:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
233 |
234 | DispatchQueue.main.async {
235 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:251:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
249 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .error, message: "Failed to download supported languages: \(error.localizedDescription)"))
250 | DispatchQueue.main.async {
251 | callbacks.forEach { $0(error) }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
252 | }
253 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:294:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
292 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .info, message: "Download supported languages success"))
293 | DispatchQueue.main.async {
294 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
295 | }
296 | }
[183/193] Compiling CrowdinSDK CrowdinLogCellViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/Operations/CrowdinDownloadOperation.swift:15:7: warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
13 | }
14 |
15 | class CrowdinDownloadOperation: AsyncOperation, CrowdinDownloadOperationProtocol {
| `- warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
16 | var filePath: String
17 | var contentDeliveryAPI: CrowdinContentDeliveryAPI
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:174:30: warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
8 | import Foundation
9 |
10 | class CrowdinSupportedLanguages {
| `- note: class 'CrowdinSupportedLanguages' does not conform to the 'Sendable' protocol
11 | /// Serial queue for thread-safe access to mutable state
12 | private let queue = DispatchQueue(label: "com.crowdin.sdk.supportedLanguages", attributes: [])
:
172 | let session = URLSession.shared
173 | let task = session.dataTask(with: request) { [weak self] data, response, taskError in
174 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
175 |
176 | if let taskError = taskError {
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:235:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
233 |
234 | DispatchQueue.main.async {
235 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:251:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
249 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .error, message: "Failed to download supported languages: \(error.localizedDescription)"))
250 | DispatchQueue.main.async {
251 | callbacks.forEach { $0(error) }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
252 | }
253 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:294:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
292 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .info, message: "Download supported languages success"))
293 | DispatchQueue.main.async {
294 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
295 | }
296 | }
[184/193] Compiling CrowdinSDK CrowdinLogsVC.swift
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/Operations/CrowdinDownloadOperation.swift:15:7: warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
13 | }
14 |
15 | class CrowdinDownloadOperation: AsyncOperation, CrowdinDownloadOperationProtocol {
| `- warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
16 | var filePath: String
17 | var contentDeliveryAPI: CrowdinContentDeliveryAPI
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:174:30: warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
8 | import Foundation
9 |
10 | class CrowdinSupportedLanguages {
| `- note: class 'CrowdinSupportedLanguages' does not conform to the 'Sendable' protocol
11 | /// Serial queue for thread-safe access to mutable state
12 | private let queue = DispatchQueue(label: "com.crowdin.sdk.supportedLanguages", attributes: [])
:
172 | let session = URLSession.shared
173 | let task = session.dataTask(with: request) { [weak self] data, response, taskError in
174 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
175 |
176 | if let taskError = taskError {
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:235:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
233 |
234 | DispatchQueue.main.async {
235 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:251:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
249 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .error, message: "Failed to download supported languages: \(error.localizedDescription)"))
250 | DispatchQueue.main.async {
251 | callbacks.forEach { $0(error) }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
252 | }
253 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:294:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
292 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .info, message: "Download supported languages success"))
293 | DispatchQueue.main.async {
294 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
295 | }
296 | }
[185/193] Compiling CrowdinSDK Bundle+Module.swift
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/Operations/CrowdinDownloadOperation.swift:15:7: warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
13 | }
14 |
15 | class CrowdinDownloadOperation: AsyncOperation, CrowdinDownloadOperationProtocol {
| `- warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
16 | var filePath: String
17 | var contentDeliveryAPI: CrowdinContentDeliveryAPI
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:174:30: warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
8 | import Foundation
9 |
10 | class CrowdinSupportedLanguages {
| `- note: class 'CrowdinSupportedLanguages' does not conform to the 'Sendable' protocol
11 | /// Serial queue for thread-safe access to mutable state
12 | private let queue = DispatchQueue(label: "com.crowdin.sdk.supportedLanguages", attributes: [])
:
172 | let session = URLSession.shared
173 | let task = session.dataTask(with: request) { [weak self] data, response, taskError in
174 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
175 |
176 | if let taskError = taskError {
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:235:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
233 |
234 | DispatchQueue.main.async {
235 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:251:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
249 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .error, message: "Failed to download supported languages: \(error.localizedDescription)"))
250 | DispatchQueue.main.async {
251 | callbacks.forEach { $0(error) }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
252 | }
253 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:294:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
292 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .info, message: "Download supported languages success"))
293 | DispatchQueue.main.async {
294 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
295 | }
296 | }
[186/193] Compiling CrowdinSDK CrowdinSDK+Settings.swift
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/Operations/CrowdinDownloadOperation.swift:15:7: warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
13 | }
14 |
15 | class CrowdinDownloadOperation: AsyncOperation, CrowdinDownloadOperationProtocol {
| `- warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
16 | var filePath: String
17 | var contentDeliveryAPI: CrowdinContentDeliveryAPI
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:174:30: warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
8 | import Foundation
9 |
10 | class CrowdinSupportedLanguages {
| `- note: class 'CrowdinSupportedLanguages' does not conform to the 'Sendable' protocol
11 | /// Serial queue for thread-safe access to mutable state
12 | private let queue = DispatchQueue(label: "com.crowdin.sdk.supportedLanguages", attributes: [])
:
172 | let session = URLSession.shared
173 | let task = session.dataTask(with: request) { [weak self] data, response, taskError in
174 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
175 |
176 | if let taskError = taskError {
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:235:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
233 |
234 | DispatchQueue.main.async {
235 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:251:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
249 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .error, message: "Failed to download supported languages: \(error.localizedDescription)"))
250 | DispatchQueue.main.async {
251 | callbacks.forEach { $0(error) }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
252 | }
253 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:294:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
292 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .info, message: "Download supported languages success"))
293 | DispatchQueue.main.async {
294 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
295 | }
296 | }
[187/193] Compiling CrowdinSDK CrowdinSDKConfig+Settings.swift
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/Operations/CrowdinDownloadOperation.swift:15:7: warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
13 | }
14 |
15 | class CrowdinDownloadOperation: AsyncOperation, CrowdinDownloadOperationProtocol {
| `- warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
16 | var filePath: String
17 | var contentDeliveryAPI: CrowdinContentDeliveryAPI
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:174:30: warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
8 | import Foundation
9 |
10 | class CrowdinSupportedLanguages {
| `- note: class 'CrowdinSupportedLanguages' does not conform to the 'Sendable' protocol
11 | /// Serial queue for thread-safe access to mutable state
12 | private let queue = DispatchQueue(label: "com.crowdin.sdk.supportedLanguages", attributes: [])
:
172 | let session = URLSession.shared
173 | let task = session.dataTask(with: request) { [weak self] data, response, taskError in
174 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
175 |
176 | if let taskError = taskError {
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:235:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
233 |
234 | DispatchQueue.main.async {
235 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:251:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
249 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .error, message: "Failed to download supported languages: \(error.localizedDescription)"))
250 | DispatchQueue.main.async {
251 | callbacks.forEach { $0(error) }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
252 | }
253 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:294:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
292 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .info, message: "Download supported languages success"))
293 | DispatchQueue.main.async {
294 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
295 | }
296 | }
[188/193] Compiling CrowdinSDK SettingsItemCell.swift
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/Operations/CrowdinDownloadOperation.swift:15:7: warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
13 | }
14 |
15 | class CrowdinDownloadOperation: AsyncOperation, CrowdinDownloadOperationProtocol {
| `- warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
16 | var filePath: String
17 | var contentDeliveryAPI: CrowdinContentDeliveryAPI
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:174:30: warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
8 | import Foundation
9 |
10 | class CrowdinSupportedLanguages {
| `- note: class 'CrowdinSupportedLanguages' does not conform to the 'Sendable' protocol
11 | /// Serial queue for thread-safe access to mutable state
12 | private let queue = DispatchQueue(label: "com.crowdin.sdk.supportedLanguages", attributes: [])
:
172 | let session = URLSession.shared
173 | let task = session.dataTask(with: request) { [weak self] data, response, taskError in
174 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
175 |
176 | if let taskError = taskError {
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:235:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
233 |
234 | DispatchQueue.main.async {
235 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:251:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
249 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .error, message: "Failed to download supported languages: \(error.localizedDescription)"))
250 | DispatchQueue.main.async {
251 | callbacks.forEach { $0(error) }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
252 | }
253 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:294:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
292 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .info, message: "Download supported languages success"))
293 | DispatchQueue.main.async {
294 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
295 | }
296 | }
[189/193] Compiling CrowdinSDK SettingsItemView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/Operations/CrowdinDownloadOperation.swift:15:7: warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
13 | }
14 |
15 | class CrowdinDownloadOperation: AsyncOperation, CrowdinDownloadOperationProtocol {
| `- warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
16 | var filePath: String
17 | var contentDeliveryAPI: CrowdinContentDeliveryAPI
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:174:30: warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
8 | import Foundation
9 |
10 | class CrowdinSupportedLanguages {
| `- note: class 'CrowdinSupportedLanguages' does not conform to the 'Sendable' protocol
11 | /// Serial queue for thread-safe access to mutable state
12 | private let queue = DispatchQueue(label: "com.crowdin.sdk.supportedLanguages", attributes: [])
:
172 | let session = URLSession.shared
173 | let task = session.dataTask(with: request) { [weak self] data, response, taskError in
174 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
175 |
176 | if let taskError = taskError {
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:235:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
233 |
234 | DispatchQueue.main.async {
235 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:251:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
249 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .error, message: "Failed to download supported languages: \(error.localizedDescription)"))
250 | DispatchQueue.main.async {
251 | callbacks.forEach { $0(error) }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
252 | }
253 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:294:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
292 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .info, message: "Download supported languages success"))
293 | DispatchQueue.main.async {
294 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
295 | }
296 | }
[190/193] Compiling CrowdinSDK SettingsView+Gesture.swift
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/Operations/CrowdinDownloadOperation.swift:15:7: warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
13 | }
14 |
15 | class CrowdinDownloadOperation: AsyncOperation, CrowdinDownloadOperationProtocol {
| `- warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
16 | var filePath: String
17 | var contentDeliveryAPI: CrowdinContentDeliveryAPI
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:174:30: warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
8 | import Foundation
9 |
10 | class CrowdinSupportedLanguages {
| `- note: class 'CrowdinSupportedLanguages' does not conform to the 'Sendable' protocol
11 | /// Serial queue for thread-safe access to mutable state
12 | private let queue = DispatchQueue(label: "com.crowdin.sdk.supportedLanguages", attributes: [])
:
172 | let session = URLSession.shared
173 | let task = session.dataTask(with: request) { [weak self] data, response, taskError in
174 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
175 |
176 | if let taskError = taskError {
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:235:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
233 |
234 | DispatchQueue.main.async {
235 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:251:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
249 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .error, message: "Failed to download supported languages: \(error.localizedDescription)"))
250 | DispatchQueue.main.async {
251 | callbacks.forEach { $0(error) }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
252 | }
253 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:294:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
292 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .info, message: "Download supported languages success"))
293 | DispatchQueue.main.async {
294 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
295 | }
296 | }
[191/193] Compiling CrowdinSDK SettingsView+UITableView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/Operations/CrowdinDownloadOperation.swift:15:7: warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
13 | }
14 |
15 | class CrowdinDownloadOperation: AsyncOperation, CrowdinDownloadOperationProtocol {
| `- warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
16 | var filePath: String
17 | var contentDeliveryAPI: CrowdinContentDeliveryAPI
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:174:30: warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
8 | import Foundation
9 |
10 | class CrowdinSupportedLanguages {
| `- note: class 'CrowdinSupportedLanguages' does not conform to the 'Sendable' protocol
11 | /// Serial queue for thread-safe access to mutable state
12 | private let queue = DispatchQueue(label: "com.crowdin.sdk.supportedLanguages", attributes: [])
:
172 | let session = URLSession.shared
173 | let task = session.dataTask(with: request) { [weak self] data, response, taskError in
174 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
175 |
176 | if let taskError = taskError {
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:235:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
233 |
234 | DispatchQueue.main.async {
235 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:251:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
249 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .error, message: "Failed to download supported languages: \(error.localizedDescription)"))
250 | DispatchQueue.main.async {
251 | callbacks.forEach { $0(error) }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
252 | }
253 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:294:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
292 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .info, message: "Download supported languages success"))
293 | DispatchQueue.main.async {
294 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
295 | }
296 | }
[192/193] Compiling CrowdinSDK SettingsView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/Operations/CrowdinDownloadOperation.swift:15:7: warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
13 | }
14 |
15 | class CrowdinDownloadOperation: AsyncOperation, CrowdinDownloadOperationProtocol {
| `- warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
16 | var filePath: String
17 | var contentDeliveryAPI: CrowdinContentDeliveryAPI
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:174:30: warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
8 | import Foundation
9 |
10 | class CrowdinSupportedLanguages {
| `- note: class 'CrowdinSupportedLanguages' does not conform to the 'Sendable' protocol
11 | /// Serial queue for thread-safe access to mutable state
12 | private let queue = DispatchQueue(label: "com.crowdin.sdk.supportedLanguages", attributes: [])
:
172 | let session = URLSession.shared
173 | let task = session.dataTask(with: request) { [weak self] data, response, taskError in
174 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
175 |
176 | if let taskError = taskError {
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:235:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
233 |
234 | DispatchQueue.main.async {
235 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:251:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
249 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .error, message: "Failed to download supported languages: \(error.localizedDescription)"))
250 | DispatchQueue.main.async {
251 | callbacks.forEach { $0(error) }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
252 | }
253 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:294:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
292 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .info, message: "Download supported languages success"))
293 | DispatchQueue.main.async {
294 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
295 | }
296 | }
[193/193] Compiling CrowdinSDK SettingsWindow.swift
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/Operations/CrowdinDownloadOperation.swift:15:7: warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
13 | }
14 |
15 | class CrowdinDownloadOperation: AsyncOperation, CrowdinDownloadOperationProtocol {
| `- warning: class 'CrowdinDownloadOperation' must restate inherited '@unchecked Sendable' conformance
16 | var filePath: String
17 | var contentDeliveryAPI: CrowdinContentDeliveryAPI
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:174:30: warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
8 | import Foundation
9 |
10 | class CrowdinSupportedLanguages {
| `- note: class 'CrowdinSupportedLanguages' does not conform to the 'Sendable' protocol
11 | /// Serial queue for thread-safe access to mutable state
12 | private let queue = DispatchQueue(label: "com.crowdin.sdk.supportedLanguages", attributes: [])
:
172 | let session = URLSession.shared
173 | let task = session.dataTask(with: request) { [weak self] data, response, taskError in
174 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'CrowdinSupportedLanguages?' in a '@Sendable' closure
175 |
176 | if let taskError = taskError {
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:235:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
233 |
234 | DispatchQueue.main.async {
235 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:251:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
249 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .error, message: "Failed to download supported languages: \(error.localizedDescription)"))
250 | DispatchQueue.main.async {
251 | callbacks.forEach { $0(error) }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
252 | }
253 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift:294:13: warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
292 | CrowdinLogsCollector.shared.add(log: CrowdinLog(type: .info, message: "Download supported languages success"))
293 | DispatchQueue.main.async {
294 | callbacks.forEach { $0() }
| |- warning: sending 'callbacks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callbacks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
295 | }
296 | }
[194/195] Compiling CrowdinXCTestScreenshots ScreenshotFeature+XCTest.swift
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/XCTestScreenshotFeature/ScreenshotFeature+XCTest.swift:18:17: warning: main actor-isolated instance method 'makeIterator()' cannot be used to satisfy nonisolated requirement from protocol 'Sequence'; this is an error in the Swift 6 language mode
14 |
15 | #if compiler(>=6.0)
16 | extension XCUIElementQuery: @retroactive Sequence {
| `- note: add '@preconcurrency' to the 'Sequence' conformance to defer isolation checking to run time
17 | public typealias Iterator = AnyIterator<XCUIElement>
18 | public func makeIterator() -> Iterator {
| |- warning: main actor-isolated instance method 'makeIterator()' cannot be used to satisfy nonisolated requirement from protocol 'Sequence'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeIterator()' to make this instance method not isolated to the actor
19 | var index = UInt(0)
20 | return AnyIterator {
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/XCTestScreenshotFeature/ScreenshotFeature+XCTest.swift:87:102: warning: call to main actor-isolated instance method 'getControlsInformation()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func getControlsInformation() -> [ControlInformation] {
| `- note: calls to instance method 'getControlsInformation()' from outside of its actor context are implicitly asynchronous
57 | var controls = [ControlInformation]()
58 | for control in getAllControlsWithText() {
:
84 |
85 | extension CrowdinSDK {
86 | public class func captureScreenshot(name: String, image: CWImage, application: XCUIApplication, success: @escaping (() -> Void), errorHandler: @escaping ((Error?) -> Void)) {
| `- note: add '@MainActor' to make class method 'captureScreenshot(name:image:application:success:errorHandler:)' part of global actor 'MainActor'
87 | CrowdinSDK.captureScreenshot(name: name, screenshot: image, controlsInformation: application.getControlsInformation(), success: success, errorHandler: errorHandler)
| `- warning: call to main actor-isolated instance method 'getControlsInformation()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/XCTestScreenshotFeature/ScreenshotFeature+XCTest.swift:93:102: warning: call to main actor-isolated instance method 'getControlsInformation()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func getControlsInformation() -> [ControlInformation] {
| `- note: calls to instance method 'getControlsInformation()' from outside of its actor context are implicitly asynchronous
57 | var controls = [ControlInformation]()
58 | for control in getAllControlsWithText() {
:
88 | }
89 |
90 | public class func captureScreenshotSync(name: String, image: CWImage, application: XCUIApplication) -> Error? {
| `- note: add '@MainActor' to make class method 'captureScreenshotSync(name:image:application:)' part of global actor 'MainActor'
91 | var error: Error?
92 | let semaphore = DispatchSemaphore(value: 0)
93 | CrowdinSDK.captureScreenshot(name: name, screenshot: image, controlsInformation: application.getControlsInformation(), success: {
| `- warning: call to main actor-isolated instance method 'getControlsInformation()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
94 | semaphore.signal()
95 | }, errorHandler: {
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/XCTestScreenshotFeature/ScreenshotFeature+XCTest.swift:110:110: warning: call to main actor-isolated instance method 'getControlsInformation()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func getControlsInformation() -> [ControlInformation] {
| `- note: calls to instance method 'getControlsInformation()' from outside of its actor context are implicitly asynchronous
57 | var controls = [ControlInformation]()
58 | for control in getAllControlsWithText() {
:
101 | }
102 |
103 | public class func captureOrUpdateScreenshot(
| `- note: add '@MainActor' to make class method 'captureOrUpdateScreenshot(name:image:application:success:errorHandler:)' part of global actor 'MainActor'
104 | name: String,
105 | image: CWImage,
:
108 | errorHandler: @escaping ((Error?) -> Void)
109 | ) {
110 | CrowdinSDK.captureOrUpdateScreenshot(name: name, screenshot: image, controlsInformation: application.getControlsInformation(), success: success, errorHandler: errorHandler)
| `- warning: call to main actor-isolated instance method 'getControlsInformation()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
111 | }
112 |
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/XCTestScreenshotFeature/ScreenshotFeature+XCTest.swift:117:47: warning: call to main actor-isolated instance method 'getControlsInformation()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func getControlsInformation() -> [ControlInformation] {
| `- note: calls to instance method 'getControlsInformation()' from outside of its actor context are implicitly asynchronous
57 | var controls = [ControlInformation]()
58 | for control in getAllControlsWithText() {
:
111 | }
112 |
113 | public class func captureOrUpdateScreenshotSync(name: String, image: CWImage, application: XCUIApplication) -> (result: ScreenshotUploadResult?, error: Error?) {
| `- note: add '@MainActor' to make class method 'captureOrUpdateScreenshotSync(name:image:application:)' part of global actor 'MainActor'
114 | var result: ScreenshotUploadResult?
115 | var error: Error?
116 | let semaphore = DispatchSemaphore(value: 0)
117 | let controlsInformation = application.getControlsInformation()
| `- warning: call to main actor-isolated instance method 'getControlsInformation()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 | DispatchQueue.global().async {
119 | CrowdinSDK.captureOrUpdateScreenshot(name: name, screenshot: image, controlsInformation: controlsInformation, success: {
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/XCTestScreenshotFeature/ScreenshotFeature+XCTest.swift:119:74: warning: capture of 'image' with non-sendable type 'CWImage' (aka 'NSImage') in a '@Sendable' closure
117 | let controlsInformation = application.getControlsInformation()
118 | DispatchQueue.global().async {
119 | CrowdinSDK.captureOrUpdateScreenshot(name: name, screenshot: image, controlsInformation: controlsInformation, success: {
| `- warning: capture of 'image' with non-sendable type 'CWImage' (aka 'NSImage') in a '@Sendable' closure
120 | result = $0
121 | semaphore.signal()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/XCTestScreenshotFeature/ScreenshotFeature+XCTest.swift:119:102: warning: capture of 'controlsInformation' with non-sendable type '[ControlInformation]' in a '@Sendable' closure
117 | let controlsInformation = application.getControlsInformation()
118 | DispatchQueue.global().async {
119 | CrowdinSDK.captureOrUpdateScreenshot(name: name, screenshot: image, controlsInformation: controlsInformation, success: {
| `- warning: capture of 'controlsInformation' with non-sendable type '[ControlInformation]' in a '@Sendable' closure
120 | result = $0
121 | semaphore.signal()
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/ScreenshotFeature/ScreenshotInformationCollector.swift:17:15: note: struct 'ControlInformation' does not conform to the 'Sendable' protocol
15 | #if !os(watchOS)
16 |
17 | public struct ControlInformation {
| `- note: struct 'ControlInformation' does not conform to the 'Sendable' protocol
18 | var key: String
19 | var rect: CGRect
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/XCTestScreenshotFeature/ScreenshotFeature+XCTest.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CrowdinSDK'
8 |
9 | #if CrowdinSDKSPM
10 | import CrowdinSDK
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CrowdinSDK'
11 | #endif
12 |
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/XCTestScreenshotFeature/ScreenshotFeature+XCTest.swift:120:17: warning: capture of 'result' with non-sendable type 'ScreenshotUploadResult?' in a '@Sendable' closure
118 | DispatchQueue.global().async {
119 | CrowdinSDK.captureOrUpdateScreenshot(name: name, screenshot: image, controlsInformation: controlsInformation, success: {
120 | result = $0
| `- warning: capture of 'result' with non-sendable type 'ScreenshotUploadResult?' in a '@Sendable' closure
121 | semaphore.signal()
122 | }, errorHandler: {
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/ScreenshotFeature/ScreenshotUploader.swift:21:13: note: enum 'ScreenshotUploadResult' does not conform to the 'Sendable' protocol
19 | }
20 |
21 | public enum ScreenshotUploadResult {
| `- note: enum 'ScreenshotUploadResult' does not conform to the 'Sendable' protocol
22 | case new
23 | case udpated
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/XCTestScreenshotFeature/ScreenshotFeature+XCTest.swift:120:17: warning: capture of 'result' with non-sendable type 'ScreenshotUploadResult?' in an isolated closure; this is an error in the Swift 6 language mode
118 | DispatchQueue.global().async {
119 | CrowdinSDK.captureOrUpdateScreenshot(name: name, screenshot: image, controlsInformation: controlsInformation, success: {
120 | result = $0
| `- warning: capture of 'result' with non-sendable type 'ScreenshotUploadResult?' in an isolated closure; this is an error in the Swift 6 language mode
121 | semaphore.signal()
122 | }, errorHandler: {
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/ScreenshotFeature/ScreenshotUploader.swift:21:13: note: enum 'ScreenshotUploadResult' does not conform to the 'Sendable' protocol
19 | }
20 |
21 | public enum ScreenshotUploadResult {
| `- note: enum 'ScreenshotUploadResult' does not conform to the 'Sendable' protocol
22 | case new
23 | case udpated
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/XCTestScreenshotFeature/ScreenshotFeature+XCTest.swift:120:17: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
118 | DispatchQueue.global().async {
119 | CrowdinSDK.captureOrUpdateScreenshot(name: name, screenshot: image, controlsInformation: controlsInformation, success: {
120 | result = $0
| `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
121 | semaphore.signal()
122 | }, errorHandler: {
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/XCTestScreenshotFeature/ScreenshotFeature+XCTest.swift:123:17: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
121 | semaphore.signal()
122 | }, errorHandler: {
123 | error = $0
| `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
124 | semaphore.signal()
125 | })
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/XCTestScreenshotFeature/ScreenshotFeature+XCTest.swift:137:29: warning: capture of 'config' with non-sendable type 'CrowdinSDKConfig' in a '@Sendable' closure
135 | let semaphore = DispatchSemaphore(value: 0)
136 | DispatchQueue.global().async {
137 | startWithConfig(config) {
| `- warning: capture of 'config' with non-sendable type 'CrowdinSDKConfig' in a '@Sendable' closure
138 | semaphore.signal()
139 | }
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/CrowdinSDK/CrowdinSDKConfig.swift:11:27: note: class 'CrowdinSDKConfig' does not conform to the 'Sendable' protocol
9 |
10 | /// Class with all crowdin sdk information needed for initialization.
11 | @objcMembers public class CrowdinSDKConfig: NSObject {
| `- note: class 'CrowdinSDKConfig' does not conform to the 'Sendable' protocol
12 | /// Method for new config creation.
13 | ///
[195/195] Emitting module CrowdinXCTestScreenshots
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Features/XCTestScreenshotFeature/ScreenshotFeature+XCTest.swift:18:17: warning: main actor-isolated instance method 'makeIterator()' cannot be used to satisfy nonisolated requirement from protocol 'Sequence'; this is an error in the Swift 6 language mode
14 |
15 | #if compiler(>=6.0)
16 | extension XCUIElementQuery: @retroactive Sequence {
| `- note: add '@preconcurrency' to the 'Sequence' conformance to defer isolation checking to run time
17 | public typealias Iterator = AnyIterator<XCUIElement>
18 | public func makeIterator() -> Iterator {
| |- warning: main actor-isolated instance method 'makeIterator()' cannot be used to satisfy nonisolated requirement from protocol 'Sequence'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeIterator()' to make this instance method not isolated to the actor
19 | var index = UInt(0)
20 | return AnyIterator {
Build complete! (21.43s)
Fetching https://github.com/serhii-londar/BaseAPI.git
Fetching https://github.com/daltoniam/Starscream.git
[1/386] Fetching baseapi
[117/5494] Fetching baseapi, starscream
Fetched https://github.com/daltoniam/Starscream.git from cache (1.09s)
Fetched https://github.com/serhii-londar/BaseAPI.git from cache (1.09s)
Computing version for https://github.com/serhii-londar/BaseAPI.git
Computed https://github.com/serhii-londar/BaseAPI.git at 0.2.2 (4.23s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.0.8 (0.59s)
Creating working copy for https://github.com/daltoniam/Starscream.git
Working copy of https://github.com/daltoniam/Starscream.git resolved at 4.0.8
Creating working copy for https://github.com/serhii-londar/BaseAPI.git
Working copy of https://github.com/serhii-londar/BaseAPI.git resolved at 0.2.2
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/CrowdinSDK/Resources/Settings/Images.xcassets
warning: 'starscream': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Starscream/Sources/Info.plist
Build complete.
{
"dependencies" : [
{
"identity" : "baseapi",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/serhii-londar/BaseAPI.git"
},
{
"identity" : "starscream",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.4",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/daltoniam/Starscream.git"
}
],
"manifest_display_name" : "CrowdinSDK",
"name" : "CrowdinSDK",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "watchos",
"version" : "5.0"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "CrowdinSDK",
"targets" : [
"CrowdinSDK"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CrowdinXCTestScreenshots",
"targets" : [
"CrowdinXCTestScreenshots"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CrowdinXCTestScreenshots",
"module_type" : "SwiftTarget",
"name" : "CrowdinXCTestScreenshots",
"path" : "Sources/CrowdinSDK/Features/XCTestScreenshotFeature",
"product_memberships" : [
"CrowdinXCTestScreenshots"
],
"sources" : [
"ScreenshotFeature+XCTest.swift"
],
"target_dependencies" : [
"CrowdinSDK"
],
"type" : "library"
},
{
"c99name" : "CrowdinSDK",
"module_type" : "SwiftTarget",
"name" : "CrowdinSDK",
"path" : "Sources/CrowdinSDK",
"product_dependencies" : [
"BaseAPI",
"Starscream"
],
"product_memberships" : [
"CrowdinSDK",
"CrowdinXCTestScreenshots"
],
"sources" : [
"CrowdinAPI/ContentDeliveryAPI/CrowdinContentDeliveryAPI.swift",
"CrowdinAPI/ContentDeliveryAPI/Models/ManifestResponse+CustomLangugage.swift",
"CrowdinAPI/ContentDeliveryAPI/Models/ManifestResponse.swift",
"CrowdinAPI/ContentDeliveryAPI/Parser/DataParser.swift",
"CrowdinAPI/ContentDeliveryAPI/XMLParser/XMLParser.swift",
"CrowdinAPI/CrowdinAPI.swift",
"CrowdinAPI/DistributionsAPI/DistributionsAPI.swift",
"CrowdinAPI/DistributionsAPI/Models/DistributionsResponse.swift",
"CrowdinAPI/LoginAPI/LoginAPI.swift",
"CrowdinAPI/LoginAPI/Models/RefreshTokenRequest.swift",
"CrowdinAPI/LoginAPI/Models/TokenRequest.swift",
"CrowdinAPI/LoginAPI/Models/TokenResponse.swift",
"CrowdinAPI/ProjectsAPI/Models/ProjectsDownloadFileResponse.swift",
"CrowdinAPI/ProjectsAPI/Models/ProjectsFilesListResponse.swift",
"CrowdinAPI/ProjectsAPI/ProjectsAPI.swift",
"CrowdinAPI/ScreenshotsAPI/Models/CreateScreenshotRequest.swift",
"CrowdinAPI/ScreenshotsAPI/Models/CreateScreenshotResponse.swift",
"CrowdinAPI/ScreenshotsAPI/Models/CreateScreenshotTag/CreateScreenshotTagRequest.swift",
"CrowdinAPI/ScreenshotsAPI/Models/CreateScreenshotTag/CreateScreenshotTagResponse.swift",
"CrowdinAPI/ScreenshotsAPI/Models/ScreenshotsListResponse.swift",
"CrowdinAPI/ScreenshotsAPI/Models/UpdateScreenshotRequest.swift",
"CrowdinAPI/ScreenshotsAPI/ScreenshotsAPI.swift",
"CrowdinAPI/StorageAPI/Models/StorageUploadResponse.swift",
"CrowdinAPI/StorageAPI/StorageAPI.swift",
"CrowdinAPI/WebsocketAPI/WebsocketAPI.swift",
"CrowdinAPI/WebsocketAPI/WebsocketTicketCache.swift",
"CrowdinFileSystem/CrowdinFolder.swift",
"CrowdinFileSystem/CustomBundle/CustomBundle.swift",
"CrowdinFileSystem/File.swift",
"CrowdinFileSystem/FileStatus.swift",
"CrowdinFileSystem/FileType.swift",
"CrowdinFileSystem/Folder.swift",
"CrowdinFileSystem/ReadWriteProtocol.swift",
"CrowdinFileSystem/SystemFolder.swift",
"CrowdinSDK/Constants.swift",
"CrowdinSDK/CrowdinControl/CrowdinControl.swift",
"CrowdinSDK/CrowdinLanguage.swift",
"CrowdinSDK/CrowdinSDK+Version.swift",
"CrowdinSDK/CrowdinSDK.swift",
"CrowdinSDK/CrowdinSDKConfig.swift",
"CrowdinSDK/CrowdinTester.swift",
"CrowdinSDK/Extensions/Bundle/Bundle+Application.swift",
"CrowdinSDK/Extensions/Bundle/Bundle+Crowdin.swift",
"CrowdinSDK/Extensions/Bundle/Bundle+Language.swift",
"CrowdinSDK/Extensions/Bundle/Bundle+Swizzle.swift",
"CrowdinSDK/Extensions/Dictionary.swift",
"CrowdinSDK/Extensions/Label+Swizzle/Label+Swizzle.swift",
"CrowdinSDK/Extensions/Locale.swift",
"CrowdinSDK/Extensions/NSButton+Swizzle.swift",
"CrowdinSDK/Extensions/NSNotification.swift",
"CrowdinSDK/Extensions/String.swift",
"CrowdinSDK/Extensions/UIButton+Swizzle.swift",
"CrowdinSDK/Extensions/UIView.swift",
"CrowdinSDK/Extensions/UIViewController.swift",
"CrowdinSDK/Extensions/UIWindow.swift",
"CrowdinSDK/Extensions/UserDefaults.swift",
"CrowdinSDK/Localization/Downloader/CrowdinDownloader.swift",
"CrowdinSDK/Localization/Extractor/LocalLocalizationExtractor.swift",
"CrowdinSDK/Localization/Localization.swift",
"CrowdinSDK/Localization/LocalizationUpdateObserver.swift",
"CrowdinSDK/Localization/Provider/InBundleLocalizationStorage.swift",
"CrowdinSDK/Localization/Provider/LocalLocalizationStorage.swift",
"CrowdinSDK/Localization/Provider/LocalizationDataSource.swift",
"CrowdinSDK/Localization/Provider/LocalizationProvider.swift",
"CrowdinSDK/Localization/Provider/LocalizationStorage.swift",
"CrowdinSDK/Localization/Provider/RemoteLocalizationStorage.swift",
"CrowdinSDK/Logs/Attributes/AttributeFactory.swift",
"CrowdinSDK/Logs/Attributes/AttributedTextFormatter.swift",
"CrowdinSDK/Logs/CrowdinAPILog.swift",
"CrowdinSDK/Logs/CrowdinLogsCollector.swift",
"CrowdinSDK/Logs/CrowdinSDKConfig+Debug.swift",
"CrowdinSDK/Logs/CrowidnLog.swift",
"CrowdinSDK/Logs/Extensions/Data+Extensions.swift",
"CrowdinSDK/Logs/LogMessageObserver.swift",
"CrowdinSDK/PlatformsSupport/CrowdinSDK+PlatformsSupport.swift",
"CrowdinSDK/Rswift/StringParam.swift",
"CrowdinSDK/Typealias.swift",
"CrowdinSDK/Utils/Atomic.swift",
"CrowdinSDK/Utils/ObjectAssociation.swift",
"Features/IntervalUpdateFeature/CrowdinSDK+IntervalUpdate.swift",
"Features/IntervalUpdateFeature/CrowdinSDKConfig+IntervalUpdate.swift",
"Features/IntervalUpdateFeature/IntervalUpdateFeature.swift",
"Features/LoginFeature/AccessTokenLoginFeature.swift",
"Features/LoginFeature/AnyLoginFeature.swift",
"Features/LoginFeature/BrowserLoginFeature.swift",
"Features/LoginFeature/CrowdinLoginConfig.swift",
"Features/LoginFeature/Extensions/Bundle+URLScheme.swift",
"Features/LoginFeature/Extensions/CrowdinSDK+Login.swift",
"Features/LoginFeature/Extensions/CrowdinSDKConfig+Login.swift",
"Features/RealtimeUpdateFeature/CrowdinSocketManager/CrowdinSocketManager.swift",
"Features/RealtimeUpdateFeature/Extensions/CrowdinSDK+ReatimeUpdates.swift",
"Features/RealtimeUpdateFeature/Extensions/CrowdinSDKConfig+RealtimeUpdates.swift",
"Features/RealtimeUpdateFeature/Extensions/Label+RealtimeUpdates.swift",
"Features/RealtimeUpdateFeature/Extensions/NSButton+RealtimeUpdates.swift",
"Features/RealtimeUpdateFeature/Extensions/UIButton+RealtimeUpdates.swift",
"Features/RealtimeUpdateFeature/LocalizationProvider/FilesDownloader/FileDownloadOperation.swift",
"Features/RealtimeUpdateFeature/LocalizationProvider/FilesDownloader/RUFilesDownloader.swift",
"Features/RealtimeUpdateFeature/LocalizationProvider/RULocalLocalizationStorage.swift",
"Features/RealtimeUpdateFeature/LocalizationProvider/RURemoteLocalizationStorage.swift",
"Features/RealtimeUpdateFeature/RealtimeUpdateFeature.swift",
"Features/RealtimeUpdateFeature/Refreshable.swift",
"Features/RealtimeUpdateFeature/SocketAPI/Models/ActionRequest.swift",
"Features/RealtimeUpdateFeature/SocketAPI/Models/TopSuggestionResponse.swift",
"Features/RealtimeUpdateFeature/SocketAPI/Models/UpdateDraftResponse.swift",
"Features/RealtimeUpdateFeature/SocketAPI/SocketAPI.swift",
"Features/RefreshLocalizationFeature/CrowdinSDK+RefreshLocalization.swift",
"Features/RefreshLocalizationFeature/RefreshLocalizationFeature.swift",
"Features/ScreenshotFeature/Extensions/CGRect+Validation.swift",
"Features/ScreenshotFeature/Extensions/CrowdinSDK+Screenshots.swift",
"Features/ScreenshotFeature/Extensions/CrowdinSDKConfig+Screenshots.swift",
"Features/ScreenshotFeature/Extensions/String+Validation.swift",
"Features/ScreenshotFeature/Extensions/UIWindow+KeyWindow.swift",
"Features/ScreenshotFeature/ScreenshotFeature.swift",
"Features/ScreenshotFeature/ScreenshotInformationCollector.swift",
"Features/ScreenshotFeature/ScreenshotProcessor.swift",
"Features/ScreenshotFeature/ScreenshotUploader.swift",
"Providers/Crowdin/Config/CrowdinProviderConfig.swift",
"Providers/Crowdin/CrowdinRemoteLocalizationStorage.swift",
"Providers/Crowdin/Extensions/CrowdinSDK+CrowdinProvider.swift",
"Providers/Crowdin/Extensions/CrowdinSDK+ReactNative.swift",
"Providers/Crowdin/Extensions/CrowdinSDKConfig+CrowdinProvider.swift",
"Providers/Crowdin/Extensions/String+Extensions.swift",
"Providers/Crowdin/LanguageResolver/LanguageResolver.swift",
"Providers/Crowdin/LocalizationDownloader/CrowdinLocalizationDownloader.swift",
"Providers/Crowdin/LocalizationDownloader/ETagStorage/ETagStorage.swift",
"Providers/Crowdin/LocalizationDownloader/ETagStorage/FileEtagStorage.swift",
"Providers/Crowdin/LocalizationDownloader/ETagStorage/UserDefaultsETagStorage.swift",
"Providers/Crowdin/LocalizationDownloader/Operations/CrowdinPluralsDownloadOperation.swift",
"Providers/Crowdin/LocalizationDownloader/Operations/CrowdinStringsDownloadOperation.swift",
"Providers/Crowdin/LocalizationDownloader/Operations/CrowdinXcstringsDownloadOperation.swift",
"Providers/Crowdin/LocalizationDownloader/Operations/CrowdinXliffDownloadOperation.swift",
"Providers/Crowdin/ManifestManager/FileTimestampStorage.swift",
"Providers/Crowdin/ManifestManager/ManifestManager+LanguageResolver.swift",
"Providers/Crowdin/ManifestManager/ManifestManager.swift",
"Providers/Crowdin/MappingDownloader/CrowdinMappingDownloader.swift",
"Providers/Crowdin/MappingDownloader/CrowdinMappingManager.swift",
"Providers/Crowdin/MappingDownloader/Operations/CrowdinPluralsMappingDownloadOperation.swift",
"Providers/Crowdin/MappingDownloader/Operations/CrowdinStringsMappingDownloadOperation.swift",
"Providers/Crowdin/MappingDownloader/Operations/CrowdinXliffMappingDownloadOperation.swift",
"Providers/Crowdin/Operations/AsyncOperation.swift",
"Providers/Crowdin/Operations/BlockAsyncOperation.swift",
"Providers/Crowdin/Operations/CrowdinDownloadOperation.swift",
"Providers/Crowdin/SupportedLanguages/CrowdinSupportedLanguages.swift",
"Settings/CrowdinLogDetailsVC/CrowdinLogDetailsVC.swift",
"Settings/CrowdinLogsVC/CrowdinLogCell/CrowdinLogCell.swift",
"Settings/CrowdinLogsVC/CrowdinLogCell/CrowdinLogCellViewModel.swift",
"Settings/CrowdinLogsVC/CrowdinLogsVC.swift",
"Settings/Extensions/Bundle+Module.swift",
"Settings/Extensions/CrowdinSDK+Settings.swift",
"Settings/Extensions/CrowdinSDKConfig+Settings.swift",
"Settings/SettingsView/SettingsItemCell/SettingsItemCell.swift",
"Settings/SettingsView/SettingsItemCell/SettingsItemView.swift",
"Settings/SettingsView/SettingsView+Gesture.swift",
"Settings/SettingsView/SettingsView+UITableView.swift",
"Settings/SettingsView/SettingsView.swift",
"Settings/SettingsWindow/SettingsWindow.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.