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 webp, reference 1.1.1 (5ee6b4), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 20:30:05 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/awxkee/webp.swift.git
Reference: 1.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/awxkee/webp.swift
 * tag               1.1.1      -> FETCH_HEAD
HEAD is now at 5ee6b41 Merge pull request #2 from ctreffs/encoder-extensions
Cloned https://github.com/awxkee/webp.swift.git
Revision (git rev-parse @):
5ee6b41965c161b3adbe29f6c01a2b66b4944867
SUCCESS checkout https://github.com/awxkee/webp.swift.git at 1.1.1
Fetching https://github.com/awxkee/libwebp-ios.git
[6/556] Fetching libwebp-ios
Fetched https://github.com/awxkee/libwebp-ios.git from cache (1.99s)
Computing version for https://github.com/awxkee/libwebp-ios.git
Computed https://github.com/awxkee/libwebp-ios.git at 1.1.0 (0.95s)
Creating working copy for https://github.com/awxkee/libwebp-ios.git
Working copy of https://github.com/awxkee/libwebp-ios.git resolved 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": "webp.swift",
      "name": "webp",
      "url": "https://github.com/awxkee/webp.swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/webp.swift",
      "dependencies": [
        {
          "identity": "libwebp-ios",
          "name": "libwebp-ios",
          "url": "https://github.com/awxkee/libwebp-ios.git",
          "version": "1.1.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/libwebp-ios",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/awxkee/webp.swift.git
[1/167] Fetching webp.swift
Fetched https://github.com/awxkee/webp.swift.git from cache (0.68s)
Fetching https://github.com/awxkee/libwebp-ios.git from cache
Fetched https://github.com/awxkee/libwebp-ios.git from cache (0.51s)
Computing version for https://github.com/awxkee/libwebp-ios.git
Computed https://github.com/awxkee/libwebp-ios.git at 1.1.1 (0.03s)
Creating working copy for https://github.com/awxkee/webp.swift.git
Working copy of https://github.com/awxkee/webp.swift.git resolved at 1.1.1 (5ee6b41)
Creating working copy for https://github.com/awxkee/libwebp-ios.git
Working copy of https://github.com/awxkee/libwebp-ios.git resolved at 1.1.1
warning: '.resolve-product-dependencies': dependency 'webp.swift' is not used by any target
Found 1 product dependencies
  - libwebp-ios
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/awxkee/webp.swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/9] Write sources
[1/9] Copying libsharpyuv.a
[2/9] Copying libwebpmux.a
[3/9] Copying libwebp.a
[4/9] Copying libwebpdemux.a
[5/9] Write swift-version--7754E27361AE5C74.txt
/Users/admin/builder/spi-builder-workspace/Sources/webpbridge/WebpIncrementalDecoder.mm:77:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
   77 |     auto result = [[WebpIncrementalDecoderResult alloc] init];
      |     ^
1 warning generated.
[6/9] Compiling webpbridge WebpIncrementalDecoderResult.mm
[7/9] Compiling webpbridge WebpIncrementalDecoder.mm
/Users/admin/builder/spi-builder-workspace/Sources/webpbridge/WebpRGBAMultiplier.mm:16:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
   16 |     auto newBytes = [WebpRGBAMultiplier premultiplyBytes:(unsigned char*)data.bytes width:width height:height];
      |     ^
/Users/admin/builder/spi-builder-workspace/Sources/webpbridge/WebpRGBAMultiplier.mm:17:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
   17 |     auto returningData = [[NSData alloc] initWithBytesNoCopy:newBytes length:width*height*4 deallocator:^(void * _Nonnull bytes, NSUInteger length) {
      |     ^
/Users/admin/builder/spi-builder-workspace/Sources/webpbridge/WebpRGBAMultiplier.mm:38:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
   38 |     auto vEerror = vImagePremultiplyData_RGBA8888(&src, &dest, kvImageNoFlags);
      |     ^
/Users/admin/builder/spi-builder-workspace/Sources/webpbridge/WebpRGBAMultiplier.mm:63:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
   63 |     auto vEerror = vImageUnpremultiplyData_RGBA8888(&src, &dest, kvImageNoFlags);
      |     ^
/Users/admin/builder/spi-builder-workspace/Sources/webpbridge/WebpRGBAMultiplier.mm:75:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
   75 |     auto unpremultipliedBytes = [WebpRGBAMultiplier unpremultiplyBytes:(unsigned char*)data.bytes width:width height:height];
      |     ^
/Users/admin/builder/spi-builder-workspace/Sources/webpbridge/WebpRGBAMultiplier.mm:76:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
   76 |     auto returningData = [[NSData alloc] initWithBytesNoCopy:unpremultipliedBytes length:width*height*4 deallocator:^(void * _Nonnull bytes, NSUInteger length) {
      |     ^
6 warnings generated.
[8/9] Compiling webpbridge WebpRGBAMultiplier.mm
[10/21] Compiling webp WebPEncoder+CGImage.swift
[11/22] Compiling webp WebPDecoderConfig.swift
[12/22] Compiling webp WebPDecoder.swift
[13/22] Compiling webp WebPImageInspector.swift
[14/22] Compiling webp WebPEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/webp/WebPEncoder.swift:123:30: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
121 |         }
122 |         picture.writer = writeWebP
123 |         picture.custom_ptr = UnsafeMutableRawPointer(&buffer)
    |                              |                       |- note: implicit argument conversion from 'WebPMemoryWriter' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                              |                       `- note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
    |                              `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
124 |
125 |         if WebPEncode(&config, &picture) == 0 {
[15/22] Compiling webp WebPEncoderConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/webp/WebPEncoderConfig.swift:4:1: warning: extension declares a conformance of imported type 'WebPImageHint' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'webpbridge' introduce this conformance in the future
  2 | import webpbridge
  3 |
  4 | extension WebPImageHint: ExpressibleByIntegerLiteral {
    | |- warning: extension declares a conformance of imported type 'WebPImageHint' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'webpbridge' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
  5 |     /// Create an instance initialized to `value`.
  6 |     public init(integerLiteral value: Int) {
[16/22] Compiling webp WebPError.swift
[17/22] Compiling webp WebPEncoder+Platform.swift
[18/22] Compiling webp CGImage+Util.swift
[19/22] Compiling webp InternalRawRepresentable.swift
[20/22] Emitting module webp
/Users/admin/builder/spi-builder-workspace/Sources/webp/WebPEncoderConfig.swift:4:1: warning: extension declares a conformance of imported type 'WebPImageHint' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'webpbridge' introduce this conformance in the future
  2 | import webpbridge
  3 |
  4 | extension WebPImageHint: ExpressibleByIntegerLiteral {
    | |- warning: extension declares a conformance of imported type 'WebPImageHint' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'webpbridge' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
  5 |     /// Create an instance initialized to `value`.
  6 |     public init(integerLiteral value: Int) {
[21/22] Compiling webp WebPAnimatedEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/webp/WebPAnimatedEncoder.swift:120:43: warning: initialization of 'UnsafeMutablePointer<UInt32>' results in a dangling pointer
118 |         var animParams = WebPMuxAnimParams()
119 |         var features: UInt32 = 0
120 |         var err = WebPMuxGetFeatures(mux, UnsafeMutablePointer(&features))
    |                                           |                    |- note: implicit argument conversion from 'UInt32' to 'UnsafeMutablePointer<UInt32>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                           |                    `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                           `- warning: initialization of 'UnsafeMutablePointer<UInt32>' results in a dangling pointer
121 |         if err != WEBP_MUX_OK {
122 |             WebPMuxDelete(mux)
[22/22] Compiling webp WebPDecoder+Platform.swift
/Users/admin/builder/spi-builder-workspace/Sources/webp/WebPAnimatedEncoder.swift:120:43: warning: initialization of 'UnsafeMutablePointer<UInt32>' results in a dangling pointer
118 |         var animParams = WebPMuxAnimParams()
119 |         var features: UInt32 = 0
120 |         var err = WebPMuxGetFeatures(mux, UnsafeMutablePointer(&features))
    |                                           |                    |- note: implicit argument conversion from 'UInt32' to 'UnsafeMutablePointer<UInt32>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                           |                    `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                           `- warning: initialization of 'UnsafeMutablePointer<UInt32>' results in a dangling pointer
121 |         if err != WEBP_MUX_OK {
122 |             WebPMuxDelete(mux)
Build complete! (20.21s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "libwebp-ios",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "1.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/awxkee/libwebp-ios.git"
    }
  ],
  "manifest_display_name" : "webp",
  "name" : "webp",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "webp",
      "targets" : [
        "webp",
        "webpbridge"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "webpbridge",
      "module_type" : "ClangTarget",
      "name" : "webpbridge",
      "path" : "Sources/webpbridge",
      "product_dependencies" : [
        "libwebp-ios"
      ],
      "product_memberships" : [
        "webp"
      ],
      "sources" : [
        "WebpIncrementalDecoder.mm",
        "WebpIncrementalDecoderResult.mm",
        "WebpRGBAMultiplier.mm"
      ],
      "type" : "library"
    },
    {
      "c99name" : "webp",
      "module_type" : "SwiftTarget",
      "name" : "webp",
      "path" : "Sources/webp",
      "product_memberships" : [
        "webp"
      ],
      "sources" : [
        "CGImage+Util.swift",
        "InternalRawRepresentable.swift",
        "WebPAnimatedEncoder.swift",
        "WebPDecoder+Platform.swift",
        "WebPDecoder.swift",
        "WebPDecoderConfig.swift",
        "WebPEncoder+CGImage.swift",
        "WebPEncoder+Platform.swift",
        "WebPEncoder.swift",
        "WebPEncoderConfig.swift",
        "WebPError.swift",
        "WebPImageInspector.swift"
      ],
      "target_dependencies" : [
        "webpbridge"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.