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 PocketSVG, reference master (890a94), with Swift 5.9 for macOS (SPM) on 8 Feb 2025 14:35:35 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/pocketsvg/pocketsvg.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pocketsvg/pocketsvg
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 890a94e update readme and changelog for v2.8.0
Cloned https://github.com/pocketsvg/pocketsvg.git
Revision (git rev-parse @):
890a94e60c59cdf055b4d549dd246f60c6b25b5e
SUCCESS checkout https://github.com/pocketsvg/pocketsvg.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/pocketsvg/pocketsvg.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Copying SVGColors.plist
In file included from /Users/admin/builder/spi-builder-workspace/Sources/SVGBezierPath.mm:9:
/Users/admin/builder/spi-builder-workspace/Sources/include/SVGBezierPath.h:76:42: warning: attribute 'readonly' of property 'CGPath' restricts attribute 'readwrite' of property inherited from 'NSBezierPath' [-Wproperty-attribute-mismatch]
@property(nonatomic, readonly) CGPathRef CGPath;
                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/include/SVGBezierPath.h:76:42: warning: 'atomic' attribute on property 'CGPath' does not match the property inherited from 'NSBezierPath' [-Wproperty-attribute-mismatch]
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSBezierPath.h:58:31: note: property declared here
@property (nonnull) CGPathRef CGPath API_AVAILABLE(macos(14.0)) CF_RETURNS_NOT_RETAINED;
                              ^
