Build Information
Successful build of UnicodeURL, reference main (bdb139
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 08:08:12 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
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 /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
========================================
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
[1/125] Fetching unicodeurl
Fetched https://github.com/nysander/UnicodeURL.git from cache (0.82s)
Creating working copy for https://github.com/nysander/UnicodeURL.git
Working copy of https://github.com/nysander/UnicodeURL.git resolved at main (bdb1397)
warning: '.resolve-product-dependencies': dependency 'unicodeurl' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/nysander/UnicodeURL.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun 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--7754E27361AE5C74.txt
[2/7] Compiling IDNSDK toxxx.c
[3/7] Compiling IDNSDK puny.c
[4/7] Compiling IDNSDK nameprep.c
[5/7] Compiling IDNSDK util.c
[6/7] Compiling IDNSDK race.c
[8/12] Compiling UnicodeURL UnicodeURL.swift
[9/12] Compiling UnicodeURL String+Unicode.swift
[10/12] Compiling UnicodeURL ConvertError.swift
[11/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 |
[12/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 |
Build complete! (6.93s)
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.