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

Successful build of SwiftUIJoystick, reference main (e643a7), with Swift 6.1 for macOS (SPM) on 23 Jun 2025 01:25:11 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/michael94ellis/SwiftUIJoystick.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/michael94ellis/SwiftUIJoystick
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e643a74 Deleted extra project file
Cloned https://github.com/michael94ellis/SwiftUIJoystick.git
Revision (git rev-parse @):
e643a74f84e50795612c7fba770edb0952d7c007
SUCCESS checkout https://github.com/michael94ellis/SwiftUIJoystick.git at main
========================================
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": "swiftuijoystick",
      "name": "SwiftUIJoystick",
      "url": "https://github.com/michael94ellis/SwiftUIJoystick.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUIJoystick",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/michael94ellis/SwiftUIJoystick.git
[1/634] Fetching swiftuijoystick
Fetched https://github.com/michael94ellis/SwiftUIJoystick.git from cache (1.00s)
Creating working copy for https://github.com/michael94ellis/SwiftUIJoystick.git
Working copy of https://github.com/michael94ellis/SwiftUIJoystick.git resolved at main (e643a74)
warning: '.resolve-product-dependencies': dependency 'swiftuijoystick' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/michael94ellis/SwiftUIJoystick.git
https://github.com/michael94ellis/SwiftUIJoystick.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftUIJoystick",
  "name" : "SwiftUIJoystick",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftUIJoystick",
      "targets" : [
        "SwiftUIJoystick"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftUIJoystickTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUIJoystickTests",
      "path" : "Tests/SwiftUIJoystickTests",
      "sources" : [
        "SwiftUIJoystickTests.swift"
      ],
      "target_dependencies" : [
        "SwiftUIJoystick"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftUIJoystick",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUIJoystick",
      "path" : "Sources/SwiftUIJoystick",
      "product_memberships" : [
        "SwiftUIJoystick"
      ],
      "sources" : [
        "CGPoint-Extension.swift",
        "JoystickBuilder.swift",
        "JoystickMonitor.swift",
        "JoystickRecognizer.swift",
        "JoystickShape.swift",
        "PolarCoordinate.swift",
        "View-Extension.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.txt
[3/10] Compiling SwiftUIJoystick JoystickRecognizer.swift
[4/10] Compiling SwiftUIJoystick JoystickBuilder.swift
[5/10] Compiling SwiftUIJoystick CGPoint-Extension.swift
[6/10] Emitting module SwiftUIJoystick
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIJoystick/PolarCoordinate.swift:25:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'PolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public struct PolarPoint: PolarCoordinate {
   |               `- note: consider making struct 'PolarPoint' conform to the 'Sendable' protocol
19 |
20 |     /// The direction from origin, up is 0° and right is 90°
   :
23 |     public var distance: CGFloat
24 |
25 |     public static let zero: PolarPoint = PolarPoint(degrees: 0, distance: 0)
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'PolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |     public init(degrees: CGFloat, distance: CGFloat) {
[7/10] Compiling SwiftUIJoystick JoystickShape.swift
[8/10] Compiling SwiftUIJoystick JoystickMonitor.swift
[9/10] Compiling SwiftUIJoystick View-Extension.swift
[10/10] Compiling SwiftUIJoystick PolarCoordinate.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIJoystick/PolarCoordinate.swift:25:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'PolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public struct PolarPoint: PolarCoordinate {
   |               `- note: consider making struct 'PolarPoint' conform to the 'Sendable' protocol
19 |
20 |     /// The direction from origin, up is 0° and right is 90°
   :
23 |     public var distance: CGFloat
24 |
25 |     public static let zero: PolarPoint = PolarPoint(degrees: 0, distance: 0)
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'PolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |     public init(degrees: CGFloat, distance: CGFloat) {
Build complete! (9.71s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftUIJoystick",
  "name" : "SwiftUIJoystick",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftUIJoystick",
      "targets" : [
        "SwiftUIJoystick"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftUIJoystickTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUIJoystickTests",
      "path" : "Tests/SwiftUIJoystickTests",
      "sources" : [
        "SwiftUIJoystickTests.swift"
      ],
      "target_dependencies" : [
        "SwiftUIJoystick"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftUIJoystick",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUIJoystick",
      "path" : "Sources/SwiftUIJoystick",
      "product_memberships" : [
        "SwiftUIJoystick"
      ],
      "sources" : [
        "CGPoint-Extension.swift",
        "JoystickBuilder.swift",
        "JoystickMonitor.swift",
        "JoystickRecognizer.swift",
        "JoystickShape.swift",
        "PolarCoordinate.swift",
        "View-Extension.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.