Build Information
Successful build of MagicBell, reference main (8bd2e4
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 15:20:45 UTC.
Swift 6 data race errors: 4
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/magicbell/magicbell-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/magicbell/magicbell-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8bd2e47 fix: readme carthage version
Cloned https://github.com/magicbell/magicbell-swift.git
Revision (git rev-parse @):
8bd2e4734259681c2733aec2e1d29abd2dba17e0
SUCCESS checkout https://github.com/magicbell/magicbell-swift.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/magicbell/magicbell-swift.git
https://github.com/magicbell/magicbell-swift.git
{
"dependencies" : [
{
"identity" : "harmony-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mobilejazz/harmony-swift"
},
{
"identity" : "ably-cocoa",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.27",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ably/ably-cocoa"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "12.0.0",
"upper_bound" : "13.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
}
],
"manifest_display_name" : "MagicBell",
"name" : "MagicBell",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "MagicBell",
"targets" : [
"MagicBell"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MagicBellTests",
"module_type" : "SwiftTarget",
"name" : "MagicBellTests",
"path" : "Tests",
"product_dependencies" : [
"Nimble"
],
"sources" : [
"Common/Utils/BoolObjectMother.swift",
"Common/Utils/IntMotherObject.swift",
"Common/Utils/ResultUtils.swift",
"Common/Utils/StringMotherObject.swift",
"Features/Config/DeleteConfigMockInteractor.swift",
"Features/Config/GetConfigMockInteractor.swift",
"Features/Notification/NotificationMotherObject.swift",
"Features/Notification/Utils/ContentObserverMock.swift",
"Features/Notification/Utils/CountObserverMock.swift",
"Features/NotificationPreferences/Data/NotificationPreferencesEntityTests.swift",
"Features/Store/Mock/ActionNotificationMockInteractor.swift",
"Features/Store/Mock/DeleteNotificationMockInteractor.swift",
"Features/Store/Mock/FetchStorePageMockInteractor.swift",
"Features/Store/Mother Object/StorePageMotherObject.swift",
"Features/Store/NotificationStoreCombineTests.swift",
"Features/Store/NotificationStoreRealTimeTests.swift",
"Features/Store/NotificationStoreTests.swift",
"Features/Store/NotificationValidatorTests.swift",
"Features/Store/Utils/InitialNotificationStoreCounts.swift",
"Features/StoreRealTime/Mock/StoreRealTimeMock.swift",
"MagicBellTests.swift"
],
"target_dependencies" : [
"MagicBell"
],
"type" : "test"
},
{
"c99name" : "MagicBell",
"module_type" : "SwiftTarget",
"name" : "MagicBell",
"path" : "Source",
"product_dependencies" : [
"Harmony",
"Ably"
],
"product_memberships" : [
"MagicBell"
],
"sources" : [
"Common/Environment/Environment.swift",
"Common/Error/ErrorEntity.swift",
"Common/Error/MagicBellError.swift",
"Common/Error/MappingError.swift",
"Common/Error/NetworkError.swift",
"Common/Extension/CodingKey+JSON.swift",
"Common/Extension/String+Data.swift",
"Common/Logger/LogLevel.swift",
"Common/Network/DataToDecodableMapper.swift",
"Common/Network/EncodableToDataMapper.swift",
"Common/Network/HttpClient.swift",
"Common/Query/UserQuery.swift",
"Features/APNSToken/APNSEnvironment.swift",
"Features/APNSToken/APNSToken.swift",
"Features/APNSToken/APNSTokenDirector.swift",
"Features/APNSToken/APNSTokenProvider.swift",
"Features/APNSToken/Data/APNSTokenNetworkDataSource.swift",
"Features/APNSToken/Data/DeleteAPNSTokenQuery.swift",
"Features/APNSToken/Data/RegisterAPNSTokenQuery.swift",
"Features/APNSToken/Interactor/DeleteAPNSTokenInteractor.swift",
"Features/APNSToken/Interactor/RegisterAPNSTokensInteractor.swift",
"Features/Config/Config.swift",
"Features/Config/ConfigProvider.swift",
"Features/Config/Data/ConfigNetworkDataSource.swift",
"Features/Config/Interactor/DeleteConfigInteractor.swift",
"Features/Config/Interactor/GetConfigInteractor.swift",
"Features/Notification/Data/ActionNotificationNetworkDataSource.swift",
"Features/Notification/Data/NotificationNetworkDataSource.swift",
"Features/Notification/Data/NotificationQuery.swift",
"Features/Notification/Interactor/ActionNotificationInteractor.swift",
"Features/Notification/Interactor/DeleteNotificationInteractor.swift",
"Features/Notification/Interactor/GetNotificationInteractor.swift",
"Features/Notification/Notification.swift",
"Features/Notification/NotificationProvider.swift",
"Features/NotificationPreferences/Data/NotificationPreferencesEntity.swift",
"Features/NotificationPreferences/Data/NotificationPreferencesNetworkDataSource.swift",
"Features/NotificationPreferences/Interactor/GetNotificationPreferencesInteractor.swift",
"Features/NotificationPreferences/Interactor/UpdateNotificationPreferencesInteractor.swift",
"Features/NotificationPreferences/NotificationPreferences.swift",
"Features/NotificationPreferences/NotificationPreferencesDirector.swift",
"Features/NotificationPreferences/NotificationPreferencesMapper.swift",
"Features/NotificationPreferences/NotificationPreferencesProvider.swift",
"Features/Store/Data/StoreContext+QueryItems.swift",
"Features/Store/Data/StoreDataSource.swift",
"Features/Store/Data/StoreQuery.swift",
"Features/Store/Interactor/FetchStorePageInteractor.swift",
"Features/Store/Interactor/GetStorePagesInteractor.swift",
"Features/Store/NotificationStore.swift",
"Features/Store/NotificationStoreCombine.swift",
"Features/Store/NotificationStoreObserver.swift",
"Features/Store/NotificationStorePublisher.swift",
"Features/Store/NotificationValidator.swift",
"Features/Store/StoreContext.swift",
"Features/Store/StoreDirector.swift",
"Features/Store/StorePage.swift",
"Features/Store/StorePagePredicate.swift",
"Features/Store/StorePredicate.swift",
"Features/Store/StoreProvider.swift",
"Features/StoreRealTime/AblyConnector.swift",
"Features/StoreRealTime/AblyMessageProcessor.swift",
"Features/StoreRealTime/StoreRealTime.swift",
"Features/StoreRealTime/StoreRealTimeProvider.swift",
"MagicBellClient.swift",
"SDKProvider.swift",
"User.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/134] Copying PrivacyInfo.xcprivacy
[0/134] Write sources
[3/134] Write swift-version-2F0A5646E1D333AE.txt
[4/134] Compiling ARTSRMutex.m
[5/134] Compiling NSRunLoop+ARTSRWebSocket.m
[6/134] Compiling ARTSRURLUtilities.m
[7/134] Compiling Ably resource_bundle_accessor.m
[8/134] Compiling ARTSRPinningSecurityPolicy.m
[9/134] Compiling ARTSRRunLoopThread.m
[10/134] Compiling ARTSRHTTPConnectMessage.m
[11/134] Compiling ARTSRError.m
[12/134] Compiling ARTSRProxyConnect.m
[13/134] Compiling ARTSRIOConsumerPool.m
[14/166] Compiling ARTSRIOConsumer.m
[15/207] Compiling ARTSRConstants.m
[16/207] Compiling ARTSRSIMDHelpers.m
[17/207] Compiling ARTSRDelegateController.m
[18/207] Compiling NSURLRequest+ARTSRWebSocket.m
[19/207] Compiling ARTSRSecurityPolicy.m
[20/207] Compiling Ably NSURLQueryItem+Stringifiable.m
[21/207] Compiling ARTSRHash.m
[22/207] Compiling ARTSRRandom.m
[23/207] Compiling ARTSRWebSocket.m
[24/207] Compiling Ably ARTWrapperSDKProxyRealtimeChannels.m
[25/207] Compiling Ably ARTWrapperSDKProxyRealtimePresence.m
[26/207] Compiling Ably ARTWrapperSDKProxyRealtimeChannel.m
[27/207] Compiling Ably ARTWrapperSDKProxyRealtime.m
[28/207] Compiling Ably ARTWrapperSDKProxyPushDeviceRegistrations.m
[29/207] Compiling Ably ARTWrapperSDKProxyPushChannelSubscriptions.m
[30/207] Compiling Ably ARTWrapperSDKProxyPushChannel.m
[31/207] Compiling Ably ARTWrapperSDKProxyPushAdmin.m
[32/207] Compiling Ably ARTWrapperSDKProxyPush.m
[33/207] Compiling Ably ARTWrapperSDKProxyOptions.m
[34/207] Compiling Ably ARTWebSocketFactory.m
[35/207] Compiling Ably ARTWebSocketTransport.m
[36/207] Compiling Ably ARTURLSessionServerTrust.m
[37/207] Compiling Ably ARTTypes.m
[38/207] Compiling Ably ARTTokenRequest.m
[39/207] Compiling Ably ARTTokenParams.m
[40/207] Compiling Ably ARTTokenDetails.m
[41/207] Compiling Ably ARTTestClientOptions.m
[42/207] Compiling Ably ARTStringifiable.m
[43/207] Compiling Ably ARTStatus.m
[44/207] Compiling Ably ARTRetrySequence.m
[45/207] Compiling Ably ARTStats.m
[46/207] Compiling Ably ARTRestPresence.m
[47/207] Compiling Ably ARTRestChannels.m
[48/207] Compiling Ably ARTRestChannel.m
[49/207] Compiling Ably ARTRealtimeTransportFactory.m
[50/207] Compiling Ably ARTRest.m
[51/207] Compiling Ably ARTRealtimeTransport.m
[52/207] Compiling Ably ARTRealtimePresence.m
[53/207] Compiling Ably ARTRealtimeChannels.m
[54/207] Compiling Ably ARTRealtimeChannelOptions.m
[55/207] Compiling Ably ARTRealtimeChannel.m
[56/207] Compiling Ably ARTQueuedDealloc.m
[57/207] Compiling Ably ARTQueuedMessage.m
[58/207] Compiling Ably ARTRealtime.m
[59/207] Compiling Ably ARTPushDeviceRegistrations.m
[60/207] Compiling Ably ARTPushChannelSubscriptions.m
[61/207] Compiling Ably ARTPushChannelSubscription.m
[62/207] Compiling Ably ARTPushChannel.m
[63/207] Compiling Ably ARTPushAdmin.m
[64/207] Compiling Ably ARTPushActivationStateMachine.m
[65/207] Compiling Ably ARTPushActivationEvent.m
[66/207] Compiling Ably ARTPushActivationState.m
[67/207] Compiling Ably ARTPush.m
[68/207] Compiling Ably ARTProtocolMessage.m
[69/207] Compiling Ably ARTPresenceMessage.m
[70/207] Compiling Ably ARTPresence.m
[71/207] Compiling Ably ARTPendingMessage.m
[72/207] Compiling Ably ARTPaginatedResult.m
[73/207] Compiling Ably ARTNSString+ARTUtil.m
[74/207] Compiling Ably ARTNSURL+ARTUtils.m
[75/207] Compiling Ably ARTNSMutableURLRequest+ARTUtils.m
[76/207] Compiling Ably ARTNSMutableURLRequest+ARTPaginated.m
[77/207] Compiling Ably ARTNSMutableRequest+ARTRest.m
[78/207] Compiling Ably ARTNSMutableDictionary+ARTDictionaryUtil.m
[79/207] Compiling Ably ARTNSMutableRequest+ARTPush.m
[80/207] Compiling Ably ARTNSHTTPURLResponse+ARTPaginated.m
[81/207] Compiling Ably ARTOSReachability.m
[82/207] Compiling Ably ARTNSError+ARTUtils.m
[83/207] Compiling Ably ARTNSDictionary+ARTDictionaryUtil.m
[84/207] Compiling Ably ARTNSDate+ARTUtil.m
[85/207] Compiling Ably ARTNSArray+ARTFunctional.m
[86/207] Compiling Ably ARTMessageOperation.m
[87/207] Compiling Ably ARTLogAdapter.m
[88/207] Compiling Ably ARTMsgPackEncoder.m
[89/207] Compiling Ably ARTMessage.m
[90/207] Compiling Ably ARTLog.m
[91/207] Compiling Ably ARTLocalDeviceStorage.m
[92/207] Compiling Ably ARTLocalDevice.m
[93/207] Compiling Ably ARTJsonEncoder.m
[94/207] Compiling Ably ARTJitterCoefficientGenerator.m
[95/207] Compiling Ably ARTInternalLogCore.m
[96/207] Compiling Ably ARTInternalLog.m
[97/207] Compiling Ably ARTHttp.m
[98/207] Compiling Ably ARTJsonLikeEncoder.m
[99/207] Compiling Ably ARTGCD.m
[100/207] Compiling Ably ARTFormEncode.m
[101/207] Compiling Ably ARTHTTPPaginatedResponse.m
[102/207] Compiling Ably ARTFallbackHosts.m
[103/207] Compiling Ably ARTFallback.m
[104/207] Compiling Ably ARTEventEmitter.m
[105/207] Compiling Ably ARTErrorChecker.m
[106/207] Compiling Ably ARTDevicePushDetails.m
[107/207] Compiling Ably ARTDeviceIdentityTokenDetails.m
[108/207] Compiling Ably ARTDeviceDetails.m
[109/207] Compiling Ably ARTDefault.m
[110/207] Compiling Ably ARTDataEncoder.m
[111/207] Compiling Ably ARTConstants.m
[112/207] Compiling Ably ARTDataQuery.m
[113/207] Compiling Ably ARTContinuousClock.m
[114/207] Compiling Ably ARTConnectionStateChangeParams.m
[115/207] Compiling Ably ARTCrypto.m
[116/207] Compiling Ably ARTDeltaCodec.m
[117/207] Compiling Ably ARTConnectionDetails.m
[118/207] Compiling Ably ARTConnectRetryState.m
[119/207] Compiling Ably ARTClientOptions.m
[120/207] Compiling Ably ARTConnection.m
[121/207] Compiling Ably ARTChannelProtocol.m
[122/207] Compiling Ably ARTChannelStateChangeParams.m
[123/207] Compiling Ably ARTClientInformation.m
[124/207] Compiling Ably ARTChannelOptions.m
[125/207] Compiling Ably ARTBackoffRetryDelayCalculator.m
[126/207] Compiling Ably ARTChannels.m
[127/207] Compiling Ably ARTAuthOptions.m
[128/207] Compiling Ably ARTBaseMessage.m
[129/207] Compiling Ably ARTAuthDetails.m
[130/207] Compiling Ably ARTChannel.m
[131/207] Compiling Ably ARTAttachRequestParams.m
[132/207] Compiling Ably ARTAttachRetryState.m
[133/207] Compiling Ably ARTAuth.m
[135/207] Compiling Harmony RetryRepository.swift
[136/207] Compiling Harmony SingleDataSourceRepository.swift
[137/207] Compiling Harmony VoidRepository.swift
[138/207] Compiling Harmony ObjectValidation.swift
[139/207] Compiling Harmony VastraInvalidationStrategy.swift
[140/207] Compiling Harmony VastraReachabilityStrategy.swift
[141/207] Compiling Harmony VastraService.swift
[142/207] Compiling Harmony VastraStrategy.swift
[143/215] Emitting module Harmony
[144/215] Compiling Harmony RetryDataSource.swift
[145/215] Compiling Harmony TimedCacheDataSource.swift
[146/215] Compiling Harmony VoidDataSource.swift
[147/215] Compiling Harmony DataSourceMapper.swift
[148/215] Compiling Harmony Mapper+Codable.swift
[149/215] Compiling Harmony Mapper+NSCoding.swift
[150/215] Compiling Harmony Mapper.swift
[151/215] Compiling Harmony Operation.swift
[152/215] Compiling Harmony Query.swift
[153/215] Compiling Harmony AnyGetRepository.swift
[154/215] Compiling Harmony AnyPutRepository.swift
[155/215] Compiling Harmony AnyRepository.swift
[156/215] Compiling Harmony CacheRepository.swift
[157/215] Compiling Harmony Repository.swift
[158/215] Compiling Harmony RepositoryAssembler.swift
[159/215] Compiling Harmony RepositoryMapper.swift
[160/215] Compiling Harmony AnyPutDataSource.swift
[161/215] Compiling Harmony DataSource.swift
[162/215] Compiling Harmony DataSourceAssembler.swift
[163/215] Compiling Harmony DataSourceValidator.swift
[164/215] Compiling Harmony DebugDataSource.swift
[165/215] Compiling Harmony DeviceStorageDataSource.swift
[166/215] Compiling Harmony FileSystemStorageDataSource.swift
[167/215] Compiling Harmony InMemoryDataSource.swift
[168/215] Compiling Harmony VastraTimestampStrategy.swift
[169/215] Compiling Harmony VastraValidationStrategy.swift
[170/215] Compiling Harmony Interactor.swift
[171/215] Compiling Harmony InteractorDelete.swift
[172/215] Compiling Harmony InteractorGet.swift
[173/215] Compiling Harmony InteractorPut.swift
[174/215] Compiling Harmony Collections+Executor.swift
[175/215] Compiling Harmony DirectExecutor.swift
[176/215] Compiling Harmony KeyValueObserver.swift
[177/215] Compiling Harmony LinkRecognizer.swift
[178/215] Compiling Harmony DeviceConsoleLogger.swift
[179/215] Compiling Harmony Logger.swift
[180/215] Compiling Harmony ScopeLock.swift
[181/215] Compiling Harmony ScopeLockFuture.swift
[182/215] Compiling Harmony AnyDataSource.swift
[183/215] Compiling Harmony AnyGetDataSource.swift
[184/215] Compiling Harmony DispatchQueueExecutor.swift
[185/215] Compiling Harmony Executor.swift
[186/215] Compiling Harmony ExecutorFactory.swift
[187/215] Compiling Harmony OperationQueueExecutor.swift
[188/215] Compiling Harmony Executor+Future.swift
[189/215] Compiling Harmony Future+Batch.swift
[190/215] Compiling Harmony Future+Extensions.swift
[191/215] Compiling Harmony Future+Functional.swift
[192/215] Compiling Harmony Future+Operators.swift
[193/215] Compiling Harmony Future+Optionals.swift
[194/215] Compiling Harmony Future+Time.swift
[195/215] Compiling Harmony Future.swift
[196/215] Compiling Harmony Observable+Batch.swift
[197/215] Compiling Harmony Observable+Extensions.swift
[198/215] Compiling Harmony Observable+Functional.swift
[199/215] Compiling Harmony Observable+Optionals.swift
[200/215] Compiling Harmony ClassError.swift
[201/215] Compiling Harmony CoreError.swift
[202/215] Compiling Harmony ErrorHelper.swift
[203/215] Compiling Harmony Data+Extensions.swift
[204/215] Compiling Harmony JSONDecoding.swift
[205/215] Compiling Harmony String+Extensions.swift
[206/215] Compiling Harmony CodingKeyStrategies.swift
[207/215] Compiling Harmony MutableCodingKey.swift
[208/215] Compiling Harmony Observable+Time.swift
[209/215] Compiling Harmony Observable.swift
[210/215] Compiling Harmony ObservableHub.swift
[211/215] Compiling Harmony KeychainDataSource.swift
[212/215] Compiling Harmony KeychainGetInteractor.swift
[213/215] Compiling Harmony KeychainService.swift
[214/215] Compiling Harmony KeychainSetInteractor.swift
[215/215] Compiling Harmony SecureKey.swift
[216/275] Compiling MagicBell APNSTokenDirector.swift
/Users/admin/builder/spi-builder-workspace/Source/Features/APNSToken/APNSTokenDirector.swift:51:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
49 | self.logger.info(tag: magicBellTag, "Registering APNS token failed: \(error.localizedDescription)")
50 | DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(10)) { [weak self] in
51 | self?.registerAPNSToken(deviceToken)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
52 | }
53 | }
[217/275] Compiling MagicBell APNSTokenProvider.swift
/Users/admin/builder/spi-builder-workspace/Source/Features/APNSToken/APNSTokenDirector.swift:51:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
49 | self.logger.info(tag: magicBellTag, "Registering APNS token failed: \(error.localizedDescription)")
50 | DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(10)) { [weak self] in
51 | self?.registerAPNSToken(deviceToken)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
52 | }
53 | }
[218/275] Compiling MagicBell APNSTokenNetworkDataSource.swift
/Users/admin/builder/spi-builder-workspace/Source/Features/APNSToken/APNSTokenDirector.swift:51:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
49 | self.logger.info(tag: magicBellTag, "Registering APNS token failed: \(error.localizedDescription)")
50 | DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(10)) { [weak self] in
51 | self?.registerAPNSToken(deviceToken)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
52 | }
53 | }
[219/275] Compiling MagicBell DeleteAPNSTokenQuery.swift
/Users/admin/builder/spi-builder-workspace/Source/Features/APNSToken/APNSTokenDirector.swift:51:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
49 | self.logger.info(tag: magicBellTag, "Registering APNS token failed: \(error.localizedDescription)")
50 | DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(10)) { [weak self] in
51 | self?.registerAPNSToken(deviceToken)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
52 | }
53 | }
[220/275] Compiling MagicBell RegisterAPNSTokenQuery.swift
/Users/admin/builder/spi-builder-workspace/Source/Features/APNSToken/APNSTokenDirector.swift:51:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
49 | self.logger.info(tag: magicBellTag, "Registering APNS token failed: \(error.localizedDescription)")
50 | DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(10)) { [weak self] in
51 | self?.registerAPNSToken(deviceToken)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
52 | }
53 | }
[221/275] Compiling MagicBell DeleteAPNSTokenInteractor.swift
/Users/admin/builder/spi-builder-workspace/Source/Features/APNSToken/APNSTokenDirector.swift:51:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
49 | self.logger.info(tag: magicBellTag, "Registering APNS token failed: \(error.localizedDescription)")
50 | DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(10)) { [weak self] in
51 | self?.registerAPNSToken(deviceToken)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
52 | }
53 | }
[222/275] Compiling MagicBell RegisterAPNSTokensInteractor.swift
/Users/admin/builder/spi-builder-workspace/Source/Features/APNSToken/APNSTokenDirector.swift:51:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
49 | self.logger.info(tag: magicBellTag, "Registering APNS token failed: \(error.localizedDescription)")
50 | DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(10)) { [weak self] in
51 | self?.registerAPNSToken(deviceToken)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
52 | }
53 | }
[223/275] Compiling MagicBell NotificationPreferencesProvider.swift
[224/275] Compiling MagicBell StoreContext+QueryItems.swift
[225/275] Compiling MagicBell StoreDataSource.swift
[226/275] Compiling MagicBell StoreQuery.swift
[227/275] Compiling MagicBell FetchStorePageInteractor.swift
[228/275] Compiling MagicBell GetStorePagesInteractor.swift
[229/281] Compiling MagicBell Config.swift
[230/281] Compiling MagicBell ConfigProvider.swift
[231/281] Compiling MagicBell ConfigNetworkDataSource.swift
[232/281] Compiling MagicBell DeleteConfigInteractor.swift
[233/281] Compiling MagicBell GetConfigInteractor.swift
[234/281] Compiling MagicBell ActionNotificationNetworkDataSource.swift
[235/281] Compiling MagicBell NotificationNetworkDataSource.swift
[236/281] Compiling MagicBell LogLevel.swift
/Users/admin/builder/spi-builder-workspace/Source/Common/Network/HttpClient.swift:74:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<Data>' in a '@Sendable' closure
72 | urlSession.dataTask(with: urlRequest) { data, response, error in
73 | if let error = error {
74 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<Data>' in a '@Sendable' closure
75 | return
76 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/harmony-swift/Sources/Harmony/Future/Future/Future.swift:40:15: note: generic struct 'FutureResolver' does not conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: generic struct 'FutureResolver' does not conform to the 'Sendable' protocol
41 |
42 | private var future : Future<T>
/Users/admin/builder/spi-builder-workspace/Source/Common/Network/HttpClient.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Harmony'
13 |
14 | import Foundation
15 | import Harmony
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Harmony'
16 |
17 | protocol HttpClient {
[237/281] Compiling MagicBell DataToDecodableMapper.swift
/Users/admin/builder/spi-builder-workspace/Source/Common/Network/HttpClient.swift:74:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<Data>' in a '@Sendable' closure
72 | urlSession.dataTask(with: urlRequest) { data, response, error in
73 | if let error = error {
74 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<Data>' in a '@Sendable' closure
75 | return
76 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/harmony-swift/Sources/Harmony/Future/Future/Future.swift:40:15: note: generic struct 'FutureResolver' does not conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: generic struct 'FutureResolver' does not conform to the 'Sendable' protocol
41 |
42 | private var future : Future<T>
/Users/admin/builder/spi-builder-workspace/Source/Common/Network/HttpClient.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Harmony'
13 |
14 | import Foundation
15 | import Harmony
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Harmony'
16 |
17 | protocol HttpClient {
[238/281] Compiling MagicBell EncodableToDataMapper.swift
/Users/admin/builder/spi-builder-workspace/Source/Common/Network/HttpClient.swift:74:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<Data>' in a '@Sendable' closure
72 | urlSession.dataTask(with: urlRequest) { data, response, error in
73 | if let error = error {
74 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<Data>' in a '@Sendable' closure
75 | return
76 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/harmony-swift/Sources/Harmony/Future/Future/Future.swift:40:15: note: generic struct 'FutureResolver' does not conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: generic struct 'FutureResolver' does not conform to the 'Sendable' protocol
41 |
42 | private var future : Future<T>
/Users/admin/builder/spi-builder-workspace/Source/Common/Network/HttpClient.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Harmony'
13 |
14 | import Foundation
15 | import Harmony
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Harmony'
16 |
17 | protocol HttpClient {
[239/281] Compiling MagicBell HttpClient.swift
/Users/admin/builder/spi-builder-workspace/Source/Common/Network/HttpClient.swift:74:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<Data>' in a '@Sendable' closure
72 | urlSession.dataTask(with: urlRequest) { data, response, error in
73 | if let error = error {
74 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<Data>' in a '@Sendable' closure
75 | return
76 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/harmony-swift/Sources/Harmony/Future/Future/Future.swift:40:15: note: generic struct 'FutureResolver' does not conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: generic struct 'FutureResolver' does not conform to the 'Sendable' protocol
41 |
42 | private var future : Future<T>
/Users/admin/builder/spi-builder-workspace/Source/Common/Network/HttpClient.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Harmony'
13 |
14 | import Foundation
15 | import Harmony
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Harmony'
16 |
17 | protocol HttpClient {
[240/281] Compiling MagicBell UserQuery.swift
/Users/admin/builder/spi-builder-workspace/Source/Common/Network/HttpClient.swift:74:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<Data>' in a '@Sendable' closure
72 | urlSession.dataTask(with: urlRequest) { data, response, error in
73 | if let error = error {
74 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<Data>' in a '@Sendable' closure
75 | return
76 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/harmony-swift/Sources/Harmony/Future/Future/Future.swift:40:15: note: generic struct 'FutureResolver' does not conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: generic struct 'FutureResolver' does not conform to the 'Sendable' protocol
41 |
42 | private var future : Future<T>
/Users/admin/builder/spi-builder-workspace/Source/Common/Network/HttpClient.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Harmony'
13 |
14 | import Foundation
15 | import Harmony
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Harmony'
16 |
17 | protocol HttpClient {
[241/281] Compiling MagicBell APNSEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Source/Common/Network/HttpClient.swift:74:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<Data>' in a '@Sendable' closure
72 | urlSession.dataTask(with: urlRequest) { data, response, error in
73 | if let error = error {
74 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<Data>' in a '@Sendable' closure
75 | return
76 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/harmony-swift/Sources/Harmony/Future/Future/Future.swift:40:15: note: generic struct 'FutureResolver' does not conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: generic struct 'FutureResolver' does not conform to the 'Sendable' protocol
41 |
42 | private var future : Future<T>
/Users/admin/builder/spi-builder-workspace/Source/Common/Network/HttpClient.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Harmony'
13 |
14 | import Foundation
15 | import Harmony
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Harmony'
16 |
17 | protocol HttpClient {
[242/281] Compiling MagicBell APNSToken.swift
/Users/admin/builder/spi-builder-workspace/Source/Common/Network/HttpClient.swift:74:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<Data>' in a '@Sendable' closure
72 | urlSession.dataTask(with: urlRequest) { data, response, error in
73 | if let error = error {
74 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<Data>' in a '@Sendable' closure
75 | return
76 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/harmony-swift/Sources/Harmony/Future/Future/Future.swift:40:15: note: generic struct 'FutureResolver' does not conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: generic struct 'FutureResolver' does not conform to the 'Sendable' protocol
41 |
42 | private var future : Future<T>
/Users/admin/builder/spi-builder-workspace/Source/Common/Network/HttpClient.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Harmony'
13 |
14 | import Foundation
15 | import Harmony
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Harmony'
16 |
17 | protocol HttpClient {
[243/281] Emitting module MagicBell
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/MagicBellError.swift:16:14: warning: non-final class 'MagicBellError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | public class MagicBellError: LocalizedError, CustomStringConvertible {
| `- warning: non-final class 'MagicBellError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | public var errorDescription: String?
18 |
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/MagicBellError.swift:17:16: warning: stored property 'errorDescription' of 'Sendable'-conforming class 'MagicBellError' is mutable; this is an error in the Swift 6 language mode
15 |
16 | public class MagicBellError: LocalizedError, CustomStringConvertible {
17 | public var errorDescription: String?
| `- warning: stored property 'errorDescription' of 'Sendable'-conforming class 'MagicBellError' is mutable; this is an error in the Swift 6 language mode
18 |
19 | public init(_ errorMessage: String) {
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/MappingError.swift:16:7: warning: non-final class 'MappingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | class MappingError: LocalizedError {
| `- warning: non-final class 'MappingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | var errorDescription: String? {
18 | return "There was an error while mapping \(className)"
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/NetworkError.swift:16:7: warning: non-final class 'NetworkError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | class NetworkError: LocalizedError {
| `- warning: non-final class 'NetworkError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | private static let defaultErrorMessage = "Network error. Custom message not provided."
18 |
[244/281] Compiling MagicBell Environment.swift
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/MagicBellError.swift:16:14: warning: non-final class 'MagicBellError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | public class MagicBellError: LocalizedError, CustomStringConvertible {
| `- warning: non-final class 'MagicBellError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | public var errorDescription: String?
18 |
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/MagicBellError.swift:17:16: warning: stored property 'errorDescription' of 'Sendable'-conforming class 'MagicBellError' is mutable; this is an error in the Swift 6 language mode
15 |
16 | public class MagicBellError: LocalizedError, CustomStringConvertible {
17 | public var errorDescription: String?
| `- warning: stored property 'errorDescription' of 'Sendable'-conforming class 'MagicBellError' is mutable; this is an error in the Swift 6 language mode
18 |
19 | public init(_ errorMessage: String) {
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/MappingError.swift:16:7: warning: non-final class 'MappingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | class MappingError: LocalizedError {
| `- warning: non-final class 'MappingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | var errorDescription: String? {
18 | return "There was an error while mapping \(className)"
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/NetworkError.swift:16:7: warning: non-final class 'NetworkError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | class NetworkError: LocalizedError {
| `- warning: non-final class 'NetworkError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | private static let defaultErrorMessage = "Network error. Custom message not provided."
18 |
[245/281] Compiling MagicBell ErrorEntity.swift
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/MagicBellError.swift:16:14: warning: non-final class 'MagicBellError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | public class MagicBellError: LocalizedError, CustomStringConvertible {
| `- warning: non-final class 'MagicBellError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | public var errorDescription: String?
18 |
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/MagicBellError.swift:17:16: warning: stored property 'errorDescription' of 'Sendable'-conforming class 'MagicBellError' is mutable; this is an error in the Swift 6 language mode
15 |
16 | public class MagicBellError: LocalizedError, CustomStringConvertible {
17 | public var errorDescription: String?
| `- warning: stored property 'errorDescription' of 'Sendable'-conforming class 'MagicBellError' is mutable; this is an error in the Swift 6 language mode
18 |
19 | public init(_ errorMessage: String) {
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/MappingError.swift:16:7: warning: non-final class 'MappingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | class MappingError: LocalizedError {
| `- warning: non-final class 'MappingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | var errorDescription: String? {
18 | return "There was an error while mapping \(className)"
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/NetworkError.swift:16:7: warning: non-final class 'NetworkError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | class NetworkError: LocalizedError {
| `- warning: non-final class 'NetworkError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | private static let defaultErrorMessage = "Network error. Custom message not provided."
18 |
[246/281] Compiling MagicBell MagicBellError.swift
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/MagicBellError.swift:16:14: warning: non-final class 'MagicBellError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | public class MagicBellError: LocalizedError, CustomStringConvertible {
| `- warning: non-final class 'MagicBellError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | public var errorDescription: String?
18 |
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/MagicBellError.swift:17:16: warning: stored property 'errorDescription' of 'Sendable'-conforming class 'MagicBellError' is mutable; this is an error in the Swift 6 language mode
15 |
16 | public class MagicBellError: LocalizedError, CustomStringConvertible {
17 | public var errorDescription: String?
| `- warning: stored property 'errorDescription' of 'Sendable'-conforming class 'MagicBellError' is mutable; this is an error in the Swift 6 language mode
18 |
19 | public init(_ errorMessage: String) {
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/MappingError.swift:16:7: warning: non-final class 'MappingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | class MappingError: LocalizedError {
| `- warning: non-final class 'MappingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | var errorDescription: String? {
18 | return "There was an error while mapping \(className)"
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/NetworkError.swift:16:7: warning: non-final class 'NetworkError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | class NetworkError: LocalizedError {
| `- warning: non-final class 'NetworkError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | private static let defaultErrorMessage = "Network error. Custom message not provided."
18 |
[247/281] Compiling MagicBell MappingError.swift
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/MagicBellError.swift:16:14: warning: non-final class 'MagicBellError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | public class MagicBellError: LocalizedError, CustomStringConvertible {
| `- warning: non-final class 'MagicBellError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | public var errorDescription: String?
18 |
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/MagicBellError.swift:17:16: warning: stored property 'errorDescription' of 'Sendable'-conforming class 'MagicBellError' is mutable; this is an error in the Swift 6 language mode
15 |
16 | public class MagicBellError: LocalizedError, CustomStringConvertible {
17 | public var errorDescription: String?
| `- warning: stored property 'errorDescription' of 'Sendable'-conforming class 'MagicBellError' is mutable; this is an error in the Swift 6 language mode
18 |
19 | public init(_ errorMessage: String) {
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/MappingError.swift:16:7: warning: non-final class 'MappingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | class MappingError: LocalizedError {
| `- warning: non-final class 'MappingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | var errorDescription: String? {
18 | return "There was an error while mapping \(className)"
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/NetworkError.swift:16:7: warning: non-final class 'NetworkError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | class NetworkError: LocalizedError {
| `- warning: non-final class 'NetworkError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | private static let defaultErrorMessage = "Network error. Custom message not provided."
18 |
[248/281] Compiling MagicBell NetworkError.swift
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/MagicBellError.swift:16:14: warning: non-final class 'MagicBellError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | public class MagicBellError: LocalizedError, CustomStringConvertible {
| `- warning: non-final class 'MagicBellError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | public var errorDescription: String?
18 |
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/MagicBellError.swift:17:16: warning: stored property 'errorDescription' of 'Sendable'-conforming class 'MagicBellError' is mutable; this is an error in the Swift 6 language mode
15 |
16 | public class MagicBellError: LocalizedError, CustomStringConvertible {
17 | public var errorDescription: String?
| `- warning: stored property 'errorDescription' of 'Sendable'-conforming class 'MagicBellError' is mutable; this is an error in the Swift 6 language mode
18 |
19 | public init(_ errorMessage: String) {
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/MappingError.swift:16:7: warning: non-final class 'MappingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | class MappingError: LocalizedError {
| `- warning: non-final class 'MappingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | var errorDescription: String? {
18 | return "There was an error while mapping \(className)"
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/NetworkError.swift:16:7: warning: non-final class 'NetworkError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | class NetworkError: LocalizedError {
| `- warning: non-final class 'NetworkError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | private static let defaultErrorMessage = "Network error. Custom message not provided."
18 |
[249/281] Compiling MagicBell CodingKey+JSON.swift
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/MagicBellError.swift:16:14: warning: non-final class 'MagicBellError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | public class MagicBellError: LocalizedError, CustomStringConvertible {
| `- warning: non-final class 'MagicBellError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | public var errorDescription: String?
18 |
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/MagicBellError.swift:17:16: warning: stored property 'errorDescription' of 'Sendable'-conforming class 'MagicBellError' is mutable; this is an error in the Swift 6 language mode
15 |
16 | public class MagicBellError: LocalizedError, CustomStringConvertible {
17 | public var errorDescription: String?
| `- warning: stored property 'errorDescription' of 'Sendable'-conforming class 'MagicBellError' is mutable; this is an error in the Swift 6 language mode
18 |
19 | public init(_ errorMessage: String) {
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/MappingError.swift:16:7: warning: non-final class 'MappingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | class MappingError: LocalizedError {
| `- warning: non-final class 'MappingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | var errorDescription: String? {
18 | return "There was an error while mapping \(className)"
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/NetworkError.swift:16:7: warning: non-final class 'NetworkError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | class NetworkError: LocalizedError {
| `- warning: non-final class 'NetworkError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | private static let defaultErrorMessage = "Network error. Custom message not provided."
18 |
[250/281] Compiling MagicBell String+Data.swift
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/MagicBellError.swift:16:14: warning: non-final class 'MagicBellError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | public class MagicBellError: LocalizedError, CustomStringConvertible {
| `- warning: non-final class 'MagicBellError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | public var errorDescription: String?
18 |
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/MagicBellError.swift:17:16: warning: stored property 'errorDescription' of 'Sendable'-conforming class 'MagicBellError' is mutable; this is an error in the Swift 6 language mode
15 |
16 | public class MagicBellError: LocalizedError, CustomStringConvertible {
17 | public var errorDescription: String?
| `- warning: stored property 'errorDescription' of 'Sendable'-conforming class 'MagicBellError' is mutable; this is an error in the Swift 6 language mode
18 |
19 | public init(_ errorMessage: String) {
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/MappingError.swift:16:7: warning: non-final class 'MappingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | class MappingError: LocalizedError {
| `- warning: non-final class 'MappingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | var errorDescription: String? {
18 | return "There was an error while mapping \(className)"
/Users/admin/builder/spi-builder-workspace/Source/Common/Error/NetworkError.swift:16:7: warning: non-final class 'NetworkError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | class NetworkError: LocalizedError {
| `- warning: non-final class 'NetworkError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | private static let defaultErrorMessage = "Network error. Custom message not provided."
18 |
[251/281] Compiling MagicBell NotificationQuery.swift
[252/281] Compiling MagicBell ActionNotificationInteractor.swift
[253/281] Compiling MagicBell DeleteNotificationInteractor.swift
[254/281] Compiling MagicBell GetNotificationInteractor.swift
[255/281] Compiling MagicBell Notification.swift
[256/281] Compiling MagicBell NotificationProvider.swift
[257/281] Compiling MagicBell NotificationPreferencesEntity.swift
[258/281] Compiling MagicBell NotificationPreferencesNetworkDataSource.swift
[259/281] Compiling MagicBell GetNotificationPreferencesInteractor.swift
[260/281] Compiling MagicBell UpdateNotificationPreferencesInteractor.swift
[261/281] Compiling MagicBell NotificationPreferences.swift
[262/281] Compiling MagicBell NotificationPreferencesDirector.swift
[263/281] Compiling MagicBell NotificationPreferencesMapper.swift
[264/281] Compiling MagicBell StoreDirector.swift
/Users/admin/builder/spi-builder-workspace/Source/Features/Store/StoreDirector.swift:117:21: warning: capture of 'self' with non-sendable type 'RealTimeByPredicateStoreDirector' in a '@Sendable' closure
67 |
68 |
69 | class RealTimeByPredicateStoreDirector: InternalStoreDirector {
| `- note: class 'RealTimeByPredicateStoreDirector' does not conform to the 'Sendable' protocol
70 |
71 | private var stores: [NotificationStore] = []
:
115 | self.logger.info(tag: magicBellTag, "User Config couldn't be retrieved. Attempting to fetch config and connect to ably in 30 seconds: \(error)")
116 | Timer.scheduledTimer(withTimeInterval: 30, repeats: false) { [self] _ in
117 | startRealTimeConnection()
| `- warning: capture of 'self' with non-sendable type 'RealTimeByPredicateStoreDirector' in a '@Sendable' closure
118 | }
119 | }
[265/281] Compiling MagicBell StorePage.swift
/Users/admin/builder/spi-builder-workspace/Source/Features/Store/StoreDirector.swift:117:21: warning: capture of 'self' with non-sendable type 'RealTimeByPredicateStoreDirector' in a '@Sendable' closure
67 |
68 |
69 | class RealTimeByPredicateStoreDirector: InternalStoreDirector {
| `- note: class 'RealTimeByPredicateStoreDirector' does not conform to the 'Sendable' protocol
70 |
71 | private var stores: [NotificationStore] = []
:
115 | self.logger.info(tag: magicBellTag, "User Config couldn't be retrieved. Attempting to fetch config and connect to ably in 30 seconds: \(error)")
116 | Timer.scheduledTimer(withTimeInterval: 30, repeats: false) { [self] _ in
117 | startRealTimeConnection()
| `- warning: capture of 'self' with non-sendable type 'RealTimeByPredicateStoreDirector' in a '@Sendable' closure
118 | }
119 | }
[266/281] Compiling MagicBell StorePagePredicate.swift
/Users/admin/builder/spi-builder-workspace/Source/Features/Store/StoreDirector.swift:117:21: warning: capture of 'self' with non-sendable type 'RealTimeByPredicateStoreDirector' in a '@Sendable' closure
67 |
68 |
69 | class RealTimeByPredicateStoreDirector: InternalStoreDirector {
| `- note: class 'RealTimeByPredicateStoreDirector' does not conform to the 'Sendable' protocol
70 |
71 | private var stores: [NotificationStore] = []
:
115 | self.logger.info(tag: magicBellTag, "User Config couldn't be retrieved. Attempting to fetch config and connect to ably in 30 seconds: \(error)")
116 | Timer.scheduledTimer(withTimeInterval: 30, repeats: false) { [self] _ in
117 | startRealTimeConnection()
| `- warning: capture of 'self' with non-sendable type 'RealTimeByPredicateStoreDirector' in a '@Sendable' closure
118 | }
119 | }
[267/281] Compiling MagicBell StorePredicate.swift
/Users/admin/builder/spi-builder-workspace/Source/Features/Store/StoreDirector.swift:117:21: warning: capture of 'self' with non-sendable type 'RealTimeByPredicateStoreDirector' in a '@Sendable' closure
67 |
68 |
69 | class RealTimeByPredicateStoreDirector: InternalStoreDirector {
| `- note: class 'RealTimeByPredicateStoreDirector' does not conform to the 'Sendable' protocol
70 |
71 | private var stores: [NotificationStore] = []
:
115 | self.logger.info(tag: magicBellTag, "User Config couldn't be retrieved. Attempting to fetch config and connect to ably in 30 seconds: \(error)")
116 | Timer.scheduledTimer(withTimeInterval: 30, repeats: false) { [self] _ in
117 | startRealTimeConnection()
| `- warning: capture of 'self' with non-sendable type 'RealTimeByPredicateStoreDirector' in a '@Sendable' closure
118 | }
119 | }
[268/281] Compiling MagicBell StoreProvider.swift
/Users/admin/builder/spi-builder-workspace/Source/Features/Store/StoreDirector.swift:117:21: warning: capture of 'self' with non-sendable type 'RealTimeByPredicateStoreDirector' in a '@Sendable' closure
67 |
68 |
69 | class RealTimeByPredicateStoreDirector: InternalStoreDirector {
| `- note: class 'RealTimeByPredicateStoreDirector' does not conform to the 'Sendable' protocol
70 |
71 | private var stores: [NotificationStore] = []
:
115 | self.logger.info(tag: magicBellTag, "User Config couldn't be retrieved. Attempting to fetch config and connect to ably in 30 seconds: \(error)")
116 | Timer.scheduledTimer(withTimeInterval: 30, repeats: false) { [self] _ in
117 | startRealTimeConnection()
| `- warning: capture of 'self' with non-sendable type 'RealTimeByPredicateStoreDirector' in a '@Sendable' closure
118 | }
119 | }
[269/281] Compiling MagicBell AblyConnector.swift
/Users/admin/builder/spi-builder-workspace/Source/Features/Store/StoreDirector.swift:117:21: warning: capture of 'self' with non-sendable type 'RealTimeByPredicateStoreDirector' in a '@Sendable' closure
67 |
68 |
69 | class RealTimeByPredicateStoreDirector: InternalStoreDirector {
| `- note: class 'RealTimeByPredicateStoreDirector' does not conform to the 'Sendable' protocol
70 |
71 | private var stores: [NotificationStore] = []
:
115 | self.logger.info(tag: magicBellTag, "User Config couldn't be retrieved. Attempting to fetch config and connect to ably in 30 seconds: \(error)")
116 | Timer.scheduledTimer(withTimeInterval: 30, repeats: false) { [self] _ in
117 | startRealTimeConnection()
| `- warning: capture of 'self' with non-sendable type 'RealTimeByPredicateStoreDirector' in a '@Sendable' closure
118 | }
119 | }
[270/281] Compiling MagicBell NotificationStore.swift
[271/281] Compiling MagicBell NotificationStoreCombine.swift
[272/281] Compiling MagicBell NotificationStoreObserver.swift
[273/281] Compiling MagicBell NotificationStorePublisher.swift
[274/281] Compiling MagicBell NotificationValidator.swift
[275/281] Compiling MagicBell StoreContext.swift
[276/281] Compiling MagicBell AblyMessageProcessor.swift
[277/281] Compiling MagicBell StoreRealTime.swift
[278/281] Compiling MagicBell StoreRealTimeProvider.swift
[279/281] Compiling MagicBell MagicBellClient.swift
[280/281] Compiling MagicBell SDKProvider.swift
[281/281] Compiling MagicBell User.swift
Build complete! (34.20s)
Fetching https://github.com/mobilejazz/harmony-swift
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/ably/ably-cocoa
[1/12247] Fetching harmony-swift
[2/31814] Fetching harmony-swift, nimble
[1105/76281] Fetching harmony-swift, nimble, ably-cocoa
Fetched https://github.com/Quick/Nimble.git from cache (6.26s)
Fetched https://github.com/mobilejazz/harmony-swift from cache (6.26s)
Fetched https://github.com/ably/ably-cocoa from cache (6.26s)
Computing version for https://github.com/mobilejazz/harmony-swift
Computed https://github.com/mobilejazz/harmony-swift at 2.0.2 (6.88s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 12.3.0 (0.64s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[13/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.86s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.43s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.72s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.32s)
Computing version for https://github.com/ably/ably-cocoa
Computed https://github.com/ably/ably-cocoa at 1.2.40 (0.59s)
Fetching https://github.com/ably/delta-codec-cocoa
Fetching https://github.com/rvi/msgpack-objective-C
[1/577] Fetching delta-codec-cocoa
[2/1083] Fetching delta-codec-cocoa, msgpack-objective-c
Fetched https://github.com/rvi/msgpack-objective-C from cache (0.85s)
Fetched https://github.com/ably/delta-codec-cocoa from cache (0.85s)
Computing version for https://github.com/ably/delta-codec-cocoa
Computed https://github.com/ably/delta-codec-cocoa at 1.3.3 (1.43s)
Computing version for https://github.com/rvi/msgpack-objective-C
Computed https://github.com/rvi/msgpack-objective-C at 0.4.0 (0.56s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/mobilejazz/harmony-swift
Working copy of https://github.com/mobilejazz/harmony-swift resolved at 2.0.2
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/ably/delta-codec-cocoa
Working copy of https://github.com/ably/delta-codec-cocoa resolved at 1.3.3
Creating working copy for https://github.com/ably/ably-cocoa
Working copy of https://github.com/ably/ably-cocoa resolved at 1.2.40
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 12.3.0
Creating working copy for https://github.com/rvi/msgpack-objective-C
Working copy of https://github.com/rvi/msgpack-objective-C resolved at 0.4.0
Build complete.
{
"dependencies" : [
{
"identity" : "harmony-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mobilejazz/harmony-swift"
},
{
"identity" : "ably-cocoa",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.27",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ably/ably-cocoa"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "12.0.0",
"upper_bound" : "13.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
}
],
"manifest_display_name" : "MagicBell",
"name" : "MagicBell",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "MagicBell",
"targets" : [
"MagicBell"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MagicBellTests",
"module_type" : "SwiftTarget",
"name" : "MagicBellTests",
"path" : "Tests",
"product_dependencies" : [
"Nimble"
],
"sources" : [
"Common/Utils/BoolObjectMother.swift",
"Common/Utils/IntMotherObject.swift",
"Common/Utils/ResultUtils.swift",
"Common/Utils/StringMotherObject.swift",
"Features/Config/DeleteConfigMockInteractor.swift",
"Features/Config/GetConfigMockInteractor.swift",
"Features/Notification/NotificationMotherObject.swift",
"Features/Notification/Utils/ContentObserverMock.swift",
"Features/Notification/Utils/CountObserverMock.swift",
"Features/NotificationPreferences/Data/NotificationPreferencesEntityTests.swift",
"Features/Store/Mock/ActionNotificationMockInteractor.swift",
"Features/Store/Mock/DeleteNotificationMockInteractor.swift",
"Features/Store/Mock/FetchStorePageMockInteractor.swift",
"Features/Store/Mother Object/StorePageMotherObject.swift",
"Features/Store/NotificationStoreCombineTests.swift",
"Features/Store/NotificationStoreRealTimeTests.swift",
"Features/Store/NotificationStoreTests.swift",
"Features/Store/NotificationValidatorTests.swift",
"Features/Store/Utils/InitialNotificationStoreCounts.swift",
"Features/StoreRealTime/Mock/StoreRealTimeMock.swift",
"MagicBellTests.swift"
],
"target_dependencies" : [
"MagicBell"
],
"type" : "test"
},
{
"c99name" : "MagicBell",
"module_type" : "SwiftTarget",
"name" : "MagicBell",
"path" : "Source",
"product_dependencies" : [
"Harmony",
"Ably"
],
"product_memberships" : [
"MagicBell"
],
"sources" : [
"Common/Environment/Environment.swift",
"Common/Error/ErrorEntity.swift",
"Common/Error/MagicBellError.swift",
"Common/Error/MappingError.swift",
"Common/Error/NetworkError.swift",
"Common/Extension/CodingKey+JSON.swift",
"Common/Extension/String+Data.swift",
"Common/Logger/LogLevel.swift",
"Common/Network/DataToDecodableMapper.swift",
"Common/Network/EncodableToDataMapper.swift",
"Common/Network/HttpClient.swift",
"Common/Query/UserQuery.swift",
"Features/APNSToken/APNSEnvironment.swift",
"Features/APNSToken/APNSToken.swift",
"Features/APNSToken/APNSTokenDirector.swift",
"Features/APNSToken/APNSTokenProvider.swift",
"Features/APNSToken/Data/APNSTokenNetworkDataSource.swift",
"Features/APNSToken/Data/DeleteAPNSTokenQuery.swift",
"Features/APNSToken/Data/RegisterAPNSTokenQuery.swift",
"Features/APNSToken/Interactor/DeleteAPNSTokenInteractor.swift",
"Features/APNSToken/Interactor/RegisterAPNSTokensInteractor.swift",
"Features/Config/Config.swift",
"Features/Config/ConfigProvider.swift",
"Features/Config/Data/ConfigNetworkDataSource.swift",
"Features/Config/Interactor/DeleteConfigInteractor.swift",
"Features/Config/Interactor/GetConfigInteractor.swift",
"Features/Notification/Data/ActionNotificationNetworkDataSource.swift",
"Features/Notification/Data/NotificationNetworkDataSource.swift",
"Features/Notification/Data/NotificationQuery.swift",
"Features/Notification/Interactor/ActionNotificationInteractor.swift",
"Features/Notification/Interactor/DeleteNotificationInteractor.swift",
"Features/Notification/Interactor/GetNotificationInteractor.swift",
"Features/Notification/Notification.swift",
"Features/Notification/NotificationProvider.swift",
"Features/NotificationPreferences/Data/NotificationPreferencesEntity.swift",
"Features/NotificationPreferences/Data/NotificationPreferencesNetworkDataSource.swift",
"Features/NotificationPreferences/Interactor/GetNotificationPreferencesInteractor.swift",
"Features/NotificationPreferences/Interactor/UpdateNotificationPreferencesInteractor.swift",
"Features/NotificationPreferences/NotificationPreferences.swift",
"Features/NotificationPreferences/NotificationPreferencesDirector.swift",
"Features/NotificationPreferences/NotificationPreferencesMapper.swift",
"Features/NotificationPreferences/NotificationPreferencesProvider.swift",
"Features/Store/Data/StoreContext+QueryItems.swift",
"Features/Store/Data/StoreDataSource.swift",
"Features/Store/Data/StoreQuery.swift",
"Features/Store/Interactor/FetchStorePageInteractor.swift",
"Features/Store/Interactor/GetStorePagesInteractor.swift",
"Features/Store/NotificationStore.swift",
"Features/Store/NotificationStoreCombine.swift",
"Features/Store/NotificationStoreObserver.swift",
"Features/Store/NotificationStorePublisher.swift",
"Features/Store/NotificationValidator.swift",
"Features/Store/StoreContext.swift",
"Features/Store/StoreDirector.swift",
"Features/Store/StorePage.swift",
"Features/Store/StorePagePredicate.swift",
"Features/Store/StorePredicate.swift",
"Features/Store/StoreProvider.swift",
"Features/StoreRealTime/AblyConnector.swift",
"Features/StoreRealTime/AblyMessageProcessor.swift",
"Features/StoreRealTime/StoreRealTime.swift",
"Features/StoreRealTime/StoreRealTimeProvider.swift",
"MagicBellClient.swift",
"SDKProvider.swift",
"User.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.