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

Failed to build SDWebImageAVIFCoder with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.23.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDWebImage/SDWebImageAVIFCoder.git
Reference: 0.11.0
Cloned https://github.com/SDWebImage/SDWebImageAVIFCoder.git into spi-builder-workspace
SUCCESS checkout https://github.com/SDWebImage/SDWebImageAVIFCoder.git at 0.11.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/SDWebImage/libvmaf-Xcode.git
Fetching https://github.com/SDWebImage/SDWebImage.git
Fetching https://github.com/SDWebImage/libavif-Xcode.git
[1/98] Fetching libvmaf-xcode
[72/605] Fetching libvmaf-xcode, libavif-xcode
[606/24628] Fetching libvmaf-xcode, libavif-xcode, sdwebimage
Fetching https://github.com/SDWebImage/libaom-Xcode.git
Fetched https://github.com/SDWebImage/libvmaf-Xcode.git (2.02s)
Fetched https://github.com/SDWebImage/libavif-Xcode.git (2.02s)
Fetched https://github.com/SDWebImage/SDWebImage.git (2.06s)
[1/250] Fetching libaom-xcode
Computing version for https://github.com/SDWebImage/SDWebImage.git
Fetched https://github.com/SDWebImage/libaom-Xcode.git (2.27s)
Computed https://github.com/SDWebImage/SDWebImage.git at 5.10.4 (0.41s)
Computing version for https://github.com/SDWebImage/libavif-Xcode.git
Computed https://github.com/SDWebImage/libavif-Xcode.git at 0.11.1 (0.39s)
Computing version for https://github.com/SDWebImage/libaom-Xcode.git
Computed https://github.com/SDWebImage/libaom-Xcode.git at 2.0.2 (0.40s)
Computing version for https://github.com/SDWebImage/libvmaf-Xcode.git
Computed https://github.com/SDWebImage/libvmaf-Xcode.git at 2.2.0 (0.41s)
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.10.4
Creating working copy for https://github.com/SDWebImage/libaom-Xcode.git
Working copy of https://github.com/SDWebImage/libaom-Xcode.git resolved at 2.0.2
Creating working copy for https://github.com/SDWebImage/libavif-Xcode.git
Working copy of https://github.com/SDWebImage/libavif-Xcode.git resolved at 0.11.1
Creating working copy for https://github.com/SDWebImage/libvmaf-Xcode.git
Working copy of https://github.com/SDWebImage/libvmaf-Xcode.git resolved at 2.2.0
Building for debugging...
While building module 'SDWebImage' imported from /host/spi-builder-workspace/SDWebImageAVIFCoder/Classes/Public/SDImageAVIFCoder.h:9:
In file included from <module-includes>:1:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/include/SDWebImage/SDWebImage.h:10:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/include/SDWebImage/SDWebImageCompat.h:10:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/SDWebImageAVIFCoder/Classes/Conversion.m:8:
/host/spi-builder-workspace/SDWebImageAVIFCoder/Classes/Public/SDImageAVIFCoder.h:9:9: fatal error: could not build module 'SDWebImage'
#import <SDWebImage/SDWebImage.h>
 ~~~~~~~^
2 errors generated.
[0/3] Compiling Conversion.m
[0/3] Compiling SDImageAVIFCoder.m
While building module 'SDWebImage' imported from /host/spi-builder-workspace/SDWebImageAVIFCoder/Classes/Public/SDImageAVIFCoder.h:9:
In file included from <module-includes>:1:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/include/SDWebImage/SDWebImage.h:10:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/include/SDWebImage/SDWebImageCompat.h:10:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/SDWebImageAVIFCoder/Classes/ColorSpace.m:8:
/host/spi-builder-workspace/SDWebImageAVIFCoder/Classes/Public/SDImageAVIFCoder.h:9:9: fatal error: could not build module 'SDWebImage'
#import <SDWebImage/SDWebImage.h>
 ~~~~~~~^
[0/3] Compiling ColorSpace.m
BUILD FAILURE 5.9 linux