Guest User

new error

a guest
Mar 4th, 2026
34
0
Never
5
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 56.14 KB | None | 0 0
  1. + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Profiles\Updates\AMAUndefinedAwareAttributeValueUpdate.m...
  2. + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Dispatcher\AMAUniquePriorityQueue.m...
  3. + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Strategies\AMAUrgentEventCountDispatchStrategy.m...
  4. + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Profiles\AMAUserProfile.m...
  5. + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Profiles\AMAUserProfileLogger.m...
  6. + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Profiles\Models\AMAUserProfileModel.m...
  7. + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Profiles\AMAUserProfileModelSerializer.m...
  8. + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Profiles\AMAUserProfileUpdate.m...
  9. + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Profiles\AMAUserProfileUpdatesProcessor.m...
  10. + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Location\AMAVisit.m...
  11. + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Generated\AppMetrica.pb-c.c...
  12. + [arm64] Compiling Pods\AppMetricaCore\..\Target Support Files\AppMetricaCore\AppMetricaCore-dummy.m...
  13. + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Generated\ClientExternalAttribution.pb-c.c...
  14. + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Generated\Ecommerce.pb-c.c...
  15. + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Generated\EventData.pb-c.c...
  16. + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Generated\EventNameHashesCollection.pb-c.c...
  17. + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Generated\EventStart.pb-c.c...
  18. + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Generated\Extras.pb-c.c...
  19. + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Generated\LegacyEventExtras.pb-c.c...
  20. + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Generated\LocationMessage.pb-c.c...
  21. + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\AdRevenue\NSMutableDictionary+AdRevenueHelper.m...
  22. + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Generated\Profile.pb-c.c...
  23. + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Generated\Revenue.pb-c.c...
  24. + [arm64] Compiling Pods\AppMetricaCore\AppMetricaCore\Sources\Generated\SessionData.pb-c.c...
  25. + [arm64] Linking AppMetricaCore...
  26. ld64.lld: warning: directory not found for option -F/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.0.sdk/System/Library/Frameworks
  27. + Creating universal framework (arm64)...
  28. + Stripping bitcode to reduce binary size...
  29. + Creating AppMetricaCore framework module map with umbrella header: AppMetricaCore-umbrella.h
  30. + Creating Info.plist...
  31. + Done. Build time: 161 seconds (0 h 2 min 41 s)
  32. Output directory: build/Release-iphoneos/AppMetricaCore\AppMetricaCore.framework
  33. Building the CocoaPods dependency project AppMetricaCoreExtension-AppMetricaCoreExtension...
  34. + Preparing output directory...
  35. + Pre-parsing project files...
  36. + Building AppMetricaCoreExtension for iphoneos (configuration: Release)
  37. Nothing to produce here, skipping.
  38. Building the CocoaPods dependency project AppMetricaCoreExtension...
  39. + Preparing output directory...
  40. + Pre-parsing project files...
  41. + Building AppMetricaCoreExtension for iphoneos (configuration: Release)
  42. + [arm64] Compiling Pods\AppMetricaCoreExtension\AppMetricaCoreExtension\Sources\AMACoreExtension.m...
  43. + [arm64] Compiling Pods\AppMetricaCoreExtension\..\Target Support Files\AppMetricaCoreExtension\AppMetricaCoreExtension-dummy.m...
  44. + [arm64] Linking AppMetricaCoreExtension...
  45. ld64.lld: warning: directory not found for option -F/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.0.sdk/System/Library/Frameworks
  46. + Creating universal framework (arm64)...
  47. + Stripping bitcode to reduce binary size...
  48. + Creating AppMetricaCoreExtension framework module map with umbrella header: AppMetricaCoreExtension-umbrella.h
  49. + Creating Info.plist...
  50. + Done. Build time: 16 seconds (0 h 0 min 16 s)
  51. Output directory: build/Release-iphoneos/AppMetricaCoreExtension\AppMetricaCoreExtension.framework
  52. Building the CocoaPods dependency project AppMetricaAdSupport...
  53. + Preparing output directory...
  54. + Pre-parsing project files...
  55. + Building AppMetricaAdSupport for iphoneos (configuration: Release)
  56. + [arm64] Compiling Pods\AppMetricaAdSupport\AppMetricaAdSupport\Sources\AMAAdController.m...
  57. + [arm64] Compiling Pods\AppMetricaAdSupport\AppMetricaAdSupport\Sources\AMAATTStatusProvider.m...
  58. + [arm64] Compiling Pods\AppMetricaAdSupport\AppMetricaAdSupport\Sources\AMAIDFAProvider.m...
  59. + [arm64] Compiling Pods\AppMetricaAdSupport\..\Target Support Files\AppMetricaAdSupport\AppMetricaAdSupport-dummy.m...
  60. + [arm64] Linking AppMetricaAdSupport...
  61. ld64.lld: warning: directory not found for option -F/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.0.sdk/System/Library/Frameworks
  62. + Creating universal framework (arm64)...
  63. + Stripping bitcode to reduce binary size...
  64. + Creating AppMetricaAdSupport framework module map with umbrella header: AppMetricaAdSupport-umbrella.h
  65. + Creating Info.plist...
  66. + Done. Build time: 18 seconds (0 h 0 min 18 s)
  67. Output directory: build/Release-iphoneos/AppMetricaAdSupport\AppMetricaAdSupport.framework
  68. Building the CocoaPods dependency project AppMetricaIDSync-AppMetricaIDSync...
  69. + Preparing output directory...
  70. + Pre-parsing project files...
  71. + Building AppMetricaIDSync for iphoneos (configuration: Release)
  72. Nothing to produce here, skipping.
  73. Building the CocoaPods dependency project AppMetricaIDSync...
  74. + Preparing output directory...
  75. + Pre-parsing project files...
  76. + Building AppMetricaIDSync for iphoneos (configuration: Release)
  77. + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\IDSync\AMAIDSyncExecutionConditionProvider.m...
  78. + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\Configuration\AMAIDSyncKeys.m...
  79. + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\IDSync\AMAIDSyncLastExecutionStateProvider.m...
  80. + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\IDSync\AMAIDSyncLoader.m...
  81. + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\IDSync\AMAIDSyncManager.m...
  82. + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\Network\AMAIDSyncNetworkRequest.m...
  83. + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\IDSync\AMAIDSyncPreconditionHandler.m...
  84. + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\IDSync\AMAIDSyncReporter.m...
  85. + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\Configuration\AMAIDSyncRequest.m...
  86. + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\Configuration\AMAIDSyncRequestsConverter.m...
  87. + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\Startup\AMAIDSyncStartupConfiguration.m...
  88. + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\Startup\AMAIDSyncStartupController.m...
  89. + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\Startup\AMAIDSyncStartupRequestParameters.m...
  90. + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\Startup\AMAIDSyncStartupResponse.m...
  91. + [arm64] Compiling Pods\AppMetricaIDSync\AppMetricaIDSync\Sources\Startup\AMAIDSyncStartupResponseParser.m...
  92. + [arm64] Compiling Pods\AppMetricaIDSync\..\Target Support Files\AppMetricaIDSync\AppMetricaIDSync-dummy.m...
  93. + [arm64] Linking AppMetricaIDSync...
  94. ld64.lld: warning: directory not found for option -F/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.0.sdk/System/Library/Frameworks
  95. + Creating universal framework (arm64)...
  96. + Stripping bitcode to reduce binary size...
  97. + Creating AppMetricaIDSync framework module map with umbrella header: AppMetricaIDSync-umbrella.h
  98. + Creating Info.plist...
  99. + Done. Build time: 22 seconds (0 h 0 min 22 s)
  100. Output directory: build/Release-iphoneos/AppMetricaIDSync\AppMetricaIDSync.framework
  101. Building the CocoaPods dependency project AppMetricaLibraryAdapter-AppMetricaLibraryAdapter...
  102. + Preparing output directory...
  103. + Pre-parsing project files...
  104. + Building AppMetricaLibraryAdapter for iphoneos (configuration: Release)
  105. Nothing to produce here, skipping.
  106. Building the CocoaPods dependency project AppMetricaLibraryAdapter...
  107. + Preparing output directory...
  108. + Pre-parsing project files...
  109. + Building AppMetricaLibraryAdapter for iphoneos (configuration: Release)
  110. + Generating module map for mixed-language target using supplied umbrella header: headers-public/AppMetricaLibraryAdapter/AppMetricaLibraryAdapter-umbrella.h
  111. + [arm64] Compiling Pods\AppMetricaLibraryAdapter\AppMetricaLibraryAdapter\Sources\AppMetricaLibraryAdapter.swift...
  112. + [arm64] Compiling Pods\AppMetricaLibraryAdapter\AppMetricaLibraryAdapter\Sources\LibraryAdapterConfiguration.swift...
  113. + [arm64] Compiling Pods\AppMetricaLibraryAdapter\..\Target Support Files\AppMetricaLibraryAdapter\AppMetricaLibraryAdapter-dummy.m...
  114. + [arm64] Linking AppMetricaLibraryAdapter...
  115. ld64.lld: warning: directory not found for option -F/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.0.sdk/System/Library/Frameworks
  116. + [arm64] Creating AppMetricaLibraryAdapter Swift module interface...
  117. 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
  118. 9 | /// including activation and event reporting.
  119. 10 | @objc(AMAAppMetricaLibraryAdapter)
  120. 11 | public final class AppMetricaLibraryAdapter: NSObject {
  121. | - 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
  122. 12 | 13 | /// The shared instance of the AppMetricaLibraryAdapter.
  123. + Creating universal framework (arm64)...
  124. + Stripping bitcode to reduce binary size...
  125. + Exporting AppMetricaLibraryAdapter Swift module...
  126. + Creating AppMetricaLibraryAdapter framework module map with umbrella header: AppMetricaLibraryAdapter-umbrella.h
  127. + Creating Info.plist...
  128. + Done. Build time: 66 seconds (0 h 1 min 6 s)
  129. Output directory: build/Release-iphoneos/AppMetricaLibraryAdapter\AppMetricaLibraryAdapter.framework
  130. Building the CocoaPods dependency project VGSLFundamentals-VGSLFundamentalsPrivacyInfo...
  131. + Preparing output directory...
  132. + Pre-parsing project files...
  133. + Building VGSLFundamentalsPrivacyInfo for iphoneos (configuration: Release)
  134. Nothing to produce here, skipping.
  135. Building the CocoaPods dependency project VGSLFundamentals...
  136. + Preparing output directory...
  137. + Pre-parsing project files...
  138. + Building VGSLFundamentals for iphoneos (configuration: Release)
  139. + Generating module map for mixed-language target using supplied umbrella header: headers-public/VGSLFundamentals/VGSLFundamentals-umbrella.h
  140. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:38:5: error: expected declaration
  141. 9 | @propertyWrapper
  142. 10 | @dynamicMemberLookup
  143. 11 | public final class ResettableLazy<T> {
  144. | - note: in declaration of 'ResettableLazy'
  145. 12 | @usableFromInline
  146. 13 | typealias Preload = () -> Void
  147. : 36 | 37 | // @inlinable removed: Darwin Swift compatn init(state: State, preload: @escaping Preload, getter: @escaping Getter) {
  148. 38 | self.state = state
  149. | - error: expected declaration
  150. 39 | self.originalPreload = preload
  151. 40 | self.originalGetter = getter
  152. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:44:5: error: expressions are not allowed at the top level
  153. 42 | 43 | // @inlinable removed: Darwin Swift compatn deinit {
  154. 44 | traceDeinit()
  155. | - error: expressions are not allowed at the top level
  156. 45 | }
  157. 46 |
  158. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:45:3: error: extraneous '}' at top level
  159. 43 | // @inlinable removed: Darwin Swift compatn deinit {
  160. 44 | traceDeinit()
  161. 45 | }
  162. | - error: extraneous '}' at top level
  163. 46 | 47 | @inlinable
  164. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:48:26: error: initializers may only be declared within a type
  165. 46 | 47 | @inlinable
  166. 48 | public convenience init(getter: @escaping Getter) {
  167. | - error: initializers may only be declared within a type
  168. 49 | let preload = {}
  169. 50 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
  170. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:54:26: error: initializers may only be declared within a type
  171. 52 | 53 | @inlinable
  172. 54 | public convenience init(onMainThreadGetter getter: @escaping Getter) {
  173. | - error: initializers may only be declared within a type
  174. 55 | func onMainThreadGetter() -> T {
  175. 56 | assert(Thread.isMainThread)
  176. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:68:26: error: initializers may only be declared within a type
  177. 66 | 67 | @inlinable
  178. 68 | public convenience init(preload: @escaping () -> Void, getter: @escaping () -> T) {
  179. | - error: initializers may only be declared within a type
  180. 69 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
  181. 70 | }
  182. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:79:26: error: initializers may only be declared within a type
  183. 77 | /// Use init(loaded:) when you need a ResettableLazy in loaded state.
  184. 78 | @inlinable
  185. 79 | public convenience init(value: T) {
  186. | - error: initializers may only be declared within a type
  187. 80 | let getter = { value }
  188. 81 | let preload = {}
  189. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:89:26: error: initializers may only be declared within a type
  190. 87 | /// The resulting ResettableLazy will immediately have a non-nil currentValue.
  191. 88 | @inlinable
  192. 89 | public convenience init(loaded value: T) {
  193. | - error: initializers may only be declared within a type
  194. 90 | let getter = { value }
  195. 91 | let preload = {}
  196. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:256:10: error: 'subscript' functions may only be declared within a type
  197. 254 | 255 | @inlinable
  198. 256 | public subscript<U>(dynamicMember path: KeyPath<T, U>) -> ResettableLazy<U> {
  199. | - error: 'subscript' functions may only be declared within a type
  200. 257 | func dynamicMemberGetter(_ object: T) -> U {
  201. 258 | object[keyPath: path]
  202. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:262:1: error: extraneous '}' at top level
  203. 260 | return map(dynamicMemberGetter)
  204. 261 | }
  205. 262 | }
  206. | - error: extraneous '}' at top level
  207. 263 | 264 | extension ResettableLazy {
  208. Pods/VGSLFundamentals/VGSLFundamentals/Zip3.swift:42:5: error: expected 'var' keyword in property declaration
  209. 40 | 41 | // @inlinable removed: Darwin Swift compatn internal init(_ seq1: Seq1, _ seq2: Seq2, _ seq3: Seq3) {
  210. 42 | _seq = (seq1, seq2, seq3)
  211. | - error: expected 'var' keyword in property declaration
  212. 43 | }
  213. 44 |
  214. Pods/VGSLFundamentals/VGSLFundamentals/Zip3.swift:52:1: error: extraneous '}' at top level
  215. 50 | )
  216. 51 | }
  217. 52 | }
  218. | - error: extraneous '}' at top level
  219. 53 | 54 | @inlinable
  220. Pods/VGSLFundamentals/VGSLFundamentals/concurrency/AllocatedUnfairLock.swift:18:5: error: 'let' property 'buffer' may not be initialized directly; use "self.init(...)" or "self = ..." instead
  221. 12 | 13 | @usableFromInline
  222. 14 | let buffer: Buffer
  223. | - note: 'buffer' declared here
  224. 15 | 16 | @inlinable
  225. 17 | public init(uncheckedState initialState: State) {
  226. 18 | buffer = Buffer.create(minimumCapacity: 1) { buffer in
  227. | - error: 'let' property 'buffer' may not be initialized directly; use "self.init(...)" or "self = ..." instead
  228. 19 | buffer.withUnsafeMutablePointerToElements { lock in
  229. 20 | ll_lock_init(lock)
  230. 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
  231. 71 | public func precondition(_ condition: Ownership) {
  232. 72 | buffer.withUnsafeMutablePointerToElements { lock in
  233. 73 | switch condition {
  234. | |- warning: switch covers known cases, but 'AllocatedUnfairLock<State>.Ownership' may have additional unknown values; this is an error in the Swift 6 language mode
  235. | - note: handle unknown values using "@unknown default"
  236. 74 | case .owner:
  237. 75 | ll_lock_assert_owner(lock)
  238. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:219:46: error: cannot find type 'T' in scope
  239. 217 | /// i.e. ResettableLazy(getter: { someTransformation(anotherLazy.value) })
  240. 218 | /// or lazyMap { someTransformation($0) }.
  241. 219 | public func map<U>(_ transform: @escaping (T) -> U) -> ResettableLazy<U> {
  242. | - error: cannot find type 'T' in scope
  243. 220 | traceMap(toType: U.self)
  244. 221 | func preload() {
  245. Pods/VGSLFundamentals/VGSLFundamentals/concurrency/GCD.swift:54:39: warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
  246. 46 | 47 | @Sendable
  247. 48 | public func onMainThread(_ block: @escaping @MainActor () -> Void) {
  248. | - note: parameter 'block' is implicitly non-Sendable
  249. 49 | if Thread.isMainThread {
  250. 50 | assumeIsolatedToMainActor {
  251. : 52 | }
  252. 53 | } else {
  253. 54 | DispatchQueue.main.async(execute: block)
  254. | - warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
  255. 55 | }
  256. 56 | }
  257. Pods/VGSLFundamentals/VGSLFundamentals/concurrency/GCD.swift:97:37: warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
  258. 94 | @Sendable
  259. 95 | @inlinable
  260. 96 | public func onMainThreadAsync(_ block: @escaping @MainActor () -> Void) {
  261. | - note: parameter 'block' is implicitly non-Sendable
  262. 97 | DispatchQueue.main.async(execute: block)
  263. | - warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
  264. 98 | }
  265. 99 | }
  266. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:96:21: error: cannot find type 'T' in scope
  267. 94 | 95 | @inlinable
  268. 96 | public var value: T {
  269. | - error: cannot find type 'T' in scope
  270. 97 | #if DEBUG
  271. 98 | _wasRead = true
  272. Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:26:10: error: value of type 'ResettableLazy<T>' has no member 'value'
  273. 24 | 25 | public var value: T {
  274. 26 | impl.value
  275. | - error: value of type 'ResettableLazy<T>' has no member 'value'
  276. 27 | }
  277. 28 |
  278. Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:30:10: error: value of type 'ResettableLazy<T>' has no member 'currentValue'
  279. 28 | 29 | public var currentValue: T? {
  280. 30 | impl.currentValue
  281. | - error: value of type 'ResettableLazy<T>' has no member 'currentValue'
  282. 31 | }
  283. 32 |
  284. Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:34:21: error: 'ResettableLazy<T>' cannot be constructed because it has no accessible initializers
  285. 32 | 33 | public convenience init(getter: @escaping Getter) {
  286. 34 | self.init(impl: ResettableLazy(getter: Self.makeOneShotGetter(getter)))
  287. | - error: 'ResettableLazy<T>' cannot be constructed because it has no accessible initializers
  288. 35 | }
  289. 36 |
  290. Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:34:21: error: generic parameter 'T' could not be inferred
  291. 32 | 33 | public convenience init(getter: @escaping Getter) {
  292. 34 | self.init(impl: ResettableLazy(getter: Self.makeOneShotGetter(getter)))
  293. | |- error: generic parameter 'T' could not be inferred
  294. | - note: explicitly specify the generic arguments to fix this issue
  295. 35 | }
  296. 36 |
  297. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:11:35: note: 'T' declared as parameter to type 'ResettableLazy'
  298. 9 | @propertyWrapper
  299. 10 | @dynamicMemberLookup
  300. 11 | public final class ResettableLazy<T> {
  301. | - note: 'T' declared as parameter to type 'ResettableLazy'
  302. 12 | @usableFromInline
  303. 13 | typealias Preload = () -> Void
  304. Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:38:21: error: 'ResettableLazy<T>' cannot be constructed because it has no accessible initializers
  305. 36 | 37 | public convenience init(onMainThreadGetter getter: @escaping Getter) {
  306. 38 | self.init(impl: ResettableLazy(onMainThreadGetter: Self.makeOneShotGetter(getter)))
  307. | - error: 'ResettableLazy<T>' cannot be constructed because it has no accessible initializers
  308. 39 | }
  309. 40 |
  310. Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:38:21: error: generic parameter 'T' could not be inferred
  311. 36 | 37 | public convenience init(onMainThreadGetter getter: @escaping Getter) {
  312. 38 | self.init(impl: ResettableLazy(onMainThreadGetter: Self.makeOneShotGetter(getter)))
  313. | |- error: generic parameter 'T' could not be inferred
  314. | - note: explicitly specify the generic arguments to fix this issue
  315. 39 | }
  316. 40 |
  317. Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:42:21: error: 'ResettableLazy<T>' cannot be constructed because it has no accessible initializers
  318. 40 | 41 | public convenience init(preload: @escaping () -> Void, getter: @escaping () -> T) {
  319. 42 | self.init(impl: ResettableLazy(preload: preload, getter: Self.makeOneShotGetter(getter)))
  320. | - error: 'ResettableLazy<T>' cannot be constructed because it has no accessible initializers
  321. 43 | }
  322. 44 |
  323. Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:42:21: error: generic parameter 'T' could not be inferred
  324. 40 | 41 | public convenience init(preload: @escaping () -> Void, getter: @escaping () -> T) {
  325. 42 | self.init(impl: ResettableLazy(preload: preload, getter: Self.makeOneShotGetter(getter)))
  326. | |- error: generic parameter 'T' could not be inferred
  327. | - note: explicitly specify the generic arguments to fix this issue
  328. 43 | }
  329. 44 |
  330. Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:52:21: error: generic parameter 'T' could not be inferred
  331. 50 | /// Use init(loaded:) when you need a Lazy in loaded state.
  332. 51 | public convenience init(value: T) {
  333. 52 | self.init(impl: ResettableLazy(value: value))
  334. | |- error: generic parameter 'T' could not be inferred
  335. | - note: explicitly specify the generic arguments to fix this issue
  336. 53 | }
  337. 54 |
  338. Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:52:21: error: 'ResettableLazy<T>' cannot be constructed because it has no accessible initializers
  339. 50 | /// Use init(loaded:) when you need a Lazy in loaded state.
  340. 51 | public convenience init(value: T) {
  341. 52 | self.init(impl: ResettableLazy(value: value))
  342. | - error: 'ResettableLazy<T>' cannot be constructed because it has no accessible initializers
  343. 53 | }
  344. 54 |
  345. Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:59:21: error: generic parameter 'T' could not be inferred
  346. 57 | /// The resulting Lazy will immediately have a non-nil currentValue.
  347. 58 | public convenience init(loaded value: T) {
  348. 59 | self.init(impl: ResettableLazy(loaded: value))
  349. | |- error: generic parameter 'T' could not be inferred
  350. | - note: explicitly specify the generic arguments to fix this issue
  351. 60 | }
  352. 61 |
  353. Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:59:21: error: 'ResettableLazy<T>' cannot be constructed because it has no accessible initializers
  354. 57 | /// The resulting Lazy will immediately have a non-nil currentValue.
  355. 58 | public convenience init(loaded value: T) {
  356. 59 | self.init(impl: ResettableLazy(loaded: value))
  357. | - error: 'ResettableLazy<T>' cannot be constructed because it has no accessible initializers
  358. 60 | }
  359. 61 |
  360. Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:67:10: error: value of type 'ResettableLazy<T>' has no member 'future'
  361. 65 | 66 | public var future: Future<T> {
  362. 67 | impl.future
  363. | - error: value of type 'ResettableLazy<T>' has no member 'future'
  364. 68 | }
  365. 69 |
  366. Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:71:10: error: value of type 'ResettableLazy<T>' has no member 'whenLoaded'
  367. 69 | 70 | public func whenLoaded(perform body: @escaping Future<T>.Callback) {
  368. 71 | impl.whenLoaded(perform: body)
  369. | - error: value of type 'ResettableLazy<T>' has no member 'whenLoaded'
  370. 72 | }
  371. 73 |
  372. Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:75:10: error: value of type 'ResettableLazy<T>' has no member 'ensureIsLoaded'
  373. 73 | 74 | public func ensureIsLoaded() {
  374. 75 | impl.ensureIsLoaded()
  375. | - error: value of type 'ResettableLazy<T>' has no member 'ensureIsLoaded'
  376. 76 | }
  377. 77 |
  378. Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:89:24: error: value of type 'ResettableLazy<T>' has no member 'map'
  379. 87 | /// or lazyMap { someTransformation($0) }.
  380. 88 | public func map<U>(_ transform: @escaping (T) -> U) -> Lazy<U> {
  381. 89 | Lazy<U>(impl: impl.map(transform))
  382. | - error: value of type 'ResettableLazy<T>' has no member 'map'
  383. 90 | }
  384. 91 |
  385. Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:95:24: error: value of type 'ResettableLazy<T>' has no member 'lazyMap'
  386. 93 | /// (resulting lazy is not loaded when the current one loads).
  387. 94 | public func lazyMap<U>(_ transform: @escaping (T) -> U) -> Lazy<U> {
  388. 95 | Lazy<U>(impl: impl.lazyMap(transform))
  389. | - error: value of type 'ResettableLazy<T>' has no member 'lazyMap'
  390. 96 | }
  391. 97 |
  392. Pods/VGSLFundamentals/VGSLFundamentals/reactive/Lazy.swift:99:23: error: value of type 'ResettableLazy<T>' has no subscripts
  393. 97 | 98 | public subscript<U>(dynamicMember path: KeyPath<T, U>) -> Lazy<U> {
  394. 99 | Lazy<U>(impl: impl[dynamicMember: path])
  395. | - error: value of type 'ResettableLazy<T>' has no subscripts
  396. 100 | }
  397. 101 | }
  398. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:109:28: error: cannot find type 'T' in scope
  399. 107 | 108 | @inlinable
  400. 109 | public var currentValue: T? {
  401. | - error: cannot find type 'T' in scope
  402. 110 | switch state {
  403. 111 | case .created, .loading:
  404. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:127:29: error: cannot find type 'T' in scope
  405. 125 | 126 | @inlinable
  406. 127 | public var future: Future<T> {
  407. | - error: cannot find type 'T' in scope
  408. 128 | func doNothingRetainSelf(_: T) {
  409. 129 | // Capture self until self is loaded.
  410. 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
  411. 349 | var property = ObservableProperty(initialValue: initialValue)
  412. 350 | mods.forEach { mod in
  413. 351 | switch mod {
  414. | |- warning: switch covers known cases, but 'ObservableProperty<T>.Modification' may have additional unknown values; this is an error in the Swift 6 language mode
  415. | - note: handle unknown values using "@unknown default"
  416. 352 | case .skipRepeats:
  417. 353 | property = property.skipRepeats()
  418. 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
  419. 8 | 9 | @propertyWrapper
  420. 10 | @dynamicMemberLookup
  421. | - error: '@dynamicMemberLookup' requires 'ResettableLazy' to have a 'subscript(dynamicMember:)' method that accepts either 'ExpressibleByStringLiteral' or a key path
  422. 11 | public final class ResettableLazy<T> {
  423. 12 | @usableFromInline
  424. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:11:20: error: property wrapper type 'ResettableLazy' does not contain a non-static property named 'wrappedValue' [#PropertyWrappers]
  425. 9 | @propertyWrapper
  426. 10 | @dynamicMemberLookup
  427. 11 | public final class ResettableLazy<T> {
  428. | - error: property wrapper type 'ResettableLazy' does not contain a non-static property named 'wrappedValue' [#PropertyWrappers]
  429. 12 | @usableFromInline
  430. 13 | typealias Preload = () -> Void
  431. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:11:20: error: class 'ResettableLazy' has no initializers
  432. 9 | @propertyWrapper
  433. 10 | @dynamicMemberLookup
  434. 11 | public final class ResettableLazy<T> {
  435. | - error: class 'ResettableLazy' has no initializers
  436. 12 | @usableFromInline
  437. 13 | typealias Preload = () -> Void
  438. : 22 | 23 | @usableFromInline
  439. 24 | var state: State
  440. | - note: stored property 'state' without initial value prevents synthesized initializers
  441. 25 | 26 | // Store the original preload and getter for reset functionality
  442. 27 | @usableFromInline
  443. 28 | let originalPreload: Preload
  444. | - note: stored property 'originalPreload' without initial value prevents synthesized initializers
  445. 29 | @usableFromInline
  446. 30 | let originalGetter: Getter
  447. | - note: stored property 'originalGetter' without initial value prevents synthesized initializers
  448. 31 | 32 | #if DEBUG
  449. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:44:5: error: cannot find 'traceDeinit' in scope
  450. 42 | 43 | // @inlinable removed: Darwin Swift compatn deinit {
  451. 44 | traceDeinit()
  452. | - error: cannot find 'traceDeinit' in scope
  453. 45 | }
  454. 46 |
  455. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:48:45: error: cannot find type 'Getter' in scope
  456. 46 | 47 | @inlinable
  457. 48 | public convenience init(getter: @escaping Getter) {
  458. | - error: cannot find type 'Getter' in scope
  459. 49 | let preload = {}
  460. 50 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
  461. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:48:35: error: @escaping attribute only applies to function types
  462. 46 | 47 | @inlinable
  463. 48 | public convenience init(getter: @escaping Getter) {
  464. | - error: @escaping attribute only applies to function types
  465. 49 | let preload = {}
  466. 50 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
  467. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:54:64: error: cannot find type 'Getter' in scope
  468. 52 | 53 | @inlinable
  469. 54 | public convenience init(onMainThreadGetter getter: @escaping Getter) {
  470. | - error: cannot find type 'Getter' in scope
  471. 55 | func onMainThreadGetter() -> T {
  472. 56 | assert(Thread.isMainThread)
  473. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:54:54: error: @escaping attribute only applies to function types
  474. 52 | 53 | @inlinable
  475. 54 | public convenience init(onMainThreadGetter getter: @escaping Getter) {
  476. | - error: @escaping attribute only applies to function types
  477. 55 | func onMainThreadGetter() -> T {
  478. 56 | assert(Thread.isMainThread)
  479. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:68:82: error: cannot find type 'T' in scope
  480. 66 | 67 | @inlinable
  481. 68 | public convenience init(preload: @escaping () -> Void, getter: @escaping () -> T) {
  482. | - error: cannot find type 'T' in scope
  483. 69 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
  484. 70 | }
  485. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:68:66: error: @escaping attribute only applies to function types
  486. 66 | 67 | @inlinable
  487. 68 | public convenience init(preload: @escaping () -> Void, getter: @escaping () -> T) {
  488. | - error: @escaping attribute only applies to function types
  489. 69 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
  490. 70 | }
  491. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:79:34: error: cannot find type 'T' in scope
  492. 77 | /// Use init(loaded:) when you need a ResettableLazy in loaded state.
  493. 78 | @inlinable
  494. 79 | public convenience init(value: T) {
  495. | - error: cannot find type 'T' in scope
  496. 80 | let getter = { value }
  497. 81 | let preload = {}
  498. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:89:41: error: cannot find type 'T' in scope
  499. 87 | /// The resulting ResettableLazy will immediately have a non-nil currentValue.
  500. 88 | @inlinable
  501. 89 | public convenience init(loaded value: T) {
  502. | - error: cannot find type 'T' in scope
  503. 90 | let getter = { value }
  504. 91 | let preload = {}
  505. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:104:28: error: cannot find type 'T' in scope
  506. 102 | 103 | @inlinable
  507. 104 | public var wrappedValue: T {
  508. | - error: cannot find type 'T' in scope
  509. 105 | value
  510. 106 | }
  511. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:160:63: error: cannot find type 'T' in scope
  512. 158 | 159 | @inlinable
  513. 160 | func getValue(eagerEvaluation: Bool, expectLoaded: Bool) -> T {
  514. | - error: cannot find type 'T' in scope
  515. 161 | while true {
  516. 162 | switch state {
  517. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:195:57: error: cannot find type 'T' in scope
  518. 193 | 194 | @inlinable
  519. 195 | public func whenLoaded(perform body: @escaping Future<T>.Callback) {
  520. | - error: cannot find type 'T' in scope
  521. 196 | future.resolved(body)
  522. 197 | }
  523. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:195:40: error: @escaping attribute only applies to function types
  524. 193 | 194 | @inlinable
  525. 195 | public func whenLoaded(perform body: @escaping Future<T>.Callback) {
  526. | - error: @escaping attribute only applies to function types
  527. 196 | future.resolved(body)
  528. 197 | }
  529. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:243:50: error: cannot find type 'T' in scope
  530. 241 | /// (resulting lazy is not loaded when the current one loads).
  531. 242 | @inlinable
  532. 243 | public func lazyMap<U>(_ transform: @escaping (T) -> U) -> ResettableLazy<U> {
  533. | - error: cannot find type 'T' in scope
  534. 244 | traceMap(toType: U.self)
  535. 245 | func preload() {
  536. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:256:51: error: cannot find type 'T' in scope
  537. 254 | 255 | @inlinable
  538. 256 | public subscript<U>(dynamicMember path: KeyPath<T, U>) -> ResettableLazy<U> {
  539. | - error: cannot find type 'T' in scope
  540. 257 | func dynamicMemberGetter(_ object: T) -> U {
  541. 258 | object[keyPath: path]
  542. 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?
  543. 48 | public convenience init(getter: @escaping Getter) {
  544. 49 | let preload = {}
  545. 50 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
  546. | - error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
  547. 51 | }
  548. 52 |
  549. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:50:23: error: cannot infer contextual base in reference to member 'created'
  550. 48 | public convenience init(getter: @escaping Getter) {
  551. 49 | let preload = {}
  552. 50 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
  553. | - error: cannot infer contextual base in reference to member 'created'
  554. 51 | }
  555. 52 |
  556. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:50:48: error: generic parameter 'T' could not be inferred
  557. 48 | public convenience init(getter: @escaping Getter) {
  558. 49 | let preload = {}
  559. 50 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
  560. | |- error: generic parameter 'T' could not be inferred
  561. | - note: explicitly specify the generic arguments to fix this issue
  562. 51 | }
  563. 52 |
  564. Pods/VGSLFundamentals/VGSLFundamentals/reactive/promises/Promise.swift:5:28: note: 'T' declared as parameter to type 'Promise'
  565. 3 | import Foundation
  566. 4 | 5 | public final class Promise<T> {
  567. | - note: 'T' declared as parameter to type 'Promise'
  568. 6 | public let future: Future<T>
  569. 7 |
  570. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:55:34: error: cannot find type 'T' in scope
  571. 53 | @inlinable
  572. 54 | public convenience init(onMainThreadGetter getter: @escaping Getter) {
  573. 55 | func onMainThreadGetter() -> T {
  574. | - error: cannot find type 'T' in scope
  575. 56 | assert(Thread.isMainThread)
  576. 57 | return getter()
  577. 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?
  578. 58 | }
  579. 59 | let preload = {}
  580. 60 | self.init(
  581. | - error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
  582. 61 | state: .created(preload, onMainThreadGetter, Promise()),
  583. 62 | preload: preload,
  584. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:61:15: error: cannot infer contextual base in reference to member 'created'
  585. 59 | let preload = {}
  586. 60 | self.init(
  587. 61 | state: .created(preload, onMainThreadGetter, Promise()),
  588. | - error: cannot infer contextual base in reference to member 'created'
  589. 62 | preload: preload,
  590. 63 | getter: onMainThreadGetter
  591. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:61:52: error: generic parameter 'T' could not be inferred
  592. 59 | let preload = {}
  593. 60 | self.init(
  594. 61 | state: .created(preload, onMainThreadGetter, Promise()),
  595. | |- error: generic parameter 'T' could not be inferred
  596. | - note: explicitly specify the generic arguments to fix this issue
  597. 62 | preload: preload,
  598. 63 | getter: onMainThreadGetter
  599. Pods/VGSLFundamentals/VGSLFundamentals/reactive/promises/Promise.swift:5:28: note: 'T' declared as parameter to type 'Promise'
  600. 3 | import Foundation
  601. 4 | 5 | public final class Promise<T> {
  602. | - note: 'T' declared as parameter to type 'Promise'
  603. 6 | public let future: Future<T>
  604. 7 |
  605. 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?
  606. 67 | @inlinable
  607. 68 | public convenience init(preload: @escaping () -> Void, getter: @escaping () -> T) {
  608. 69 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
  609. | - error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
  610. 70 | }
  611. 71 |
  612. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:69:23: error: cannot infer contextual base in reference to member 'created'
  613. 67 | @inlinable
  614. 68 | public convenience init(preload: @escaping () -> Void, getter: @escaping () -> T) {
  615. 69 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
  616. | - error: cannot infer contextual base in reference to member 'created'
  617. 70 | }
  618. 71 |
  619. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:69:48: error: generic parameter 'T' could not be inferred
  620. 67 | @inlinable
  621. 68 | public convenience init(preload: @escaping () -> Void, getter: @escaping () -> T) {
  622. 69 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
  623. | |- error: generic parameter 'T' could not be inferred
  624. | - note: explicitly specify the generic arguments to fix this issue
  625. 70 | }
  626. 71 |
  627. Pods/VGSLFundamentals/VGSLFundamentals/reactive/promises/Promise.swift:5:28: note: 'T' declared as parameter to type 'Promise'
  628. 3 | import Foundation
  629. 4 | 5 | public final class Promise<T> {
  630. | - note: 'T' declared as parameter to type 'Promise'
  631. 6 | public let future: Future<T>
  632. 7 |
  633. 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?
  634. 80 | let getter = { value }
  635. 81 | let preload = {}
  636. 82 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
  637. | - error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
  638. 83 | }
  639. 84 |
  640. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:82:23: error: cannot infer contextual base in reference to member 'created'
  641. 80 | let getter = { value }
  642. 81 | let preload = {}
  643. 82 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
  644. | - error: cannot infer contextual base in reference to member 'created'
  645. 83 | }
  646. 84 |
  647. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:82:48: error: generic parameter 'T' could not be inferred
  648. 80 | let getter = { value }
  649. 81 | let preload = {}
  650. 82 | self.init(state: .created(preload, getter, Promise()), preload: preload, getter: getter)
  651. | |- error: generic parameter 'T' could not be inferred
  652. | - note: explicitly specify the generic arguments to fix this issue
  653. 83 | }
  654. 84 |
  655. Pods/VGSLFundamentals/VGSLFundamentals/reactive/promises/Promise.swift:5:28: note: 'T' declared as parameter to type 'Promise'
  656. 3 | import Foundation
  657. 4 | 5 | public final class Promise<T> {
  658. | - note: 'T' declared as parameter to type 'Promise'
  659. 6 | public let future: Future<T>
  660. 7 |
  661. 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?
  662. 90 | let getter = { value }
  663. 91 | let preload = {}
  664. 92 | self.init(state: .loaded(value), preload: preload, getter: getter)
  665. | - error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
  666. 93 | }
  667. 94 |
  668. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:92:23: error: cannot infer contextual base in reference to member 'loaded'
  669. 90 | let getter = { value }
  670. 91 | let preload = {}
  671. 92 | self.init(state: .loaded(value), preload: preload, getter: getter)
  672. | - error: cannot infer contextual base in reference to member 'loaded'
  673. 93 | }
  674. 94 |
  675. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:120:5: error: cannot find 'state' in scope
  676. 118 | /// Resets the lazy value to its initial state
  677. 119 | public func reset() {
  678. 120 | state = .created(originalPreload, originalGetter, Promise())
  679. | - error: cannot find 'state' in scope
  680. 121 | #if DEBUG
  681. 122 | _wasRead = false
  682. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:120:22: error: cannot find 'originalPreload' in scope
  683. 118 | /// Resets the lazy value to its initial state
  684. 119 | public func reset() {
  685. 120 | state = .created(originalPreload, originalGetter, Promise())
  686. | - error: cannot find 'originalPreload' in scope
  687. 121 | #if DEBUG
  688. 122 | _wasRead = false
  689. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:120:39: error: cannot find 'originalGetter' in scope
  690. 118 | /// Resets the lazy value to its initial state
  691. 119 | public func reset() {
  692. 120 | state = .created(originalPreload, originalGetter, Promise())
  693. | - error: cannot find 'originalGetter' in scope
  694. 121 | #if DEBUG
  695. 122 | _wasRead = false
  696. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:120:55: error: generic parameter 'T' could not be inferred
  697. 118 | /// Resets the lazy value to its initial state
  698. 119 | public func reset() {
  699. 120 | state = .created(originalPreload, originalGetter, Promise())
  700. | |- error: generic parameter 'T' could not be inferred
  701. | - note: explicitly specify the generic arguments to fix this issue
  702. 121 | #if DEBUG
  703. 122 | _wasRead = false
  704. Pods/VGSLFundamentals/VGSLFundamentals/reactive/promises/Promise.swift:5:28: note: 'T' declared as parameter to type 'Promise'
  705. 3 | import Foundation
  706. 4 | 5 | public final class Promise<T> {
  707. | - note: 'T' declared as parameter to type 'Promise'
  708. 6 | public let future: Future<T>
  709. 7 |
  710. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:128:33: error: cannot find type 'T' in scope
  711. 126 | @inlinable
  712. 127 | public var future: Future<T> {
  713. 128 | func doNothingRetainSelf(_: T) {
  714. | - error: cannot find type 'T' in scope
  715. 129 | // Capture self until self is loaded.
  716. 130 | // Ownership graph will look as follows:
  717. 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?
  718. 134 | // the stored future is resolved.
  719. 135 | // See test_NonStoredLazyIsRetainedByFuture for details.
  720. 136 | withExtendedLifetime(self) {}
  721. | - error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
  722. 137 | }
  723. 138 |
  724. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:139:68: error: cannot find type 'T' in scope
  725. 137 | }
  726. 138 | 139 | func makeFutureWithAssociatedSelf(parent: Future<T>) -> Future<T> {
  727. | - error: cannot find type 'T' in scope
  728. 140 | let result = parent.map(identity(_:))
  729. 141 | result.resolved(doNothingRetainSelf(_:)) // associate self with the result
  730. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:139:54: error: cannot find type 'T' in scope
  731. 137 | }
  732. 138 | 139 | func makeFutureWithAssociatedSelf(parent: Future<T>) -> Future<T> {
  733. | - error: cannot find type 'T' in scope
  734. 140 | let result = parent.map(identity(_:))
  735. 141 | result.resolved(doNothingRetainSelf(_:)) // associate self with the result
  736. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:140:31: error: generic parameter 'T' could not be inferred
  737. 138 | 139 | func makeFutureWithAssociatedSelf(parent: Future<T>) -> Future<T> {
  738. 140 | let result = parent.map(identity(_:))
  739. | - error: generic parameter 'T' could not be inferred
  740. 141 | result.resolved(doNothingRetainSelf(_:)) // associate self with the result
  741. 142 | return result
  742. Pods/VGSLFundamentals/VGSLFundamentals/Functions.swift:23:13: note: in call to function 'identity'
  743. 21 | 22 | @inlinable
  744. 23 | public func identity<T>(_ value: T) -> T {
  745. | - note: in call to function 'identity'
  746. 24 | value
  747. 25 | }
  748. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:145:12: error: cannot find 'state' in scope
  749. 143 | }
  750. 144 | 145 | switch state {
  751. | - error: cannot find 'state' in scope
  752. 146 | case let .created(_, _, promise):
  753. 147 | let storedFuture = promise.future
  754. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:162:14: error: cannot find 'state' in scope
  755. 160 | func getValue(eagerEvaluation: Bool, expectLoaded: Bool) -> T {
  756. 161 | while true {
  757. 162 | switch state {
  758. | - error: cannot find 'state' in scope
  759. 163 | case let .created(preload, getter, _):
  760. 164 | assert(!expectLoaded, "Value is expected to be loaded")
  761. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:167:50: error: cannot find 'state' in scope
  762. 165 | preload()
  763. 166 | 167 | guard case let .created(_, _, promise) = state else {
  764. | - error: cannot find 'state' in scope
  765. 168 | // During invocation of preload we could enter the getValue again
  766. 169 | // and change the state. In this case by the time we return to this frame
  767. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:173:9: error: cannot find 'state' in scope
  768. 171 | continue
  769. 172 | }
  770. 173 | state = .loading(promise.future)
  771. | - error: cannot find 'state' in scope
  772. 174 | 175 | traceWillLoad(eagerEvaluation: eagerEvaluation)
  773. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:175:9: error: cannot find 'traceWillLoad' in scope
  774. 173 | state = .loading(promise.future)
  775. 174 | 175 | traceWillLoad(eagerEvaluation: eagerEvaluation)
  776. | - error: cannot find 'traceWillLoad' in scope
  777. 176 | let value = getter()
  778. 177 |
  779. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:178:28: error: cannot find 'state' in scope
  780. 176 | let value = getter()
  781. 177 | 178 | if case .loading = state {
  782. | - error: cannot find 'state' in scope
  783. 179 | } else {
  784. 180 | assertionFailure()
  785. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:182:9: error: cannot find 'state' in scope
  786. 180 | assertionFailure()
  787. 181 | }
  788. 182 | state = .loaded(value)
  789. | - error: cannot find 'state' in scope
  790. 183 | promise.resolve(value)
  791. 184 |
  792. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:201:12: error: cannot find 'state' in scope
  793. 199 | @inlinable
  794. 200 | public func ensureIsLoaded() {
  795. 201 | switch state {
  796. | - error: cannot find 'state' in scope
  797. 202 | case .created:
  798. 203 | _ = getValue(eagerEvaluation: false, expectLoaded: false)
  799. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:220:5: error: cannot find 'traceMap' in scope
  800. 218 | /// or lazyMap { someTransformation($0) }.
  801. 219 | public func map<U>(_ transform: @escaping (T) -> U) -> ResettableLazy<U> {
  802. 220 | traceMap(toType: U.self)
  803. | - error: cannot find 'traceMap' in scope
  804. 221 | func preload() {
  805. 222 | self.ensureIsLoaded()
  806. 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?
  807. 220 | traceMap(toType: U.self)
  808. 221 | func preload() {
  809. 222 | self.ensureIsLoaded()
  810. | - error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
  811. 223 | }
  812. 224 | func transformingGetter() -> U {
  813. 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?
  814. 223 | }
  815. 224 | func transformingGetter() -> U {
  816. 225 | transform(self.getValue(eagerEvaluation: false, expectLoaded: true))
  817. | - error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
  818. 226 | }
  819. 227 | let result = ResettableLazy<U>(preload: preload, getter: transformingGetter)
  820. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:227:18: error: 'ResettableLazy<U>' cannot be constructed because it has no accessible initializers
  821. 225 | transform(self.getValue(eagerEvaluation: false, expectLoaded: true))
  822. 226 | }
  823. 227 | let result = ResettableLazy<U>(preload: preload, getter: transformingGetter)
  824. | - error: 'ResettableLazy<U>' cannot be constructed because it has no accessible initializers
  825. 228 | #if swift(>=6.2)
  826. 229 | weak let weakResult: ResettableLazy<U>? = result
  827. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:233:24: error: cannot find type 'T' in scope
  828. 231 | weak var weakResult: ResettableLazy<U>? = result
  829. 232 | #endif
  830. 233 | func onResolved(_: T) {
  831. | - error: cannot find type 'T' in scope
  832. 234 | _ = weakResult?.getValue(eagerEvaluation: true, expectLoaded: false)
  833. 235 | }
  834. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:234:23: error: value of type 'ResettableLazy<U>' has no member 'getValue'
  835. 232 | #endif
  836. 233 | func onResolved(_: T) {
  837. 234 | _ = weakResult?.getValue(eagerEvaluation: true, expectLoaded: false)
  838. | - error: value of type 'ResettableLazy<U>' has no member 'getValue'
  839. 235 | }
  840. 236 | future.resolved(onResolved)
  841. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:244:5: error: cannot find 'traceMap' in scope
  842. 242 | @inlinable
  843. 243 | public func lazyMap<U>(_ transform: @escaping (T) -> U) -> ResettableLazy<U> {
  844. 244 | traceMap(toType: U.self)
  845. | - error: cannot find 'traceMap' in scope
  846. 245 | func preload() {
  847. 246 | self.ensureIsLoaded()
  848. 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?
  849. 244 | traceMap(toType: U.self)
  850. 245 | func preload() {
  851. 246 | self.ensureIsLoaded()
  852. | - error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
  853. 247 | }
  854. 248 | func transformingGetter() -> U {
  855. 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?
  856. 247 | }
  857. 248 | func transformingGetter() -> U {
  858. 249 | transform(self.getValue(eagerEvaluation: false, expectLoaded: true))
  859. | - error: cannot find 'self' in scope; did you mean to use it in a type or extension context?
  860. 250 | }
  861. 251 | let result = ResettableLazy<U>(preload: preload, getter: transformingGetter)
  862. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:251:18: error: 'ResettableLazy<U>' cannot be constructed because it has no accessible initializers
  863. 249 | transform(self.getValue(eagerEvaluation: false, expectLoaded: true))
  864. 250 | }
  865. 251 | let result = ResettableLazy<U>(preload: preload, getter: transformingGetter)
  866. | - error: 'ResettableLazy<U>' cannot be constructed because it has no accessible initializers
  867. 252 | return result
  868. 253 | }
  869. Pods/VGSLFundamentals/VGSLFundamentals/reactive/ResettableLazy.swift:257:40: error: cannot find type 'T' in scope
  870. 255 | @inlinable
  871. 256 | public subscript<U>(dynamicMember path: KeyPath<T, U>) -> ResettableLazy<U> {
  872. 257 | func dynamicMemberGetter(_ object: T) -> U {
  873. | - error: cannot find type 'T' in scope
  874. 258 | object[keyPath: path]
  875. 259 | }
  876. Pods/VGSLFundamentals/VGSLFundamentals/Zip3.swift:45:33: error: cannot find type 'Iterator' in scope
  877. 43 | }
  878. 44 | 45 | public func makeIterator() -> Iterator {
  879. | - error: cannot find type 'Iterator' in scope
  880. 46 | Iterator(
  881. 47 | _seq.0.makeIterator(),
  882. 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]
  883. 272 | mainThreadAsyncRunner {
  884. 273 | Thread.assertIsMain()
  885. 274 | guard !disposed else { return }
  886. | - warning: reference to captured var 'disposed' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
  887. 275 | observer.action(value)
  888. 276 | }
  889. Pods/VGSLFundamentals/VGSLFundamentals/Zip3.swift:42:13: error: cannot find 'seq1' in scope
  890. 40 | 41 | // @inlinable removed: Darwin Swift compatn internal init(_ seq1: Seq1, _ seq2: Seq2, _ seq3: Seq3) {
  891. 42 | _seq = (seq1, seq2, seq3)
  892. | - error: cannot find 'seq1' in scope
  893. 43 | }
  894. 44 |
  895. Pods/VGSLFundamentals/VGSLFundamentals/Zip3.swift:42:19: error: cannot find 'seq2' in scope
  896. 40 | 41 | // @inlinable removed: Darwin Swift compatn internal init(_ seq1: Seq1, _ seq2: Seq2, _ seq3: Seq3) {
  897. 42 | _seq = (seq1, seq2, seq3)
  898. | - error: cannot find 'seq2' in scope
  899. 43 | }
  900. 44 |
  901. Pods/VGSLFundamentals/VGSLFundamentals/Zip3.swift:42:25: error: cannot find 'seq3' in scope
  902. 40 | 41 | // @inlinable removed: Darwin Swift compatn internal init(_ seq1: Seq1, _ seq2: Seq2, _ seq3: Seq3) {
  903. 42 | _seq = (seq1, seq2, seq3)
  904. | - error: cannot find 'seq3' in scope
  905. 43 | }
  906. 44 |
  907. Pods/VGSLFundamentals/VGSLFundamentals/Zip3.swift:3:15: error: type 'Zip3Sequence<Seq1, Seq2, Seq3>' does not conform to protocol 'Sequence'
  908. 1 | // Copyright 2023 Yandex LLC. All rights reserved.
  909. 2 | 3 | public struct Zip3Sequence<Seq1: Sequence, Seq2: Sequence, Seq3: Sequence>: Sequence {
  910. | |- error: type 'Zip3Sequence<Seq1, Seq2, Seq3>' does not conform to protocol 'Sequence'
  911. | - note: add stubs for conformance
  912. 4 | public typealias Element = (Seq1.Element, Seq2.Element, Seq3.Element)
  913. 5 |
  914. Swift.Sequence.makeIterator:2:36: note: candidate has non-matching type '<Self> () -> Self'
  915. 1 | protocol Sequence {
  916. 2 | @inlinable public __consuming func makeIterator() -> Self}
  917. | - note: candidate has non-matching type '<Self> () -> Self'
  918. 3 |
  919. Swift.Sequence.makeIterator:2:18: note: protocol requires function 'makeIterator()' with type '() -> Zip3Sequence<Seq1, Seq2, Seq3>.Iterator'
  920. 1 | protocol Sequence {
  921. 2 | __consuming func makeIterator() -> Self.Iterator}
  922. | - note: protocol requires function 'makeIterator()' with type '() -> Zip3Sequence<Seq1, Seq2, Seq3>.Iterator'
  923. 3 |
  924. Pods/VGSLFundamentals/VGSLFundamentals/Zip3.swift:60:3: error: generic parameter 'Seq1' could not be inferred
  925. 1 | // Copyright 2023 Yandex LLC. All rights reserved.
  926. 2 | 3 | public struct Zip3Sequence<Seq1: Sequence, Seq2: Sequence, Seq3: Sequence>: Sequence {
  927. | - note: 'Seq1' declared as parameter to type 'Zip3Sequence'
  928. 4 | public typealias Element = (Seq1.Element, Seq2.Element, Seq3.Element)
  929. 5 |
  930. : 58 | _ sequence3: Seq3
  931. 59 | ) -> Zip3Sequence<Seq1, Seq2, Seq3> {
  932. 60 | Zip3Sequence(sequence1, sequence2, sequence3)
  933. | - error: generic parameter 'Seq1' could not be inferred
  934. 61 | }
  935. 62 |
  936. Pods/VGSLFundamentals/VGSLFundamentals/Zip3.swift:60:3: error: generic parameter 'Seq2' could not be inferred
  937. 1 | // Copyright 2023 Yandex LLC. All rights reserved.
  938. 2 | 3 | public struct Zip3Sequence<Seq1: Sequence, Seq2: Sequence, Seq3: Sequence>: Sequence {
  939. | - note: 'Seq2' declared as parameter to type 'Zip3Sequence'
  940. 4 | public typealias Element = (Seq1.Element, Seq2.Element, Seq3.Element)
  941. 5 |
  942. : 58 | _ sequence3: Seq3
  943. 59 | ) -> Zip3Sequence<Seq1, Seq2, Seq3> {
  944. 60 | Zip3Sequence(sequence1, sequence2, sequence3)
  945. | - error: generic parameter 'Seq2' could not be inferred
  946. 61 | }
  947. 62 |
  948. Pods/VGSLFundamentals/VGSLFundamentals/Zip3.swift:60:3: error: generic parameter 'Seq3' could not be inferred
  949. 1 | // Copyright 2023 Yandex LLC. All rights reserved.
  950. 2 | 3 | public struct Zip3Sequence<Seq1: Sequence, Seq2: Sequence, Seq3: Sequence>: Sequence {
  951. | - note: 'Seq3' declared as parameter to type 'Zip3Sequence'
  952. 4 | public typealias Element = (Seq1.Element, Seq2.Element, Seq3.Element)
  953. 5 |
  954. : 58 | _ sequence3: Seq3
  955. 59 | ) -> Zip3Sequence<Seq1, Seq2, Seq3> {
  956. 60 | Zip3Sequence(sequence1, sequence2, sequence3)
  957. | |- error: generic parameter 'Seq3' could not be inferred
  958. | - note: explicitly specify the generic arguments to fix this issue
  959. 61 | }
  960. 62 |
  961. [#PropertyWrappers]: <https://docs.swift.org/compiler/documentation/diagnostics/property-wrapper-requirements>
  962. [#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
  963. Press any key to continue . . .
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
Add Comment
Please, Sign In to add comment