The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of UnicodeURL, reference 0.1.0 (fe15c8), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 03:17:49 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nysander/UnicodeURL.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nysander/UnicodeURL
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at fe15c8b Merge pull request #4 from rizwankce/catchable-init
Cloned https://github.com/nysander/UnicodeURL.git
Revision (git rev-parse @):
fe15c8b585c2e6d22dfe81da899183e6aa376a93
SUCCESS checkout https://github.com/nysander/UnicodeURL.git at 0.1.0
========================================
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": "unicodeurl",
      "name": "UnicodeURL",
      "url": "https://github.com/nysander/UnicodeURL.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/UnicodeURL",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/nysander/UnicodeURL.git
[3/125] Fetching unicodeurl
Fetched https://github.com/nysander/UnicodeURL.git from cache (0.76s)
Creating working copy for https://github.com/nysander/UnicodeURL.git
Working copy of https://github.com/nysander/UnicodeURL.git resolved at 0.1.0 (fe15c8b)
warning: '.resolve-product-dependencies': dependency 'unicodeurl' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/nysander/UnicodeURL.git
https://github.com/nysander/UnicodeURL.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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/7] Write sources
[1/7] Write swift-version-2F0A5646E1D333AE.txt
[2/7] Compiling IDNSDK puny.c
[3/7] Compiling IDNSDK toxxx.c
[4/7] Compiling IDNSDK util.c
[5/7] Compiling IDNSDK nameprep.c
[6/7] Compiling IDNSDK race.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! (4.99s)
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.