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 UnicodeURL 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/UnicodeURL.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nysander/UnicodeURL
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at bdb1397 Merge pull request #6 from rizwankce/swift-package-index-badges
Cloned https://github.com/nysander/UnicodeURL.git
Revision (git rev-parse @):
bdb1397f1f8a8fdda9d214e89ce62664cd71e839
SUCCESS checkout https://github.com/nysander/UnicodeURL.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/nysander/UnicodeURL.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/7] Write sources
[1/7] Write swift-version-6F35C1178C84523A.txt
[2/7] Compiling IDNSDK puny.c
[3/7] Compiling IDNSDK util.c
[4/7] Compiling IDNSDK toxxx.c
[5/7] Compiling IDNSDK race.c
[6/7] Compiling IDNSDK nameprep.c
[8/12] Compiling UnicodeURL UnicodeURL.swift
[9/12] Compiling UnicodeURL URL+Unicode.swift
/Users/admin/builder/spi-builder-workspace/Sources/UnicodeURL/URL+Unicode.swift:19:16: warning: stored property 'error' of 'Sendable'-conforming struct 'UnicodeURLConvertError' has non-sendable type 'UnicodeURLConvertError.ConvertError'; this is an error in the Swift 6 language mode
  8 |
  9 | public struct UnicodeURLConvertError: Error {
 10 |     public enum ConvertError: Int {
    |                 `- note: consider making enum 'ConvertError' conform to the 'Sendable' protocol
 11 |         case none = 0
 12 |         case STD3NonLDH = 300
    :
 17 |     }
 18 |
 19 |     public let error: ConvertError
    |                `- warning: stored property 'error' of 'Sendable'-conforming struct 'UnicodeURLConvertError' has non-sendable type 'UnicodeURLConvertError.ConvertError'; this is an error in the Swift 6 language mode
 20 | }
 21 |
/Users/admin/builder/spi-builder-workspace/Sources/UnicodeURL/URL+Unicode.swift:25:21: warning: function call causes an infinite recursion
 23 |
 24 |     static func urlWithUnicodeString(str: String) -> Self {
 25 |         return self.urlWithUnicodeString(str: str)
    |                     `- warning: function call causes an infinite recursion
 26 |     }
 27 |
[10/12] Emitting module UnicodeURL
/Users/admin/builder/spi-builder-workspace/Sources/UnicodeURL/URL+Unicode.swift:19:16: warning: stored property 'error' of 'Sendable'-conforming struct 'UnicodeURLConvertError' has non-sendable type 'UnicodeURLConvertError.ConvertError'; this is an error in the Swift 6 language mode
  8 |
  9 | public struct UnicodeURLConvertError: Error {
 10 |     public enum ConvertError: Int {
    |                 `- note: consider making enum 'ConvertError' conform to the 'Sendable' protocol
 11 |         case none = 0
 12 |         case STD3NonLDH = 300
    :
 17 |     }
 18 |
 19 |     public let error: ConvertError
    |                `- warning: stored property 'error' of 'Sendable'-conforming struct 'UnicodeURLConvertError' has non-sendable type 'UnicodeURLConvertError.ConvertError'; this is an error in the Swift 6 language mode
 20 | }
 21 |
[11/12] Compiling UnicodeURL String+Unicode.swift
[12/12] Compiling UnicodeURL ConvertError.swift
Build complete! (19.09s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "UnicodeURL",
  "name" : "UnicodeURL",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "UnicodeURL",
      "targets" : [
        "UnicodeURL"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "IDNSDK",
      "targets" : [
        "IDNSDK"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UnicodeURLTests",
      "module_type" : "SwiftTarget",
      "name" : "UnicodeURLTests",
      "path" : "Tests/UnicodeURLTests",
      "sources" : [
        "UnicodeURLTests.swift"
      ],
      "target_dependencies" : [
        "UnicodeURL"
      ],
      "type" : "test"
    },
    {
      "c99name" : "UnicodeURL",
      "module_type" : "SwiftTarget",
      "name" : "UnicodeURL",
      "path" : "Sources/UnicodeURL",
      "product_memberships" : [
        "UnicodeURL"
      ],
      "sources" : [
        "ConvertError.swift",
        "String+Unicode.swift",
        "URL+Unicode.swift",
        "UnicodeURL.swift"
      ],
      "target_dependencies" : [
        "IDNSDK"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IDNSDK",
      "module_type" : "ClangTarget",
      "name" : "IDNSDK",
      "path" : "Sources/IDNSDK",
      "product_memberships" : [
        "UnicodeURL",
        "IDNSDK"
      ],
      "sources" : [
        "nameprep.c",
        "puny.c",
        "race.c",
        "toxxx.c",
        "util.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.