The Swift Package Index logo.Swift Package Index

Build Information

Successful build of GraduatedSlider, reference main (d8fa79), with Swift 6.1 for macOS (SPM) on 24 Apr 2026 19:05:08 UTC.

Swift 6 data race errors: 0

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.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sardon/GraduatedSlider.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sardon/GraduatedSlider
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d8fa794 Add macOS support and SwiftUI wrapper
Cloned https://github.com/sardon/GraduatedSlider.git
Revision (git rev-parse @):
d8fa7948c08a989cbbb8e66ecfc65c96f11b56e1
SUCCESS checkout https://github.com/sardon/GraduatedSlider.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/sardon/GraduatedSlider.git
https://github.com/sardon/GraduatedSlider.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "GraduatedSlider",
  "name" : "GraduatedSlider",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "GraduatedSlider",
      "targets" : [
        "GraduatedSlider"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "GraduatedSliderTests",
      "module_type" : "SwiftTarget",
      "name" : "GraduatedSliderTests",
      "path" : "Tests/GraduatedSliderTests",
      "sources" : [
        "GraduatedSliderTests.swift"
      ],
      "target_dependencies" : [
        "GraduatedSlider"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GraduatedSlider",
      "module_type" : "SwiftTarget",
      "name" : "GraduatedSlider",
      "path" : "Sources/GraduatedSlider",
      "product_memberships" : [
        "GraduatedSlider"
      ],
      "sources" : [
        "BackgroundLayer.swift",
        "CGContext+Utils.swift",
        "CursorLayer.swift",
        "GraduatedSlider.swift",
        "GraduatedSliderView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
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/8] Compiling GraduatedSlider CursorLayer.swift
[4/8] Emitting module GraduatedSlider
[5/8] Compiling GraduatedSlider GraduatedSliderView.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraduatedSlider/GraduatedSliderView.swift:23:12: warning: main actor-isolated property 'minimumValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 11 | // MARK: - Shared configuration
 12 |
 13 | private func apply(_ slider: GraduatedSlider,
    |              `- note: add '@MainActor' to make global function 'apply(_:value:minimumValue:maximumValue:isHorizontal:isHapticFeedbackEnabled:graduationColor:cursorColor:cursorOutlineColor:cursorHighlightedColor:)' part of global actor 'MainActor'
 14 |                    value: CGFloat,
 15 |                    minimumValue: CGFloat,
    :
 21 |                    cursorOutlineColor: PlatformColor,
 22 |                    cursorHighlightedColor: PlatformColor) {
 23 |     slider.minimumValue = minimumValue
    |            `- warning: main actor-isolated property 'minimumValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 24 |     slider.maximumValue = maximumValue
 25 |     slider.isHorizontal = isHorizontal
/Users/admin/builder/spi-builder-workspace/Sources/GraduatedSlider/GraduatedSlider.swift:55:37: note: mutation of this property is only permitted within the actor
 53 |
 54 |     /// The slider minimum value
 55 |     @IBInspectable open dynamic var minimumValue: CGFloat = 0.0 {
    |                                     `- note: mutation of this property is only permitted within the actor
 56 |         didSet { updateLayerFrames() }
 57 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GraduatedSlider/GraduatedSliderView.swift:24:12: warning: main actor-isolated property 'maximumValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 11 | // MARK: - Shared configuration
 12 |
 13 | private func apply(_ slider: GraduatedSlider,
    |              `- note: add '@MainActor' to make global function 'apply(_:value:minimumValue:maximumValue:isHorizontal:isHapticFeedbackEnabled:graduationColor:cursorColor:cursorOutlineColor:cursorHighlightedColor:)' part of global actor 'MainActor'
 14 |                    value: CGFloat,
 15 |                    minimumValue: CGFloat,
    :
 22 |                    cursorHighlightedColor: PlatformColor) {
 23 |     slider.minimumValue = minimumValue
 24 |     slider.maximumValue = maximumValue
    |            `- warning: main actor-isolated property 'maximumValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 25 |     slider.isHorizontal = isHorizontal
 26 |     slider.isHapticFeedbackEnabled = isHapticFeedbackEnabled
/Users/admin/builder/spi-builder-workspace/Sources/GraduatedSlider/GraduatedSlider.swift:60:37: note: mutation of this property is only permitted within the actor
 58 |
 59 |     /// The slider maximum value
 60 |     @IBInspectable open dynamic var maximumValue: CGFloat = 1.0 {
    |                                     `- note: mutation of this property is only permitted within the actor
 61 |         didSet { updateLayerFrames() }
 62 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GraduatedSlider/GraduatedSliderView.swift:25:12: warning: main actor-isolated property 'isHorizontal' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 11 | // MARK: - Shared configuration
 12 |
 13 | private func apply(_ slider: GraduatedSlider,
    |              `- note: add '@MainActor' to make global function 'apply(_:value:minimumValue:maximumValue:isHorizontal:isHapticFeedbackEnabled:graduationColor:cursorColor:cursorOutlineColor:cursorHighlightedColor:)' part of global actor 'MainActor'
 14 |                    value: CGFloat,
 15 |                    minimumValue: CGFloat,
    :
 23 |     slider.minimumValue = minimumValue
 24 |     slider.maximumValue = maximumValue
 25 |     slider.isHorizontal = isHorizontal
    |            `- warning: main actor-isolated property 'isHorizontal' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 26 |     slider.isHapticFeedbackEnabled = isHapticFeedbackEnabled
 27 |     slider.graduationColor = graduationColor
/Users/admin/builder/spi-builder-workspace/Sources/GraduatedSlider/GraduatedSlider.swift:23:29: note: mutation of this property is only permitted within the actor
 21 |
 22 |     /// Set to true if the slider is horizontal
 23 |     @IBInspectable open var isHorizontal: Bool = false {
    |                             `- note: mutation of this property is only permitted within the actor
 24 |         didSet {
 25 |             backgroundLayer.isHorizontal = isHorizontal
/Users/admin/builder/spi-builder-workspace/Sources/GraduatedSlider/GraduatedSliderView.swift:26:12: warning: main actor-isolated property 'isHapticFeedbackEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 11 | // MARK: - Shared configuration
 12 |
 13 | private func apply(_ slider: GraduatedSlider,
    |              `- note: add '@MainActor' to make global function 'apply(_:value:minimumValue:maximumValue:isHorizontal:isHapticFeedbackEnabled:graduationColor:cursorColor:cursorOutlineColor:cursorHighlightedColor:)' part of global actor 'MainActor'
 14 |                    value: CGFloat,
 15 |                    minimumValue: CGFloat,
    :
 24 |     slider.maximumValue = maximumValue
 25 |     slider.isHorizontal = isHorizontal
 26 |     slider.isHapticFeedbackEnabled = isHapticFeedbackEnabled
    |            `- warning: main actor-isolated property 'isHapticFeedbackEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 27 |     slider.graduationColor = graduationColor
 28 |     slider.cursorColor = cursorColor
/Users/admin/builder/spi-builder-workspace/Sources/GraduatedSlider/GraduatedSlider.swift:52:37: note: mutation of this property is only permitted within the actor
 50 |
 51 |     /// Generate haptic feedback when passing over the graduations
 52 |     @IBInspectable open dynamic var isHapticFeedbackEnabled: Bool = true
    |                                     `- note: mutation of this property is only permitted within the actor
 53 |
 54 |     /// The slider minimum value
/Users/admin/builder/spi-builder-workspace/Sources/GraduatedSlider/GraduatedSliderView.swift:27:12: warning: main actor-isolated property 'graduationColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 11 | // MARK: - Shared configuration
 12 |
 13 | private func apply(_ slider: GraduatedSlider,
    |              `- note: add '@MainActor' to make global function 'apply(_:value:minimumValue:maximumValue:isHorizontal:isHapticFeedbackEnabled:graduationColor:cursorColor:cursorOutlineColor:cursorHighlightedColor:)' part of global actor 'MainActor'
 14 |                    value: CGFloat,
 15 |                    minimumValue: CGFloat,
    :
 25 |     slider.isHorizontal = isHorizontal
 26 |     slider.isHapticFeedbackEnabled = isHapticFeedbackEnabled
 27 |     slider.graduationColor = graduationColor
    |            `- warning: main actor-isolated property 'graduationColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 28 |     slider.cursorColor = cursorColor
 29 |     slider.cursorOutlineColor = cursorOutlineColor
/Users/admin/builder/spi-builder-workspace/Sources/GraduatedSlider/GraduatedSlider.swift:32:29: note: mutation of this property is only permitted within the actor
 30 |
 31 |     /// The slider's graduations color
 32 |     @IBInspectable open var graduationColor: PlatformColor = PlatformColor(white: 1.0, alpha: 0.7) {
    |                             `- note: mutation of this property is only permitted within the actor
 33 |         didSet { backgroundLayer.graduationsColor = graduationColor.cgColor }
 34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GraduatedSlider/GraduatedSliderView.swift:28:12: warning: main actor-isolated property 'cursorColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 11 | // MARK: - Shared configuration
 12 |
 13 | private func apply(_ slider: GraduatedSlider,
    |              `- note: add '@MainActor' to make global function 'apply(_:value:minimumValue:maximumValue:isHorizontal:isHapticFeedbackEnabled:graduationColor:cursorColor:cursorOutlineColor:cursorHighlightedColor:)' part of global actor 'MainActor'
 14 |                    value: CGFloat,
 15 |                    minimumValue: CGFloat,
    :
 26 |     slider.isHapticFeedbackEnabled = isHapticFeedbackEnabled
 27 |     slider.graduationColor = graduationColor
 28 |     slider.cursorColor = cursorColor
    |            `- warning: main actor-isolated property 'cursorColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 29 |     slider.cursorOutlineColor = cursorOutlineColor
 30 |     slider.cursorHighlightedColor = cursorHighlightedColor
/Users/admin/builder/spi-builder-workspace/Sources/GraduatedSlider/GraduatedSlider.swift:37:29: note: mutation of this property is only permitted within the actor
 35 |
 36 |     /// The slider's cursor color
 37 |     @IBInspectable open var cursorColor: PlatformColor = PlatformColor(white: 0.85, alpha: 0.7) {
    |                             `- note: mutation of this property is only permitted within the actor
 38 |         didSet { cursorLayer.cursorColor = cursorColor.cgColor }
 39 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GraduatedSlider/GraduatedSliderView.swift:29:12: warning: main actor-isolated property 'cursorOutlineColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 11 | // MARK: - Shared configuration
 12 |
 13 | private func apply(_ slider: GraduatedSlider,
    |              `- note: add '@MainActor' to make global function 'apply(_:value:minimumValue:maximumValue:isHorizontal:isHapticFeedbackEnabled:graduationColor:cursorColor:cursorOutlineColor:cursorHighlightedColor:)' part of global actor 'MainActor'
 14 |                    value: CGFloat,
 15 |                    minimumValue: CGFloat,
    :
 27 |     slider.graduationColor = graduationColor
 28 |     slider.cursorColor = cursorColor
 29 |     slider.cursorOutlineColor = cursorOutlineColor
    |            `- warning: main actor-isolated property 'cursorOutlineColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 30 |     slider.cursorHighlightedColor = cursorHighlightedColor
 31 |     if slider.value != value {
/Users/admin/builder/spi-builder-workspace/Sources/GraduatedSlider/GraduatedSlider.swift:42:29: note: mutation of this property is only permitted within the actor
 40 |
 41 |     /// The slider's cursor outline color
 42 |     @IBInspectable open var cursorOutlineColor: PlatformColor = PlatformColor(white: 0.7, alpha: 0.64) {
    |                             `- note: mutation of this property is only permitted within the actor
 43 |         didSet { cursorLayer.cursorOutlineColor = cursorOutlineColor.cgColor }
 44 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GraduatedSlider/GraduatedSliderView.swift:30:12: warning: main actor-isolated property 'cursorHighlightedColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 11 | // MARK: - Shared configuration
 12 |
 13 | private func apply(_ slider: GraduatedSlider,
    |              `- note: add '@MainActor' to make global function 'apply(_:value:minimumValue:maximumValue:isHorizontal:isHapticFeedbackEnabled:graduationColor:cursorColor:cursorOutlineColor:cursorHighlightedColor:)' part of global actor 'MainActor'
 14 |                    value: CGFloat,
 15 |                    minimumValue: CGFloat,
    :
 28 |     slider.cursorColor = cursorColor
 29 |     slider.cursorOutlineColor = cursorOutlineColor
 30 |     slider.cursorHighlightedColor = cursorHighlightedColor
    |            `- warning: main actor-isolated property 'cursorHighlightedColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 31 |     if slider.value != value {
 32 |         slider.value = value
/Users/admin/builder/spi-builder-workspace/Sources/GraduatedSlider/GraduatedSlider.swift:47:29: note: mutation of this property is only permitted within the actor
 45 |
 46 |     /// The slider's cursor color when highlighted (currently tracking)
 47 |     @IBInspectable open var cursorHighlightedColor: PlatformColor = PlatformColor(white: 1.0, alpha: 1.0) {
    |                             `- note: mutation of this property is only permitted within the actor
 48 |         didSet { cursorLayer.cursorHighlightedColor = cursorHighlightedColor.cgColor }
 49 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GraduatedSlider/GraduatedSliderView.swift:31:15: warning: main actor-isolated property 'value' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 11 | // MARK: - Shared configuration
 12 |
 13 | private func apply(_ slider: GraduatedSlider,
    |              `- note: add '@MainActor' to make global function 'apply(_:value:minimumValue:maximumValue:isHorizontal:isHapticFeedbackEnabled:graduationColor:cursorColor:cursorOutlineColor:cursorHighlightedColor:)' part of global actor 'MainActor'
 14 |                    value: CGFloat,
 15 |                    minimumValue: CGFloat,
    :
 29 |     slider.cursorOutlineColor = cursorOutlineColor
 30 |     slider.cursorHighlightedColor = cursorHighlightedColor
 31 |     if slider.value != value {
    |               `- warning: main actor-isolated property 'value' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 32 |         slider.value = value
 33 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GraduatedSlider/GraduatedSlider.swift:65:37: note: property declared here
 63 |
 64 |     /// The slider current value
 65 |     @IBInspectable open dynamic var value: CGFloat = 0.5 {
    |                                     `- note: property declared here
 66 |         didSet { updateLayerFrames() }
 67 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GraduatedSlider/GraduatedSliderView.swift:32:16: warning: main actor-isolated property 'value' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 11 | // MARK: - Shared configuration
 12 |
 13 | private func apply(_ slider: GraduatedSlider,
    |              `- note: add '@MainActor' to make global function 'apply(_:value:minimumValue:maximumValue:isHorizontal:isHapticFeedbackEnabled:graduationColor:cursorColor:cursorOutlineColor:cursorHighlightedColor:)' part of global actor 'MainActor'
 14 |                    value: CGFloat,
 15 |                    minimumValue: CGFloat,
    :
 30 |     slider.cursorHighlightedColor = cursorHighlightedColor
 31 |     if slider.value != value {
 32 |         slider.value = value
    |                `- warning: main actor-isolated property 'value' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 33 |     }
 34 | }
/Users/admin/builder/spi-builder-workspace/Sources/GraduatedSlider/GraduatedSlider.swift:65:37: note: mutation of this property is only permitted within the actor
 63 |
 64 |     /// The slider current value
 65 |     @IBInspectable open dynamic var value: CGFloat = 0.5 {
    |                                     `- note: mutation of this property is only permitted within the actor
 66 |         didSet { updateLayerFrames() }
 67 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GraduatedSlider/GraduatedSliderView.swift:156:90: warning: main actor-isolated property 'value' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
154 |         private var value: Binding<CGFloat>
155 |         init(value: Binding<CGFloat>) { self.value = value }
156 |         @objc func valueChanged(_ sender: GraduatedSlider) { value.wrappedValue = sender.value }
    |                    |                                                                     `- warning: main actor-isolated property 'value' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
    |                    `- note: add '@MainActor' to make instance method 'valueChanged' part of global actor 'MainActor'
157 |     }
158 | }
/Users/admin/builder/spi-builder-workspace/Sources/GraduatedSlider/GraduatedSlider.swift:65:37: note: property declared here
 63 |
 64 |     /// The slider current value
 65 |     @IBInspectable open dynamic var value: CGFloat = 0.5 {
    |                                     `- note: property declared here
 66 |         didSet { updateLayerFrames() }
 67 |     }
[6/8] Compiling GraduatedSlider GraduatedSlider.swift
[7/8] Compiling GraduatedSlider CGContext+Utils.swift
[8/8] Compiling GraduatedSlider BackgroundLayer.swift
Build complete! (7.63s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "GraduatedSlider",
  "name" : "GraduatedSlider",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "GraduatedSlider",
      "targets" : [
        "GraduatedSlider"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "GraduatedSliderTests",
      "module_type" : "SwiftTarget",
      "name" : "GraduatedSliderTests",
      "path" : "Tests/GraduatedSliderTests",
      "sources" : [
        "GraduatedSliderTests.swift"
      ],
      "target_dependencies" : [
        "GraduatedSlider"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GraduatedSlider",
      "module_type" : "SwiftTarget",
      "name" : "GraduatedSlider",
      "path" : "Sources/GraduatedSlider",
      "product_memberships" : [
        "GraduatedSlider"
      ],
      "sources" : [
        "BackgroundLayer.swift",
        "CGContext+Utils.swift",
        "CursorLayer.swift",
        "GraduatedSlider.swift",
        "GraduatedSliderView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.