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 OMJoystick, reference master (d126e4), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 16:56:16 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/tichise/OMJoystick.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tichise/OMJoystick
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d126e4b Merge pull request #23 from tichise/feature/error-bugfix
Cloned https://github.com/tichise/OMJoystick.git
Revision (git rev-parse @):
d126e4bcdf1c2c4e239097811fa6743efc570677
SUCCESS checkout https://github.com/tichise/OMJoystick.git at master
========================================
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": "omjoystick",
      "name": "OMJoystick",
      "url": "https://github.com/tichise/OMJoystick.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OMJoystick",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/tichise/OMJoystick.git
[1/741] Fetching omjoystick
Fetched https://github.com/tichise/OMJoystick.git from cache (0.78s)
Creating working copy for https://github.com/tichise/OMJoystick.git
Working copy of https://github.com/tichise/OMJoystick.git resolved at master (d126e4b)
warning: '.resolve-product-dependencies': dependency 'omjoystick' 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/tichise/OMJoystick.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "OMJoystick",
  "name" : "OMJoystick",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "OMJoystick",
      "targets" : [
        "OMJoystick"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "OMJoystickTests",
      "module_type" : "SwiftTarget",
      "name" : "OMJoystickTests",
      "path" : "Tests/OMJoystickTests",
      "sources" : [
        "JoyStickStateCalculatorUnitTest.swift"
      ],
      "target_dependencies" : [
        "OMJoystick"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OMJoystick",
      "module_type" : "SwiftTarget",
      "name" : "OMJoystick",
      "path" : "Sources",
      "product_memberships" : [
        "OMJoystick"
      ],
      "sources" : [
        "BigRing.swift",
        "CGFloat+Joystick.swift",
        "CGPoint+Joystick.swift",
        "ColorSetting.swift",
        "IconSetting.swift",
        "JoyStickStateCalculator.swift",
        "OMJoyStick.swift",
        "SmallRing.swift",
        "ViewModel/OMJoystickViewModel.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/12] Compiling OMJoystick SmallRing.swift
/Users/admin/builder/spi-builder-workspace/Sources/CGPoint+Joystick.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension CGPoint {
[4/12] Compiling OMJoystick OMJoystickViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/CGPoint+Joystick.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension CGPoint {
[5/12] Compiling OMJoystick JoyStickStateCalculator.swift
/Users/admin/builder/spi-builder-workspace/Sources/CGPoint+Joystick.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension CGPoint {
[6/12] Compiling OMJoystick IconSetting.swift
/Users/admin/builder/spi-builder-workspace/Sources/CGPoint+Joystick.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension CGPoint {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/12] Compiling OMJoystick OMJoyStick.swift
/Users/admin/builder/spi-builder-workspace/Sources/CGPoint+Joystick.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension CGPoint {
[8/12] Emitting module OMJoystick
/Users/admin/builder/spi-builder-workspace/Sources/CGPoint+Joystick.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension CGPoint {
[9/12] Compiling OMJoystick CGPoint+Joystick.swift
/Users/admin/builder/spi-builder-workspace/Sources/CGPoint+Joystick.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension CGPoint {
[10/12] Compiling OMJoystick ColorSetting.swift
/Users/admin/builder/spi-builder-workspace/Sources/CGPoint+Joystick.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension CGPoint {
[11/12] Compiling OMJoystick BigRing.swift
/Users/admin/builder/spi-builder-workspace/Sources/CGPoint+Joystick.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension CGPoint {
[12/12] Compiling OMJoystick CGFloat+Joystick.swift
/Users/admin/builder/spi-builder-workspace/Sources/CGPoint+Joystick.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension CGPoint {
BUILD FAILURE 6.0 macosSpm