The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftlyImageLoader, reference 1.1.0 (b5609b), with Swift 6.1 for macOS (SPM) on 10 May 2025 21:06:36 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mohsinbmwm3/SwiftlyImageLoader.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mohsinbmwm3/SwiftlyImageLoader
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at b5609bb Updated ImageTransforms to Apply custom resizing, cropping, grayscale, or circular masks before caching or display — with per-request flexibility.
Cloned https://github.com/mohsinbmwm3/SwiftlyImageLoader.git
Revision (git rev-parse @):
b5609bb888c7a4410abac6891b8874ae073be740
SUCCESS checkout https://github.com/mohsinbmwm3/SwiftlyImageLoader.git at 1.1.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftlyimageloader",
      "name": "SwiftlyImageLoader",
      "url": "https://github.com/mohsinbmwm3/SwiftlyImageLoader.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftlyImageLoader",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/mohsinbmwm3/SwiftlyImageLoader.git
[1/118] Fetching swiftlyimageloader
Fetched https://github.com/mohsinbmwm3/SwiftlyImageLoader.git from cache (0.64s)
Creating working copy for https://github.com/mohsinbmwm3/SwiftlyImageLoader.git
Working copy of https://github.com/mohsinbmwm3/SwiftlyImageLoader.git resolved at 1.1.0 (b5609bb)
warning: '.resolve-product-dependencies': dependency 'swiftlyimageloader' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mohsinbmwm3/SwiftlyImageLoader.git
https://github.com/mohsinbmwm3/SwiftlyImageLoader.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftlyImageLoader",
  "name" : "SwiftlyImageLoader",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftlyImageLoader",
      "targets" : [
        "SwiftlyImageLoader"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftlyImageLoaderUIKit",
      "targets" : [
        "SwiftlyImageLoaderUIKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftlyImageLoaderAppKit",
      "targets" : [
        "SwiftlyImageLoaderAppKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftlyImageLoaderSwiftUI",
      "targets" : [
        "SwiftlyImageLoaderSwiftUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftlyImageLoaderUIKit",
      "module_type" : "SwiftTarget",
      "name" : "SwiftlyImageLoaderUIKit",
      "path" : "Sources/SwiftlyImageLoaderUIKit",
      "product_memberships" : [
        "SwiftlyImageLoaderUIKit"
      ],
      "sources" : [
        "UIImageView+ImageLoader.swift"
      ],
      "target_dependencies" : [
        "SwiftlyImageLoader"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftlyImageLoaderSwiftUI",
      "module_type" : "SwiftTarget",
      "name" : "SwiftlyImageLoaderSwiftUI",
      "path" : "Sources/SwiftlyImageLoaderSwiftUI",
      "product_memberships" : [
        "SwiftlyImageLoaderSwiftUI"
      ],
      "sources" : [
        "SwiftlyAsyncImage.swift"
      ],
      "target_dependencies" : [
        "SwiftlyImageLoader"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftlyImageLoaderAppKit",
      "module_type" : "SwiftTarget",
      "name" : "SwiftlyImageLoaderAppKit",
      "path" : "Sources/SwiftlyImageLoaderAppKit",
      "product_memberships" : [
        "SwiftlyImageLoaderAppKit"
      ],
      "sources" : [
        "NSImageView+ImageLoader.swift"
      ],
      "target_dependencies" : [
        "SwiftlyImageLoader"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftlyImageLoader",
      "module_type" : "SwiftTarget",
      "name" : "SwiftlyImageLoader",
      "path" : "Sources/SwiftlyImageLoader",
      "product_memberships" : [
        "SwiftlyImageLoader",
        "SwiftlyImageLoaderUIKit",
        "SwiftlyImageLoaderAppKit",
        "SwiftlyImageLoaderSwiftUI"
      ],
      "sources" : [
        "DiskCache.swift",
        "ImageCache.swift",
        "ImageLoader.swift",
        "LogLevel.swift",
        "SwiftlyImageLoader.swift",
        "SwiftlyImageLoaderConfiguration.swift",
        "Utils/ImageResizer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/13] Compiling SwiftlyImageLoader SwiftlyImageLoaderConfiguration.swift
[7/13] Compiling SwiftlyImageLoader LogLevel.swift
[8/13] Compiling SwiftlyImageLoader ImageCache.swift
[9/13] Emitting module SwiftlyImageLoader
[10/13] Compiling SwiftlyImageLoader ImageLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyImageLoader/ImageLoader.swift:71:58: error: cannot convert value of type 'NSObject' to expected argument type 'CrossPlatformImage' (aka 'NSImage')
 69 |                     }
 70 |
 71 |                     self.callCompletions(for: url, with: finalImage)
    |                                                          `- error: cannot convert value of type 'NSObject' to expected argument type 'CrossPlatformImage' (aka 'NSImage')
 72 |                     return
 73 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyImageLoader/ImageLoader.swift:133:42: warning: capture of 'image' with non-sendable type 'CrossPlatformImage?' (aka 'Optional<NSImage>') in a '@Sendable' closure
131 |             self.ongoingTasks[url] = nil
132 |             DispatchQueue.main.async {
133 |                 completions.forEach { $0(image) }
    |                                          `- warning: capture of 'image' with non-sendable type 'CrossPlatformImage?' (aka 'Optional<NSImage>') in a '@Sendable' closure
134 |             }
135 |         }
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
[11/13] Compiling SwiftlyImageLoader ImageResizer.swift
[12/13] Compiling SwiftlyImageLoader DiskCache.swift
[13/13] Compiling SwiftlyImageLoader SwiftlyImageLoader.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/9] Compiling SwiftlyImageLoader ImageResizer.swift
[3/9] Compiling SwiftlyImageLoader SwiftlyImageLoaderConfiguration.swift
[4/9] Compiling SwiftlyImageLoader ImageLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyImageLoader/ImageLoader.swift:71:58: error: cannot convert value of type 'NSObject' to expected argument type 'CrossPlatformImage' (aka 'NSImage')
 69 |                     }
 70 |
 71 |                     self.callCompletions(for: url, with: finalImage)
    |                                                          `- error: cannot convert value of type 'NSObject' to expected argument type 'CrossPlatformImage' (aka 'NSImage')
 72 |                     return
 73 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyImageLoader/ImageLoader.swift:133:42: warning: capture of 'image' with non-sendable type 'CrossPlatformImage?' (aka 'Optional<NSImage>') in a '@Sendable' closure
131 |             self.ongoingTasks[url] = nil
132 |             DispatchQueue.main.async {
133 |                 completions.forEach { $0(image) }
    |                                          `- warning: capture of 'image' with non-sendable type 'CrossPlatformImage?' (aka 'Optional<NSImage>') in a '@Sendable' closure
134 |             }
135 |         }
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
[5/9] Compiling SwiftlyImageLoader ImageCache.swift
[6/9] Compiling SwiftlyImageLoader DiskCache.swift
[7/9] Compiling SwiftlyImageLoader LogLevel.swift
[8/9] Compiling SwiftlyImageLoader SwiftlyImageLoader.swift
[9/9] Emitting module SwiftlyImageLoader
BUILD FAILURE 6.1 macosSpm