This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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

Successful build of UIx with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/buhe/UIx.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/buhe/UIx
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2c3db33 "Refactor UIx.swift by removing UIKit import and adding conditional compilation for iOS."
Cloned https://github.com/buhe/UIx.git
Revision (git rev-parse @):
2c3db33ef36f74ab4d8419628b91c459eac4c1ad
SUCCESS checkout https://github.com/buhe/UIx.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/buhe/UIx.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/11] Compiling UIx Tabbars.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIx/Tabbars/Tabbars.swift:15:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |     typealias Value = [String]
 14 |
 15 |     static var defaultValue: [String] = []
    |                |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |
 17 |     static func reduce(value: inout [String], nextValue: () -> [String]) {
[4/11] Compiling UIx UIx.swift
[5/11] Compiling UIx BlurViewModifier.swift
[6/11] Emitting module UIx
/Users/admin/builder/spi-builder-workspace/Sources/UIx/Tabbars/Tabbars.swift:15:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |     typealias Value = [String]
 14 |
 15 |     static var defaultValue: [String] = []
    |                |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |
 17 |     static func reduce(value: inout [String], nextValue: () -> [String]) {
[7/11] Compiling UIx DotView.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIx/LoadingView/ActivityViews/Dots/DotView.swift:37:14: warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
35 |             .scaleEffect(scale)
36 |             .foregroundColor(color)
37 |             .animation(Animation.easeInOut(duration: 0.6).repeatForever().delay(delay))
   |              `- warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
38 |             .onAppear {
39 |                 withAnimation {
[8/11] Compiling UIx CircleActivityView.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIx/LoadingView/ActivityViews/CircleActivityView.swift:43:18: warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
41 |                 .foregroundColor(lineColor)
42 |                 .rotationEffect(Angle(degrees: isLoading ? 360 : 0))
43 |                 .animation(Animation.linear(duration: 1).repeatForever(autoreverses: false))
   |                  `- warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
44 |                 .onAppear { self.isLoading.toggle() }
45 |         }
[9/11] Compiling UIx TopViewExtension.swift
[10/11] Compiling UIx DotsActivityView.swift
[11/11] Compiling UIx ContainerActivityView.swift
Build complete! (36.12s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "UIx",
  "name" : "UIx",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "UIx",
      "targets" : [
        "UIx"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UIxTests",
      "module_type" : "SwiftTarget",
      "name" : "UIxTests",
      "path" : "Tests/UIxTests",
      "sources" : [
        "UIxTests.swift"
      ],
      "target_dependencies" : [
        "UIx"
      ],
      "type" : "test"
    },
    {
      "c99name" : "UIx",
      "module_type" : "SwiftTarget",
      "name" : "UIx",
      "path" : "Sources/UIx",
      "product_memberships" : [
        "UIx"
      ],
      "sources" : [
        "LoadingView/ActivityViews/CircleActivityView.swift",
        "LoadingView/ActivityViews/ContainerActivityView.swift",
        "LoadingView/ActivityViews/Dots/DotView.swift",
        "LoadingView/ActivityViews/Dots/DotsActivityView.swift",
        "LoadingView/BlurViewModifier.swift",
        "LoadingView/TopViewExtension.swift",
        "Tabbars/Tabbars.swift",
        "UIx.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7.1"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.