The Swift Package Index logo.Swift Package Index

Build Information

Successful build of FluidGradient, reference main (9ddda4), with Swift 6.1 for macOS (SPM) on 10 Apr 2026 01:51:14 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.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Cindori/FluidGradient.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Cindori/FluidGradient
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9ddda4c Fix badge colors
Cloned https://github.com/Cindori/FluidGradient.git
Revision (git rev-parse @):
9ddda4cf23671ef0228e88681ec6210cb3e0d7f7
SUCCESS checkout https://github.com/Cindori/FluidGradient.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Cindori/FluidGradient.git
https://github.com/Cindori/FluidGradient.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FluidGradient",
  "name" : "FluidGradient",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "FluidGradient",
      "targets" : [
        "FluidGradient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FluidGradient",
      "module_type" : "SwiftTarget",
      "name" : "FluidGradient",
      "path" : "Sources/FluidGradient",
      "product_memberships" : [
        "FluidGradient"
      ],
      "sources" : [
        "BlobLayer.swift",
        "CGPoint+Extensions.swift",
        "FluidGradient.swift",
        "FluidGradientView.swift",
        "ResizableLayer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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 FluidGradient CGPoint+Extensions.swift
[4/8] Emitting module FluidGradient
[5/8] Compiling FluidGradient BlobLayer.swift
[6/8] Compiling FluidGradient ResizableLayer.swift
[7/8] Compiling FluidGradient FluidGradient.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluidGradient/FluidGradient.swift:105:25: warning: call to main actor-isolated initializer 'init(blobs:highlights:speed:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
103 |             self.speed = speed
104 |             self.blurValue = blurValue
105 |             self.view = FluidGradientView(blobs: blobs,
    |                         `- warning: call to main actor-isolated initializer 'init(blobs:highlights:speed:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
106 |                                           highlights: highlights,
107 |                                           speed: speed)
/Users/admin/builder/spi-builder-workspace/Sources/FluidGradient/FluidGradientView.swift:32:5: note: calls to initializer 'init(blobs:highlights:speed:)' from outside of its actor context are implicitly asynchronous
 30 |     weak var delegate: FluidGradientDelegate?
 31 |
 32 |     init(blobs: [Color] = [],
    |     |- note: calls to initializer 'init(blobs:highlights:speed:)' from outside of its actor context are implicitly asynchronous
    |     `- note: main actor isolation inferred from inheritance from class 'NSView'
 33 |          highlights: [Color] = [],
 34 |          speed: CGFloat = 1.0) {
/Users/admin/builder/spi-builder-workspace/Sources/FluidGradient/FluidGradient.swift:108:23: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
106 |                                           highlights: highlights,
107 |                                           speed: speed)
108 |             self.view.delegate = self
    |                       `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
109 |         }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/FluidGradient/FluidGradientView.swift:30:14: note: mutation of this property is only permitted within the actor
 28 |     var cancellables = Set<AnyCancellable>()
 29 |
 30 |     weak var delegate: FluidGradientDelegate?
    |              `- note: mutation of this property is only permitted within the actor
 31 |
 32 |     init(blobs: [Color] = [],
/Users/admin/builder/spi-builder-workspace/Sources/FluidGradient/FluidGradient.swift:117:18: warning: call to main actor-isolated instance method 'create(_:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
110 |
111 |         /// Create blobs and highlights
112 |         func create(blobs: [Color], highlights: [Color]) {
    |              `- note: add '@MainActor' to make instance method 'create(blobs:highlights:)' part of global actor 'MainActor'
113 |             guard blobs != self.blobs || highlights != self.highlights else { return }
114 |             self.blobs = blobs
115 |             self.highlights = highlights
116 |
117 |             view.create(blobs, layer: view.baseLayer)
    |                  `- warning: call to main actor-isolated instance method 'create(_:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 |             view.create(highlights, layer: view.highlightLayer)
119 |             view.update(speed: speed)
/Users/admin/builder/spi-builder-workspace/Sources/FluidGradient/FluidGradientView.swift:71:17: note: calls to instance method 'create(_:layer:)' from outside of its actor context are implicitly asynchronous
 69 |
 70 |     /// Create blobs and add to specified layer
 71 |     public func create(_ colors: [Color], layer: CALayer) {
    |                 |- note: calls to instance method 'create(_:layer:)' from outside of its actor context are implicitly asynchronous
    |                 `- note: main actor isolation inferred from inheritance from class 'NSView'
 72 |         // Remove blobs at the end if colors are removed
 73 |         let count = layer.sublayers?.count ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/FluidGradient/FluidGradient.swift:117:44: warning: main actor-isolated property 'baseLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
110 |
111 |         /// Create blobs and highlights
112 |         func create(blobs: [Color], highlights: [Color]) {
    |              `- note: add '@MainActor' to make instance method 'create(blobs:highlights:)' part of global actor 'MainActor'
113 |             guard blobs != self.blobs || highlights != self.highlights else { return }
114 |             self.blobs = blobs
115 |             self.highlights = highlights
116 |
117 |             view.create(blobs, layer: view.baseLayer)
    |                                            `- warning: main actor-isolated property 'baseLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
118 |             view.create(highlights, layer: view.highlightLayer)
119 |             view.update(speed: speed)
/Users/admin/builder/spi-builder-workspace/Sources/FluidGradient/FluidGradientView.swift:25:9: note: property declared here
 23 |     var speed: CGFloat
 24 |
 25 |     let baseLayer = ResizableLayer()
    |         `- note: property declared here
 26 |     let highlightLayer = ResizableLayer()
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/FluidGradient/FluidGradient.swift:118:18: warning: call to main actor-isolated instance method 'create(_:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
110 |
111 |         /// Create blobs and highlights
112 |         func create(blobs: [Color], highlights: [Color]) {
    |              `- note: add '@MainActor' to make instance method 'create(blobs:highlights:)' part of global actor 'MainActor'
113 |             guard blobs != self.blobs || highlights != self.highlights else { return }
114 |             self.blobs = blobs
    :
116 |
117 |             view.create(blobs, layer: view.baseLayer)
118 |             view.create(highlights, layer: view.highlightLayer)
    |                  `- warning: call to main actor-isolated instance method 'create(_:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
119 |             view.update(speed: speed)
120 |         }
/Users/admin/builder/spi-builder-workspace/Sources/FluidGradient/FluidGradientView.swift:71:17: note: calls to instance method 'create(_:layer:)' from outside of its actor context are implicitly asynchronous
 69 |
 70 |     /// Create blobs and add to specified layer
 71 |     public func create(_ colors: [Color], layer: CALayer) {
    |                 |- note: calls to instance method 'create(_:layer:)' from outside of its actor context are implicitly asynchronous
    |                 `- note: main actor isolation inferred from inheritance from class 'NSView'
 72 |         // Remove blobs at the end if colors are removed
 73 |         let count = layer.sublayers?.count ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/FluidGradient/FluidGradient.swift:118:49: warning: main actor-isolated property 'highlightLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
110 |
111 |         /// Create blobs and highlights
112 |         func create(blobs: [Color], highlights: [Color]) {
    |              `- note: add '@MainActor' to make instance method 'create(blobs:highlights:)' part of global actor 'MainActor'
113 |             guard blobs != self.blobs || highlights != self.highlights else { return }
114 |             self.blobs = blobs
    :
116 |
117 |             view.create(blobs, layer: view.baseLayer)
118 |             view.create(highlights, layer: view.highlightLayer)
    |                                                 `- warning: main actor-isolated property 'highlightLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
119 |             view.update(speed: speed)
120 |         }
/Users/admin/builder/spi-builder-workspace/Sources/FluidGradient/FluidGradientView.swift:26:9: note: property declared here
 24 |
 25 |     let baseLayer = ResizableLayer()
 26 |     let highlightLayer = ResizableLayer()
    |         `- note: property declared here
 27 |
 28 |     var cancellables = Set<AnyCancellable>()
/Users/admin/builder/spi-builder-workspace/Sources/FluidGradient/FluidGradient.swift:119:18: warning: call to main actor-isolated instance method 'update(speed:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
110 |
111 |         /// Create blobs and highlights
112 |         func create(blobs: [Color], highlights: [Color]) {
    |              `- note: add '@MainActor' to make instance method 'create(blobs:highlights:)' part of global actor 'MainActor'
113 |             guard blobs != self.blobs || highlights != self.highlights else { return }
114 |             self.blobs = blobs
    :
117 |             view.create(blobs, layer: view.baseLayer)
118 |             view.create(highlights, layer: view.highlightLayer)
119 |             view.update(speed: speed)
    |                  `- warning: call to main actor-isolated instance method 'update(speed:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
120 |         }
121 |
/Users/admin/builder/spi-builder-workspace/Sources/FluidGradient/FluidGradientView.swift:91:17: note: calls to instance method 'update(speed:)' from outside of its actor context are implicitly asynchronous
 89 |
 90 |     /// Update sublayers and set speed and blur levels
 91 |     public func update(speed: CGFloat) {
    |                 |- note: calls to instance method 'update(speed:)' from outside of its actor context are implicitly asynchronous
    |                 `- note: main actor isolation inferred from inheritance from class 'NSView'
 92 |         cancellables.removeAll()
 93 |         self.speed = speed
/Users/admin/builder/spi-builder-workspace/Sources/FluidGradient/FluidGradient.swift:126:18: warning: call to main actor-isolated instance method 'update(speed:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
121 |
122 |         /// Update speed
123 |         func update(speed: CGFloat) {
    |              `- note: add '@MainActor' to make instance method 'update(speed:)' part of global actor 'MainActor'
124 |             guard speed != self.speed else { return }
125 |             self.speed = speed
126 |             view.update(speed: speed)
    |                  `- warning: call to main actor-isolated instance method 'update(speed:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 |         }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/FluidGradient/FluidGradientView.swift:91:17: note: calls to instance method 'update(speed:)' from outside of its actor context are implicitly asynchronous
 89 |
 90 |     /// Update sublayers and set speed and blur levels
 91 |     public func update(speed: CGFloat) {
    |                 |- note: calls to instance method 'update(speed:)' from outside of its actor context are implicitly asynchronous
    |                 `- note: main actor isolation inferred from inheritance from class 'NSView'
 92 |         cancellables.removeAll()
 93 |         self.speed = speed
[8/8] Compiling FluidGradient FluidGradientView.swift
Build complete! (7.82s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FluidGradient",
  "name" : "FluidGradient",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "FluidGradient",
      "targets" : [
        "FluidGradient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FluidGradient",
      "module_type" : "SwiftTarget",
      "name" : "FluidGradient",
      "path" : "Sources/FluidGradient",
      "product_memberships" : [
        "FluidGradient"
      ],
      "sources" : [
        "BlobLayer.swift",
        "CGPoint+Extensions.swift",
        "FluidGradient.swift",
        "FluidGradientView.swift",
        "ResizableLayer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.