The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SDWebImagePhotosPlugin, reference 1.2.1 (db865b), with Swift 5.10 for macOS (SPM) on 26 Feb 2025 21:17:50 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDWebImage/SDWebImagePhotosPlugin.git
Reference: 1.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SDWebImage/SDWebImagePhotosPlugin
 * tag               1.2.1      -> FETCH_HEAD
HEAD is now at db865b0 Bumped version to 1.2.1
Cloned https://github.com/SDWebImage/SDWebImagePhotosPlugin.git
Revision (git rev-parse @):
db865b0c2b6c4fd4e35d21b58c8b8b676d49f9dc
SUCCESS checkout https://github.com/SDWebImage/SDWebImagePhotosPlugin.git at 1.2.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/SDWebImage/SDWebImagePhotosPlugin.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Compiling SDWebImagePhotosError.m
[1/6] Compiling SDWebImagePhotosDefine.m
[2/6] Compiling NSURL+SDWebImagePhotosPlugin.m
[3/6] Compiling PHImageRequestOptions+SDWebImagePhotosPlugin.m
[4/6] Compiling PHAsset+SDWebImagePhotosPlugin.m
/Users/admin/builder/spi-builder-workspace/SDWebImagePhotosPlugin/Classes/SDImagePhotosLoader.m:173:123: warning: format specifies type 'int' but the argument has type 'NSString *' [-Wformat]
            NSString *desc = [NSString stringWithFormat:@"Unsupported PHAsset localIdentifier: %d, PHAssetMediaType: %d", asset.localIdentifier, asset.mediaType];
                                                                                               ~~                         ^~~~~~~~~~~~~~~~~~~~~
                                                                                               %@
/Users/admin/builder/spi-builder-workspace/SDWebImagePhotosPlugin/Classes/SDImagePhotosLoader.m:173:146: warning: enum values with underlying type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
            NSString *desc = [NSString stringWithFormat:@"Unsupported PHAsset localIdentifier: %d, PHAssetMediaType: %d", asset.localIdentifier, asset.mediaType];
                                                                                                                     ~~                          ^~~~~~~~~~~~~~~
                                                                                                                     %ld                         (long)
2 warnings generated.
[5/6] Compiling SDImagePhotosLoader.m
Build complete! (10.99s)
Fetching https://github.com/SDWebImage/SDWebImage.git
[1/25712] Fetching sdwebimage
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (2.88s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.21.0 (0.47s)
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.21.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "sdwebimage",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.10.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SDWebImage/SDWebImage.git"
    }
  ],
  "manifest_display_name" : "SDWebImagePhotosPlugin",
  "name" : "SDWebImagePhotosPlugin",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "SDWebImagePhotosPlugin",
      "targets" : [
        "SDWebImagePhotosPlugin"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SDWebImagePhotosPlugin",
      "module_type" : "ClangTarget",
      "name" : "SDWebImagePhotosPlugin",
      "path" : ".",
      "product_dependencies" : [
        "SDWebImage"
      ],
      "product_memberships" : [
        "SDWebImagePhotosPlugin"
      ],
      "sources" : [
        "SDWebImagePhotosPlugin/Classes/NSURL+SDWebImagePhotosPlugin.m",
        "SDWebImagePhotosPlugin/Classes/PHAsset+SDWebImagePhotosPlugin.m",
        "SDWebImagePhotosPlugin/Classes/PHImageRequestOptions+SDWebImagePhotosPlugin.m",
        "SDWebImagePhotosPlugin/Classes/SDImagePhotosLoader.m",
        "SDWebImagePhotosPlugin/Classes/SDWebImagePhotosDefine.m",
        "SDWebImagePhotosPlugin/Classes/SDWebImagePhotosError.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.