Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Profiles\Updates\AMAUndefinedAwareAttributeValueUpdate.m...
- + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Dispatcher\AMAUniquePriorityQueue.m...
- + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Strategies\AMAUrgentEventCountDispatchStrategy.m...
- + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Profiles\AMAUserProfile.m...
- + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Profiles\AMAUserProfileLogger.m...
- + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Profiles\Models\AMAUserProfileModel.m...
- + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Profiles\AMAUserProfileModelSerializer.m...
- + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Profiles\AMAUserProfileUpdate.m...
- + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Profiles\AMAUserProfileUpdatesProcessor.m...
- + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Location\AMAVisit.m...
- + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Generated\AppMetrica.pb-c.c...
- + [arm64] Compiling Pods\AppMetricaCore\..\Target Support Files\AppMetricaCore\AppMetricaCore-dummy.m...
- + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Generated\ClientExternalAttribution.pb-c.c...
- + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Generated\Ecommerce.pb-c.c...
- + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Generated\EventData.pb-c.c...
- + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Generated\EventNameHashesCollection.pb-c.c...
- + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Generated\EventStart.pb-c.c...
- + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Generated\Extras.pb-c.c...
- + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Generated\LegacyEventExtras.pb-c.c...
- + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Generated\LocationMessage.pb-c.c...
- + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\AdRevenue\NSMutableDictionary+AdRevenueHelper.m...
- + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Generated\Profile.pb-c.c...
- + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Generated\Revenue.pb-c.c...
- + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Generated\SessionData.pb-c.c...
- + [arm64] Linking AppMetricaCore...
- ld64.lld: warning: directory not found for option -F/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.0.sdk/System/Library/Frameworks
- + Creating universal framework (arm64)...
- + Stripping bitcode to reduce binary size...
- + Creating AppMetricaCore framework module map with umbrella header: AppMetricaCore-umbrella.h
- + Creating Info.plist...
- + Done. Build time: 161 seconds (0 h 2 min 41 s)
- Output directory: build/Release-iphoneos/AppMetricaCore\AppMetricaCore.framework
- Building the CocoaPods dependency project AppMetricaCoreExtension-AppMetricaCoreExtension...
- + Preparing output directory...
- + Pre-parsing project files...
- + Building AppMetricaCoreExtension for iphoneos (configuration: Release)
- Nothing to produce here, skipping.
- Building the CocoaPods dependency project AppMetricaCoreExtension...
- + Preparing output directory...
- + Pre-parsing project files...
- + Building AppMetricaCoreExtension for iphoneos (configuration: Release)
- + [arm64] Compiling Pods\AppMetricaCoreExtension\AppMetricaCoreExtension\Sources\AMACoreExtension.m...
- + [arm64] Compiling Pods\AppMetricaCoreExtension\..\Target Support Files\AppMetricaCoreExtension\AppMetricaCoreExtension-dummy.m...
- + [arm64] Linking AppMetricaCoreExtension...
- ld64.lld: warning: directory not found for option -F/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.0.sdk/System/Library/Frameworks
- + Creating universal framework (arm64)...
- + Stripping bitcode to reduce binary size...
- + Creating AppMetricaCoreExtension framework module map with umbrella header: AppMetricaCoreExtension-umbrella.h
- + Creating Info.plist...
- + Done. Build time: 16 seconds (0 h 0 min 16 s)
- Output directory: build/Release-iphoneos/AppMetricaCoreExtension\AppMetricaCoreExtension.framework
- Building the CocoaPods dependency project AppMetricaAdSupport...
- + Preparing output directory...
- + Pre-parsing project files...
- + Building AppMetricaAdSupport for iphoneos (configuration: Release)
- + [arm64] Compiling Pods\AppMetricaAdSupport\AppMetricaAdSupport\Sources\AMAAdController.m...
- + [arm64] Compiling Pods\AppMetricaAdSupport\AppMetricaAdSupport\Sources\AMAATTStatusProvider.m...
- + [arm64] Compiling Pods\AppMetricaAdSupport\AppMetricaAdSupport\Sources\AMAIDFAProvider.m...
- + [arm64] Compiling Pods\AppMetricaAdSupport\..\Target Support Files\AppMetricaAdSupport\AppMetricaAdSupport-dummy.m...
- + [arm64] Linking AppMetricaAdSupport...
- ld64.lld: warning: directory not found for option -F/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.0.sdk/System/Library/Frameworks
- + Creating universal framework (arm64)...
- + Stripping bitcode to reduce binary size...
- + Creating AppMetricaAdSupport framework module map with umbrella header: AppMetricaAdSupport-umbrella.h
- + Creating Info.plist...
- + Done. Build time: 18 seconds (0 h 0 min 18 s)
- Output directory: build/Release-iphoneos/AppMetricaAdSupport\AppMetricaAdSupport.framework
- Building the CocoaPods dependency project AppMetricaIDSync-AppMetricaIDSync...
- + Preparing output directory...
- + Pre-parsing project files...
- + Building AppMetricaIDSync for iphoneos (configuration: Release)
- Nothing to produce here, skipping.
- Building the CocoaPods dependency project AppMetricaIDSync...
- + Preparing output directory...
- + Pre-parsing project files...
- + Building AppMetricaIDSync for iphoneos (configuration: Release)
- + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\IDSync\AMAIDSyncExecutionConditionProvider.m...
- + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\Configuration\AMAIDSyncKeys.m...
- + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\IDSync\AMAIDSyncLastExecutionStateProvider.m...
- + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\IDSync\AMAIDSyncLoader.m...
- + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\IDSync\AMAIDSyncManager.m...
- + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\Network\AMAIDSyncNetworkRequest.m...
- + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\IDSync\AMAIDSyncPreconditionHandler.m...
- + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\IDSync\AMAIDSyncReporter.m...
- + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\Configuration\AMAIDSyncRequest.m...
- + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\Configuration\AMAIDSyncRequestsConverter.m...
- + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\Startup\AMAIDSyncStartupConfiguration.m...
- + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\Startup\AMAIDSyncStartupController.m...
- + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\Startup\AMAIDSyncStartupRequestParameters.m...
- + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\Startup\AMAIDSyncStartupResponse.m...
- + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\Startup\AMAIDSyncStartupResponseParser.m...
- + [arm64] Compiling Pods\AppMetricaIDSync\..\Target Support Files\AppMetricaIDSync\AppMetricaIDSync-dummy.m...
- + [arm64] Linking AppMetricaIDSync...
- ld64.lld: warning: directory not found for option -F/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.0.sdk/System/Library/Frameworks
- + Creating universal framework (arm64)...
- + Stripping bitcode to reduce binary size...
- + Creating AppMetricaIDSync framework module map with umbrella header: AppMetricaIDSync-umbrella.h
- + Creating Info.plist...
- + Done. Build time: 22 seconds (0 h 0 min 22 s)
- Output directory: build/Release-iphoneos/AppMetricaIDSync\AppMetricaIDSync.framework
- Building the CocoaPods dependency project AppMetricaLibraryAdapter-AppMetricaLibraryAdapter...
- + Preparing output directory...
- + Pre-parsing project files...
- + Building AppMetricaLibraryAdapter for iphoneos (configuration: Release)
- Nothing to produce here, skipping.
- Building the CocoaPods dependency project AppMetricaLibraryAdapter...
- + Preparing output directory...
- + Pre-parsing project files...
- + Building AppMetricaLibraryAdapter for iphoneos (configuration: Release)
- + Generating module map for mixed-language target using supplied umbrella header: headers-public/AppMetricaLibraryAdapter/AppMetricaLibraryAdapter-umbrella.h
- + [arm64] Compiling Pods\AppMetricaLibraryAdapter\AppMetricaLibraryAdapter\Sources\AppMetricaLibraryAdapter.swift...
- + [arm64] Compiling Pods\AppMetricaLibraryAdapter\AppMetricaLibraryAdapter\Sources\LibraryAdapterConfiguration.swift...
- + [arm64] Compiling Pods\AppMetricaLibraryAdapter\..\Target Support Files\AppMetricaLibraryAdapter\AppMetricaLibraryAdapter-dummy.m...
- + [arm64] Linking AppMetricaLibraryAdapter...
- ld64.lld: warning: directory not found for option -F/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.0.sdk/System/Library/Frameworks
- + [arm64] Creating AppMetricaLibraryAdapter Swift module interface...
- Pods/AppMetricaLibraryAdapter/AppMetricaLibraryAdapter/Sources/AppMetricaLibraryAdapter.swift:11:20: warning: public class 'AppMetricaLibraryAdapter.AppMetricaLibraryAdapter' shadows module 'AppMetricaLibraryAdapter', which may cause failures when importing 'AppMetricaLibraryAdapter' or its clients in some configurations; please rename either the class 'AppMetricaLibraryAdapter.AppMetricaLibraryAdapter' or the module 'AppMetricaLibraryAdapter', or see https://github.com/apple/swift/issues/56573 for workarounds
- 9 | /// including activation and event reporting.
- 10 | @objc(AMAAppMetricaLibraryAdapter)
- 11 | public final class AppMetricaLibraryAdapter: NSObject {
- | - warning: public class 'AppMetricaLibraryAdapter.AppMetricaLibraryAdapter' shadows module 'AppMetricaLibraryAdapter', which may cause failures when importing 'AppMetricaLibraryAdapter' or its clients in some configurations; please rename either the class 'AppMetricaLibraryAdapter.AppMetricaLibraryAdapter' or the module 'AppMetricaLibraryAdapter', or see https://github.com/apple/swift/issues/56573 for workarounds
- 12 | 13 | /// The shared instance of the AppMetricaLibraryAdapter.
- + Creating universal framework (arm64)...
- + Stripping bitcode to reduce binary size...
- + Exporting AppMetricaLibraryAdapter Swift module...
- + Creating AppMetricaLibraryAdapter framework module map with umbrella header: AppMetricaLibraryAdapter-umbrella.h
- + Creating Info.plist...
- + Done. Build time: 66 seconds (0 h 1 min 6 s)
- Output directory: build/Release-iphoneos/AppMetricaLibraryAdapter\AppMetricaLibraryAdapter.framework
- Building the CocoaPods dependency project VGSLFundamentals-VGSLFundamentalsPrivacyInfo...
- + Preparing output directory...
- + Pre-parsing project files...
- + Building VGSLFundamentalsPrivacyInfo for iphoneos (configuration: Release)
- Nothing to produce here, skipping.
- Building the CocoaPods dependency project VGSLFundamentals...
- + Preparing output directory...
- + Pre-parsing project files...
- + Building VGSLFundamentals for iphoneos (configuration: Release)
- + Generating module map for mixed-language target using supplied umbrella header: headers-public/VGSLFundamentals/VGSLFundamentals-umbrella.h
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:38:5: error: expected declaration
- 9 | @propertyWrapper
- 10 | @dynamicMemberLookup
- 11 | public final class ResettableLazy<T> {
- | - note: in declaration of 'ResettableLazy'
- 12 | @usableFromInline
- 13 | typealias Preload = () -> Void
- : 36 | 37 | // @inlinable removed: Darwin Swift compatn init(state: State, preload: @escaping Preload, getter: @escaping Getter) {
- 38 | self.state = state
- | - error: expected declaration
- 39 | self.originalPreload = preload
- 40 | self.originalGetter = getter
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:44:5: error: expressions are not allowed at the top level
- 42 | 43 | // @inlinable removed: Darwin Swift compatn deinit {
- 44 | traceDeinit()
- | - error: expressions are not allowed at the top level
- 45 | }
- 46 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:45:3: error: extraneous '}' at top level
- 43 | // @inlinable removed: Darwin Swift compatn deinit {
- 44 | traceDeinit()
- 45 | }
- | - error: extraneous '}' at top level
- 46 | 47 | @inlinable
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:48:26: error: initializers may only be declared within a type
- 46 | 47 | @inlinable
- 48 | public convenience init(getter: @escaping Getter) {
- | - error: initializers may only be declared within a type
- 49 | let preload = {}
- 50 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:54:26: error: initializers may only be declared within a type
- 52 | 53 | @inlinable
- 54 | public convenience init(onMainThreadGetter getter: @escaping Getter) {
- | - error: initializers may only be declared within a type
- 55 | func onMainThreadGetter() -> T {
- 56 | assert(Thread.isMainThread)
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:68:26: error: initializers may only be declared within a type
- 66 | 67 | @inlinable
- 68 | public convenience init(preload: @escaping () -> Void, getter: @escaping () -> T) {
- | - error: initializers may only be declared within a type
- 69 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
- 70 | }
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:79:26: error: initializers may only be declared within a type
- 77 | /// Use init(loaded:) when you need a ResettableLazy in loaded state.
- 78 | @inlinable
- 79 | public convenience init(value: T) {
- | - error: initializers may only be declared within a type
- 80 | let getter = { value }
- 81 | let preload = {}
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:89:26: error: initializers may only be declared within a type
- 87 | /// The resulting ResettableLazy will immediately have a non-nil currentValue.
- 88 | @inlinable
- 89 | public convenience init(loaded value: T) {
- | - error: initializers may only be declared within a type
- 90 | let getter = { value }
- 91 | let preload = {}
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:256:10: error: 'subscript' functions may only be declared within a type
- 254 | 255 | @inlinable
- 256 | public subscript<U>(dynamicMember path: KeyPath<T, U>) -> ResettableLazy<U> {
- | - error: 'subscript' functions may only be declared within a type
- 257 | func dynamicMemberGetter(_ object: T) -> U {
- 258 | object[keyPath: path]
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:262:1: error: extraneous '}' at top level
- 260 | return map(dynamicMemberGetter)
- 261 | }
- 262 | }
- | - error: extraneous '}' at top level
- 263 | 264 | extension ResettableLazy {
- Pods/VGSLFundamentals/VGSLFundamentals/Zip3.swift:42:5: error: expected 'var' keyword in property declaration
- 40 | 41 | // @inlinable removed: Darwin Swift compatn internal init(_ seq1: Seq1, _ seq2: Seq2, _ seq3: Seq3) {
- 42 | _seq = (seq1, seq2, seq3)
- | - error: expected 'var' keyword in property declaration
- 43 | }
- 44 |
- Pods/VGSLFundamentals/VGSLFundamentals/Zip3.swift:52:1: error: extraneous '}' at top level
- 50 | )
- 51 | }
- 52 | }
- | - error: extraneous '}' at top level
- 53 | 54 | @inlinable
- Pods/VGSLFundamentals/VGSLFundamentals/concurrency/AllocatedUnfairLock.swift:18:5: error: 'let' property 'buffer' may not be initialized directly; use "self.init(...)" or "self = ..." instead
- 12 | 13 | @usableFromInline
- 14 | let buffer: Buffer
- | - note: 'buffer' declared here
- 15 | 16 | @inlinable
- 17 | public init(uncheckedState initialState: State) {
- 18 | buffer = Buffer.create(minimumCapacity: 1) { buffer in
- | - error: 'let' property 'buffer' may not be initialized directly; use "self.init(...)" or "self = ..." instead
- 19 | buffer.withUnsafeMutablePointerToElements { lock in
- 20 | ll_lock_init(lock)
- Pods/VGSLFundamentals/VGSLFundamentals/concurrency/AllocatedUnfairLock.swift:73:7: warning: switch covers known cases, but 'AllocatedUnfairLock<State>.Ownership' may have additional unknown values; this is an error in the Swift 6 language mode
- 71 | public func precondition(_ condition: Ownership) {
- 72 | buffer.withUnsafeMutablePointerToElements { lock in
- 73 | switch condition {
- | |- warning: switch covers known cases, but 'AllocatedUnfairLock<State>.Ownership' may have additional unknown values; this is an error in the Swift 6 language mode
- | - note: handle unknown values using "@unknown default"
- 74 | case .owner:
- 75 | ll_lock_assert_owner(lock)
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:219:46: error: cannot find type 'T' in scope
- 217 | /// i.e. ResettableLazy(getter: { someTransformation(anotherLazy.value) })
- 218 | /// or lazyMap { someTransformation($0) }.
- 219 | public func map<U>(_ transform: @escaping (T) -> U) -> ResettableLazy<U> {
- | - error: cannot find type 'T' in scope
- 220 | traceMap(toType: U.self)
- 221 | func preload() {
- Pods/VGSLFundamentals/VGSLFundamentals/concurrency/GCD.swift:54:39: warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
- 46 | 47 | @Sendable
- 48 | public func onMainThread(_ block: @escaping @MainActor () -> Void) {
- | - note: parameter 'block' is implicitly non-Sendable
- 49 | if Thread.isMainThread {
- 50 | assumeIsolatedToMainActor {
- : 52 | }
- 53 | } else {
- 54 | DispatchQueue.main.async(execute: block)
- | - warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
- 55 | }
- 56 | }
- Pods/VGSLFundamentals/VGSLFundamentals/concurrency/GCD.swift:97:37: warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
- 94 | @Sendable
- 95 | @inlinable
- 96 | public func onMainThreadAsync(_ block: @escaping @MainActor () -> Void) {
- | - note: parameter 'block' is implicitly non-Sendable
- 97 | DispatchQueue.main.async(execute: block)
- | - warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
- 98 | }
- 99 | }
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:96:21: error: cannot find type 'T' in scope
- 94 | 95 | @inlinable
- 96 | public var value: T {
- | - error: cannot find type 'T' in scope
- 97 | #if DEBUG
- 98 | _wasRead = true
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:26:10: error: value of type 'ResettableLazy<T>' has no member 'value'
- 24 | 25 | public var value: T {
- 26 | impl.value
- | - error: value of type 'ResettableLazy<T>' has no member 'value'
- 27 | }
- 28 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:30:10: error: value of type 'ResettableLazy<T>' has no member 'currentValue'
- 28 | 29 | public var currentValue: T? {
- 30 | impl.currentValue
- | - error: value of type 'ResettableLazy<T>' has no member 'currentValue'
- 31 | }
- 32 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:34:21: error: 'ResettableLazy<T>' cannot be constructed because it has no accessible initializers
- 32 | 33 | public convenience init(getter: @escaping Getter) {
- 34 | self.init(impl: ResettableLazy(getter: Self.makeOneShotGetter(getter)))
- | - error: 'ResettableLazy<T>' cannot be constructed because it has no accessible initializers
- 35 | }
- 36 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:34:21: error: generic parameter 'T' could not be inferred
- 32 | 33 | public convenience init(getter: @escaping Getter) {
- 34 | self.init(impl: ResettableLazy(getter: Self.makeOneShotGetter(getter)))
- | |- error: generic parameter 'T' could not be inferred
- | - note: explicitly specify the generic arguments to fix this issue
- 35 | }
- 36 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:11:35: note: 'T' declared as parameter to type 'ResettableLazy'
- 9 | @propertyWrapper
- 10 | @dynamicMemberLookup
- 11 | public final class ResettableLazy<T> {
- | - note: 'T' declared as parameter to type 'ResettableLazy'
- 12 | @usableFromInline
- 13 | typealias Preload = () -> Void
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:38:21: error: 'ResettableLazy<T>' cannot be constructed because it has no accessible initializers
- 36 | 37 | public convenience init(onMainThreadGetter getter: @escaping Getter) {
- 38 | self.init(impl: ResettableLazy(onMainThreadGetter: Self.makeOneShotGetter(getter)))
- | - error: 'ResettableLazy<T>' cannot be constructed because it has no accessible initializers
- 39 | }
- 40 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:38:21: error: generic parameter 'T' could not be inferred
- 36 | 37 | public convenience init(onMainThreadGetter getter: @escaping Getter) {
- 38 | self.init(impl: ResettableLazy(onMainThreadGetter: Self.makeOneShotGetter(getter)))
- | |- error: generic parameter 'T' could not be inferred
- | - note: explicitly specify the generic arguments to fix this issue
- 39 | }
- 40 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:42:21: error: 'ResettableLazy<T>' cannot be constructed because it has no accessible initializers
- 40 | 41 | public convenience init(preload: @escaping () -> Void, getter: @escaping () -> T) {
- 42 | self.init(impl: ResettableLazy(preload: preload, getter: Self.makeOneShotGetter(getter)))
- | - error: 'ResettableLazy<T>' cannot be constructed because it has no accessible initializers
- 43 | }
- 44 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:42:21: error: generic parameter 'T' could not be inferred
- 40 | 41 | public convenience init(preload: @escaping () -> Void, getter: @escaping () -> T) {
- 42 | self.init(impl: ResettableLazy(preload: preload, getter: Self.makeOneShotGetter(getter)))
- | |- error: generic parameter 'T' could not be inferred
- | - note: explicitly specify the generic arguments to fix this issue
- 43 | }
- 44 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:52:21: error: generic parameter 'T' could not be inferred
- 50 | /// Use init(loaded:) when you need a Lazy in loaded state.
- 51 | public convenience init(value: T) {
- 52 | self.init(impl: ResettableLazy(value: value))
- | |- error: generic parameter 'T' could not be inferred
- | - note: explicitly specify the generic arguments to fix this issue
- 53 | }
- 54 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:52:21: error: 'ResettableLazy<T>' cannot be constructed because it has no accessible initializers
- 50 | /// Use init(loaded:) when you need a Lazy in loaded state.
- 51 | public convenience init(value: T) {
- 52 | self.init(impl: ResettableLazy(value: value))
- | - error: 'ResettableLazy<T>' cannot be constructed because it has no accessible initializers
- 53 | }
- 54 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:59:21: error: generic parameter 'T' could not be inferred
- 57 | /// The resulting Lazy will immediately have a non-nil currentValue.
- 58 | public convenience init(loaded value: T) {
- 59 | self.init(impl: ResettableLazy(loaded: value))
- | |- error: generic parameter 'T' could not be inferred
- | - note: explicitly specify the generic arguments to fix this issue
- 60 | }
- 61 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:59:21: error: 'ResettableLazy<T>' cannot be constructed because it has no accessible initializers
- 57 | /// The resulting Lazy will immediately have a non-nil currentValue.
- 58 | public convenience init(loaded value: T) {
- 59 | self.init(impl: ResettableLazy(loaded: value))
- | - error: 'ResettableLazy<T>' cannot be constructed because it has no accessible initializers
- 60 | }
- 61 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:67:10: error: value of type 'ResettableLazy<T>' has no member 'future'
- 65 | 66 | public var future: Future<T> {
- 67 | impl.future
- | - error: value of type 'ResettableLazy<T>' has no member 'future'
- 68 | }
- 69 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:71:10: error: value of type 'ResettableLazy<T>' has no member 'whenLoaded'
- 69 | 70 | public func whenLoaded(perform body: @escaping Future<T>.Callback) {
- 71 | impl.whenLoaded(perform: body)
- | - error: value of type 'ResettableLazy<T>' has no member 'whenLoaded'
- 72 | }
- 73 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:75:10: error: value of type 'ResettableLazy<T>' has no member 'ensureIsLoaded'
- 73 | 74 | public func ensureIsLoaded() {
- 75 | impl.ensureIsLoaded()
- | - error: value of type 'ResettableLazy<T>' has no member 'ensureIsLoaded'
- 76 | }
- 77 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:89:24: error: value of type 'ResettableLazy<T>' has no member 'map'
- 87 | /// or lazyMap { someTransformation($0) }.
- 88 | public func map<U>(_ transform: @escaping (T) -> U) -> Lazy<U> {
- 89 | Lazy<U>(impl: impl.map(transform))
- | - error: value of type 'ResettableLazy<T>' has no member 'map'
- 90 | }
- 91 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:95:24: error: value of type 'ResettableLazy<T>' has no member 'lazyMap'
- 93 | /// (resulting lazy is not loaded when the current one loads).
- 94 | public func lazyMap<U>(_ transform: @escaping (T) -> U) -> Lazy<U> {
- 95 | Lazy<U>(impl: impl.lazyMap(transform))
- | - error: value of type 'ResettableLazy<T>' has no member 'lazyMap'
- 96 | }
- 97 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:99:23: error: value of type 'ResettableLazy<T>' has no subscripts
- 97 | 98 | public subscript<U>(dynamicMember path: KeyPath<T, U>) -> Lazy<U> {
- 99 | Lazy<U>(impl: impl[dynamicMember: path])
- | - error: value of type 'ResettableLazy<T>' has no subscripts
- 100 | }
- 101 | }
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:109:28: error: cannot find type 'T' in scope
- 107 | 108 | @inlinable
- 109 | public var currentValue: T? {
- | - error: cannot find type 'T' in scope
- 110 | switch state {
- 111 | case .created, .loading:
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:127:29: error: cannot find type 'T' in scope
- 125 | 126 | @inlinable
- 127 | public var future: Future<T> {
- | - error: cannot find type 'T' in scope
- 128 | func doNothingRetainSelf(_: T) {
- 129 | // Capture self until self is loaded.
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/observing/ObservableProperty.swift:351:7: warning: switch covers known cases, but 'ObservableProperty<T>.Modification' may have additional unknown values; this is an error in the Swift 6 language mode
- 349 | var property = ObservableProperty(initialValue: initialValue)
- 350 | mods.forEach { mod in
- 351 | switch mod {
- | |- warning: switch covers known cases, but 'ObservableProperty<T>.Modification' may have additional unknown values; this is an error in the Swift 6 language mode
- | - note: handle unknown values using "@unknown default"
- 352 | case .skipRepeats:
- 353 | property = property.skipRepeats()
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:10:1: error: '@dynamicMemberLookup' requires 'ResettableLazy' to have a 'subscript(dynamicMember:)' method that accepts either 'ExpressibleByStringLiteral' or a key path
- 8 | 9 | @propertyWrapper
- 10 | @dynamicMemberLookup
- | - error: '@dynamicMemberLookup' requires 'ResettableLazy' to have a 'subscript(dynamicMember:)' method that accepts either 'ExpressibleByStringLiteral' or a key path
- 11 | public final class ResettableLazy<T> {
- 12 | @usableFromInline
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:11:20: error: property wrapper type 'ResettableLazy' does not contain a non-static property named 'wrappedValue' [#PropertyWrappers]
- 9 | @propertyWrapper
- 10 | @dynamicMemberLookup
- 11 | public final class ResettableLazy<T> {
- | - error: property wrapper type 'ResettableLazy' does not contain a non-static property named 'wrappedValue' [#PropertyWrappers]
- 12 | @usableFromInline
- 13 | typealias Preload = () -> Void
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:11:20: error: class 'ResettableLazy' has no initializers
- 9 | @propertyWrapper
- 10 | @dynamicMemberLookup
- 11 | public final class ResettableLazy<T> {
- | - error: class 'ResettableLazy' has no initializers
- 12 | @usableFromInline
- 13 | typealias Preload = () -> Void
- : 22 | 23 | @usableFromInline
- 24 | var state: State
- | - note: stored property 'state' without initial value prevents synthesized initializers
- 25 | 26 | // Store the original preload and getter for reset functionality
- 27 | @usableFromInline
- 28 | let originalPreload: Preload
- | - note: stored property 'originalPreload' without initial value prevents synthesized initializers
- 29 | @usableFromInline
- 30 | let originalGetter: Getter
- | - note: stored property 'originalGetter' without initial value prevents synthesized initializers
- 31 | 32 | #if DEBUG
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:44:5: error: cannot find 'traceDeinit' in scope
- 42 | 43 | // @inlinable removed: Darwin Swift compatn deinit {
- 44 | traceDeinit()
- | - error: cannot find 'traceDeinit' in scope
- 45 | }
- 46 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:48:45: error: cannot find type 'Getter' in scope
- 46 | 47 | @inlinable
- 48 | public convenience init(getter: @escaping Getter) {
- | - error: cannot find type 'Getter' in scope
- 49 | let preload = {}
- 50 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:48:35: error: @escaping attribute only applies to function types
- 46 | 47 | @inlinable
- 48 | public convenience init(getter: @escaping Getter) {
- | - error: @escaping attribute only applies to function types
- 49 | let preload = {}
- 50 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:54:64: error: cannot find type 'Getter' in scope
- 52 | 53 | @inlinable
- 54 | public convenience init(onMainThreadGetter getter: @escaping Getter) {
- | - error: cannot find type 'Getter' in scope
- 55 | func onMainThreadGetter() -> T {
- 56 | assert(Thread.isMainThread)
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:54:54: error: @escaping attribute only applies to function types
- 52 | 53 | @inlinable
- 54 | public convenience init(onMainThreadGetter getter: @escaping Getter) {
- | - error: @escaping attribute only applies to function types
- 55 | func onMainThreadGetter() -> T {
- 56 | assert(Thread.isMainThread)
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:68:82: error: cannot find type 'T' in scope
- 66 | 67 | @inlinable
- 68 | public convenience init(preload: @escaping () -> Void, getter: @escaping () -> T) {
- | - error: cannot find type 'T' in scope
- 69 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
- 70 | }
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:68:66: error: @escaping attribute only applies to function types
- 66 | 67 | @inlinable
- 68 | public convenience init(preload: @escaping () -> Void, getter: @escaping () -> T) {
- | - error: @escaping attribute only applies to function types
- 69 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
- 70 | }
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:79:34: error: cannot find type 'T' in scope
- 77 | /// Use init(loaded:) when you need a ResettableLazy in loaded state.
- 78 | @inlinable
- 79 | public convenience init(value: T) {
- | - error: cannot find type 'T' in scope
- 80 | let getter = { value }
- 81 | let preload = {}
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:89:41: error: cannot find type 'T' in scope
- 87 | /// The resulting ResettableLazy will immediately have a non-nil currentValue.
- 88 | @inlinable
- 89 | public convenience init(loaded value: T) {
- | - error: cannot find type 'T' in scope
- 90 | let getter = { value }
- 91 | let preload = {}
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:104:28: error: cannot find type 'T' in scope
- 102 | 103 | @inlinable
- 104 | public var wrappedValue: T {
- | - error: cannot find type 'T' in scope
- 105 | value
- 106 | }
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:160:63: error: cannot find type 'T' in scope
- 158 | 159 | @inlinable
- 160 | func getValue(eagerEvaluation: Bool, expectLoaded: Bool) -> T {
- | - error: cannot find type 'T' in scope
- 161 | while true {
- 162 | switch state {
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:195:57: error: cannot find type 'T' in scope
- 193 | 194 | @inlinable
- 195 | public func whenLoaded(perform body: @escaping Future<T>.Callback) {
- | - error: cannot find type 'T' in scope
- 196 | future.resolved(body)
- 197 | }
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:195:40: error: @escaping attribute only applies to function types
- 193 | 194 | @inlinable
- 195 | public func whenLoaded(perform body: @escaping Future<T>.Callback) {
- | - error: @escaping attribute only applies to function types
- 196 | future.resolved(body)
- 197 | }
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:243:50: error: cannot find type 'T' in scope
- 241 | /// (resulting lazy is not loaded when the current one loads).
- 242 | @inlinable
- 243 | public func lazyMap<U>(_ transform: @escaping (T) -> U) -> ResettableLazy<U> {
- | - error: cannot find type 'T' in scope
- 244 | traceMap(toType: U.self)
- 245 | func preload() {
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:256:51: error: cannot find type 'T' in scope
- 254 | 255 | @inlinable
- 256 | public subscript<U>(dynamicMember path: KeyPath<T, U>) -> ResettableLazy<U> {
- | - error: cannot find type 'T' in scope
- 257 | func dynamicMemberGetter(_ object: T) -> U {
- 258 | object[keyPath: path]
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:50:5: error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
- 48 | public convenience init(getter: @escaping Getter) {
- 49 | let preload = {}
- 50 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
- | - error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
- 51 | }
- 52 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:50:23: error: cannot infer contextual base in reference to member 'created'
- 48 | public convenience init(getter: @escaping Getter) {
- 49 | let preload = {}
- 50 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
- | - error: cannot infer contextual base in reference to member 'created'
- 51 | }
- 52 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:50:48: error: generic parameter 'T' could not be inferred
- 48 | public convenience init(getter: @escaping Getter) {
- 49 | let preload = {}
- 50 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
- | |- error: generic parameter 'T' could not be inferred
- | - note: explicitly specify the generic arguments to fix this issue
- 51 | }
- 52 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/promises/Promise.swift:5:28: note: 'T' declared as parameter to type 'Promise'
- 3 | import Foundation
- 4 | 5 | public final class Promise<T> {
- | - note: 'T' declared as parameter to type 'Promise'
- 6 | public let future: Future<T>
- 7 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:55:34: error: cannot find type 'T' in scope
- 53 | @inlinable
- 54 | public convenience init(onMainThreadGetter getter: @escaping Getter) {
- 55 | func onMainThreadGetter() -> T {
- | - error: cannot find type 'T' in scope
- 56 | assert(Thread.isMainThread)
- 57 | return getter()
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:60:5: error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
- 58 | }
- 59 | let preload = {}
- 60 | self.init(
- | - error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
- 61 | state: .created(preload, onMainThreadGetter, Promise()),
- 62 | preload: preload,
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:61:15: error: cannot infer contextual base in reference to member 'created'
- 59 | let preload = {}
- 60 | self.init(
- 61 | state: .created(preload, onMainThreadGetter, Promise()),
- | - error: cannot infer contextual base in reference to member 'created'
- 62 | preload: preload,
- 63 | getter: onMainThreadGetter
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:61:52: error: generic parameter 'T' could not be inferred
- 59 | let preload = {}
- 60 | self.init(
- 61 | state: .created(preload, onMainThreadGetter, Promise()),
- | |- error: generic parameter 'T' could not be inferred
- | - note: explicitly specify the generic arguments to fix this issue
- 62 | preload: preload,
- 63 | getter: onMainThreadGetter
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/promises/Promise.swift:5:28: note: 'T' declared as parameter to type 'Promise'
- 3 | import Foundation
- 4 | 5 | public final class Promise<T> {
- | - note: 'T' declared as parameter to type 'Promise'
- 6 | public let future: Future<T>
- 7 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:69:5: error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
- 67 | @inlinable
- 68 | public convenience init(preload: @escaping () -> Void, getter: @escaping () -> T) {
- 69 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
- | - error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
- 70 | }
- 71 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:69:23: error: cannot infer contextual base in reference to member 'created'
- 67 | @inlinable
- 68 | public convenience init(preload: @escaping () -> Void, getter: @escaping () -> T) {
- 69 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
- | - error: cannot infer contextual base in reference to member 'created'
- 70 | }
- 71 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:69:48: error: generic parameter 'T' could not be inferred
- 67 | @inlinable
- 68 | public convenience init(preload: @escaping () -> Void, getter: @escaping () -> T) {
- 69 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
- | |- error: generic parameter 'T' could not be inferred
- | - note: explicitly specify the generic arguments to fix this issue
- 70 | }
- 71 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/promises/Promise.swift:5:28: note: 'T' declared as parameter to type 'Promise'
- 3 | import Foundation
- 4 | 5 | public final class Promise<T> {
- | - note: 'T' declared as parameter to type 'Promise'
- 6 | public let future: Future<T>
- 7 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:82:5: error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
- 80 | let getter = { value }
- 81 | let preload = {}
- 82 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
- | - error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
- 83 | }
- 84 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:82:23: error: cannot infer contextual base in reference to member 'created'
- 80 | let getter = { value }
- 81 | let preload = {}
- 82 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
- | - error: cannot infer contextual base in reference to member 'created'
- 83 | }
- 84 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:82:48: error: generic parameter 'T' could not be inferred
- 80 | let getter = { value }
- 81 | let preload = {}
- 82 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
- | |- error: generic parameter 'T' could not be inferred
- | - note: explicitly specify the generic arguments to fix this issue
- 83 | }
- 84 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/promises/Promise.swift:5:28: note: 'T' declared as parameter to type 'Promise'
- 3 | import Foundation
- 4 | 5 | public final class Promise<T> {
- | - note: 'T' declared as parameter to type 'Promise'
- 6 | public let future: Future<T>
- 7 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:92:5: error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
- 90 | let getter = { value }
- 91 | let preload = {}
- 92 | self.init(state: .loaded(value), preload: preload, getter: getter)
- | - error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
- 93 | }
- 94 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:92:23: error: cannot infer contextual base in reference to member 'loaded'
- 90 | let getter = { value }
- 91 | let preload = {}
- 92 | self.init(state: .loaded(value), preload: preload, getter: getter)
- | - error: cannot infer contextual base in reference to member 'loaded'
- 93 | }
- 94 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:120:5: error: cannot find 'state' in scope
- 118 | /// Resets the lazy value to its initial state
- 119 | public func reset() {
- 120 | state = .created(originalPreload, originalGetter, Promise())
- | - error: cannot find 'state' in scope
- 121 | #if DEBUG
- 122 | _wasRead = false
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:120:22: error: cannot find 'originalPreload' in scope
- 118 | /// Resets the lazy value to its initial state
- 119 | public func reset() {
- 120 | state = .created(originalPreload, originalGetter, Promise())
- | - error: cannot find 'originalPreload' in scope
- 121 | #if DEBUG
- 122 | _wasRead = false
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:120:39: error: cannot find 'originalGetter' in scope
- 118 | /// Resets the lazy value to its initial state
- 119 | public func reset() {
- 120 | state = .created(originalPreload, originalGetter, Promise())
- | - error: cannot find 'originalGetter' in scope
- 121 | #if DEBUG
- 122 | _wasRead = false
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:120:55: error: generic parameter 'T' could not be inferred
- 118 | /// Resets the lazy value to its initial state
- 119 | public func reset() {
- 120 | state = .created(originalPreload, originalGetter, Promise())
- | |- error: generic parameter 'T' could not be inferred
- | - note: explicitly specify the generic arguments to fix this issue
- 121 | #if DEBUG
- 122 | _wasRead = false
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/promises/Promise.swift:5:28: note: 'T' declared as parameter to type 'Promise'
- 3 | import Foundation
- 4 | 5 | public final class Promise<T> {
- | - note: 'T' declared as parameter to type 'Promise'
- 6 | public let future: Future<T>
- 7 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:128:33: error: cannot find type 'T' in scope
- 126 | @inlinable
- 127 | public var future: Future<T> {
- 128 | func doNothingRetainSelf(_: T) {
- | - error: cannot find type 'T' in scope
- 129 | // Capture self until self is loaded.
- 130 | // Ownership graph will look as follows:
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:136:28: error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
- 134 | // the stored future is resolved.
- 135 | // See test_NonStoredLazyIsRetainedByFuture for details.
- 136 | withExtendedLifetime(self) {}
- | - error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
- 137 | }
- 138 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:139:68: error: cannot find type 'T' in scope
- 137 | }
- 138 | 139 | func makeFutureWithAssociatedSelf(parent: Future<T>) -> Future<T> {
- | - error: cannot find type 'T' in scope
- 140 | let result = parent.map(identity(_:))
- 141 | result.resolved(doNothingRetainSelf(_:)) // associate self with the result
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:139:54: error: cannot find type 'T' in scope
- 137 | }
- 138 | 139 | func makeFutureWithAssociatedSelf(parent: Future<T>) -> Future<T> {
- | - error: cannot find type 'T' in scope
- 140 | let result = parent.map(identity(_:))
- 141 | result.resolved(doNothingRetainSelf(_:)) // associate self with the result
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:140:31: error: generic parameter 'T' could not be inferred
- 138 | 139 | func makeFutureWithAssociatedSelf(parent: Future<T>) -> Future<T> {
- 140 | let result = parent.map(identity(_:))
- | - error: generic parameter 'T' could not be inferred
- 141 | result.resolved(doNothingRetainSelf(_:)) // associate self with the result
- 142 | return result
- Pods/VGSLFundamentals/VGSLFundamentals/Functions.swift:23:13: note: in call to function 'identity'
- 21 | 22 | @inlinable
- 23 | public func identity<T>(_ value: T) -> T {
- | - note: in call to function 'identity'
- 24 | value
- 25 | }
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:145:12: error: cannot find 'state' in scope
- 143 | }
- 144 | 145 | switch state {
- | - error: cannot find 'state' in scope
- 146 | case let .created(_, _, promise):
- 147 | let storedFuture = promise.future
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:162:14: error: cannot find 'state' in scope
- 160 | func getValue(eagerEvaluation: Bool, expectLoaded: Bool) -> T {
- 161 | while true {
- 162 | switch state {
- | - error: cannot find 'state' in scope
- 163 | case let .created(preload, getter, _):
- 164 | assert(!expectLoaded, "Value is expected to be loaded")
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:167:50: error: cannot find 'state' in scope
- 165 | preload()
- 166 | 167 | guard case let .created(_, _, promise) = state else {
- | - error: cannot find 'state' in scope
- 168 | // During invocation of preload we could enter the getValue again
- 169 | // and change the state. In this case by the time we return to this frame
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:173:9: error: cannot find 'state' in scope
- 171 | continue
- 172 | }
- 173 | state = .loading(promise.future)
- | - error: cannot find 'state' in scope
- 174 | 175 | traceWillLoad(eagerEvaluation: eagerEvaluation)
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:175:9: error: cannot find 'traceWillLoad' in scope
- 173 | state = .loading(promise.future)
- 174 | 175 | traceWillLoad(eagerEvaluation: eagerEvaluation)
- | - error: cannot find 'traceWillLoad' in scope
- 176 | let value = getter()
- 177 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:178:28: error: cannot find 'state' in scope
- 176 | let value = getter()
- 177 | 178 | if case .loading = state {
- | - error: cannot find 'state' in scope
- 179 | } else {
- 180 | assertionFailure()
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:182:9: error: cannot find 'state' in scope
- 180 | assertionFailure()
- 181 | }
- 182 | state = .loaded(value)
- | - error: cannot find 'state' in scope
- 183 | promise.resolve(value)
- 184 |
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:201:12: error: cannot find 'state' in scope
- 199 | @inlinable
- 200 | public func ensureIsLoaded() {
- 201 | switch state {
- | - error: cannot find 'state' in scope
- 202 | case .created:
- 203 | _ = getValue(eagerEvaluation: false, expectLoaded: false)
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:220:5: error: cannot find 'traceMap' in scope
- 218 | /// or lazyMap { someTransformation($0) }.
- 219 | public func map<U>(_ transform: @escaping (T) -> U) -> ResettableLazy<U> {
- 220 | traceMap(toType: U.self)
- | - error: cannot find 'traceMap' in scope
- 221 | func preload() {
- 222 | self.ensureIsLoaded()
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:222:7: error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
- 220 | traceMap(toType: U.self)
- 221 | func preload() {
- 222 | self.ensureIsLoaded()
- | - error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
- 223 | }
- 224 | func transformingGetter() -> U {
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:225:17: error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
- 223 | }
- 224 | func transformingGetter() -> U {
- 225 | transform(self.getValue(eagerEvaluation: false, expectLoaded: true))
- | - error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
- 226 | }
- 227 | let result = ResettableLazy<U>(preload: preload, getter: transformingGetter)
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:227:18: error: 'ResettableLazy<U>' cannot be constructed because it has no accessible initializers
- 225 | transform(self.getValue(eagerEvaluation: false, expectLoaded: true))
- 226 | }
- 227 | let result = ResettableLazy<U>(preload: preload, getter: transformingGetter)
- | - error: 'ResettableLazy<U>' cannot be constructed because it has no accessible initializers
- 228 | #if swift(>=6.2)
- 229 | weak let weakResult: ResettableLazy<U>? = result
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:233:24: error: cannot find type 'T' in scope
- 231 | weak var weakResult: ResettableLazy<U>? = result
- 232 | #endif
- 233 | func onResolved(_: T) {
- | - error: cannot find type 'T' in scope
- 234 | _ = weakResult?.getValue(eagerEvaluation: true, expectLoaded: false)
- 235 | }
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:234:23: error: value of type 'ResettableLazy<U>' has no member 'getValue'
- 232 | #endif
- 233 | func onResolved(_: T) {
- 234 | _ = weakResult?.getValue(eagerEvaluation: true, expectLoaded: false)
- | - error: value of type 'ResettableLazy<U>' has no member 'getValue'
- 235 | }
- 236 | future.resolved(onResolved)
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:244:5: error: cannot find 'traceMap' in scope
- 242 | @inlinable
- 243 | public func lazyMap<U>(_ transform: @escaping (T) -> U) -> ResettableLazy<U> {
- 244 | traceMap(toType: U.self)
- | - error: cannot find 'traceMap' in scope
- 245 | func preload() {
- 246 | self.ensureIsLoaded()
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:246:7: error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
- 244 | traceMap(toType: U.self)
- 245 | func preload() {
- 246 | self.ensureIsLoaded()
- | - error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
- 247 | }
- 248 | func transformingGetter() -> U {
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:249:17: error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
- 247 | }
- 248 | func transformingGetter() -> U {
- 249 | transform(self.getValue(eagerEvaluation: false, expectLoaded: true))
- | - error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
- 250 | }
- 251 | let result = ResettableLazy<U>(preload: preload, getter: transformingGetter)
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:251:18: error: 'ResettableLazy<U>' cannot be constructed because it has no accessible initializers
- 249 | transform(self.getValue(eagerEvaluation: false, expectLoaded: true))
- 250 | }
- 251 | let result = ResettableLazy<U>(preload: preload, getter: transformingGetter)
- | - error: 'ResettableLazy<U>' cannot be constructed because it has no accessible initializers
- 252 | return result
- 253 | }
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:257:40: error: cannot find type 'T' in scope
- 255 | @inlinable
- 256 | public subscript<U>(dynamicMember path: KeyPath<T, U>) -> ResettableLazy<U> {
- 257 | func dynamicMemberGetter(_ object: T) -> U {
- | - error: cannot find type 'T' in scope
- 258 | object[keyPath: path]
- 259 | }
- Pods/VGSLFundamentals/VGSLFundamentals/Zip3.swift:45:33: error: cannot find type 'Iterator' in scope
- 43 | }
- 44 | 45 | public func makeIterator() -> Iterator {
- | - error: cannot find type 'Iterator' in scope
- 46 | Iterator(
- 47 | _seq.0.makeIterator(),
- Pods/VGSLFundamentals/VGSLFundamentals/reactive/Signal.swift:274:20: warning: reference to captured var 'disposed' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
- 272 | mainThreadAsyncRunner {
- 273 | Thread.assertIsMain()
- 274 | guard !disposed else { return }
- | - warning: reference to captured var 'disposed' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
- 275 | observer.action(value)
- 276 | }
- Pods/VGSLFundamentals/VGSLFundamentals/Zip3.swift:42:13: error: cannot find 'seq1' in scope
- 40 | 41 | // @inlinable removed: Darwin Swift compatn internal init(_ seq1: Seq1, _ seq2: Seq2, _ seq3: Seq3) {
- 42 | _seq = (seq1, seq2, seq3)
- | - error: cannot find 'seq1' in scope
- 43 | }
- 44 |
- Pods/VGSLFundamentals/VGSLFundamentals/Zip3.swift:42:19: error: cannot find 'seq2' in scope
- 40 | 41 | // @inlinable removed: Darwin Swift compatn internal init(_ seq1: Seq1, _ seq2: Seq2, _ seq3: Seq3) {
- 42 | _seq = (seq1, seq2, seq3)
- | - error: cannot find 'seq2' in scope
- 43 | }
- 44 |
- Pods/VGSLFundamentals/VGSLFundamentals/Zip3.swift:42:25: error: cannot find 'seq3' in scope
- 40 | 41 | // @inlinable removed: Darwin Swift compatn internal init(_ seq1: Seq1, _ seq2: Seq2, _ seq3: Seq3) {
- 42 | _seq = (seq1, seq2, seq3)
- | - error: cannot find 'seq3' in scope
- 43 | }
- 44 |
- Pods/VGSLFundamentals/VGSLFundamentals/Zip3.swift:3:15: error: type 'Zip3Sequence<Seq1, Seq2, Seq3>' does not conform to protocol 'Sequence'
- 1 | // Copyright 2023 Yandex LLC. All rights reserved.
- 2 | 3 | public struct Zip3Sequence<Seq1: Sequence, Seq2: Sequence, Seq3: Sequence>: Sequence {
- | |- error: type 'Zip3Sequence<Seq1, Seq2, Seq3>' does not conform to protocol 'Sequence'
- | - note: add stubs for conformance
- 4 | public typealias Element = (Seq1.Element, Seq2.Element, Seq3.Element)
- 5 |
- Swift.Sequence.makeIterator:2:36: note: candidate has non-matching type '<Self> () -> Self'
- 1 | protocol Sequence {
- 2 | @inlinable public __consuming func makeIterator() -> Self}
- | - note: candidate has non-matching type '<Self> () -> Self'
- 3 |
- Swift.Sequence.makeIterator:2:18: note: protocol requires function 'makeIterator()' with type '() -> Zip3Sequence<Seq1, Seq2, Seq3>.Iterator'
- 1 | protocol Sequence {
- 2 | __consuming func makeIterator() -> Self.Iterator}
- | - note: protocol requires function 'makeIterator()' with type '() -> Zip3Sequence<Seq1, Seq2, Seq3>.Iterator'
- 3 |
- Pods/VGSLFundamentals/VGSLFundamentals/Zip3.swift:60:3: error: generic parameter 'Seq1' could not be inferred
- 1 | // Copyright 2023 Yandex LLC. All rights reserved.
- 2 | 3 | public struct Zip3Sequence<Seq1: Sequence, Seq2: Sequence, Seq3: Sequence>: Sequence {
- | - note: 'Seq1' declared as parameter to type 'Zip3Sequence'
- 4 | public typealias Element = (Seq1.Element, Seq2.Element, Seq3.Element)
- 5 |
- : 58 | _ sequence3: Seq3
- 59 | ) -> Zip3Sequence<Seq1, Seq2, Seq3> {
- 60 | Zip3Sequence(sequence1, sequence2, sequence3)
- | - error: generic parameter 'Seq1' could not be inferred
- 61 | }
- 62 |
- Pods/VGSLFundamentals/VGSLFundamentals/Zip3.swift:60:3: error: generic parameter 'Seq2' could not be inferred
- 1 | // Copyright 2023 Yandex LLC. All rights reserved.
- 2 | 3 | public struct Zip3Sequence<Seq1: Sequence, Seq2: Sequence, Seq3: Sequence>: Sequence {
- | - note: 'Seq2' declared as parameter to type 'Zip3Sequence'
- 4 | public typealias Element = (Seq1.Element, Seq2.Element, Seq3.Element)
- 5 |
- : 58 | _ sequence3: Seq3
- 59 | ) -> Zip3Sequence<Seq1, Seq2, Seq3> {
- 60 | Zip3Sequence(sequence1, sequence2, sequence3)
- | - error: generic parameter 'Seq2' could not be inferred
- 61 | }
- 62 |
- Pods/VGSLFundamentals/VGSLFundamentals/Zip3.swift:60:3: error: generic parameter 'Seq3' could not be inferred
- 1 | // Copyright 2023 Yandex LLC. All rights reserved.
- 2 | 3 | public struct Zip3Sequence<Seq1: Sequence, Seq2: Sequence, Seq3: Sequence>: Sequence {
- | - note: 'Seq3' declared as parameter to type 'Zip3Sequence'
- 4 | public typealias Element = (Seq1.Element, Seq2.Element, Seq3.Element)
- 5 |
- : 58 | _ sequence3: Seq3
- 59 | ) -> Zip3Sequence<Seq1, Seq2, Seq3> {
- 60 | Zip3Sequence(sequence1, sequence2, sequence3)
- | |- error: generic parameter 'Seq3' could not be inferred
- | - note: explicitly specify the generic arguments to fix this issue
- 61 | }
- 62 |
- [#PropertyWrappers]: <https://docs.swift.org/compiler/documentation/diagnostics/property-wrapper-requirements>
- [#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
- Press any key to continue . . .
Advertisement