Build Information
Successful build of webp, reference master (10562e
), with Swift 5.10 for macOS (SPM) on 1 Apr 2025 10:34:39 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/awxkee/webp.swift.git
Reference: master
Initialized empty Git repository in /Users/admin/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 10562e7 Merge pull request #4 from awxkee/prepare_for_xcode_16_3
Cloned https://github.com/awxkee/webp.swift.git
Revision (git rev-parse @):
10562e79e338de46e70f0f5c67b24cb90e02adb2
SUCCESS checkout https://github.com/awxkee/webp.swift.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/awxkee/webp.swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/9] Write sources
[1/9] Copying libwebp.a
[1/9] Copying libsharpyuv.a
[1/9] Copying libwebpdemux.a
[4/9] Copying libwebpmux.a
[5/9] Write swift-version-33747A42983211AE.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]
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]
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]
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]
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]
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]
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]
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/21] Compiling webp WebPError.swift
[12/22] Compiling webp WebPImageInspector.swift
[13/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
picture.custom_ptr = UnsafeMutableRawPointer(&buffer)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/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/admin/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)
^
[14/22] Compiling webp WebPEncoderConfig.swift
[15/22] Compiling webp CGImage+Util.swift
[16/22] Compiling webp InternalRawRepresentable.swift
[17/22] Emitting module webp
[18/22] Compiling webp WebPDecoder.swift
[19/22] Compiling webp WebPDecoderConfig.swift
[20/22] Compiling webp WebPEncoder+Platform.swift
[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
var err = WebPMuxGetFeatures(mux, UnsafeMutablePointer(&features))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/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/admin/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))
^
[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
var err = WebPMuxGetFeatures(mux, UnsafeMutablePointer(&features))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/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/admin/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))
^
Build complete! (14.34s)
Fetching https://github.com/awxkee/libwebp-ios.git
[1/556] Fetching libwebp-ios
Fetched https://github.com/awxkee/libwebp-ios.git from cache (2.21s)
Computing version for https://github.com/awxkee/libwebp-ios.git
Computed https://github.com/awxkee/libwebp-ios.git at 1.1.1 (0.44s)
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
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.