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 master (31e374), with Swift 5.9 for macOS (SPM) on 28 Feb 2025 03:49:07 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SDWebImage/SDWebImagePhotosPlugin
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 31e3741 Update README.md
Cloned https://github.com/SDWebImage/SDWebImagePhotosPlugin.git
Revision (git rev-parse @):
31e37415e59dfadd208c08c7e3f3b7338b45cc84
SUCCESS checkout https://github.com/SDWebImage/SDWebImagePhotosPlugin.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/SDWebImage/SDWebImagePhotosPlugin.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.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 PHAsset+SDWebImagePhotosPlugin.m
[4/6] Compiling PHImageRequestOptions+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! (12.39s)
Fetching https://github.com/SDWebImage/SDWebImage.git
[1/25712] Fetching sdwebimage
Fetched https://github.com/SDWebImage/SDWebImage.git (3.05s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.21.0 (0.63s)
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.