/Users/admin/builder/spi-builder-workspace/Sources/SVGBezierPath.mm:63:40: warning: incompatible pointer types initializing 'SVGBezierPath *const __strong' with an expression of type 'NSBezierPath * _Nonnull' [-Wincompatible-pointer-types]
        SVGBezierPath * const uiPath = [self bezierPathWithCGPath:(__bridge CGPathRef)pathRef];
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SVGBezierPath.mm:63:46: warning: 'bezierPathWithCGPath:' is only available on macOS 14.0 or newer [-Wunguarded-availability-new]
        SVGBezierPath * const uiPath = [self bezierPathWithCGPath:(__bridge CGPathRef)pathRef];
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSBezierPath.h:52:1: note: 'bezierPathWithCGPath:' has been marked as being introduced in macOS 14.0 here, but the deployment target is macOS 10.13.0
+ (NSBezierPath *)bezierPathWithCGPath:(CGPathRef)cgPath API_AVAILABLE(macos(14.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/SVGBezierPath.mm:63:46: note: enclose 'bezierPathWithCGPath:' in an @available check to silence this warning
        SVGBezierPath * const uiPath = [self bezierPathWithCGPath:(__bridge CGPathRef)pathRef];
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SVGBezierPath.mm:171:21: warning: enumeration value 'NSBezierPathElementQuadraticCurveTo' not handled in switch [-Wswitch]
            switch ([self elementAtIndex:i associatedPoints:pt]) {
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SVGBezierPath.mm:171:21: note: add missing switch cases
            switch ([self elementAtIndex:i associatedPoints:pt]) {
                    ^
5 warnings generated.
[1/7] Compiling PocketSVG SVGBezierPath.mm
In file included from /Users/admin/builder/spi-builder-workspace/Sources/SVGEngine.mm:12:
/Users/admin/builder/spi-builder-workspace/Sources/include/SVGBezierPath.h:76:42: warning: attribute 'readonly' of property 'CGPath' restricts attribute 'readwrite' of property inherited from 'NSBezierPath' [-Wproperty-attribute-mismatch]
@property(nonatomic, readonly) CGPathRef CGPath;
                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/include/SVGBezierPath.h:76:42: warning: 'atomic' attribute on property 'CGPath' does not match the property inherited from 'NSBezierPath' [-Wproperty-attribute-mismatch]
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSBezierPath.h:58:31: note: property declared here
@property (nonnull) CGPathRef CGPath API_AVAILABLE(macos(14.0)) CF_RETURNS_NOT_RETAINED;
                              ^
2 warnings generated.
[2/7] Compiling PocketSVG SVGEngine.mm
[3/7] Compiling PocketSVG resource_bundle_accessor.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/SVGImageView.m:12:
/Users/admin/builder/spi-builder-workspace/Sources/include/SVGBezierPath.h:76:42: warning: attribute 'readonly' of property 'CGPath' restricts attribute 'readwrite' of property inherited from 'NSBezierPath' [-Wproperty-attribute-mismatch]
@property(nonatomic, readonly) CGPathRef CGPath;
                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/include/SVGBezierPath.h:76:42: warning: 'atomic' attribute on property 'CGPath' does not match the property inherited from 'NSBezierPath' [-Wproperty-attribute-mismatch]
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSBezierPath.h:58:31: note: property declared here
@property (nonnull) CGPathRef CGPath API_AVAILABLE(macos(14.0)) CF_RETURNS_NOT_RETAINED;
                              ^
2 warnings generated.
[4/7] Compiling PocketSVG SVGImageView.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/SVGLayer.m:11:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/include/PocketSVG.h:9:
/Users/admin/builder/spi-builder-workspace/Sources/include/SVGBezierPath.h:76:42: warning: attribute 'readonly' of property 'CGPath' restricts attribute 'readwrite' of property inherited from 'NSBezierPath' [-Wproperty-attribute-mismatch]
@property(nonatomic, readonly) CGPathRef CGPath;
                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/include/SVGBezierPath.h:76:42: warning: 'atomic' attribute on property 'CGPath' does not match the property inherited from 'NSBezierPath' [-Wproperty-attribute-mismatch]
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSBezierPath.h:58:31: note: property declared here
@property (nonnull) CGPathRef CGPath API_AVAILABLE(macos(14.0)) CF_RETURNS_NOT_RETAINED;
                              ^
2 warnings generated.
[5/7] Compiling PocketSVG SVGLayer.m
[6/7] Linking libPocketSVG.dylib
Build complete! (4.56s)
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:8:17: warning: 'v10_10' is deprecated: macOS 10.13 is the oldest supported version
        .macOS(.v10_10),
                ^
/Users/admin/builder/spi-builder-workspace/Package.swift:9:15: warning: 'v9' is deprecated: iOS 12.0 is the oldest supported version
        .iOS(.v9),
              ^
/Users/admin/builder/spi-builder-workspace/Package.swift:10:16: warning: 'v10' is deprecated: tvOS 12.0 is the oldest supported version
        .tvOS(.v10),
               ^
/Users/admin/builder/spi-builder-workspace/Package.swift:11:19: warning: 'v3' is deprecated: watchOS 4.0 is the oldest supported version
        .watchOS(.v3),
                  ^
Build complete.
{
  "cxx_language_standard" : "c++14",
  "dependencies" : [
  ],
  "manifest_display_name" : "PocketSVG",
  "name" : "PocketSVG",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "PocketSVG",
      "targets" : [
        "PocketSVG"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PocketSVGTests",
      "module_type" : "SwiftTarget",
      "name" : "PocketSVGTests",
      "path" : "Tests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/Resources/test_rectangle.svg",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/Resources/test_tiger.svg",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "PocketSVGTests.swift"
      ],
      "target_dependencies" : [
        "PocketSVG"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PocketSVG",
      "module_type" : "ClangTarget",
      "name" : "PocketSVG",
      "path" : "Sources",
      "product_memberships" : [
        "PocketSVG"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Resources/SVGColors.plist",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "SVGBezierPath.mm",
        "SVGEngine.mm",
        "SVGImageView.m",
        "SVGLayer.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:8:17: warning: 'v10_10' is deprecated: macOS 10.13 is the oldest supported version
        .macOS(.v10_10),
                ^
/Users/admin/builder/spi-builder-workspace/Package.swift:9:15: warning: 'v9' is deprecated: iOS 12.0 is the oldest supported version
        .iOS(.v9),
              ^
/Users/admin/builder/spi-builder-workspace/Package.swift:10:16: warning: 'v10' is deprecated: tvOS 12.0 is the oldest supported version
        .tvOS(.v10),
               ^
/Users/admin/builder/spi-builder-workspace/Package.swift:11:19: warning: 'v3' is deprecated: watchOS 4.0 is the oldest supported version
        .watchOS(.v3),
                  ^
Done.