The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build NSIcon with Swift 5.9 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.28.6
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Stv-X/NSIcon.git
Reference: 2.1.0
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/Stv-X/NSIcon
 * tag               2.1.0      -> FETCH_HEAD
HEAD is now at bf32e65 Fix an error that Mac app icon with a mask will be scaled to an inappropriate size
Cloned https://github.com/Stv-X/NSIcon.git
Revision (git rev-parse @):
bf32e65def0883a99409ced2136a1c279f90b6d8
SUCCESS checkout https://github.com/Stv-X/NSIcon.git at 2.1.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/TDmZkXJm/0/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/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NSIcon",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Stv-X/NSIcon.git from cache
Fetched https://github.com/Stv-X/NSIcon.git (0.37s)
Creating working copy for https://github.com/Stv-X/NSIcon.git
Working copy of https://github.com/Stv-X/NSIcon.git resolved at 2.1.0
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-Beta.app xcrun swift build --arch arm64
Building for debugging...
[1/15] Emitting module NSIcon
[2/16] Compiling NSIcon IconPlaceholderStyle.swift
[3/16] Compiling NSIcon NSExtensions.swift
[4/16] Compiling NSIcon NSIconVM.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/Views/AppKit/NSAsyncIcon.swift:53:14: error: type '() -> ()' cannot conform to 'ShapeStyle'
            .overlay {
             ^
/Users/builder/builds/TDmZkXJm/0/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/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/Views/AppKit/NSAsyncIcon.swift:53:14: note: required by instance method 'overlay(_:ignoresSafeAreaEdges:)' where 'S' = '() -> ()'
            .overlay {
             ^
[5/16] Compiling NSIcon NSAsyncIcon.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/Views/AppKit/NSAsyncIcon.swift:53:14: error: type '() -> ()' cannot conform to 'ShapeStyle'
            .overlay {
             ^
/Users/builder/builds/TDmZkXJm/0/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/builder/builds/TDmZkXJm/0/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/16] Compiling NSIcon Icon.swift
[7/16] Compiling NSIcon AsyncIconVM.swift
[8/16] Compiling NSIcon WKExtensions.swift
[9/16] Compiling NSIcon NSIcon.swift
[10/16] Compiling NSIcon UIAsyncIcon.swift
[11/16] Compiling NSIcon AppPlatform.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/AppPlatform.swift:27:47: error: type 'Bundle?' has no member 'module'
                Image("AppIconMask", bundle: .module)
                                             ~^~~~~~
/Users/builder/builds/TDmZkXJm/0/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/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/AppPlatform.swift:27:47: error: type 'Bundle?' has no member 'module'
                Image("AppIconMask", bundle: .module)
                                             ~^~~~~~
/Users/builder/builds/TDmZkXJm/0/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] Compiling NSIcon AppIconLayer.swift
[14/16] Compiling NSIcon VNExtensions.swift
[15/16] Compiling NSIcon UIIcon.swift
[16/16] Compiling NSIcon UIExtensions.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/builder/builds/TDmZkXJm/0/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 NSIconVM.swift
[3/5] Emitting module NSIcon
[4/5] Compiling NSIcon AppPlatform.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/AppPlatform.swift:27:47: error: type 'Bundle?' has no member 'module'
                Image("AppIconMask", bundle: .module)
                                             ~^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/AppPlatform.swift:32:50: error: type 'Bundle?' has no member 'module'
                Image("MacAppIconMask", bundle: .module)
                                                ~^~~~~~
[5/5] Compiling NSIcon NSAsyncIcon.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/Views/AppKit/NSAsyncIcon.swift:53:14: error: type '() -> ()' cannot conform to 'ShapeStyle'
            .overlay {
             ^
/Users/builder/builds/TDmZkXJm/0/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/builder/builds/TDmZkXJm/0/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/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NSIcon/Media.xcassets
BUILD FAILURE 5.9 macosSpm