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 Animatable, reference main (10c0a8), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 21:31:45 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/c-villain/Animatable.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/c-villain/Animatable
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 10c0a82 no message
Cloned https://github.com/c-villain/Animatable.git
Revision (git rev-parse @):
10c0a828639b5379fb2262915125907eca4b02f6
SUCCESS checkout https://github.com/c-villain/Animatable.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": "animatable",
      "name": "Animatable",
      "url": "https://github.com/c-villain/Animatable.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Animatable",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/c-villain/Animatable.git
[1/230] Fetching animatable
Fetched https://github.com/c-villain/Animatable.git from cache (1.29s)
Creating working copy for https://github.com/c-villain/Animatable.git
Working copy of https://github.com/c-villain/Animatable.git resolved at main (10c0a82)
warning: '.resolve-product-dependencies': dependency 'animatable' 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/c-villain/Animatable.git
https://github.com/c-villain/Animatable.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Animatable",
  "name" : "Animatable",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Animatable",
      "targets" : [
        "Animatable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Animatable",
      "module_type" : "SwiftTarget",
      "name" : "Animatable",
      "path" : "Sources/Animatable",
      "product_memberships" : [
        "Animatable"
      ],
      "sources" : [
        "Animatable.swift",
        "Core/CoveredModifier.swift",
        "Core/ValueChangedModifier.swift",
        "Modifiers/Blinking.swift",
        "Modifiers/Explosion.swift",
        "Modifiers/Fireworks.swift",
        "Modifiers/LiveComments.swift",
        "Modifiers/Rotating.swift",
        "Modifiers/Scaling.swift",
        "Modifiers/Shimmerable.swift",
        "Modifiers/Tweaking.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
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/13] Compiling Animatable Rotating.swift
[4/14] Compiling Animatable Scaling.swift
[5/14] Compiling Animatable Fireworks.swift
[6/14] Compiling Animatable Shimmerable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Animatable/Modifiers/Shimmerable.swift:11:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ShimmerConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct ShimmerConfiguration {
   |               `- note: consider making struct 'ShimmerConfiguration' conform to the 'Sendable' protocol
 4 |
 5 |     public let gradient: Gradient
   :
 9 |     public let opacity: Double
10 |
11 |     public static let `default` = ShimmerConfiguration(
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ShimmerConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |         gradient: Gradient(stops: [
13 |             .init(color: .clear, location: 0),
/Users/admin/builder/spi-builder-workspace/Sources/Animatable/Modifiers/Shimmerable.swift:40:18: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
23 | }
24 |
25 | struct ShimmeringView<Content: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
26 |     private let content: () -> Content
27 |     private let configuration: ShimmerConfiguration
   :
35 |     }
36 |
37 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
38 |         if #available(iOS 15, *) {
39 |             content()
40 |                 .overlay { shimmer }
   |                  |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
   |                  `- note: add 'if #available' version check
41 |         } else {
42 |             content()
/Users/admin/builder/spi-builder-workspace/Sources/Animatable/Modifiers/Shimmerable.swift:38:34: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
23 | }
24 |
25 | struct ShimmeringView<Content: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
26 |     private let content: () -> Content
27 |     private let configuration: ShimmerConfiguration
   :
35 |     }
36 |
37 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
38 |         if #available(iOS 15, *) {
   |                                  |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
   |                                  `- note: add 'if #available' version check
39 |             content()
40 |                 .overlay { shimmer }
[7/14] Compiling Animatable Explosion.swift
[8/14] Compiling Animatable LiveComments.swift
[9/14] Compiling Animatable Blinking.swift
/Users/admin/builder/spi-builder-workspace/Sources/Animatable/Modifiers/Blinking.swift:8:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BlinkConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct BlinkConfiguration {
   |               `- note: consider making struct 'BlinkConfiguration' conform to the 'Sendable' protocol
 4 |
 5 |     public let duration: TimeInterval
 6 |     public let opacity: Double
 7 |
 8 |     public static let `default` = BlinkConfiguration(
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BlinkConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |         duration: 1.0,
10 |         opacity: 0.2
[10/14] Emitting module Animatable
/Users/admin/builder/spi-builder-workspace/Sources/Animatable/Modifiers/Blinking.swift:8:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BlinkConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct BlinkConfiguration {
   |               `- note: consider making struct 'BlinkConfiguration' conform to the 'Sendable' protocol
 4 |
 5 |     public let duration: TimeInterval
 6 |     public let opacity: Double
 7 |
 8 |     public static let `default` = BlinkConfiguration(
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BlinkConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |         duration: 1.0,
10 |         opacity: 0.2
/Users/admin/builder/spi-builder-workspace/Sources/Animatable/Modifiers/Shimmerable.swift:11:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ShimmerConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct ShimmerConfiguration {
   |               `- note: consider making struct 'ShimmerConfiguration' conform to the 'Sendable' protocol
 4 |
 5 |     public let gradient: Gradient
   :
 9 |     public let opacity: Double
10 |
11 |     public static let `default` = ShimmerConfiguration(
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ShimmerConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |         gradient: Gradient(stops: [
13 |             .init(color: .clear, location: 0),
[11/14] Compiling Animatable ValueChangedModifier.swift
[12/14] Compiling Animatable Animatable.swift
[13/14] Compiling Animatable CoveredModifier.swift
[14/14] Compiling Animatable Tweaking.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/12] Compiling Animatable Shimmerable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Animatable/Modifiers/Shimmerable.swift:40:18: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
23 | }
24 |
25 | struct ShimmeringView<Content: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
26 |     private let content: () -> Content
27 |     private let configuration: ShimmerConfiguration
   :
35 |     }
36 |
37 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
38 |         if #available(iOS 15, *) {
39 |             content()
40 |                 .overlay { shimmer }
   |                  |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
   |                  `- note: add 'if #available' version check
41 |         } else {
42 |             content()
/Users/admin/builder/spi-builder-workspace/Sources/Animatable/Modifiers/Shimmerable.swift:38:34: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
23 | }
24 |
25 | struct ShimmeringView<Content: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
26 |     private let content: () -> Content
27 |     private let configuration: ShimmerConfiguration
   :
35 |     }
36 |
37 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
38 |         if #available(iOS 15, *) {
   |                                  |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
   |                                  `- note: add 'if #available' version check
39 |             content()
40 |                 .overlay { shimmer }
[3/13] Compiling Animatable Scaling.swift
[4/13] Compiling Animatable Rotating.swift
[5/13] Compiling Animatable Explosion.swift
[6/13] Compiling Animatable LiveComments.swift
[7/13] Compiling Animatable ValueChangedModifier.swift
[8/13] Compiling Animatable Fireworks.swift
[9/13] Emitting module Animatable
[10/13] Compiling Animatable Blinking.swift
[11/13] Compiling Animatable Animatable.swift
[12/13] Compiling Animatable CoveredModifier.swift
[13/13] Compiling Animatable Tweaking.swift
BUILD FAILURE 6.1 macosSpm