Build Information
Failed to build CachedNetworkImage, reference master (0c41b1), with Swift 6.4 for macOS (SPM) on 21 Sep 2026 17:19:42 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/c2p-cmd/CachedNetworkImage.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/c2p-cmd/CachedNetworkImage
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 0c41b1f Update README.md
Cloned https://github.com/c2p-cmd/CachedNetworkImage.git
Revision (git rev-parse @):
0c41b1fb31eae1d6991f2498b7ead8a2d8694b1a
SUCCESS checkout https://github.com/c2p-cmd/CachedNetworkImage.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/c2p-cmd/CachedNetworkImage.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] CachedNetworkImage
[30 / 101]
[33 / 101]
[41 / 101]
[43 / 101]
[44 / 101]
[50 / 101]
[52 / 101]
[55 / 101]
[61 / 101]
[63 / 101]
[66 / 101]
[67 / 101]
[77 / 101]
[79 / 101]
[80 / 101]
[83 / 101]
[85 / 101]
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line: cd /Users/admin/builder
/Users/admin/builder/spi-builder-workspace/Sources/CachedNetworkImage/CacheManager.swift:15:22: [1;31merror: [1;39mcannot find type 'UIImage' in scope[0;0m
[0;36m13 |[0;0m /// A wrapper class to store a `UIImage` along with its expiration date.
[0;36m14 |[0;0m class CachedImage {
[0;36m15 |[0;0m let uiImage: [4;39mUIImage[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'UIImage' in scope[0;0m
[0;36m16 |[0;0m let date: Date
[0;36m17 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/CachedNetworkImage/CacheManager.swift:22:25: [1;31merror: [1;39mcannot find type 'UIImage' in scope[0;0m
[0;36m20 |[0;0m /// - uiImage: The `UIImage` to cache.
[0;36m21 |[0;0m /// - date: The expiration date for the cached image. Defaults to the current date and time.
[0;36m22 |[0;0m init(_ uiImage: [4;39mUIImage[0;0m, withExpiration date: Date = .now) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'UIImage' in scope[0;0m
[0;36m23 |[0;0m self.uiImage = uiImage
[0;36m24 |[0;0m self.date = date
/Users/admin/builder/spi-builder-workspace/Sources/CachedNetworkImage/CacheManager.swift:63:23: [1;31merror: [1;39mcannot find type 'UIImage' in scope[0;0m
[0;36m61 |[0;0m /// - image: The `UIImage` to cache.
[0;36m62 |[0;0m /// - key: The `URL` key to associate with the image.
[0;36m63 |[0;0m func store(image: [4;39mUIImage[0;0m, for key: URL) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'UIImage' in scope[0;0m
[0;36m64 |[0;0m let key = key.absoluteString as NSString
[0;36m65 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/CachedNetworkImage/ImageDownSizer.swift:17:69: [1;31merror: [1;39mcannot find type 'UIImage' in scope[0;0m
[0;36m15 |[0;0m /// - scale: A `CGFloat` value representing the scale factor for resizing. The image's dimensions are divided by this scale.
[0;36m16 |[0;0m /// - Returns: A downsized `UIImage` that maintains the original aspect ratio.
[0;36m17 |[0;0m class func downSize(image: UIImage, by scale: CGFloat) async -> [4;39mUIImage[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'UIImage' in scope[0;0m
[0;36m18 |[0;0m let currentSize = image.size
[0;36m19 |[0;0m let sizeToFit = currentSize / scale
/Users/admin/builder/spi-builder-workspace/Sources/CachedNetworkImage/ImageDownSizer.swift:17:32: [1;31merror: [1;39mcannot find type 'UIImage' in scope[0;0m
[0;36m15 |[0;0m /// - scale: A `CGFloat` value representing the scale factor for resizing. The image's dimensions are divided by this scale.
[0;36m16 |[0;0m /// - Returns: A downsized `UIImage` that maintains the original aspect ratio.
[0;36m17 |[0;0m class func downSize(image: [4;39mUIImage[0;0m, by scale: CGFloat) async -> UIImage {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'UIImage' in scope[0;0m
[0;36m18 |[0;0m let currentSize = image.size
[0;36m19 |[0;0m let sizeToFit = currentSize / scale
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/CachedNetworkImage/CacheManager.swift /Users/admin/builder/spi-builder-workspace/Sources/CachedNetworkImage/CachedNetworkImage.swift /Users/admin/builder/spi-builder-workspace/Sources/CachedNetworkImage/CachedNetworkImageError.swift /Users/admin/builder/spi-builder-workspace/Sources/CachedNetworkImage/ImageDownSizer.swift /Users/admin/builder/spi-builder-workspace/Sources/CachedNetworkImage/ImagePhase.swift -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CachedNetworkImage.build/Debug/CachedNetworkImage-t.build/Objects-normal/arm64/CachedNetworkImage-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CachedNetworkImage.build/Debug/CachedNetworkImage-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CachedNetworkImage.build/Debug/CachedNetworkImage-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CachedNetworkImage.build/Debug/CachedNetworkImage-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name CachedNetworkImage -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CachedNetworkImage.build/Debug/CachedNetworkImage-t.build/Objects-normal/arm64/CachedNetworkImage_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CachedNetworkImage.build/Debug/CachedNetworkImage-t.build/Objects-normal/arm64/CachedNetworkImage.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CachedNetworkImage.build/Debug/CachedNetworkImage-t.build/Objects-normal/arm64/CachedNetworkImage.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CachedNetworkImage.build/Debug/CachedNetworkImage-t.build/Objects-normal/arm64/CachedNetworkImage-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CachedNetworkImage.build/Debug/CachedNetworkImage-t.build/Objects-normal/arm64/CachedNetworkImage-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CachedNetworkImage.build/Debug/CachedNetworkImage-t.build/Objects-normal/arm64/CachedNetworkImage-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CachedNetworkImage.build/Debug/CachedNetworkImage-t.build/Objects-normal/arm64/CachedNetworkImage.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CachedNetworkImage.build/Debug/CachedNetworkImage-t.build/Objects-normal/arm64/CachedNetworkImage.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm