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 6.0 for macOS (SPM) on 12 Sep 2025 11:35:07 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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:             6.0
Building package at path:  $PWD
https://github.com/bullinnyc/CachedAsyncImage.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/14] Compiling CachedAsyncImage Emoji.swift
[4/15] Compiling CachedAsyncImage TemporaryImageCache.swift
[5/15] Compiling CachedAsyncImage ImageLoader.swift
[6/15] Compiling CachedAsyncImage FeatureStorage.swift
[7/15] Compiling CachedAsyncImage NetworkManager.swift
[8/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'
62 |     static let snow = NSColor(
63 |         named: NSColor.Name("snow"),
64 |         bundle: Bundle.module
   |                        `- error: type 'Bundle' has no member 'module'
65 |     ) ?? NSColor()
66 |
/Users/admin/builder/spi-builder-workspace/Sources/CachedAsyncImage/Resources/ResourcesManager.swift:75:16: error: type 'Bundle' has no member 'module'
73 |     /// - Returns: An initialized image object or `nil` if the object was not found in the resources.
74 |     static func image(_ name: String) -> NSImage? {
75 |         Bundle.module.image(forResource: NSImage.Name(name))
   |                `- error: type 'Bundle' has no member 'module'
76 |     }
77 | }
[9/15] Compiling CachedAsyncImage CachedAsyncImage.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/15] Compiling CachedAsyncImage ImageCache.swift
[11/15] Compiling CachedAsyncImage Network.swift
[12/15] Compiling CachedAsyncImage CrossPlatformImage.swift
[13/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'
19 |     // MARK: - Private Properties
20 |
21 |     private static let subsystem = Bundle.module.bundleIdentifier ?? ""
   |                                           `- error: type 'Bundle' has no member 'module'
22 |
23 |     // MARK: - Public Methods
/Users/admin/builder/spi-builder-workspace/Sources/CachedAsyncImage/Resources/ResourcesManager.swift:64:24: error: type 'Bundle' has no member 'module'
62 |     static let snow = NSColor(
63 |         named: NSColor.Name("snow"),
64 |         bundle: Bundle.module
   |                        `- error: type 'Bundle' has no member 'module'
65 |     ) ?? NSColor()
66 |
[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'
19 |     // MARK: - Private Properties
20 |
21 |     private static let subsystem = Bundle.module.bundleIdentifier ?? ""
   |                                           `- error: type 'Bundle' has no member 'module'
22 |
23 |     // MARK: - Public Methods
[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'
19 |     // MARK: - Private Properties
20 |
21 |     private static let subsystem = Bundle.module.bundleIdentifier ?? ""
   |                                           `- error: type 'Bundle' has no member 'module'
22 |
23 |     // MARK: - Public Methods
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 6.0 macosSpm