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 swift-fluent-icon, reference master (20df35), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 22:59:46 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vvisionnn/swift-fluent-icon.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vvisionnn/swift-fluent-icon
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 20df352 chore(release): 1.1.264
Cloned https://github.com/vvisionnn/swift-fluent-icon.git
Revision (git rev-parse @):
20df3524b0e363730ae870280a1187aba24af392
SUCCESS checkout https://github.com/vvisionnn/swift-fluent-icon.git at master
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/swiftlang/swift-syntax
[1/12436] Fetching swift-snapshot-testing
[1743/78824] Fetching swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (6.53s)
Fetched https://github.com/swiftlang/swift-syntax from cache (6.53s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.17.4 (3.51s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.0-prerelease-2024-07-30 (0.81s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.17.4
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.0-prerelease-2024-07-30
========================================
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": "swift-fluent-icon",
      "name": "swift-fluent-icon",
      "url": "https://github.com/vvisionnn/swift-fluent-icon.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-fluent-icon",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/vvisionnn/swift-fluent-icon.git
[1/649] Fetching swift-fluent-icon
Fetched https://github.com/vvisionnn/swift-fluent-icon.git from cache (1.79s)
Creating working copy for https://github.com/vvisionnn/swift-fluent-icon.git
Working copy of https://github.com/vvisionnn/swift-fluent-icon.git resolved at master (20df352)
warning: '.resolve-product-dependencies': dependency 'swift-fluent-icon' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/vvisionnn/swift-fluent-icon.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/6] Write sources
[1/6] Copying FluentSystemIcons-Regular.ttf
[1/6] Copying FluentSystemIcons-Filled.ttf
[1/6] Copying FluentSystemIcons-Resizable.ttf
[1/6] Copying FluentSystemIcons-Light.ttf
[5/6] Write swift-version--7754E27361AE5C74.txt
[7/18] Compiling FluentIcon FluentIconFont.swift
[8/19] Compiling FluentIcon resource_bundle_accessor.swift
[9/19] Compiling FluentIcon Fluent.swift
[10/19] Compiling FluentIcon FontRegistration.swift
[11/19] Compiling FluentIcon Fluent+Tools.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentIcon/Shared/Fluent/Fluent+Tools.swift:54:14: warning: call to main actor-isolated initializer 'init(icon:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 | 	/// A SwiftUI Image of the icon
53 | 	public var image: FluentIcon.Image<Self> {
54 | 		FluentIcon.Image(icon: self)
   |              `- warning: call to main actor-isolated initializer 'init(icon:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 | 	}
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentIcon/Shared/Extension/FluentIcon+Image.swift:39:10: note: calls to initializer 'init(icon:)' from outside of its actor context are implicitly asynchronous
37 | 		/// - Parameters:
38 | 		///   - icon: The icon to use
39 | 		public init(icon: FluentType) {
   |          `- note: calls to initializer 'init(icon:)' from outside of its actor context are implicitly asynchronous
40 | 			self.icon = icon
41 | 			self.forcedSize = nil
/Users/admin/builder/spi-builder-workspace/Sources/FluentIcon/Shared/Fluent/Fluent+Tools.swift:54:14: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
52 | 	/// A SwiftUI Image of the icon
53 | 	public var image: FluentIcon.Image<Self> {
54 | 		FluentIcon.Image(icon: self)
   |              |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |              `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
55 | 	}
56 | }
[12/19] Compiling FluentIcon Fluent+Image.swift
[13/19] Emitting module FluentIcon
[14/19] Compiling FluentIcon SwiftUI+Extensions.swift
[15/19] Compiling FluentIcon FluentIcon+Image.swift
[16/19] Compiling FluentIcon NSAttributedString+Fluent.swift
[17/19] Compiling FluentIcon StringProtocol+Extensions.swift
[18/19] Compiling FluentIcon FluentIcon.swift
[19/19] Compiling FluentIcon Crossplatform.swift
Build complete! (291.27s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-snapshot-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.17.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-snapshot-testing"
    }
  ],
  "manifest_display_name" : "swift-fluent-icon",
  "name" : "swift-fluent-icon",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "FluentIcon",
      "targets" : [
        "FluentIcon"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FluentIconTests",
      "module_type" : "SwiftTarget",
      "name" : "FluentIconTests",
      "path" : "Tests/FluentIconTests",
      "product_dependencies" : [
        "SnapshotTesting"
      ],
      "sources" : [
        "FluentFontExtensionTests.swift",
        "FluentIconColorMacosTests.swift",
        "FluentIconColoriOSTests.swift",
        "FluentIconFontTests.swift",
        "FluentIconTests.swift",
        "FontExtensionTests.swift",
        "ImageScaleExtensionTests.swift",
        "StringProtocolTests.swift",
        "UnfairLockTests.swift"
      ],
      "target_dependencies" : [
        "FluentIcon"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FluentIcon",
      "module_type" : "SwiftTarget",
      "name" : "FluentIcon",
      "path" : "Sources/FluentIcon",
      "product_memberships" : [
        "FluentIcon"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/FluentIcon/Resources/FluentSystemIcons-Filled.ttf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/FluentIcon/Resources/FluentSystemIcons-Light.ttf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/FluentIcon/Resources/FluentSystemIcons-Regular.ttf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/FluentIcon/Resources/FluentSystemIcons-Resizable.ttf",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "FluentIcon.swift",
        "Shared/Crossplatform.swift",
        "Shared/Extension/FluentIcon+Image.swift",
        "Shared/Extension/NSAttributedString+Fluent.swift",
        "Shared/Extension/StringProtocol+Extensions.swift",
        "Shared/Extension/SwiftUI+Extensions.swift",
        "Shared/Fluent/Fluent+Image.swift",
        "Shared/Fluent/Fluent+Tools.swift",
        "Shared/Fluent/Fluent.swift",
        "Shared/FluentIconFont.swift",
        "Shared/FontRegistration.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.