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 AttributedText, reference 2.0.5 (2f2c86), with Swift 6.0 for macOS (SPM) on 22 Oct 2024 15:32:19 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.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.55.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zunda-pixel/AttributedText.git
Reference: 2.0.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/zunda-pixel/AttributedText
 * tag               2.0.5      -> FETCH_HEAD
HEAD is now at 2f2c862 remove Test, format
Cloned https://github.com/zunda-pixel/AttributedText.git
Revision (git rev-parse @):
2f2c86284b3023c01ff556e6f12a4578d4a9aee8
SUCCESS checkout https://github.com/zunda-pixel/AttributedText.git at 2.0.5
========================================
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": "attributedtext",
      "name": "AttributedText",
      "url": "https://github.com/zunda-pixel/AttributedText.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AttributedText",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/zunda-pixel/AttributedText.git
[3/216] Fetching attributedtext
Fetched https://github.com/zunda-pixel/AttributedText.git from cache (0.71s)
Creating working copy for https://github.com/zunda-pixel/AttributedText.git
Working copy of https://github.com/zunda-pixel/AttributedText.git resolved at 2.0.5 (2f2c862)
warning: '.resolve-product-dependencies': dependency 'attributedtext' 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/zunda-pixel/AttributedText.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.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/2] Write sources
[1/2] Write swift-version--4A847ED0836F2485.txt
[3/8] Compiling AttributedText URL++.swift
[4/8] Compiling AttributedText AttributedText.swift
[5/8] Compiling AttributedText SampleContentView.swift
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.SwiftUIAttributes, AttributeScopes.SwiftUIAttributes.ForegroundColorAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.SwiftUIAttributes, AttributeScopes.SwiftUIAttributes.ForegroundColorAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.SwiftUIAttributes, AttributeScopes.SwiftUIAttributes.ForegroundColorAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.SwiftUIAttributes, AttributeScopes.SwiftUIAttributes.UnderlineStyleAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.SwiftUIAttributes, AttributeScopes.SwiftUIAttributes.ForegroundColorAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.SwiftUIAttributes, AttributeScopes.SwiftUIAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
  |              |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
  |              |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
  |              |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
  |              |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     @objc deinit
3 | }
[6/8] Compiling AttributedText AttributedPrefix.swift
[7/8] Emitting module AttributedText
[8/8] Compiling AttributedText AttributedString++.swift
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.FoundationAttributes, AttributeScopes.FoundationAttributes.LinkAttribute>'; this is an error in the Swift 6 language mode
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     @objc deinit
3 | }
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.FoundationAttributes, AttributeScopes.FoundationAttributes.LinkAttribute>'; this is an error in the Swift 6 language mode
/Users/admin/builder/spi-builder-workspace/Sources/AttributedText/AttributedString++.swift:72:36: warning: main actor-isolated static property 'attributedURL' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
49 |   }
50 |
51 |   func addingPrefixLink(prefixes: [AttributedPrefix]) -> Self {
   |        `- note: add '@MainActor' to make instance method 'addingPrefixLink(prefixes:)' part of global actor 'MainActor'
52 |     var attributedString = self
53 |
   :
70 |
71 |         for range in ranges {
72 |           var url = AttributedText.attributedURL
   |                                    `- warning: main actor-isolated static property 'attributedURL' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
73 |           url.append(queryItems: [.init(name: "query", value: stringValue)])
74 |
/Users/admin/builder/spi-builder-workspace/Sources/AttributedText/AttributedText.swift:9:14: note: static property declared here
 7 |
 8 | public struct AttributedText: View {
 9 |   static let attributedURL = URL(string: "urlForAttributedText://")!
   |              `- note: static property declared here
10 |
11 |   let prefixes: [String]
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     @objc deinit
3 | }
Build complete! (13.60s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AttributedText",
  "name" : "AttributedText",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "AttributedText",
      "targets" : [
        "AttributedText"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AttributedText",
      "module_type" : "SwiftTarget",
      "name" : "AttributedText",
      "path" : "Sources/AttributedText",
      "product_memberships" : [
        "AttributedText"
      ],
      "sources" : [
        "AttributedPrefix.swift",
        "AttributedString++.swift",
        "AttributedText.swift",
        "SampleContentView.swift",
        "URL++.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.