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 AttributedText 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/Iaenhaall/AttributedText.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Iaenhaall/AttributedText
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 26a8be0 Added the ability to set custom tags.
Cloned https://github.com/Iaenhaall/AttributedText.git
Revision (git rev-parse @):
26a8be0285d664449e352d0e9b1b4a79ee9cecba
SUCCESS checkout https://github.com/Iaenhaall/AttributedText.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/Iaenhaall/AttributedText.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/5] Compiling AttributedText AttributedText.swift
/Users/admin/builder/spi-builder-workspace/Sources/AttributedText/AttributedText.swift:34:23: warning: static property 'tags' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 |     /// Set of supported tags and associated modifiers. This is used by default for all AttributedText
33 |     /// instances except those for which this parameter is defined in the initializer.
34 |     public static var tags: Dictionary<String, (Text) -> (Text)> = [
   |                       |- warning: static property 'tags' 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 'tags' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'tags' 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
35 |         // This modifier set is presented just for reference.
36 |         // Set the necessary attributes and modifiers for your needs before use.
[4/5] Emitting module AttributedText
/Users/admin/builder/spi-builder-workspace/Sources/AttributedText/AttributedText.swift:34:23: warning: static property 'tags' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 |     /// Set of supported tags and associated modifiers. This is used by default for all AttributedText
33 |     /// instances except those for which this parameter is defined in the initializer.
34 |     public static var tags: Dictionary<String, (Text) -> (Text)> = [
   |                       |- warning: static property 'tags' 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 'tags' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'tags' 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
35 |         // This modifier set is presented just for reference.
36 |         // Set the necessary attributes and modifiers for your needs before use.
[5/5] Compiling AttributedText HTML2TextParser.swift
Build complete! (31.81s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AttributedText",
  "name" : "AttributedText",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "AttributedText",
      "targets" : [
        "AttributedText"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AttributedTextTests",
      "module_type" : "SwiftTarget",
      "name" : "AttributedTextTests",
      "path" : "Tests/AttributedTextTests",
      "sources" : [
        "AttributedTextTests.swift"
      ],
      "target_dependencies" : [
        "AttributedText"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AttributedText",
      "module_type" : "SwiftTarget",
      "name" : "AttributedText",
      "path" : "Sources/AttributedText",
      "product_memberships" : [
        "AttributedText"
      ],
      "sources" : [
        "AttributedText.swift",
        "HTML2TextParser.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.