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

RCOCOA-1883: Add "Sync is not enabled for this App" as a catchable error in error handler #8643

Merged
merged 5 commits into from
Jul 24, 2024

Solve PR comments

6191b22
Select commit
Loading
Failed to load commit list.
Merged

RCOCOA-1883: Add "Sync is not enabled for this App" as a catchable error in error handler #8643

Solve PR comments
6191b22
Select commit
Loading
Failed to load commit list.
Xcode Cloud / RealmSwift | ios-swift_16 beta 3 | Test - iOS succeeded Jul 24, 2024 in 24m 23s

62 warnings

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

Details

62 Warnings

Details

  RealmSwift/SwiftUI.swift:83
      Capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  RealmSwift/Tests/RealmTests.swift:22
      Add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RealmSwift'
  RealmSwift/SwiftUI.swift:77
      Mutation of captured var 'lastValue' in concurrently-executing code; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:81
      Reference to captured var 'lastValue' in concurrently-executing code; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:1598
      'transferredBytes' is deprecated: Use progressEstimate
  Realm/RLMResults_Private.h:21
      Double-quoted include "RLMRealm_Private.h" in framework header, expected angle-bracketed instead
  RealmSwift/Tests/RealmTests.swift:1846
      Non-sendable type 'Realm' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
  RealmSwift/Tests/RealmTests.swift:1702
      Non-sendable type 'Realm' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:108
      Capture of 'keyPath' with non-sendable type 'ReferenceWritableKeyPath' in an isolated closure; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:54
      Reference to captured var 'lastValue' in concurrently-executing code; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:54
      Capture of 'lastValue' with non-sendable type 'V' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:101
      Capture of 'lastValue' with non-sendable type 'V' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  RealmSwift/Tests/RealmTests.swift:1774
      Non-sendable type 'Realm' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
  RealmSwift/Tests/RealmTests.swift:1517
      Non-sendable type 'Realm' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:78
      Reference to captured var 'lastValue' in concurrently-executing code; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:76
      Capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:102
      Capture of 'keyPath' with non-sendable type 'ReferenceWritableKeyPath' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  RealmSwift/Tests/RealmTests.swift:1739
      Non-sendable type 'Realm' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
  RealmSwift/Tests/ObjectTests.swift:1616
      Non-sendable type 'Realm' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
  RealmSwift/Tests/RealmTests.swift:1880
      Non-sendable type 'Realm' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
  RealmSwift/Tests/RealmTests.swift:1757
      Non-sendable type 'Realm' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:106
      Capture of 'keyPath' with non-sendable type 'ReferenceWritableKeyPath' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  RealmSwift/Tests/RealmTests.swift:1823
      Non-sendable type 'Realm' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
  RealmSwift/Tests/RealmTests.swift:1871
      Non-sendable type 'Realm' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
  RealmSwift/Tests/RealmTests.swift:1501
      Non-sendable type 'Realm' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
  RealmSwift/Tests/ObjectTests.swift:21
      Add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RealmSwift'
  RealmSwift/SwiftUI.swift:56
      Reference to captured var 'lastValue' in concurrently-executing code; this is an error in the Swift 6 language mode
  RealmSwift/Tests/RealmCollectionTypeTests.swift:22
      Add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RealmSwift'
  RealmSwift/Tests/RealmTests.swift:1828
      Non-sendable type 'Realm' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
  RealmSwift/Tests/RealmTests.swift:1727
      Non-sendable type 'Realm' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
  not stripping binary because it is signed: /Volumes/workspace/DerivedData/Build/Products/Release-iphonesimulator/RealmSwift.framework/RealmSwift
  RealmSwift/SwiftUI.swift:76
      Capture of 'lastValue' with non-sendable type 'V' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:58
      Capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:103
      Reference to captured var 'lastValue' in concurrently-executing code; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:60
      Capture of 'keyPath' with non-sendable type 'ReferenceWritableKeyPath' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:101
      Reference to captured var 'lastValue' in concurrently-executing code; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:79
      Reference to captured var 'lastValue' in concurrently-executing code; this is an error in the Swift 6 language mode
  RealmSwift/Tests/RealmCollectionTypeTests.swift:706
      Non-sendable type 'Realm' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:79
      Mutation of captured var 'lastValue' in concurrently-executing code; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:102
      Mutation of captured var 'lastValue' in concurrently-executing code; this is an error in the Swift 6 language mode
  not stripping binary because it is signed: /Volumes/workspace/DerivedData/Build/Products/Release-iphonesimulator/Realm.framework/Realm
  RealmSwift/SwiftUI.swift:85
      Capture of 'keyPath' with non-sendable type 'ReferenceWritableKeyPath' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:76
      Reference to captured var 'lastValue' in concurrently-executing code; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:85
      Capture of 'keyPath' with non-sendable type 'ReferenceWritableKeyPath' in an isolated closure; this is an error in the Swift 6 language mode
  RealmSwift/Tests/RealmTests.swift:1713
      Non-sendable type 'Realm' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:101
      Capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  Realm/RLMAsyncTask_Private.h:21
      Double-quoted include "RLMRealm_Private.h" in framework header, expected angle-bracketed instead
  RealmSwift/Tests/ObjectTests.swift:1690
      Non-sendable type 'Realm' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
  RealmSwift/Tests/ObjectTests.swift:1619
      Non-sendable type 'RealmPublishers.ObjectChangeset.Output?' (aka 'Optional>') returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
  tasks in 'Copy Headers' are delayed by unsandboxed script phases; set ENABLE_USER_SCRIPT_SANDBOXING=YES to enable sandboxing
  RealmSwift/Tests/RealmTests.swift:1851
      Non-sendable type 'Realm' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:54
      Capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  RealmSwift/Tests/ObjectTests.swift:1589
      Non-sendable type 'RealmPublishers.Value.Output?' (aka 'Optional') returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
  RealmSwift/Tests/ObjectAccessorTests.swift:71
      '16777217' is not exactly representable as 'Float'; it becomes '16777216'
  RealmSwift/Tests/RealmTests.swift:1688
      Non-sendable type 'Realm' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:60
      Capture of 'keyPath' with non-sendable type 'ReferenceWritableKeyPath' in an isolated closure; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:105
      Capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:1599
      'transferredBytes' is deprecated: Use progressEstimate
  RealmSwift/Tests/RealmTests.swift:1526
      Non-sendable type 'Realm' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:55
      Mutation of captured var 'lastValue' in concurrently-executing code; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:55
      Capture of 'keyPath' with non-sendable type 'ReferenceWritableKeyPath' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  RealmSwift/SwiftUI.swift:77
      Capture of 'keyPath' with non-sendable type 'ReferenceWritableKeyPath' in a `@Sendable` closure; this is an error in the Swift 6 language mode