The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Kinetics, reference 1.0.0 (4ae793), with Swift 6.0 for macOS (SPM) on 5 Sep 2025 08:03:15 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/roberthein/Kinetics.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/roberthein/Kinetics
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 4ae7931 Update screen recordings.
Cloned https://github.com/roberthein/Kinetics.git
Revision (git rev-parse @):
4ae7931eeb5d1ae969d02992017608ffdc1ed287
SUCCESS checkout https://github.com/roberthein/Kinetics.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/roberthein/Kinetics.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/12] Compiling Kinetics Kinetics+Clock.swift
[4/12] Compiling Kinetics Kinetics+Bounce.swift
[5/13] Compiling Kinetics Kinetics+Drag.swift
[6/13] Compiling Kinetics Kinetics+RubberBand.swift
[7/13] Compiling Kinetics Kinetics+Projection.swift
[8/13] Compiling Kinetics Kinetics+Sugar.swift
[9/13] Compiling Kinetics Kinetics+Rotation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Kinetics/Kinetics+Rotation.swift:99:58: error: main actor-isolated property 'viewSize' can not be mutated from a Sendable closure
 62 |
 63 |     /// Current view size for coordinate calculations
 64 |     @State private var viewSize: CGSize = .zero
    |                        `- note: mutation of this property is only permitted within the actor
 65 |     /// Previous angle for delta calculation
 66 |     @State private var previousAngle: Double? = nil
    :
 97 |                 Color.clear.preference(key: _KineticsSizeKey.self, value: proxy.size)
 98 |             })
 99 |             .onPreferenceChange(_KineticsSizeKey.self) { viewSize = $0 }
    |                                                          `- error: main actor-isolated property 'viewSize' can not be mutated from a Sendable closure
100 |             .contentShape(Rectangle())
101 |             .gesture(
[10/13] Compiling Kinetics Kinetics+Animatable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Kinetics/Kinetics+Animatable.swift:19:1: warning: extension declares a conformance of imported type 'CGPoint' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
17 | /// Extends CGPoint to conform to KineticsValue for 2D point animations.
18 | /// Maps x,y coordinates to/from a two-element components array.
19 | extension CGPoint: KineticsValue, @unchecked Sendable {
   | |- warning: extension declares a conformance of imported type 'CGPoint' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
20 |     public typealias FloatType = Double
21 |     public var components: [Double] {
/Users/admin/builder/spi-builder-workspace/Sources/Kinetics/Kinetics+Animatable.swift:38:1: warning: extension declares a conformance of imported type 'CGSize' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
36 | /// Extends CGSize to conform to KineticsValue for 2D size animations.
37 | /// Maps width,height dimensions to/from a two-element components array.
38 | extension CGSize: KineticsValue, @unchecked Sendable {
   | |- warning: extension declares a conformance of imported type 'CGSize' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
39 |     public typealias FloatType = Double
40 |     public var components: [Double] {
/Users/admin/builder/spi-builder-workspace/Sources/Kinetics/Kinetics+Animatable.swift:57:1: warning: extension declares a conformance of imported type 'CGRect' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
55 | /// Extends CGRect to conform to KineticsValue for 2D rectangle animations.
56 | /// Maps origin.x, origin.y, size.width, size.height to/from a four-element components array.
57 | extension CGRect: KineticsValue, @unchecked Sendable {
   | |- warning: extension declares a conformance of imported type 'CGRect' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
58 |     public typealias FloatType = Double
59 |     public var components: [Double] {
[11/13] Compiling Kinetics Kinetics+Animator.swift
[12/13] Emitting module Kinetics
/Users/admin/builder/spi-builder-workspace/Sources/Kinetics/Kinetics+Animatable.swift:19:1: warning: extension declares a conformance of imported type 'CGPoint' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
17 | /// Extends CGPoint to conform to KineticsValue for 2D point animations.
18 | /// Maps x,y coordinates to/from a two-element components array.
19 | extension CGPoint: KineticsValue, @unchecked Sendable {
   | |- warning: extension declares a conformance of imported type 'CGPoint' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
20 |     public typealias FloatType = Double
21 |     public var components: [Double] {
/Users/admin/builder/spi-builder-workspace/Sources/Kinetics/Kinetics+Animatable.swift:38:1: warning: extension declares a conformance of imported type 'CGSize' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
36 | /// Extends CGSize to conform to KineticsValue for 2D size animations.
37 | /// Maps width,height dimensions to/from a two-element components array.
38 | extension CGSize: KineticsValue, @unchecked Sendable {
   | |- warning: extension declares a conformance of imported type 'CGSize' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
39 |     public typealias FloatType = Double
40 |     public var components: [Double] {
/Users/admin/builder/spi-builder-workspace/Sources/Kinetics/Kinetics+Animatable.swift:57:1: warning: extension declares a conformance of imported type 'CGRect' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
55 | /// Extends CGRect to conform to KineticsValue for 2D rectangle animations.
56 | /// Maps origin.x, origin.y, size.width, size.height to/from a four-element components array.
57 | extension CGRect: KineticsValue, @unchecked Sendable {
   | |- warning: extension declares a conformance of imported type 'CGRect' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
58 |     public typealias FloatType = Double
59 |     public var components: [Double] {
[13/13] Compiling Kinetics Kinetics.swift
BUILD FAILURE 6.0 macosSpm