Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow creating notifiers inside write transactions before the first change #8439

Merged
merged 1 commit into from
Dec 19, 2023

Allow creating notifiers inside write transactions before the first c…

535097a
Select commit
Loading
Failed to load commit list.
Merged

Allow creating notifiers inside write transactions before the first change #8439

Allow creating notifiers inside write transactions before the first c…
535097a
Select commit
Loading
Failed to load commit list.
Xcode Cloud / RealmSwift | sync_15.1 | Test - macOS succeeded Dec 19, 2023 in 20m 56s

22 warnings

Report Summary
Errors 0
Test Failures 0
Analysis Issues 0
Warnings 22

Details

22 Warnings

Details

  Realm/ObjectServerTests/SwiftObjectServerTests.swift:3488
      Passing argument of non-sendable type 'RLMSyncSession.ProgressDirection' outside of main actor-isolated context may introduce data races
  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.
  file:///Volumes/workspace/DerivedData/Build/Products/Release/include/external/json/json.hpp:24596
      No newline at end of file
  RealmSwift/Impl/RealmCollectionImpl.swift:188
      Passing argument of non-sendable type 'Value' outside of actor-isolated context may introduce data races
  Direct access in function 'realm::sync::InstructionApplier::operator()(realm::sync::instr::SetInsert const&)::SetInsertResolver::on_set(realm::SetBase&)' from file '/Volumes/workspace/DerivedData/Build/Products/Release/librealm-monorepo.a(instruction_applier.o)' to global weak symbol 'typeinfo for realm::Set' from file '/Volumes/workspace/DerivedData/Build/Products/Release/librealm-monorepo.a(set.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
  Realm/ObjectServerTests/TimeoutProxyServer.swift:22
      '@preconcurrency' attribute on module 'Network' is unused
  Direct access in function 'realm::sync::InstructionApplier::operator()(realm::sync::instr::SetErase const&)::SetEraseResolver::on_set(realm::SetBase&)' from file '/Volumes/workspace/DerivedData/Build/Products/Release/librealm-monorepo.a(instruction_applier.o)' to global weak symbol 'typeinfo for realm::Set' from file '/Volumes/workspace/DerivedData/Build/Products/Release/librealm-monorepo.a(set.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
  Realm/ObjectServerTests/TimeoutProxyServer.swift:67
      Converting non-sendable function value to '@Sendable (NWConnection) -> Void' may introduce data races
  RealmSwift/Impl/RealmCollectionImpl.swift:205
      Passing argument of non-sendable type 'Value' outside of actor-isolated context may introduce data races
  Realm/ObjectServerTests/SwiftObjectServerTests.swift:24
      Add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RealmSwift'
  Direct access in function 'makeError(realm::SyncError&&)' from file '/Volumes/workspace/DerivedData/Build/Intermediates.noindex/Realm.build/Release/Realm.build/Objects-normal/arm64/Realm_lto.o/17.arm64.thinlto.o' to global weak symbol 'realm::SyncError::c_recovery_file_path_key' from file '/Volumes/workspace/DerivedData/Build/Products/Release/librealm-monorepo.a(sync_session.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
  Realm/RLMAsyncTask_Private.h:21
      Double-quoted include "RLMRealm_Private.h" in framework header, expected angle-bracketed instead
  Realm/ObjectServerTests/SwiftObjectServerTests.swift:3309
      Non-sendable type 'Realm' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
  Realm/ObjectServerTests/SwiftFlexibleSyncServerTests.swift:1458
      Non-sendable type 'Realm' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
  Realm/ObjectServerTests/SwiftObjectServerTests.swift:3053
      Non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
  Realm/RLMResults_Private.h:21
      Double-quoted include "RLMRealm_Private.h" in framework header, expected angle-bracketed instead
  Realm/ObjectServerTests/SwiftFlexibleSyncServerTests.swift:1475
      Non-sendable type 'Realm' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
  Realm/ObjectServerTests/SwiftObjectServerTests.swift:3513
      Passing argument of non-sendable type 'RLMSyncSession.ProgressDirection' outside of main actor-isolated context may introduce data races
  Realm/ObjectServerTests/SwiftFlexibleSyncServerTests.swift:20
      Add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RealmSwift'
  Direct access in function 'makeError(realm::SyncError&&)' from file '/Volumes/workspace/DerivedData/Build/Intermediates.noindex/Realm.build/Release/Realm.build/Objects-normal/arm64/Realm_lto.o/17.arm64.thinlto.o' to global weak symbol 'realm::SyncError::c_original_file_path_key' from file '/Volumes/workspace/DerivedData/Build/Products/Release/librealm-monorepo.a(sync_session.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
  Realm/ObjectServerTests/SwiftFlexibleSyncServerTests.swift:1475
      Reference to static property 'shared' is not concurrency-safe because it involves shared mutable state
  Realm/ObjectServerTests/SwiftObjectServerTests.swift:3459
      Non-sendable type '[AnyHashable : Any]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary