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, reference 0.1.0 (fe15c8), with Swift 6.0 for Linux on 1 Nov 2024 08:01:03 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nysander/UnicodeURL.git
Reference: 0.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/nysander/UnicodeURL.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/7] Write sources
[1/7] Compiling IDNSDK race.c
[2/7] Compiling IDNSDK puny.c
[3/7] Compiling IDNSDK util.c
[4/7] Compiling IDNSDK nameprep.c
[5/7] Compiling IDNSDK toxxx.c
[5/7] Write swift-version-24593BA9C3E375BF.txt
[8/12] Compiling UnicodeURL UnicodeURL.swift
[9/12] Compiling UnicodeURL URL+Unicode.swift
/host/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 |
/host/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] Compiling UnicodeURL ConvertError.swift
[11/12] Compiling UnicodeURL String+Unicode.swift
[12/12] Emitting module UnicodeURL
/host/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 |
Build complete! (11.44s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "UnicodeURL",
  "name" : "UnicodeURL",
  "path" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.