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 twitter-text 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/nysander/twitter-text.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nysander/twitter-text
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b965940 Merge pull request #15 from Kyome22/solve-config-path-and-access-control
Cloned https://github.com/nysander/twitter-text.git
Revision (git rev-parse @):
b96594027464bf5ea0fe66d24666c878b94d6a15
SUCCESS checkout https://github.com/nysander/twitter-text.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/nysander/twitter-text.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/11] Write sources
[2/11] Copying v3.json
[2/11] Copying v2.json
[2/11] Copying v1.json
[5/11] Write swift-version-6F35C1178C84523A.txt
[6/11] Compiling IDNSDK util.c
[7/11] Compiling IDNSDK race.c
[8/11] Compiling IDNSDK puny.c
[9/11] Compiling IDNSDK toxxx.c
[10/11] Compiling IDNSDK nameprep.c
[12/16] Compiling UnicodeURL UnicodeURL.swift
[13/16] Compiling UnicodeURL String+Unicode.swift
[14/16] Compiling UnicodeURL URL+Unicode.swift
[15/16] Emitting module UnicodeURL
[16/16] Compiling UnicodeURL ConvertError.swift
[17/28] Compiling TwitterText WeigthedRange.swift
[18/29] Compiling TwitterText ValidURLGroup.swift
[19/29] Compiling TwitterText resource_bundle_accessor.swift
[20/29] Compiling TwitterText Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/TwitterText/Parser.swift:10:23: warning: static property 'defaultParser' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
  8 |
  9 | public class Parser {
 10 |     public static var defaultParser = Parser(with: Configuration.configuration(fromType: ConfigurationType.v3)!)
    |                       |- warning: static property 'defaultParser' 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 'defaultParser' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'defaultParser' 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
 11 |
 12 |     public static func setDefaultParser(with configuration: Configuration) {
[21/29] Compiling TwitterText String+Emoji.swift
[22/29] Compiling TwitterText ParseResults.swift
[23/29] Compiling TwitterText Regexp.swift
[24/29] Compiling TwitterText Entity.swift
[25/29] Compiling TwitterText EntityType.swift
[26/29] Emitting module TwitterText
/Users/admin/builder/spi-builder-workspace/Sources/TwitterText/Parser.swift:10:23: warning: static property 'defaultParser' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
  8 |
  9 | public class Parser {
 10 |     public static var defaultParser = Parser(with: Configuration.configuration(fromType: ConfigurationType.v3)!)
    |                       |- warning: static property 'defaultParser' 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 'defaultParser' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'defaultParser' 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
 11 |
 12 |     public static func setDefaultParser(with configuration: Configuration) {
[27/29] Compiling TwitterText Configuration.swift
[28/29] Compiling TwitterText ConfigurationType.swift
[29/29] Compiling TwitterText TwitterText.swift
Build complete! (23.03s)
Fetching https://github.com/nysander/UnicodeURL.git
[1/125] Fetching unicodeurl
Fetched https://github.com/nysander/UnicodeURL.git from cache (0.88s)
Computing version for https://github.com/nysander/UnicodeURL.git
Computed https://github.com/nysander/UnicodeURL.git at 0.1.0 (0.67s)
Creating working copy for https://github.com/nysander/UnicodeURL.git
Working copy of https://github.com/nysander/UnicodeURL.git resolved at 0.1.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "unicodeurl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nysander/UnicodeURL.git"
    }
  ],
  "manifest_display_name" : "twitter-text",
  "name" : "twitter-text",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TwitterText",
      "targets" : [
        "TwitterText"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TwitterTextTests",
      "module_type" : "SwiftTarget",
      "name" : "TwitterTextTests",
      "path" : "Tests/TwitterTextTests",
      "sources" : [
        "TwitterTextEmojiTests.swift",
        "TwitterTextTests.swift"
      ],
      "target_dependencies" : [
        "TwitterText"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TwitterText",
      "module_type" : "SwiftTarget",
      "name" : "TwitterText",
      "path" : "Sources/TwitterText",
      "product_dependencies" : [
        "UnicodeURL"
      ],
      "product_memberships" : [
        "TwitterText"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/TwitterText/config/v3.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/TwitterText/config/v2.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/TwitterText/config/v1.json",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Configuration.swift",
        "ConfigurationType.swift",
        "Entity.swift",
        "EntityType.swift",
        "Extensions/String+Emoji.swift",
        "ParseResults.swift",
        "Parser.swift",
        "Regexp.swift",
        "TwitterText.swift",
        "ValidURLGroup.swift",
        "WeigthedRange.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.