Fix using initialSubscriptions with @AsyncOpen and @AutoOpen #8572
35 warnings
Report Summary | |
---|---|
Errors | 0 |
Test Failures | 0 |
Analysis Issues | 0 |
Warnings | 35 |
Details
35 Warnings
Details
Realm/ObjectServerTests/AsyncSyncTests.swift:281
Non-sendable type 'Realm' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
Realm/TestUtils/TestUtils.mm:176
Unused function 'fakeJWT'
Realm/ObjectServerTests/AsyncSyncTests.swift:812
Passing argument of non-sendable type 'XCTestCase' outside of main actor-isolated context may introduce data races
Realm/RLMResults_Private.h:21
Double-quoted include "RLMRealm_Private.h" in framework header, expected angle-bracketed instead
Realm/TestUtils/include/TestUtils.h:24
Pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
Realm/ObjectServerTests/AsyncSyncTests.swift:897
Non-sendable type 'Realm' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
RealmSwift/SwiftUI.swift:1567
'transferredBytes' is deprecated: Use progressEstimate
Realm/ObjectServerTests/AsyncSyncTests.swift:1065
Passing argument of non-sendable type 'XCTestCase' outside of main actor-isolated context may introduce data races
Realm/ObjectServerTests/RLMObjectServerTests.mm:1546
'addProgressNotificationForDirection:mode:block:' is deprecated: Use addSyncProgressNotificationForDirection instead
Realm/ObjectServerTests/TimeoutProxyServer.swift:67
Converting non-sendable function value to '@Sendable (NWConnection) -> Void' may introduce data races
Realm/TestUtils/include/TestUtils.h:38
pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
Realm/ObjectServerTests/RLMObjectServerTests.mm:1733
'addProgressNotificationBlock:' is deprecated: Use addSyncProgressNotificationBlock instead
RealmSwift/SwiftUI.swift:1805
Main actor-isolated property 'projectedValue' cannot be used to satisfy nonisolated protocol requirement
RealmSwift/SwiftUI.swift:1810
Main actor-isolated property 'wrappedValue' cannot be used to satisfy nonisolated protocol requirement
Realm/TestUtils/include/TestUtils.h:38
Pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
RealmSwift/Realm.swift:1327
Passing argument of non-sendable type 'Realm' into actor-isolated context may introduce data races
RealmSwift/Realm.swift:1351
Passing argument of non-sendable type 'RLMRealm' outside of actor-isolated context may introduce data races
Realm/ObjectServerTests/SwiftMongoClientTests.swift:779
Passing argument of non-sendable type 'XCTestCase' outside of main actor-isolated context may introduce data races
RealmSwift/SwiftUI.swift:1818
Main actor-isolated instance method 'cancel()' cannot be used to satisfy nonisolated protocol requirement
Realm/ObjectServerTests/RealmServer.swift:486
Static property 'shared' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
Realm/RLMAsyncTask_Private.h:21
Double-quoted include "RLMRealm_Private.h" in framework header, expected angle-bracketed instead
Realm/ObjectServerTests/AsyncSyncTests.swift:877
Non-sendable type 'Realm' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
RealmSwift/SwiftUI.swift:1698
Main actor-isolated property 'wrappedValue' cannot be used to satisfy nonisolated protocol requirement
RealmSwift/SwiftUI.swift:1693
Main actor-isolated property 'projectedValue' cannot be used to satisfy nonisolated protocol requirement
Realm/ObjectServerTests/AsyncSyncTests.swift:23
Add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RealmSwift'
Realm/ObjectServerTests/AsyncSyncTests.swift:835
Passing argument of non-sendable type 'XCTestCase' outside of main actor-isolated context may introduce data races
RealmSwift/SwiftUI.swift:1566
'transferredBytes' is deprecated: Use progressEstimate
Realm/ObjectServerTests/RLMObjectServerTests.mm:1580
'addProgressNotificationForDirection:mode:block:' is deprecated: Use addSyncProgressNotificationForDirection instead
No App Category is set for target 'TestHost'. Set a category by using the General tab for your target, or by adding an appropriate LSApplicationCategory value to your Info.plist.
Realm/ObjectServerTests/SwiftSyncTestCase.swift:55
Main actor-isolated class 'SwiftSyncTestCase' has different actor isolation from nonisolated superclass 'RLMSyncTestCase'; this is an error in Swift 6
Realm/ObjectServerTests/SwiftMongoClientTests.swift:768
Passing argument of non-sendable type 'XCTestCase' outside of main actor-isolated context may introduce data races
Realm/ObjectServerTests/AsyncSyncTests.swift:1112
Passing argument of non-sendable type 'XCTestCase' outside of main actor-isolated context may introduce data races
Realm/TestUtils/include/TestUtils.h:24
pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
RealmSwift/SwiftUI.swift:1706
Main actor-isolated instance method 'cancel()' cannot be used to satisfy nonisolated protocol requirement
Realm/ObjectServerTests/AsyncSyncTests.swift:424
Non-sendable type '[AnyHashable : Any]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
Annotations
Check notice on line 1567 in RealmSwift/SwiftUI.swift
xcode-cloud / RealmSwift | sync_15.3 | Test - macOS
RealmSwift/SwiftUI.swift#L1567
'transferredBytes' is deprecated: Use progressEstimate
Check notice on line 1805 in RealmSwift/SwiftUI.swift
xcode-cloud / RealmSwift | sync_15.3 | Test - macOS
RealmSwift/SwiftUI.swift#L1805
Main actor-isolated property 'projectedValue' cannot be used to satisfy nonisolated protocol requirement
Check notice on line 1810 in RealmSwift/SwiftUI.swift
xcode-cloud / RealmSwift | sync_15.3 | Test - macOS
RealmSwift/SwiftUI.swift#L1810
Main actor-isolated property 'wrappedValue' cannot be used to satisfy nonisolated protocol requirement
Check notice on line 1818 in RealmSwift/SwiftUI.swift
xcode-cloud / RealmSwift | sync_15.3 | Test - macOS
RealmSwift/SwiftUI.swift#L1818
Main actor-isolated instance method 'cancel()' cannot be used to satisfy nonisolated protocol requirement
Check notice on line 1698 in RealmSwift/SwiftUI.swift
xcode-cloud / RealmSwift | sync_15.3 | Test - macOS
RealmSwift/SwiftUI.swift#L1698
Main actor-isolated property 'wrappedValue' cannot be used to satisfy nonisolated protocol requirement
Check notice on line 1693 in RealmSwift/SwiftUI.swift
xcode-cloud / RealmSwift | sync_15.3 | Test - macOS
RealmSwift/SwiftUI.swift#L1693
Main actor-isolated property 'projectedValue' cannot be used to satisfy nonisolated protocol requirement
Check notice on line 1566 in RealmSwift/SwiftUI.swift
xcode-cloud / RealmSwift | sync_15.3 | Test - macOS
RealmSwift/SwiftUI.swift#L1566
'transferredBytes' is deprecated: Use progressEstimate
Check notice on line 55 in Realm/ObjectServerTests/SwiftSyncTestCase.swift
xcode-cloud / RealmSwift | sync_15.3 | Test - macOS
Realm/ObjectServerTests/SwiftSyncTestCase.swift#L55
Main actor-isolated class 'SwiftSyncTestCase' has different actor isolation from nonisolated superclass 'RLMSyncTestCase'; this is an error in Swift 6
Check notice on line 1706 in RealmSwift/SwiftUI.swift
xcode-cloud / RealmSwift | sync_15.3 | Test - macOS
RealmSwift/SwiftUI.swift#L1706
Main actor-isolated instance method 'cancel()' cannot be used to satisfy nonisolated protocol requirement