Build Information
Failed to build ColorPopoverWell, reference v1.0.0 (e7da13
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 08:28:21 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KarlKraft/ColorPopoverWell.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "colorpopoverwell",
"name": "ColorPopoverWell",
"url": "https://github.com/KarlKraft/ColorPopoverWell.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ColorPopoverWell",
"dependencies": [
]
}
]
}
Fetching https://github.com/KarlKraft/ColorPopoverWell.git
[1/400] Fetching colorpopoverwell
Fetched https://github.com/KarlKraft/ColorPopoverWell.git from cache (1.06s)
Creating working copy for https://github.com/KarlKraft/ColorPopoverWell.git
Working copy of https://github.com/KarlKraft/ColorPopoverWell.git resolved at v1.0.0 (e7da13e)
warning: '.resolve-product-dependencies': dependency 'colorpopoverwell' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/KarlKraft/ColorPopoverWell.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/7] Compiling ColorPopoverWell PaintCode.swift
[4/7] Compiling ColorPopoverWell ColorPopoverWell.swift
/Users/admin/builder/spi-builder-workspace/Sources/ColorPopoverWell/ColorPopoverWell.swift:34:97: error: type 'Bundle?' has no member 'module'
32 | popover = NSPopover.init()
33 |
34 | popover.contentViewController = NSViewController.init(nibName: "ColorPopoverWell", bundle: .module)
| `- error: type 'Bundle?' has no member 'module'
35 | popover.behavior = .transient
36 | popover.contentViewController?.representedObject = self
[5/7] Compiling ColorPopoverWell ColorPopoverSwatch.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/7] Compiling ColorPopoverWell ColorPopoverGradientSwatch.swift
[7/7] Emitting module ColorPopoverWell
/Users/admin/builder/spi-builder-workspace/Sources/ColorPopoverWell/ColorPopoverWell.swift:34:97: error: type 'Bundle?' has no member 'module'
32 | popover = NSPopover.init()
33 |
34 | popover.contentViewController = NSViewController.init(nibName: "ColorPopoverWell", bundle: .module)
| `- error: type 'Bundle?' has no member 'module'
35 | popover.behavior = .transient
36 | popover.contentViewController?.representedObject = self
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/ColorPopoverWell/ColorPopoverWell.xib
BUILD FAILURE 6.0 macosSpm