The Swift Package Index logo.Swift Package Index

Build Information

Successful build of webp with Swift 5.9 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/awxkee/webp.swift.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/awxkee/webp.swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
Fetching https://github.com/awxkee/libwebp-ios.git from cache
Fetched https://github.com/awxkee/libwebp-ios.git (0.42s)
Computing version for https://github.com/awxkee/libwebp-ios.git
Computed https://github.com/awxkee/libwebp-ios.git at 1.1.0 (0.51s)
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/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/libwebp-ios",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/awxkee/webp.swift.git from cache
Fetched https://github.com/awxkee/webp.swift.git (0.19s)
Fetching https://github.com/awxkee/libwebp-ios.git from cache
Fetched https://github.com/awxkee/libwebp-ios.git (0.25s)
Computing version for https://github.com/awxkee/libwebp-ios.git
Computed https://github.com/awxkee/libwebp-ios.git at 1.1.1 (0.01s)
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
Creating working copy for https://github.com/awxkee/webp.swift.git
Working copy of https://github.com/awxkee/webp.swift.git resolved at master
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:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Copying libsharpyuv.a
[0/7] Copying libwebpdemux.a
[1/7] Copying libwebpmux.a
[3/7] Copying libwebp.a
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/webpbridge/WebpIncrementalDecoder.mm:77:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
    auto result = [[WebpIncrementalDecoderResult alloc] init];
    ^
1 warning generated.
[4/7] Compiling webpbridge WebpIncrementalDecoderResult.mm
[4/7] Compiling webpbridge WebpIncrementalDecoder.mm
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/webpbridge/WebpRGBAMultiplier.mm:16:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
    auto newBytes = [WebpRGBAMultiplier premultiplyBytes:(unsigned char*)data.bytes width:width height:height];
    ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/webpbridge/WebpRGBAMultiplier.mm:17:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
    auto returningData = [[NSData alloc] initWithBytesNoCopy:newBytes length:width*height*4 deallocator:^(void * _Nonnull bytes, NSUInteger length) {
    ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/webpbridge/WebpRGBAMultiplier.mm:38:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
    auto vEerror = vImagePremultiplyData_RGBA8888(&src, &dest, kvImageNoFlags);
    ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/webpbridge/WebpRGBAMultiplier.mm:63:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
    auto vEerror = vImageUnpremultiplyData_RGBA8888(&src, &dest, kvImageNoFlags);
    ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/webpbridge/WebpRGBAMultiplier.mm:75:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
    auto unpremultipliedBytes = [WebpRGBAMultiplier unpremultiplyBytes:(unsigned char*)data.bytes width:width height:height];
    ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/webpbridge/WebpRGBAMultiplier.mm:76:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
    auto returningData = [[NSData alloc] initWithBytesNoCopy:unpremultipliedBytes length:width*height*4 deallocator:^(void * _Nonnull bytes, NSUInteger length) {
    ^
6 warnings generated.
[6/7] Compiling webpbridge WebpRGBAMultiplier.mm
[8/19] Emitting module webp
[9/19] Compiling webp WebPDecoder.swift
[10/19] Compiling webp WebPDecoderConfig.swift
[11/19] Compiling webp WebPEncoder.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/webp/WebPEncoder.swift:123:30: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
        picture.custom_ptr = UnsafeMutableRawPointer(&buffer)
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/webp/WebPEncoder.swift:123:54: note: implicit argument conversion from 'WebPMemoryWriter' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
        picture.custom_ptr = UnsafeMutableRawPointer(&buffer)
                                                     ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/webp/WebPEncoder.swift:123:54: note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
        picture.custom_ptr = UnsafeMutableRawPointer(&buffer)
                                                     ^
[12/19] Compiling webp WebPError.swift
[13/19] Compiling webp WebPEncoder+CGImage.swift
[14/19] Compiling webp WebPEncoder+Platform.swift
[15/19] Compiling webp CGImage+Util.swift
[16/19] Compiling webp InternalRawRepresentable.swift
[17/19] Compiling webp WebPEncoderConfig.swift
[18/20] Compiling webp WebPAnimatedEncoder.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/webp/WebPAnimatedEncoder.swift:120:43: warning: initialization of 'UnsafeMutablePointer<UInt32>' results in a dangling pointer
        var err = WebPMuxGetFeatures(mux, UnsafeMutablePointer(&features))
                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/webp/WebPAnimatedEncoder.swift:120:64: note: implicit argument conversion from 'UInt32' to 'UnsafeMutablePointer<UInt32>' produces a pointer valid only for the duration of the call to 'init(_:)'
        var err = WebPMuxGetFeatures(mux, UnsafeMutablePointer(&features))
                                                               ^~~~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/webp/WebPAnimatedEncoder.swift:120:64: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
        var err = WebPMuxGetFeatures(mux, UnsafeMutablePointer(&features))
                                                               ^
[19/20] Compiling webp WebPDecoder+Platform.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/webp/WebPAnimatedEncoder.swift:120:43: warning: initialization of 'UnsafeMutablePointer<UInt32>' results in a dangling pointer
        var err = WebPMuxGetFeatures(mux, UnsafeMutablePointer(&features))
                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/webp/WebPAnimatedEncoder.swift:120:64: note: implicit argument conversion from 'UInt32' to 'UnsafeMutablePointer<UInt32>' produces a pointer valid only for the duration of the call to 'init(_:)'
        var err = WebPMuxGetFeatures(mux, UnsafeMutablePointer(&features))
                                                               ^~~~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/webp/WebPAnimatedEncoder.swift:120:64: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
        var err = WebPMuxGetFeatures(mux, UnsafeMutablePointer(&features))
                                                               ^
[20/20] Compiling webp WebPImageInspector.swift
Build complete! (13.24s)
Build complete.
Done.