The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AsyncDownSamplingImage, reference 1.2.0 (f1d659), with Swift 6.2 for macOS (SPM) on 23 Jun 2025 00:59:34 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fummicc1/AsyncDownSamplingImage.git
Reference: 1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fummicc1/AsyncDownSamplingImage
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at f1d659c Merge pull request #16 from fummicc1/feature/improve-loading-view-size
Cloned https://github.com/fummicc1/AsyncDownSamplingImage.git
Revision (git rev-parse @):
f1d659cbc58d0ae6bc541ab4ea3187ad00e54253
SUCCESS checkout https://github.com/fummicc1/AsyncDownSamplingImage.git at 1.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/fummicc1/AsyncDownSamplingImage.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-1EA4D86E10B52AF.txt
[5/10] Emitting module AsyncDownSamplingImage
[6/10] Compiling AsyncDownSamplingImage TypeCompatibility.swift
[7/10] Compiling AsyncDownSamplingImage AsyncDownSamplingImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDownSamplingImage/AsyncDownSamplingImage.swift:186:27: warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
184 |                 let cgImage = try await DownSampling.perform(
185 |                     at: url,
186 |                     size: downsampleSize
    |                           `- warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
187 |                 )
188 |             #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDownSamplingImage/AsyncDownSamplingImage.swift:186:27: warning: capture of non-sendable type 'Placeholder.Type' in an isolated closure; this is an error in the Swift 6 language mode
184 |                 let cgImage = try await DownSampling.perform(
185 |                     at: url,
186 |                     size: downsampleSize
    |                           `- warning: capture of non-sendable type 'Placeholder.Type' in an isolated closure; this is an error in the Swift 6 language mode
187 |                 )
188 |             #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDownSamplingImage/AsyncDownSamplingImage.swift:186:27: warning: capture of non-sendable type 'Fail.Type' in an isolated closure; this is an error in the Swift 6 language mode
184 |                 let cgImage = try await DownSampling.perform(
185 |                     at: url,
186 |                     size: downsampleSize
    |                           `- warning: capture of non-sendable type 'Fail.Type' in an isolated closure; this is an error in the Swift 6 language mode
187 |                 )
188 |             #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDownSamplingImage/AsyncDownSamplingImage.swift:176:10: warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     func startLoading(url: URL) {
    |          `- warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
177 |         if case Status.loaded(let image) = status {
178 |             status = .reloading(image)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDownSamplingImage/AsyncDownSamplingImage.swift:176:10: warning: capture of non-sendable type 'Placeholder.Type' in an isolated closure; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     func startLoading(url: URL) {
    |          `- warning: capture of non-sendable type 'Placeholder.Type' in an isolated closure; this is an error in the Swift 6 language mode
177 |         if case Status.loaded(let image) = status {
178 |             status = .reloading(image)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDownSamplingImage/AsyncDownSamplingImage.swift:176:10: warning: capture of non-sendable type 'Fail.Type' in an isolated closure; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     func startLoading(url: URL) {
    |          `- warning: capture of non-sendable type 'Fail.Type' in an isolated closure; this is an error in the Swift 6 language mode
177 |         if case Status.loaded(let image) = status {
178 |             status = .reloading(image)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDownSamplingImage/AsyncDownSamplingImage.swift:206:55: warning: capture of 'image' with non-sendable type 'ImageType' (aka 'NSImage') in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
204 |                 #endif
205 |                 await MainActor.run {
206 |                     status = .loaded(Image(imageType: image))
    |                                                       `- warning: capture of 'image' with non-sendable type 'ImageType' (aka 'NSImage') in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
207 |                 }
208 |             } catch {
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
 64 | __attribute__((objc_subclassing_restricted))
 65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
 66 | @interface NSImage : NSObject
    |            `- note: class 'NSImage' does not conform to the 'Sendable' protocol
 67 |
 68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDownSamplingImage/AsyncDownSamplingImage.swift:206:21: warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
204 |                 #endif
205 |                 await MainActor.run {
206 |                     status = .loaded(Image(imageType: image))
    |                     `- warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
207 |                 }
208 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDownSamplingImage/AsyncDownSamplingImage.swift:206:21: warning: capture of non-sendable type 'Placeholder.Type' in an isolated closure; this is an error in the Swift 6 language mode
204 |                 #endif
205 |                 await MainActor.run {
206 |                     status = .loaded(Image(imageType: image))
    |                     `- warning: capture of non-sendable type 'Placeholder.Type' in an isolated closure; this is an error in the Swift 6 language mode
207 |                 }
208 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDownSamplingImage/AsyncDownSamplingImage.swift:206:21: warning: capture of non-sendable type 'Fail.Type' in an isolated closure; this is an error in the Swift 6 language mode
204 |                 #endif
205 |                 await MainActor.run {
206 |                     status = .loaded(Image(imageType: image))
    |                     `- warning: capture of non-sendable type 'Fail.Type' in an isolated closure; this is an error in the Swift 6 language mode
207 |                 }
208 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDownSamplingImage/AsyncDownSamplingImage.swift:176:10: warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     func startLoading(url: URL) {
    |          `- warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
177 |         if case Status.loaded(let image) = status {
178 |             status = .reloading(image)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDownSamplingImage/AsyncDownSamplingImage.swift:176:10: warning: capture of non-sendable type 'Placeholder.Type' in an isolated closure; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     func startLoading(url: URL) {
    |          `- warning: capture of non-sendable type 'Placeholder.Type' in an isolated closure; this is an error in the Swift 6 language mode
177 |         if case Status.loaded(let image) = status {
178 |             status = .reloading(image)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDownSamplingImage/AsyncDownSamplingImage.swift:176:10: warning: capture of non-sendable type 'Fail.Type' in an isolated closure; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     func startLoading(url: URL) {
    |          `- warning: capture of non-sendable type 'Fail.Type' in an isolated closure; this is an error in the Swift 6 language mode
177 |         if case Status.loaded(let image) = status {
178 |             status = .reloading(image)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDownSamplingImage/AsyncDownSamplingImage.swift:210:21: warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
208 |             } catch {
209 |                 await MainActor.run {
210 |                     status = .failed(error)
    |                     `- warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
211 |                 }
212 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDownSamplingImage/AsyncDownSamplingImage.swift:210:21: warning: capture of non-sendable type 'Placeholder.Type' in an isolated closure; this is an error in the Swift 6 language mode
208 |             } catch {
209 |                 await MainActor.run {
210 |                     status = .failed(error)
    |                     `- warning: capture of non-sendable type 'Placeholder.Type' in an isolated closure; this is an error in the Swift 6 language mode
211 |                 }
212 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDownSamplingImage/AsyncDownSamplingImage.swift:210:21: warning: capture of non-sendable type 'Fail.Type' in an isolated closure; this is an error in the Swift 6 language mode
208 |             } catch {
209 |                 await MainActor.run {
210 |                     status = .failed(error)
    |                     `- warning: capture of non-sendable type 'Fail.Type' in an isolated closure; this is an error in the Swift 6 language mode
211 |                 }
212 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDownSamplingImage/AsyncDownSamplingImage.swift:176:10: warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     func startLoading(url: URL) {
    |          `- warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
177 |         if case Status.loaded(let image) = status {
178 |             status = .reloading(image)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDownSamplingImage/AsyncDownSamplingImage.swift:176:10: warning: capture of non-sendable type 'Placeholder.Type' in an isolated closure; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     func startLoading(url: URL) {
    |          `- warning: capture of non-sendable type 'Placeholder.Type' in an isolated closure; this is an error in the Swift 6 language mode
177 |         if case Status.loaded(let image) = status {
178 |             status = .reloading(image)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDownSamplingImage/AsyncDownSamplingImage.swift:176:10: warning: capture of non-sendable type 'Fail.Type' in an isolated closure; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     func startLoading(url: URL) {
    |          `- warning: capture of non-sendable type 'Fail.Type' in an isolated closure; this is an error in the Swift 6 language mode
177 |         if case Status.loaded(let image) = status {
178 |             status = .reloading(image)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[8/10] Compiling AsyncDownSamplingImage Downsampling.swift
[9/10] Compiling AsyncDownSamplingImage Incremental.swift
[10/10] Compiling AsyncDownSamplingImage IncrementalImage.swift
Build complete! (20.21s)
Fetching https://github.com/apple/swift-docc-plugin
[1/2082] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.23s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (1.76s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3415] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.09s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.65s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "AsyncDownSamplingImage",
  "name" : "AsyncDownSamplingImage",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "AsyncDownSamplingImage",
      "targets" : [
        "AsyncDownSamplingImage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncDownSamplingImageTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncDownSamplingImageTests",
      "path" : "Tests/AsyncDownSamplingImageTests",
      "sources" : [
        "AsyncDownSamplingImageTests.swift"
      ],
      "target_dependencies" : [
        "AsyncDownSamplingImage"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncDownSamplingImage",
      "module_type" : "SwiftTarget",
      "name" : "AsyncDownSamplingImage",
      "path" : "Sources/AsyncDownSamplingImage",
      "product_memberships" : [
        "AsyncDownSamplingImage"
      ],
      "sources" : [
        "AsyncDownSamplingImage.swift",
        "Downsampling.swift",
        "Incremental.swift",
        "IncrementalImage.swift",
        "TypeCompatibility.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.