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 Atributika 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/psharanda/Atributika.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/psharanda/Atributika
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2de3536 Bump version to 5.0.5
Cloned https://github.com/psharanda/Atributika.git
Revision (git rev-parse @):
2de3536009a6f9ba88344a612ed219e2eb99ca2f
SUCCESS checkout https://github.com/psharanda/Atributika.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/psharanda/Atributika.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/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/19] Compiling AtributikaViews BaseAttributedTextView.swift
[5/19] Compiling AtributikaViews LinkHighlight.swift
[6/19] Compiling AtributikaViews AttributedTextView.swift
[7/19] Compiling AtributikaViews RectsAccessibilityElement.swift
[8/19] Compiling AtributikaViews AttributedLabel.swift
[9/19] Compiling AtributikaViews TextUtils.swift
[10/19] Emitting module AtributikaViews
[11/19] Compiling Atributika Tag.swift
[12/19] Compiling Atributika String+Detection.swift
[13/19] Compiling Atributika String+Style.swift
[14/19] Compiling Atributika Detection.swift
[15/19] Compiling Atributika NSScanner+Compat.swift
[16/19] Compiling Atributika String+HTML.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/AttributedStringBuilder.swift:169:16: warning: static property 'htmlSpecialsProvider' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | public extension AttributedStringBuilder {
169 |     static var htmlSpecialsProvider: HTMLSpecialsProvider = DefaultHTMLSpecialsProvider()
    |                |- warning: static property 'htmlSpecialsProvider' 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 'htmlSpecialsProvider' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'htmlSpecialsProvider' 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
170 | }
171 |
[17/19] Compiling Atributika AttributedStringBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/AttributedStringBuilder.swift:169:16: warning: static property 'htmlSpecialsProvider' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | public extension AttributedStringBuilder {
169 |     static var htmlSpecialsProvider: HTMLSpecialsProvider = DefaultHTMLSpecialsProvider()
    |                |- warning: static property 'htmlSpecialsProvider' 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 'htmlSpecialsProvider' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'htmlSpecialsProvider' 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
170 | }
171 |
[18/19] Compiling Atributika Attrs.swift
[19/19] Emitting module Atributika
/Users/admin/builder/spi-builder-workspace/Sources/Core/AttributedStringBuilder.swift:169:16: warning: static property 'htmlSpecialsProvider' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | public extension AttributedStringBuilder {
169 |     static var htmlSpecialsProvider: HTMLSpecialsProvider = DefaultHTMLSpecialsProvider()
    |                |- warning: static property 'htmlSpecialsProvider' 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 'htmlSpecialsProvider' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'htmlSpecialsProvider' 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
170 | }
171 |
Build complete! (23.44s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Atributika",
  "name" : "Atributika",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "Atributika",
      "targets" : [
        "Atributika"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AtributikaViews",
      "targets" : [
        "AtributikaViews"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "AtributikaViews",
      "module_type" : "SwiftTarget",
      "name" : "AtributikaViews",
      "path" : "Sources/Views",
      "product_memberships" : [
        "AtributikaViews"
      ],
      "sources" : [
        "AttributedLabel.swift",
        "AttributedTextView.swift",
        "BaseAttributedTextView.swift",
        "LinkHighlight.swift",
        "RectsAccessibilityElement.swift",
        "TextUtils.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AtributikaTests",
      "module_type" : "SwiftTarget",
      "name" : "AtributikaTests",
      "path" : "Tests/AtributikaTests",
      "sources" : [
        "AtributikaTests.swift"
      ],
      "target_dependencies" : [
        "Atributika"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Atributika",
      "module_type" : "SwiftTarget",
      "name" : "Atributika",
      "path" : "Sources/Core",
      "product_memberships" : [
        "Atributika"
      ],
      "sources" : [
        "AttributedStringBuilder.swift",
        "Attrs.swift",
        "Detection.swift",
        "NSScanner+Compat.swift",
        "String+Detection.swift",
        "String+HTML.swift",
        "String+Style.swift",
        "Tag.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.