Build Information
Failed to build NSIcon with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.28.7
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Stv-X/NSIcon.git
Reference: main
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/Stv-X/NSIcon
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f63d83c Update README
Cloned https://github.com/Stv-X/NSIcon.git
Revision (git rev-parse @):
f63d83cf6592059ecb15a4cba9e48471640c75e1
SUCCESS checkout https://github.com/Stv-X/NSIcon.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "nsicon",
"name": "NSIcon",
"url": "https://github.com/Stv-X/NSIcon.git",
"version": "unspecified",
"path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NSIcon",
"dependencies": [
]
}
]
}
Fetching https://github.com/Stv-X/NSIcon.git
[1/227] Fetching nsicon
Fetched https://github.com/Stv-X/NSIcon.git (0.34s)
Creating working copy for https://github.com/Stv-X/NSIcon.git
Working copy of https://github.com/Stv-X/NSIcon.git resolved at main
warning: '.resolve-product-dependencies': dependency 'nsicon' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
https://github.com/Stv-X/NSIcon.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/15] Compiling NSIcon UIIcon.swift
[2/15] Compiling NSIcon UIExtensions.swift
[3/15] Compiling NSIcon IconPlaceholderStyle.swift
[4/15] Compiling NSIcon NSExtensions.swift
[5/15] Compiling NSIcon AppIconLayer.swift
[6/15] Compiling NSIcon VNExtensions.swift
[7/15] Compiling NSIcon NSIcon.swift
[8/15] Compiling NSIcon UIAsyncIcon.swift
[9/16] Compiling NSIcon Icon.swift
[10/16] Compiling NSIcon AsyncIconVM.swift
[11/16] Compiling NSIcon AppPlatform.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/AppPlatform.swift:27:47: error: type 'Bundle?' has no member 'module'
Image("AppIconMask", bundle: .module)
~^~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/AppPlatform.swift:32:50: error: type 'Bundle?' has no member 'module'
Image("MacAppIconMask", bundle: .module)
~^~~~~~
[12/16] Compiling NSIcon Extensions.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/AppPlatform.swift:27:47: error: type 'Bundle?' has no member 'module'
Image("AppIconMask", bundle: .module)
~^~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/AppPlatform.swift:32:50: error: type 'Bundle?' has no member 'module'
Image("MacAppIconMask", bundle: .module)
~^~~~~~
[13/16] Emitting module NSIcon
[14/16] Compiling NSIcon NSIconVM.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/Views/AppKit/NSAsyncIcon.swift:53:14: error: type '() -> ()' cannot conform to 'ShapeStyle'
.overlay {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/Views/AppKit/NSAsyncIcon.swift:53:14: note: only concrete types such as structs, enums and classes can conform to protocols
.overlay {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/Views/AppKit/NSAsyncIcon.swift:53:14: note: required by instance method 'overlay(_:ignoresSafeAreaEdges:)' where 'S' = '() -> ()'
.overlay {
^
[15/16] Compiling NSIcon NSAsyncIcon.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/Views/AppKit/NSAsyncIcon.swift:53:14: error: type '() -> ()' cannot conform to 'ShapeStyle'
.overlay {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/Views/AppKit/NSAsyncIcon.swift:53:14: note: only concrete types such as structs, enums and classes can conform to protocols
.overlay {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/Views/AppKit/NSAsyncIcon.swift:53:14: note: required by instance method 'overlay(_:ignoresSafeAreaEdges:)' where 'S' = '() -> ()'
.overlay {
^
[16/16] Compiling NSIcon WKExtensions.swift
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/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/Media.xcassets
[0/1] Planning build
Building for debugging...
[1/5] Compiling NSIcon Extensions.swift
[2/5] Compiling NSIcon AppPlatform.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/AppPlatform.swift:27:47: error: type 'Bundle?' has no member 'module'
Image("AppIconMask", bundle: .module)
~^~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/AppPlatform.swift:32:50: error: type 'Bundle?' has no member 'module'
Image("MacAppIconMask", bundle: .module)
~^~~~~~
[3/6] Emitting module NSIcon
[4/6] Compiling NSIcon NSIconVM.swift
[5/6] Compiling NSIcon NSAsyncIcon.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/Views/AppKit/NSAsyncIcon.swift:53:14: error: type '() -> ()' cannot conform to 'ShapeStyle'
.overlay {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/Views/AppKit/NSAsyncIcon.swift:53:14: note: only concrete types such as structs, enums and classes can conform to protocols
.overlay {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/Views/AppKit/NSAsyncIcon.swift:53:14: note: required by instance method 'overlay(_:ignoresSafeAreaEdges:)' where 'S' = '() -> ()'
.overlay {
^
[6/6] Compiling NSIcon NSIcon.swift
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/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/Media.xcassets
BUILD FAILURE 5.9 macosSpm