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, reference master (2de353), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 14:45:35 UTC.

Swift 6 data race errors: 1

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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
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
========================================
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": "atributika",
      "name": "Atributika",
      "url": "https://github.com/psharanda/Atributika.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Atributika",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/psharanda/Atributika.git
[1/2189] Fetching atributika
Fetched https://github.com/psharanda/Atributika.git from cache (1.05s)
Creating working copy for https://github.com/psharanda/Atributika.git
Working copy of https://github.com/psharanda/Atributika.git resolved at master (2de3536)
warning: '.resolve-product-dependencies': dependency 'atributika' 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/psharanda/Atributika.git
{
  "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"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/19] Compiling AtributikaViews TextUtils.swift
[5/19] Compiling AtributikaViews RectsAccessibilityElement.swift
[6/19] Compiling AtributikaViews LinkHighlight.swift
[7/19] Compiling AtributikaViews AttributedLabel.swift
[8/19] Compiling AtributikaViews BaseAttributedTextView.swift
[9/19] Compiling AtributikaViews AttributedTextView.swift
[10/19] Emitting module AtributikaViews
[11/19] Compiling Atributika Tag.swift
[12/19] Compiling Atributika String+Style.swift
[13/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 nonisolated 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 nonisolated 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 |
[14/19] Compiling Atributika String+Detection.swift
[15/19] Compiling Atributika NSScanner+Compat.swift
[16/19] Compiling Atributika Detection.swift
[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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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! (11.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.