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 main (bdb139), 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-0":/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: main
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
 * 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:         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-0":/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
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/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 |
[9/12] Compiling UnicodeURL String+Unicode.swift
[10/12] Compiling UnicodeURL ConvertError.swift
[11/12] Compiling UnicodeURL UnicodeURL.swift
[12/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 |
Build complete! (12.17s)
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.