The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ScaledFont, reference 1.2.0 (0823df), with Swift 6.1 for macOS (SPM) on 27 Sep 2026 04:51:04 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: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gewill/ScaledFont.git
Reference: 1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/gewill/ScaledFont
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at 0823df9 Prepare the 1.2.0 release (#14)
Cloned https://github.com/gewill/ScaledFont.git
Revision (git rev-parse @):
0823df9292f62e8d47cbbdba2255e9eeb311ddda
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/gewill/ScaledFont.git at 1.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/gewill/ScaledFont.git
https://github.com/gewill/ScaledFont.git
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "ScaledFont",
  "name" : "ScaledFont",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "ScaledFont",
      "targets" : [
        "ScaledFont"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ScaledFontTests",
      "module_type" : "SwiftTarget",
      "name" : "ScaledFontTests",
      "path" : "Tests/ScaledFontTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ScaledFontTests/TestData/FractionalSize.plist",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ScaledFontTests/TestData/Futura.plist",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ScaledFontTests/TestData/InvalidBodyStyle.plist",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ScaledFontTests/TestData/MissingHeadline.plist",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ScaledFontTests/TestData/SystemVariants.plist",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "ScaledFontTests.swift",
        "ScaledFontUITests.swift",
        "TextSizeTests.swift"
      ],
      "target_dependencies" : [
        "ScaledFont"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ScaledFont",
      "module_type" : "SwiftTarget",
      "name" : "ScaledFont",
      "path" : "Sources/ScaledFont",
      "product_memberships" : [
        "ScaledFont"
      ],
      "sources" : [
        "ScaledFont.swift",
        "ScaledFontUI.swift",
        "TextSizePreference.swift",
        "TextSizeScaling.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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/9] Compiling ScaledFont TextSizePreference.swift
[6/9] Compiling ScaledFont ScaledFontUI.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScaledFont/ScaledFontUI.swift:268:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
266 |
267 | private struct ScaledFontKey: EnvironmentKey {
268 |     static var defaultValue = ScaledFont(fontName: "Default")
    |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
269 | }
270 |
/Users/admin/builder/spi-builder-workspace/Sources/ScaledFont/ScaledFontUI.swift:295:30: warning: call to main actor-isolated instance method 'scaledFont' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
245 |     /// - Returns: A View that uses the scaled font with the
246 |     ///   specified dynamic type text style.
247 |     func scaledFont(_ textStyle: Font.TextStyle) -> some View {
    |          `- note: calls to instance method 'scaledFont' from outside of its actor context are implicitly asynchronous
248 |         return modifier(ScaledFontModifier(textStyle: textStyle, design: nil, weight: nil))
249 |     }
    :
293 |         @LibraryContentBuilder
294 |         func modifiers(base: Text) -> [LibraryItem] {
295 |             LibraryItem(base.scaledFont(.headline), category: .effect)
    |                              `- warning: call to main actor-isolated instance method 'scaledFont' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
296 |         }
297 |     }
[7/9] Compiling ScaledFont TextSizeScaling.swift
[8/9] Emitting module ScaledFont
/Users/admin/builder/spi-builder-workspace/Sources/ScaledFont/ScaledFontUI.swift:268:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
266 |
267 | private struct ScaledFontKey: EnvironmentKey {
268 |     static var defaultValue = ScaledFont(fontName: "Default")
    |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
269 | }
270 |
[9/9] Compiling ScaledFont ScaledFont.swift
Build complete! (20.87s)
Fetching https://github.com/apple/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.32s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.95s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.09s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.84s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "ScaledFont",
  "name" : "ScaledFont",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "ScaledFont",
      "targets" : [
        "ScaledFont"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ScaledFontTests",
      "module_type" : "SwiftTarget",
      "name" : "ScaledFontTests",
      "path" : "Tests/ScaledFontTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ScaledFontTests/TestData/FractionalSize.plist",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ScaledFontTests/TestData/Futura.plist",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ScaledFontTests/TestData/InvalidBodyStyle.plist",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ScaledFontTests/TestData/MissingHeadline.plist",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ScaledFontTests/TestData/SystemVariants.plist",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "ScaledFontTests.swift",
        "ScaledFontUITests.swift",
        "TextSizeTests.swift"
      ],
      "target_dependencies" : [
        "ScaledFont"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ScaledFont",
      "module_type" : "SwiftTarget",
      "name" : "ScaledFont",
      "path" : "Sources/ScaledFont",
      "product_memberships" : [
        "ScaledFont"
      ],
      "sources" : [
        "ScaledFont.swift",
        "ScaledFontUI.swift",
        "TextSizePreference.swift",
        "TextSizeScaling.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.