Build Information
Successful build of Loadability, reference main (df6d9c), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 12:11:05 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/julianschiavo/Loadability.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/julianschiavo/Loadability
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at df6d9c9 Update README.md
Cloned https://github.com/julianschiavo/Loadability.git
Revision (git rev-parse @):
df6d9c9124254184a3da2f2cbdd781d6c810665b
SUCCESS checkout https://github.com/julianschiavo/Loadability.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/julianschiavo/Loadability.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/18] Compiling Loadability View-ErrorAlert.swift
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:18:32: warning: capture of non-sendable type 'Self.Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | let object: Object
17 |
18 | let cached = await loadCachedData(key: key)
| `- warning: capture of non-sendable type 'Self.Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | if let cached = cached, !cache.isValueStale(key) {
20 | object = cached
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:18:32: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | let object: Object
17 |
18 | let cached = await loadCachedData(key: key)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | if let cached = cached, !cache.isValueStale(key) {
20 | object = cached
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:14:29: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
12 |
13 | public extension CachedLoader {
14 | @discardableResult func load(key: Key) async -> Object? {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 | let task = Task { () -> Object in
16 | let object: Object
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:19:38: warning: capture of non-sendable type 'Self.Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 |
18 | let cached = await loadCachedData(key: key)
19 | if let cached = cached, !cache.isValueStale(key) {
| `- warning: capture of non-sendable type 'Self.Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 | object = cached
21 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:53:35: warning: capture of non-sendable type 'Self.Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
51 | private func loadCachedData(key: Key) async -> Object? {
52 | let handle = Task {
53 | try? await self.cache.value(for: key)
| `- warning: capture of non-sendable type 'Self.Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
54 | }
55 | return await handle.value
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:53:29: warning: capture of non-sendable type 'Self.Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
51 | private func loadCachedData(key: Key) async -> Object? {
52 | let handle = Task {
53 | try? await self.cache.value(for: key)
| `- warning: capture of non-sendable type 'Self.Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
54 | }
55 | return await handle.value
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:53:24: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
51 | private func loadCachedData(key: Key) async -> Object? {
52 | let handle = Task {
53 | try? await self.cache.value(for: key)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
54 | }
55 | return await handle.value
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:51:18: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
49 | /// Attempts to load data from the cache.
50 | /// - Parameter key: The key identifying the object to load.
51 | private func loadCachedData(key: Key) async -> Object? {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
52 | let handle = Task {
53 | try? await self.cache.value(for: key)
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:64:35: warning: capture of non-sendable type 'Self.Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
62 | func getCachedData(key: Key) async -> Object? {
63 | let handle = Task {
64 | try? await self.cache.value(for: key)
| `- warning: capture of non-sendable type 'Self.Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
65 | }
66 | return await handle.value
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:64:29: warning: capture of non-sendable type 'Self.Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
62 | func getCachedData(key: Key) async -> Object? {
63 | let handle = Task {
64 | try? await self.cache.value(for: key)
| `- warning: capture of non-sendable type 'Self.Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
65 | }
66 | return await handle.value
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:64:24: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
62 | func getCachedData(key: Key) async -> Object? {
63 | let handle = Task {
64 | try? await self.cache.value(for: key)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
65 | }
66 | return await handle.value
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:62:10: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
60 | /// - key: The key identifying the object to load.
61 | /// - completion: A completion handler called with the object, or `nil` if no object was found.
62 | func getCachedData(key: Key) async -> Object? {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
63 | let handle = Task {
64 | try? await self.cache.value(for: key)
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:71:35: warning: capture of non-sendable type 'Self.Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | func loadCompleted(key: Key, object: Object) async {
70 | Task {
71 | try? await self.cache.update(key: key, to: object)
| `- warning: capture of non-sendable type 'Self.Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:71:29: warning: capture of non-sendable type 'Self.Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | func loadCompleted(key: Key, object: Object) async {
70 | Task {
71 | try? await self.cache.update(key: key, to: object)
| `- warning: capture of non-sendable type 'Self.Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:71:24: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | func loadCompleted(key: Key, object: Object) async {
70 | Task {
71 | try? await self.cache.update(key: key, to: object)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:69:10: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
67 | }
68 |
69 | func loadCompleted(key: Key, object: Object) async {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
70 | Task {
71 | try? await self.cache.update(key: key, to: object)
[4/18] Compiling Loadability CachedLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:18:32: warning: capture of non-sendable type 'Self.Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | let object: Object
17 |
18 | let cached = await loadCachedData(key: key)
| `- warning: capture of non-sendable type 'Self.Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | if let cached = cached, !cache.isValueStale(key) {
20 | object = cached
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:18:32: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | let object: Object
17 |
18 | let cached = await loadCachedData(key: key)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | if let cached = cached, !cache.isValueStale(key) {
20 | object = cached
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:14:29: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
12 |
13 | public extension CachedLoader {
14 | @discardableResult func load(key: Key) async -> Object? {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 | let task = Task { () -> Object in
16 | let object: Object
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:19:38: warning: capture of non-sendable type 'Self.Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 |
18 | let cached = await loadCachedData(key: key)
19 | if let cached = cached, !cache.isValueStale(key) {
| `- warning: capture of non-sendable type 'Self.Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 | object = cached
21 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:53:35: warning: capture of non-sendable type 'Self.Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
51 | private func loadCachedData(key: Key) async -> Object? {
52 | let handle = Task {
53 | try? await self.cache.value(for: key)
| `- warning: capture of non-sendable type 'Self.Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
54 | }
55 | return await handle.value
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:53:29: warning: capture of non-sendable type 'Self.Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
51 | private func loadCachedData(key: Key) async -> Object? {
52 | let handle = Task {
53 | try? await self.cache.value(for: key)
| `- warning: capture of non-sendable type 'Self.Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
54 | }
55 | return await handle.value
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:53:24: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
51 | private func loadCachedData(key: Key) async -> Object? {
52 | let handle = Task {
53 | try? await self.cache.value(for: key)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
54 | }
55 | return await handle.value
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:51:18: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
49 | /// Attempts to load data from the cache.
50 | /// - Parameter key: The key identifying the object to load.
51 | private func loadCachedData(key: Key) async -> Object? {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
52 | let handle = Task {
53 | try? await self.cache.value(for: key)
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:64:35: warning: capture of non-sendable type 'Self.Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
62 | func getCachedData(key: Key) async -> Object? {
63 | let handle = Task {
64 | try? await self.cache.value(for: key)
| `- warning: capture of non-sendable type 'Self.Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
65 | }
66 | return await handle.value
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:64:29: warning: capture of non-sendable type 'Self.Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
62 | func getCachedData(key: Key) async -> Object? {
63 | let handle = Task {
64 | try? await self.cache.value(for: key)
| `- warning: capture of non-sendable type 'Self.Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
65 | }
66 | return await handle.value
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:64:24: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
62 | func getCachedData(key: Key) async -> Object? {
63 | let handle = Task {
64 | try? await self.cache.value(for: key)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
65 | }
66 | return await handle.value
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:62:10: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
60 | /// - key: The key identifying the object to load.
61 | /// - completion: A completion handler called with the object, or `nil` if no object was found.
62 | func getCachedData(key: Key) async -> Object? {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
63 | let handle = Task {
64 | try? await self.cache.value(for: key)
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:71:35: warning: capture of non-sendable type 'Self.Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | func loadCompleted(key: Key, object: Object) async {
70 | Task {
71 | try? await self.cache.update(key: key, to: object)
| `- warning: capture of non-sendable type 'Self.Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:71:29: warning: capture of non-sendable type 'Self.Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | func loadCompleted(key: Key, object: Object) async {
70 | Task {
71 | try? await self.cache.update(key: key, to: object)
| `- warning: capture of non-sendable type 'Self.Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:71:24: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | func loadCompleted(key: Key, object: Object) async {
70 | Task {
71 | try? await self.cache.update(key: key, to: object)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/CachedLoader.swift:69:10: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
67 | }
68 |
69 | func loadCompleted(key: Key, object: Object) async {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
70 | Task {
71 | try? await self.cache.update(key: key, to: object)
[5/19] Compiling Loadability AnySharedCache.swift
[6/19] Compiling Loadability Cache.swift
[7/19] Emitting module Loadability
[8/19] Compiling Loadability SerializableCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Caching/SerializableCache.swift:66:46: warning: capture of non-sendable type 'Key.Type' in an isolated closure
64 | DispatchQueue.global(qos: .default).async {
65 | do {
66 | let data = try JSONEncoder().encode(self)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
67 | try data.write(to: fileURL)
68 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Caching/SerializableCache.swift:66:46: warning: capture of non-sendable type 'Value.Type' in an isolated closure
64 | DispatchQueue.global(qos: .default).async {
65 | do {
66 | let data = try JSONEncoder().encode(self)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
67 | try data.write(to: fileURL)
68 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Caching/SerializableCache.swift:60:23: warning: capture of non-sendable type 'Key.Type' in an isolated closure
58 |
59 | /// Encodes and saves the cache to disk.
60 | public final func save() {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
61 | guard !name.isEmpty else { return }
62 | let fileURL = folderURL.appendingPathComponent(self.name + ".cache")
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Caching/SerializableCache.swift:60:23: warning: capture of non-sendable type 'Value.Type' in an isolated closure
58 |
59 | /// Encodes and saves the cache to disk.
60 | public final func save() {
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
61 | guard !name.isEmpty else { return }
62 | let fileURL = folderURL.appendingPathComponent(self.name + ".cache")
[9/19] Compiling Loadability SharedCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Caching/SerializableCache.swift:66:46: warning: capture of non-sendable type 'Key.Type' in an isolated closure
64 | DispatchQueue.global(qos: .default).async {
65 | do {
66 | let data = try JSONEncoder().encode(self)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
67 | try data.write(to: fileURL)
68 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Caching/SerializableCache.swift:66:46: warning: capture of non-sendable type 'Value.Type' in an isolated closure
64 | DispatchQueue.global(qos: .default).async {
65 | do {
66 | let data = try JSONEncoder().encode(self)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
67 | try data.write(to: fileURL)
68 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Caching/SerializableCache.swift:60:23: warning: capture of non-sendable type 'Key.Type' in an isolated closure
58 |
59 | /// Encodes and saves the cache to disk.
60 | public final func save() {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
61 | guard !name.isEmpty else { return }
62 | let fileURL = folderURL.appendingPathComponent(self.name + ".cache")
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Caching/SerializableCache.swift:60:23: warning: capture of non-sendable type 'Value.Type' in an isolated closure
58 |
59 | /// Encodes and saves the cache to disk.
60 | public final func save() {
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
61 | guard !name.isEmpty else { return }
62 | let fileURL = folderURL.appendingPathComponent(self.name + ".cache")
[10/19] Compiling Loadability SharedSerializableCache.swift
[11/19] Compiling Loadability Error-Description.swift
[12/19] Compiling Loadability SimpleNetworkLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/SimpleNetworkLoader.swift:29:32: warning: capture of non-sendable type 'Self.Object.Type' in an isolated closure; this is an error in the Swift 6 language mode
27 | let handle = Task { () -> Object in
28 | let decoder = JSONDecoder()
29 | return try decoder.decode(Object.self, from: data)
| `- warning: capture of non-sendable type 'Self.Object.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 | }
31 | return try await handle.value
[13/19] Compiling Loadability HasPlaceholder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/SimpleNetworkLoader.swift:29:32: warning: capture of non-sendable type 'Self.Object.Type' in an isolated closure; this is an error in the Swift 6 language mode
27 | let handle = Task { () -> Object in
28 | let decoder = JSONDecoder()
29 | return try decoder.decode(Object.self, from: data)
| `- warning: capture of non-sendable type 'Self.Object.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 | }
31 | return try await handle.value
[14/19] Compiling Loadability LocalizedError.swift
[15/19] Compiling Loadability ThrowsErrors.swift
[16/19] Compiling Loadability GenericKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/Loader.swift:55:36: warning: capture of non-sendable type 'Self.Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
53 | @discardableResult func load(key: Key) async -> Object? {
54 | let task = Task { () -> Object in
55 | let object = try await loadData(key: key)
| `- warning: capture of non-sendable type 'Self.Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
56 | self.object = object
57 | await loadCompleted(key: key, object: object)
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/Loader.swift:55:36: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
53 | @discardableResult func load(key: Key) async -> Object? {
54 | let task = Task { () -> Object in
55 | let object = try await loadData(key: key)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
56 | self.object = object
57 | await loadCompleted(key: key, object: object)
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/Loader.swift:53:29: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
51 |
52 | public extension Loader {
53 | @discardableResult func load(key: Key) async -> Object? {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
54 | let task = Task { () -> Object in
55 | let object = try await loadData(key: key)
[17/19] Compiling Loadability Loader.swift
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/Loader.swift:55:36: warning: capture of non-sendable type 'Self.Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
53 | @discardableResult func load(key: Key) async -> Object? {
54 | let task = Task { () -> Object in
55 | let object = try await loadData(key: key)
| `- warning: capture of non-sendable type 'Self.Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
56 | self.object = object
57 | await loadCompleted(key: key, object: object)
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/Loader.swift:55:36: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
53 | @discardableResult func load(key: Key) async -> Object? {
54 | let task = Task { () -> Object in
55 | let object = try await loadData(key: key)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
56 | self.object = object
57 | await loadCompleted(key: key, object: object)
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/Networking/Loader.swift:53:29: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
51 |
52 | public extension Loader {
53 | @discardableResult func load(key: Key) async -> Object? {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
54 | let task = Task { () -> Object in
55 | let object = try await loadData(key: key)
[18/19] Compiling Loadability Load.swift
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/UI/Load.swift:70:27: warning: capture of non-sendable type 'Loader.Type' in an isolated closure
68 | .onDisappear {
69 | Task {
70 | await loader.cancel()
| `- warning: capture of non-sendable type 'Loader.Type' in an isolated closure
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/UI/Load.swift:70:27: warning: capture of non-sendable type 'Content.Type' in an isolated closure
68 | .onDisappear {
69 | Task {
70 | await loader.cancel()
| `- warning: capture of non-sendable type 'Content.Type' in an isolated closure
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/UI/Load.swift:70:27: warning: capture of non-sendable type 'PlaceholderContent.Type' in an isolated closure
68 | .onDisappear {
69 | Task {
70 | await loader.cancel()
| `- warning: capture of non-sendable type 'PlaceholderContent.Type' in an isolated closure
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/UI/Load.swift:63:32: warning: capture of non-sendable type 'Loader.Type' in an isolated closure
61 | }
62 |
63 | public var body: some View {
| `- warning: capture of non-sendable type 'Loader.Type' in an isolated closure
64 | bodyContent
65 | .task {
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/UI/Load.swift:63:32: warning: capture of non-sendable type 'Content.Type' in an isolated closure
61 | }
62 |
63 | public var body: some View {
| `- warning: capture of non-sendable type 'Content.Type' in an isolated closure
64 | bodyContent
65 | .task {
/Users/admin/builder/spi-builder-workspace/Sources/Loadability/UI/Load.swift:63:32: warning: capture of non-sendable type 'PlaceholderContent.Type' in an isolated closure
61 | }
62 |
63 | public var body: some View {
| `- warning: capture of non-sendable type 'PlaceholderContent.Type' in an isolated closure
64 | bodyContent
65 | .task {
[19/19] Compiling Loadability LoadableView.swift
Build complete! (7.48s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Loadability",
"name" : "Loadability",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15"
},
{
"name" : "macos",
"version" : "12"
},
{
"name" : "watchos",
"version" : "8"
}
],
"products" : [
{
"name" : "Loadability",
"targets" : [
"Loadability"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Loadability",
"module_type" : "SwiftTarget",
"name" : "Loadability",
"path" : "Sources/Loadability",
"product_memberships" : [
"Loadability"
],
"sources" : [
"Caching/AnySharedCache.swift",
"Caching/Cache.swift",
"Caching/SerializableCache.swift",
"Caching/SharedCache.swift",
"Caching/SharedSerializableCache.swift",
"Extensions/Error-Description.swift",
"Extensions/View-ErrorAlert.swift",
"Networking/CachedLoader.swift",
"Networking/GenericKey.swift",
"Networking/Loader.swift",
"Networking/SimpleNetworkLoader.swift",
"Other/HasPlaceholder.swift",
"Other/LocalizedError.swift",
"Other/ThrowsErrors.swift",
"UI/Load.swift",
"UI/LoadableView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.