The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build CachedAsyncImage, reference main (31bed1), with Swift 5.10 for macOS (SPM) on 12 Sep 2025 11:34:14 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bullinnyc/CachedAsyncImage.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bullinnyc/CachedAsyncImage
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 31bed1b Merge pull request #12 from bullinnyc/refactoring
Cloned https://github.com/bullinnyc/CachedAsyncImage.git
Revision (git rev-parse @):
31bed1b1f4f8e58431fc5ac726a4c2e284ff1af3
SUCCESS checkout https://github.com/bullinnyc/CachedAsyncImage.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/bullinnyc/CachedAsyncImage.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/14] Compiling CachedAsyncImage TemporaryImageCache.swift
[4/14] Compiling CachedAsyncImage ImageLoader.swift
[5/14] Compiling CachedAsyncImage NetworkManager.swift
[6/14] Compiling CachedAsyncImage FeatureStorage.swift
[7/15] Compiling CachedAsyncImage CachedAsyncImage.swift
[8/15] Compiling CachedAsyncImage Emoji.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/15] Compiling CachedAsyncImage ImageCache.swift
[10/15] Compiling CachedAsyncImage Network.swift
[11/15] Compiling CachedAsyncImage CrossPlatformImage.swift
[12/15] Emitting module CachedAsyncImage
/Users/admin/builder/spi-builder-workspace/Sources/CachedAsyncImage/Extensions/Extension+Logger.swift:21:43: error: type 'Bundle' has no member 'module'
    private static let subsystem = Bundle.module.bundleIdentifier ?? ""
                                   ~~~~~~ ^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CachedAsyncImage/Resources/ResourcesManager.swift:64:24: error: type 'Bundle' has no member 'module'
        bundle: Bundle.module
                ~~~~~~ ^~~~~~
[13/15] Compiling CachedAsyncImage ResourcesManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/CachedAsyncImage/Resources/ResourcesManager.swift:64:24: error: type 'Bundle' has no member 'module'
        bundle: Bundle.module
                ~~~~~~ ^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CachedAsyncImage/Resources/ResourcesManager.swift:75:16: error: type 'Bundle' has no member 'module'
        Bundle.module.image(forResource: NSImage.Name(name))
        ~~~~~~ ^~~~~~
[14/15] Compiling CachedAsyncImage Extension+Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/CachedAsyncImage/Extensions/Extension+Logger.swift:21:43: error: type 'Bundle' has no member 'module'
    private static let subsystem = Bundle.module.bundleIdentifier ?? ""
                                   ~~~~~~ ^~~~~~
[15/15] Compiling CachedAsyncImage Extension+View.swift
/Users/admin/builder/spi-builder-workspace/Sources/CachedAsyncImage/Extensions/Extension+Logger.swift:21:43: error: type 'Bundle' has no member 'module'
    private static let subsystem = Bundle.module.bundleIdentifier ?? ""
                                   ~~~~~~ ^~~~~~
error: fatalError
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/CachedAsyncImage/Resources/Assets.xcassets
BUILD FAILURE 5.10 macosSpm