The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ColorPopoverWell with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KarlKraft/ColorPopoverWell.git
Reference: v1.0.0
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/KarlKraft/ColorPopoverWell
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at e7da13e Add the walkthrough and update README with link to same
Cloned https://github.com/KarlKraft/ColorPopoverWell.git
Revision (git rev-parse @):
e7da13ebbb69852848307af7e206a8420272e5ad
SUCCESS checkout https://github.com/KarlKraft/ColorPopoverWell.git at v1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/KarlKraft/ColorPopoverWell.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
[3/7] Compiling ColorPopoverWell PaintCode.swift
[4/7] Compiling ColorPopoverWell ColorPopoverSwatch.swift
[5/7] Compiling ColorPopoverWell ColorPopoverWell.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ColorPopoverWell/ColorPopoverWell.swift:34:97: error: type 'Bundle?' has no member 'module'
    popover.contentViewController = NSViewController.init(nibName: "ColorPopoverWell", bundle: .module)
                                                                                               ~^~~~~~
[6/7] Compiling ColorPopoverWell ColorPopoverGradientSwatch.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/7] Emitting module ColorPopoverWell
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ColorPopoverWell/ColorPopoverWell.swift:34:97: error: type 'Bundle?' has no member 'module'
    popover.contentViewController = NSViewController.init(nibName: "ColorPopoverWell", bundle: .module)
                                                                                               ~^~~~~~
error: fatalError
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ColorPopoverWell/ColorPopoverWell.xib
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module ColorPopoverWell
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ColorPopoverWell/ColorPopoverWell.swift:34:97: error: type 'Bundle?' has no member 'module'
    popover.contentViewController = NSViewController.init(nibName: "ColorPopoverWell", bundle: .module)
                                                                                               ~^~~~~~
[3/3] Compiling ColorPopoverWell ColorPopoverWell.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ColorPopoverWell/ColorPopoverWell.swift:34:97: error: type 'Bundle?' has no member 'module'
    popover.contentViewController = NSViewController.init(nibName: "ColorPopoverWell", bundle: .module)
                                                                                               ~^~~~~~
error: fatalError
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ColorPopoverWell/ColorPopoverWell.xib
BUILD FAILURE 5.10 macosSpm

Build Machine: Mac 7