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

Redesign the Logger API #8645

Closed
wants to merge 4 commits into from

Redesign the Logger API

ab72b7a
Select commit
Loading
Failed to load commit list.
Closed

Redesign the Logger API #8645

Redesign the Logger API
ab72b7a
Select commit
Loading
Failed to load commit list.
Xcode Cloud / RealmSwift | tvos-swift-evolution_16 beta 3 | Test - tvOS succeeded Jul 27, 2024 in 22m 22s

65 warnings

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

Details

65 Warnings

Details

  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: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
  tasks in 'Copy Headers' are delayed by unsandboxed script phases; set ENABLE_USER_SCRIPT_SANDBOXING=YES to enable sandboxing
  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/Realm.swift:46
      Public struct 'RealmSwift.Realm' shadows module 'Realm', which may cause failures when importing 'RealmSwift' or its clients in some configurations; please rename either the struct 'RealmSwift.Realm' or the module 'Realm', or see https://github.com/apple/swift/issues/56573 for workarounds
  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/AnyRealmValueTests.swift:615
      Switch covers known cases, but 'AnyRealmValue' may have additional unknown values; this is an error in the Swift 6 language mode
  not stripping binary because it is signed: /Volumes/workspace/DerivedData/Build/Products/Release-appletvsimulator/RealmSwift.framework/RealmSwift
  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: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:56
      Reference to captured var 'lastValue' in concurrently-executing code; 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:55
      Mutation of captured var 'lastValue' in concurrently-executing code; 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/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/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:77
      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: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/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/Tests/RealmTests.swift:22
      Add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RealmSwift'
  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/Tests/RealmCollectionTypeTests.swift:22
      Add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RealmSwift'
  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/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/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
  RealmSwift/Tests/ObjectTests.swift:21
      Add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RealmSwift'
  Realm/RLMResults_Private.h:21
      Double-quoted include "RLMRealm_Private.h" in framework header, expected angle-bracketed instead
  RealmSwift/SwiftUI.swift:102
      Mutation of captured var 'lastValue' in concurrently-executing code; 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/SwiftUI.swift:1598
      'transferredBytes' is deprecated: Use progressEstimate
  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
  Realm/RLMAsyncTask_Private.h:21
      Double-quoted include "RLMRealm_Private.h" in framework header, expected angle-bracketed instead
  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:55
      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: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:79
      Mutation of captured var 'lastValue' in concurrently-executing code; 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: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:101
      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: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
  not stripping binary because it is signed: /Volumes/workspace/DerivedData/Build/Products/Release-appletvsimulator/Realm.framework/Realm
  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/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/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/Tests/AnyRealmValueTests.swift:915
      Switch covers known cases, but 'AnyRealmValue' may have additional unknown values; this is an error in the Swift 6 language mode
  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:77
      Mutation of captured var 'lastValue' in concurrently-executing code; 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: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: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/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: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/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/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:76
      Reference to captured var 'lastValue' in concurrently-executing code; 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/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/SwiftUI.swift:81
      Reference to captured var 'lastValue' in concurrently-executing code; 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/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
  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:1599
      'transferredBytes' is deprecated: Use progressEstimate
  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/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

Annotations

Check notice on line 1517 in RealmSwift/Tests/RealmTests.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / RealmSwift | tvos-swift-evolution_16 beta 3 | Test - tvOS

RealmSwift/Tests/RealmTests.swift#L1517

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

Check notice on line 1688 in RealmSwift/Tests/RealmTests.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / RealmSwift | tvos-swift-evolution_16 beta 3 | Test - tvOS

RealmSwift/Tests/RealmTests.swift#L1688

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

Check notice on line 1774 in RealmSwift/Tests/RealmTests.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / RealmSwift | tvos-swift-evolution_16 beta 3 | Test - tvOS

RealmSwift/Tests/RealmTests.swift#L1774

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

Check notice on line 1871 in RealmSwift/Tests/RealmTests.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / RealmSwift | tvos-swift-evolution_16 beta 3 | Test - tvOS

RealmSwift/Tests/RealmTests.swift#L1871

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

Check notice on line 1823 in RealmSwift/Tests/RealmTests.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / RealmSwift | tvos-swift-evolution_16 beta 3 | Test - tvOS

RealmSwift/Tests/RealmTests.swift#L1823

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

Check notice on line 1713 in RealmSwift/Tests/RealmTests.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / RealmSwift | tvos-swift-evolution_16 beta 3 | Test - tvOS

RealmSwift/Tests/RealmTests.swift#L1713

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

Check notice on line 1501 in RealmSwift/Tests/RealmTests.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / RealmSwift | tvos-swift-evolution_16 beta 3 | Test - tvOS

RealmSwift/Tests/RealmTests.swift#L1501

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

Check notice on line 1702 in RealmSwift/Tests/RealmTests.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / RealmSwift | tvos-swift-evolution_16 beta 3 | Test - tvOS

RealmSwift/Tests/RealmTests.swift#L1702

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

Check notice on line 22 in RealmSwift/Tests/RealmTests.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / RealmSwift | tvos-swift-evolution_16 beta 3 | Test - tvOS

RealmSwift/Tests/RealmTests.swift#L22

Add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RealmSwift'

Check notice on line 1739 in RealmSwift/Tests/RealmTests.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / RealmSwift | tvos-swift-evolution_16 beta 3 | Test - tvOS

RealmSwift/Tests/RealmTests.swift#L1739

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

Check notice on line 1727 in RealmSwift/Tests/RealmTests.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / RealmSwift | tvos-swift-evolution_16 beta 3 | Test - tvOS

RealmSwift/Tests/RealmTests.swift#L1727

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

Check notice on line 1880 in RealmSwift/Tests/RealmTests.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / RealmSwift | tvos-swift-evolution_16 beta 3 | Test - tvOS

RealmSwift/Tests/RealmTests.swift#L1880

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

Check notice on line 1851 in RealmSwift/Tests/RealmTests.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / RealmSwift | tvos-swift-evolution_16 beta 3 | Test - tvOS

RealmSwift/Tests/RealmTests.swift#L1851

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

Check notice on line 1757 in RealmSwift/Tests/RealmTests.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / RealmSwift | tvos-swift-evolution_16 beta 3 | Test - tvOS

RealmSwift/Tests/RealmTests.swift#L1757

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

Check notice on line 1846 in RealmSwift/Tests/RealmTests.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / RealmSwift | tvos-swift-evolution_16 beta 3 | Test - tvOS

RealmSwift/Tests/RealmTests.swift#L1846

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

Check notice on line 1526 in RealmSwift/Tests/RealmTests.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / RealmSwift | tvos-swift-evolution_16 beta 3 | Test - tvOS

RealmSwift/Tests/RealmTests.swift#L1526

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

Check notice on line 1828 in RealmSwift/Tests/RealmTests.swift

See this annotation in the file changed.

@xcode-cloud xcode-cloud / RealmSwift | tvos-swift-evolution_16 beta 3 | Test - tvOS

RealmSwift/Tests/RealmTests.swift#L1828

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