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 JoyStickView, reference main (c240bb), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 23:24:12 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bradhowes/Joystick.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bradhowes/Joystick
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c240bb6 Use Xcode 16.1
Cloned https://github.com/bradhowes/Joystick.git
Revision (git rev-parse @):
c240bb6e5a84fb00f01862d2a6dca28a43504679
SUCCESS checkout https://github.com/bradhowes/Joystick.git at main
Fetching https://github.com/apple/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.27s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.59s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3187] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.63s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.65s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
========================================
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": "joystick",
      "name": "JoyStickView",
      "url": "https://github.com/bradhowes/Joystick.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Joystick",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/bradhowes/Joystick.git
[1/2097] Fetching joystick
Fetched https://github.com/bradhowes/Joystick.git from cache (1.32s)
Creating working copy for https://github.com/bradhowes/Joystick.git
Working copy of https://github.com/bradhowes/Joystick.git resolved at main (c240bb6)
warning: '.resolve-product-dependencies': dependency 'joystick' 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/bradhowes/Joystick.git
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "JoyStickView",
  "name" : "JoyStickView",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "JoyStickView",
      "targets" : [
        "JoyStickView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JoyStickViewTests",
      "module_type" : "SwiftTarget",
      "name" : "JoyStickViewTests",
      "path" : "Tests/JoyStickViewTests",
      "sources" : [
        "Bundle+AdditionsTests.swift",
        "CoreGraphics+AdditionsTests.swift",
        "JoyStickViewMonitorTests.swift",
        "JoyStickViewTests.swift"
      ],
      "target_dependencies" : [
        "JoyStickView"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JoyStickView",
      "module_type" : "SwiftTarget",
      "name" : "JoyStickView",
      "path" : "Sources/JoyStickView",
      "product_memberships" : [
        "JoyStickView"
      ],
      "sources" : [
        "Bundle+Additions.swift",
        "CoreGraphics+Additions.swift",
        "JoyStickView.swift",
        "JoyStickViewMonitor.swift",
        "Polar.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/10] Compiling JoyStickView JoyStickViewMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/JoyStickView/JoyStickView.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2020 Brad Howes. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 | import CoreGraphics
  5 |
[6/10] Compiling JoyStickView Polar.swift
/Users/admin/builder/spi-builder-workspace/Sources/JoyStickView/JoyStickView.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2020 Brad Howes. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 | import CoreGraphics
  5 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] Emitting module JoyStickView
/Users/admin/builder/spi-builder-workspace/Sources/JoyStickView/JoyStickView.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2020 Brad Howes. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 | import CoreGraphics
  5 |
[8/10] Compiling JoyStickView JoyStickView.swift
/Users/admin/builder/spi-builder-workspace/Sources/JoyStickView/JoyStickView.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2020 Brad Howes. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 | import CoreGraphics
  5 |
[9/10] Compiling JoyStickView Bundle+Additions.swift
/Users/admin/builder/spi-builder-workspace/Sources/JoyStickView/JoyStickView.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2020 Brad Howes. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 | import CoreGraphics
  5 |
[10/10] Compiling JoyStickView CoreGraphics+Additions.swift
/Users/admin/builder/spi-builder-workspace/Sources/JoyStickView/JoyStickView.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2020 Brad Howes. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 | import CoreGraphics
  5 |
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/JoyStickView/Resources/Assets.xcassets
BUILD FAILURE 6.0 macosSpm