Build Information
Successful build of swift-url, reference main (9306a9
), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 07:12:45 UTC.
Swift 6 data race errors: 13
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 -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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/karwa/swift-url.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/karwa/swift-url
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9306a96 Disable tests for Swift 5.6.3 on Windows
Cloned https://github.com/karwa/swift-url.git
Revision (git rev-parse @):
9306a962396a50d7d88e924afcd7ec67226763db
SUCCESS checkout https://github.com/karwa/swift-url.git at main
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/karwa/swift-checkit.git
[1/74] Fetching swift-checkit
[75/3993] Fetching swift-checkit, swift-system
Fetched https://github.com/karwa/swift-checkit.git from cache (1.02s)
Fetched https://github.com/apple/swift-system.git from cache (1.02s)
Computing version for https://github.com/karwa/swift-checkit.git
Computed https://github.com/karwa/swift-checkit.git at 0.0.2 (0.56s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.45s)
Creating working copy for https://github.com/karwa/swift-checkit.git
Working copy of https://github.com/karwa/swift-checkit.git resolved at 0.0.2
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.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": "swift-url",
"name": "swift-url",
"url": "https://github.com/karwa/swift-url.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-url",
"dependencies": [
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system.git",
"version": "1.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/karwa/swift-url.git
[1/11725] Fetching swift-url
Fetched https://github.com/karwa/swift-url.git from cache (1.93s)
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.46s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.03s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Creating working copy for https://github.com/karwa/swift-url.git
Working copy of https://github.com/karwa/swift-url.git resolved at main (9306a96)
warning: '.resolve-product-dependencies': dependency 'swift-url' is not used by any target
Found 1 product dependencies
- swift-system
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/karwa/swift-url.git
{
"dependencies" : [
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system.git"
},
{
"identity" : "swift-checkit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/karwa/swift-checkit.git"
}
],
"manifest_display_name" : "swift-url",
"name" : "swift-url",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "WebURL",
"targets" : [
"WebURL"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "WebURLSystemExtras",
"targets" : [
"WebURLSystemExtras"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "WebURLFoundationExtras",
"targets" : [
"WebURLFoundationExtras"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "_WebURLIDNA",
"targets" : [
"IDNA"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "_WebURLTestSupport",
"targets" : [
"WebURLTestSupport"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "WebURLTests",
"module_type" : "SwiftTarget",
"name" : "WebURLTests",
"path" : "Tests/WebURLTests",
"product_dependencies" : [
"Checkit"
],
"sources" : [
"ASCIITests.swift",
"CollectionExtensionsTests.swift",
"DomainTests.swift",
"FilePathTests.swift",
"FormParametersTests.swift",
"HostTests.swift",
"IPv4AddressTests.swift",
"IPv6AddressTests.swift",
"ManagedArrayBufferTests.swift",
"MutableCollectionExtensionsTests.swift",
"OtherURLTests.swift",
"OtherUtilitiesTests.swift",
"PathComponentsTests.swift",
"PercentEncodingTests.swift",
"SchemeKindTests.swift",
"Utils.swift",
"WebPlatformTests.swift",
"WebURLPercentEncodingUtilsTests.swift",
"WebURLTests.swift",
"_ReportGeneratingTestCase.swift"
],
"target_dependencies" : [
"WebURL",
"WebURLTestSupport"
],
"type" : "test"
},
{
"c99name" : "WebURLTestSupport",
"module_type" : "SwiftTarget",
"name" : "WebURLTestSupport",
"path" : "Sources/WebURLTestSupport",
"product_memberships" : [
"_WebURLTestSupport"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WebURLTestSupport/TestFilesData",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"CollectionUtils.swift",
"IPAddressUtils.swift",
"JSONHelpers.swift",
"Reports/SimpleDescription.swift",
"Reports/SimpleTestReport.swift",
"TestFiles.swift",
"TestSuite.swift",
"TestSuites/FilePathTests+WebURLReportHarness.swift",
"TestSuites/FilePathTests.swift",
"TestSuites/UTS46Conformance+WebURLIDNAReportHarness.swift",
"TestSuites/UTS46Conformance.swift",
"TestSuites/WPTConstructorTest+WebURLReportHarness.swift",
"TestSuites/WPTConstructorTest.swift",
"TestSuites/WPTSetterTest+WebURLReportHarness.swift",
"TestSuites/WPTSetterTest.swift",
"TestSuites/WPTToASCIITest+WebURLReportHarness.swift",
"TestSuites/WPTToASCIITest.swift",
"URLValues.swift"
],
"target_dependencies" : [
"WebURL",
"IDNA"
],
"type" : "library"
},
{
"c99name" : "WebURLSystemExtrasTests",
"module_type" : "SwiftTarget",
"name" : "WebURLSystemExtrasTests",
"path" : "Tests/WebURLSystemExtrasTests",
"product_dependencies" : [
"SystemPackage"
],
"sources" : [
"SystemFilePathTests.swift",
"Utils.swift"
],
"target_dependencies" : [
"WebURLSystemExtras",
"WebURL"
],
"type" : "test"
},
{
"c99name" : "WebURLSystemExtras",
"module_type" : "SwiftTarget",
"name" : "WebURLSystemExtras",
"path" : "Sources/WebURLSystemExtras",
"product_dependencies" : [
"SystemPackage"
],
"product_memberships" : [
"WebURLSystemExtras"
],
"sources" : [
"WebURL+FilePaths+System.swift"
],
"target_dependencies" : [
"WebURL"
],
"type" : "library"
},
{
"c99name" : "WebURLFoundationExtrasTests",
"module_type" : "SwiftTarget",
"name" : "WebURLFoundationExtrasTests",
"path" : "Tests/WebURLFoundationExtrasTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WebURLFoundationExtrasTests/URLConversion/Resources",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Extensions/DataAndStringExtensions.swift",
"Extensions/URLRequestResponseExtensions.swift",
"URLConversion/FuzzCorpus_foundation_to_web.swift",
"URLConversion/FuzzCorpus_web_to_foundation.swift",
"URLConversion/WebToFoundationTests.swift",
"_ReportGeneratingTestCase.swift"
],
"target_dependencies" : [
"WebURLFoundationExtras",
"WebURLTestSupport",
"WebURL"
],
"type" : "test"
},
{
"c99name" : "WebURLFoundationExtras",
"module_type" : "SwiftTarget",
"name" : "WebURLFoundationExtras",
"path" : "Sources/WebURLFoundationExtras",
"product_memberships" : [
"WebURLFoundationExtras"
],
"sources" : [
"Extensions/DataAndString.swift",
"Extensions/URLRequestResponse.swift",
"Extensions/URLSession.swift",
"FoundationToWebURL.swift",
"Util/ConversionError.swift",
"Util/EvenFasterCollectionAlgorithms.swift",
"Util/StringAdditions.swift",
"WebURLToFoundation.swift"
],
"target_dependencies" : [
"WebURL"
],
"type" : "library"
},
{
"c99name" : "WebURLFoundationEndToEndTests",
"module_type" : "SwiftTarget",
"name" : "WebURLFoundationEndToEndTests",
"path" : "Tests/WebURLFoundationEndToEndTests",
"sources" : [
"LocalServer.swift",
"URLSessionTests.swift"
],
"target_dependencies" : [
"WebURLFoundationExtras",
"WebURL"
],
"type" : "test"
},
{
"c99name" : "WebURLDeprecatedAPITests",
"module_type" : "SwiftTarget",
"name" : "WebURLDeprecatedAPITests",
"path" : "Tests/WebURLDeprecatedAPITests",
"sources" : [
"DeprecatedAPITests.swift"
],
"target_dependencies" : [
"WebURL"
],
"type" : "test"
},
{
"c99name" : "WebURL",
"module_type" : "SwiftTarget",
"name" : "WebURL",
"path" : "Sources/WebURL",
"product_memberships" : [
"WebURL",
"WebURLSystemExtras",
"WebURLFoundationExtras",
"_WebURLTestSupport"
],
"sources" : [
"DeprecatedAPIs.swift",
"IPAddress.swift",
"Parser/Parser+Host.swift",
"Parser/Parser+Path.swift",
"Parser/Parser+StringUtils.swift",
"Parser/Parser.swift",
"Parser/URLWriter.swift",
"Parser/ValidationError.swift",
"Parser/WebURL+Component.swift",
"PercentEncoding.swift",
"SPIs.swift",
"URLStorage+Setters.swift",
"URLStorage.swift",
"URLStructure.swift",
"Util/ASCII+LazyTextTransformations.swift",
"Util/ASCII.swift",
"Util/BidirectionalCollection+suffix.swift",
"Util/BidirectionalCollection+trim.swift",
"Util/BitTwiddling.swift",
"Util/Collection+longestRange.swift",
"Util/Either.swift",
"Util/Errors.swift",
"Util/FastCollectionAlgorithms.swift",
"Util/Integers.swift",
"Util/ManagedArrayBuffer.swift",
"Util/MutableCollection+pathUtils.swift",
"Util/Pointers.swift",
"Util/StaticMember.swift",
"Util/StringAdditions.swift",
"Util/UnsafeBuffer+ReplaceSubrange.swift",
"Util/UnsafeSmallStack.swift",
"WebURL+Domain.swift",
"WebURL+FilePaths.swift",
"WebURL+FormParameters.swift",
"WebURL+Host.swift",
"WebURL+JSModel.swift",
"WebURL+Origin.swift",
"WebURL+PathComponents.swift",
"WebURL+Scheme.swift",
"WebURL+UTF8View.swift",
"WebURL.swift"
],
"target_dependencies" : [
"IDNA"
],
"type" : "library"
},
{
"c99name" : "UnicodeDataStructuresTests",
"module_type" : "SwiftTarget",
"name" : "UnicodeDataStructuresTests",
"path" : "Tests/UnicodeDataStructuresTests",
"product_dependencies" : [
"Checkit"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/UnicodeDataStructuresTests/GenerateData/TableDefinitions",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"GenerateData/GenerateData.swift",
"IndexedTableTests.swift",
"SegmentedLineTests.swift"
],
"target_dependencies" : [
"UnicodeDataStructures"
],
"type" : "test"
},
{
"c99name" : "UnicodeDataStructures",
"module_type" : "SwiftTarget",
"name" : "UnicodeDataStructures",
"path" : "Sources/UnicodeDataStructures",
"product_memberships" : [
"WebURL",
"WebURLSystemExtras",
"WebURLFoundationExtras",
"_WebURLIDNA",
"_WebURLTestSupport"
],
"sources" : [
"ParseNPrint/IDNAMappingDatabase.swift",
"ParseNPrint/IDNAValidationDatabase.swift",
"ParseNPrint/ParsingHelpers.swift",
"ParseNPrint/Printing.swift",
"ParseNPrint/Utils.swift",
"Shared/CodePointDatabase.swift",
"Shared/IDNA/IDNAMappingDataSchema.swift",
"Shared/IDNA/IDNAValidationDataSchema.swift",
"Shared/IndexedTable.swift",
"Shared/SegmentedLine.swift"
],
"type" : "library"
},
{
"c99name" : "IDNATests",
"module_type" : "SwiftTarget",
"name" : "IDNATests",
"path" : "Tests/IDNATests",
"sources" : [
"PunycodeTests.swift",
"SimpleToUnicodeTests.swift",
"UTS46ConformanceTests.swift",
"Utils.swift"
],
"target_dependencies" : [
"IDNA",
"WebURLTestSupport"
],
"type" : "test"
},
{
"c99name" : "IDNA",
"module_type" : "SwiftTarget",
"name" : "IDNA",
"path" : "Sources/IDNA",
"product_memberships" : [
"WebURL",
"WebURLSystemExtras",
"WebURLFoundationExtras",
"_WebURLIDNA",
"_WebURLTestSupport"
],
"sources" : [
"Generated/MappingData.swift",
"Generated/ValidationData.swift",
"IDNA.swift",
"NFC.swift",
"Punycode.swift"
],
"target_dependencies" : [
"UnicodeDataStructures"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
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 -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/10] Write sources
[7/10] Copying TestFilesData
[8/10] Compiling CSystem shims.c
[9/10] Write swift-version--7754E27361AE5C74.txt
[11/48] Emitting module SystemPackage
[12/51] Compiling UnicodeDataStructures IndexedTable.swift
[13/52] Compiling UnicodeDataStructures IDNAValidationDataSchema.swift
[14/52] Compiling UnicodeDataStructures IDNAMappingDataSchema.swift
[15/52] Compiling UnicodeDataStructures Utils.swift
[16/52] Compiling UnicodeDataStructures ParsingHelpers.swift
[17/52] Compiling UnicodeDataStructures Printing.swift
[18/52] Compiling UnicodeDataStructures IDNAValidationDatabase.swift
[19/52] Compiling UnicodeDataStructures IDNAMappingDatabase.swift
[20/52] Emitting module UnicodeDataStructures
[21/52] Compiling UnicodeDataStructures CodePointDatabase.swift
[22/52] Compiling UnicodeDataStructures SegmentedLine.swift
[23/58] Compiling SystemPackage FilePermissions.swift
[24/58] Compiling SystemPackage Backcompat.swift
[25/58] Compiling SystemPackage CInterop.swift
[26/58] Compiling SystemPackage FilePathString.swift
[27/58] Compiling SystemPackage FilePathSyntax.swift
[28/58] Compiling SystemPackage FilePathTemp.swift
[29/58] Compiling SystemPackage Constants.swift
[30/58] Compiling SystemPackage Exports.swift
[31/58] Compiling SystemPackage Mocking.swift
[32/58] Compiling SystemPackage FileHelpers.swift
[33/58] Compiling SystemPackage FileOperations.swift
[34/58] Compiling SystemPackage FilePath.swift
[35/58] Compiling SystemPackage MachPort.swift
[36/58] Compiling SystemPackage PlatformString.swift
[37/58] Compiling SystemPackage SystemString.swift
[38/58] Compiling SystemPackage Errno.swift
[39/58] Compiling SystemPackage ErrnoWindows.swift
[40/58] Compiling SystemPackage FileDescriptor.swift
[41/58] Compiling SystemPackage FilePathComponentView.swift
[42/58] Compiling SystemPackage FilePathComponents.swift
[43/58] Compiling SystemPackage FilePathParsing.swift
[44/58] Compiling SystemPackage FilePathTempPosix.swift
[45/58] Compiling SystemPackage FilePathTempWindows.swift
[46/58] Compiling SystemPackage FilePathWindows.swift
[47/58] Compiling SystemPackage RawBuffer.swift
[48/58] Compiling SystemPackage Syscalls.swift
[49/58] Compiling SystemPackage WindowsSyscallAdapters.swift
[50/58] Compiling SystemPackage Util+StringArray.swift
[51/58] Compiling SystemPackage Util.swift
[52/58] Compiling SystemPackage UtilConsumers.swift
[53/58] Compiling IDNA IDNA.swift
/Users/admin/builder/spi-builder-workspace/Sources/IDNA/IDNA.swift:585:14: warning: let '_idna_db' is not concurrency-safe because non-'Sendable' type 'CodePointDatabase<IDNAMappingData>' may have shared mutable state; this is an error in the Swift 6 language mode
583 |
584 | @usableFromInline
585 | internal let _idna_db = CodePointDatabase<IDNAMappingData>(
| `- warning: let '_idna_db' is not concurrency-safe because non-'Sendable' type 'CodePointDatabase<IDNAMappingData>' may have shared mutable state; this is an error in the Swift 6 language mode
586 | asciiData: _idna_map_ascii,
587 | bmpIndex: _idna_map_bmp_index,
/Users/admin/builder/spi-builder-workspace/Sources/UnicodeDataStructures/Shared/CodePointDatabase.swift:138:15: note: generic struct 'CodePointDatabase' does not conform to the 'Sendable' protocol
136 | /// to avoid padding and also improve cache performance.
137 | ///
138 | public struct CodePointDatabase<Schema: CodePointDatabase_Schema> {
| `- note: generic struct 'CodePointDatabase' does not conform to the 'Sendable' protocol
139 |
140 | public typealias SplitTable<CodePoint, Data> = (codepoints: [CodePoint], data: [Data])
/Users/admin/builder/spi-builder-workspace/Sources/IDNA/IDNA.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UnicodeDataStructures'
13 | // limitations under the License.
14 |
15 | import UnicodeDataStructures
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UnicodeDataStructures'
16 |
17 | /// Functions relating to Internationalizing Domain Names for Applications (IDNA) compatibility processing.
:
583 |
584 | @usableFromInline
585 | internal let _idna_db = CodePointDatabase<IDNAMappingData>(
| |- note: annotate '_idna_db' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
586 | asciiData: _idna_map_ascii,
587 | bmpIndex: _idna_map_bmp_index,
/Users/admin/builder/spi-builder-workspace/Sources/IDNA/IDNA.swift:780:14: warning: let '_validation_db' is not concurrency-safe because non-'Sendable' type 'CodePointDatabase<IDNAValidationData>' may have shared mutable state; this is an error in the Swift 6 language mode
778 |
779 | @usableFromInline
780 | internal let _validation_db = CodePointDatabase<IDNAValidationData>(
| |- warning: let '_validation_db' is not concurrency-safe because non-'Sendable' type 'CodePointDatabase<IDNAValidationData>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_validation_db' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
781 | asciiData: _idna_validate_ascii,
782 | bmpIndex: _idna_validate_bmp_index,
/Users/admin/builder/spi-builder-workspace/Sources/UnicodeDataStructures/Shared/CodePointDatabase.swift:138:15: note: generic struct 'CodePointDatabase' does not conform to the 'Sendable' protocol
136 | /// to avoid padding and also improve cache performance.
137 | ///
138 | public struct CodePointDatabase<Schema: CodePointDatabase_Schema> {
| `- note: generic struct 'CodePointDatabase' does not conform to the 'Sendable' protocol
139 |
140 | public typealias SplitTable<CodePoint, Data> = (codepoints: [CodePoint], data: [Data])
[54/58] Compiling IDNA Punycode.swift
[55/58] Compiling IDNA MappingData.swift
[56/58] Compiling IDNA ValidationData.swift
[57/58] Emitting module IDNA
/Users/admin/builder/spi-builder-workspace/Sources/IDNA/IDNA.swift:585:14: warning: let '_idna_db' is not concurrency-safe because non-'Sendable' type 'CodePointDatabase<IDNAMappingData>' may have shared mutable state; this is an error in the Swift 6 language mode
583 |
584 | @usableFromInline
585 | internal let _idna_db = CodePointDatabase<IDNAMappingData>(
| `- warning: let '_idna_db' is not concurrency-safe because non-'Sendable' type 'CodePointDatabase<IDNAMappingData>' may have shared mutable state; this is an error in the Swift 6 language mode
586 | asciiData: _idna_map_ascii,
587 | bmpIndex: _idna_map_bmp_index,
/Users/admin/builder/spi-builder-workspace/Sources/UnicodeDataStructures/Shared/CodePointDatabase.swift:138:15: note: generic struct 'CodePointDatabase' does not conform to the 'Sendable' protocol
136 | /// to avoid padding and also improve cache performance.
137 | ///
138 | public struct CodePointDatabase<Schema: CodePointDatabase_Schema> {
| `- note: generic struct 'CodePointDatabase' does not conform to the 'Sendable' protocol
139 |
140 | public typealias SplitTable<CodePoint, Data> = (codepoints: [CodePoint], data: [Data])
/Users/admin/builder/spi-builder-workspace/Sources/IDNA/IDNA.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UnicodeDataStructures'
13 | // limitations under the License.
14 |
15 | import UnicodeDataStructures
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UnicodeDataStructures'
16 |
17 | /// Functions relating to Internationalizing Domain Names for Applications (IDNA) compatibility processing.
:
583 |
584 | @usableFromInline
585 | internal let _idna_db = CodePointDatabase<IDNAMappingData>(
| |- note: annotate '_idna_db' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
586 | asciiData: _idna_map_ascii,
587 | bmpIndex: _idna_map_bmp_index,
/Users/admin/builder/spi-builder-workspace/Sources/IDNA/IDNA.swift:780:14: warning: let '_validation_db' is not concurrency-safe because non-'Sendable' type 'CodePointDatabase<IDNAValidationData>' may have shared mutable state; this is an error in the Swift 6 language mode
778 |
779 | @usableFromInline
780 | internal let _validation_db = CodePointDatabase<IDNAValidationData>(
| |- warning: let '_validation_db' is not concurrency-safe because non-'Sendable' type 'CodePointDatabase<IDNAValidationData>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_validation_db' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
781 | asciiData: _idna_validate_ascii,
782 | bmpIndex: _idna_validate_bmp_index,
/Users/admin/builder/spi-builder-workspace/Sources/UnicodeDataStructures/Shared/CodePointDatabase.swift:138:15: note: generic struct 'CodePointDatabase' does not conform to the 'Sendable' protocol
136 | /// to avoid padding and also improve cache performance.
137 | ///
138 | public struct CodePointDatabase<Schema: CodePointDatabase_Schema> {
| `- note: generic struct 'CodePointDatabase' does not conform to the 'Sendable' protocol
139 |
140 | public typealias SplitTable<CodePoint, Data> = (codepoints: [CodePoint], data: [Data])
[58/58] Compiling IDNA NFC.swift
[59/96] Compiling WebURL MutableCollection+pathUtils.swift
[60/96] Compiling WebURL Pointers.swift
[61/96] Compiling WebURL StaticMember.swift
[62/96] Compiling WebURL StringAdditions.swift
[63/100] Compiling WebURL Errors.swift
[64/100] Compiling WebURL FastCollectionAlgorithms.swift
[65/100] Compiling WebURL Integers.swift
[66/100] Compiling WebURL ManagedArrayBuffer.swift
[67/100] Compiling WebURL URLStructure.swift
[68/100] Compiling WebURL ASCII+LazyTextTransformations.swift
[69/100] Compiling WebURL ASCII.swift
[70/100] Compiling WebURL BidirectionalCollection+suffix.swift
[71/100] Compiling WebURL WebURL+FormParameters.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/WebURL+FormParameters.swift:933:47: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
931 | ).first(where: { remaining[$0.key].elementsEqual(encodedKey) }) {
932 | let baseAddress = remaining.baseAddress!
933 | (baseAddress + match.pair.lowerBound).assign(
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
934 | from: baseAddress + match.pair.upperBound, count: remaining.count - match.pair.upperBound
935 | )
[72/100] Compiling WebURL WebURL+Host.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/WebURL+FormParameters.swift:933:47: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
931 | ).first(where: { remaining[$0.key].elementsEqual(encodedKey) }) {
932 | let baseAddress = remaining.baseAddress!
933 | (baseAddress + match.pair.lowerBound).assign(
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
934 | from: baseAddress + match.pair.upperBound, count: remaining.count - match.pair.upperBound
935 | )
[73/100] Compiling WebURL WebURL+JSModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/WebURL+FormParameters.swift:933:47: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
931 | ).first(where: { remaining[$0.key].elementsEqual(encodedKey) }) {
932 | let baseAddress = remaining.baseAddress!
933 | (baseAddress + match.pair.lowerBound).assign(
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
934 | from: baseAddress + match.pair.upperBound, count: remaining.count - match.pair.upperBound
935 | )
[74/100] Compiling WebURL WebURL+Origin.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/WebURL+FormParameters.swift:933:47: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
931 | ).first(where: { remaining[$0.key].elementsEqual(encodedKey) }) {
932 | let baseAddress = remaining.baseAddress!
933 | (baseAddress + match.pair.lowerBound).assign(
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
934 | from: baseAddress + match.pair.upperBound, count: remaining.count - match.pair.upperBound
935 | )
[75/100] Compiling WebURL Parser.swift
[76/100] Compiling WebURL URLWriter.swift
[77/100] Compiling WebURL ValidationError.swift
[78/100] Compiling WebURL WebURL+Component.swift
[79/100] Compiling WebURL DeprecatedAPIs.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/IPAddress.swift:655:16: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
653 | let uint16s = octetBuffer.bindMemory(to: UInt16.self)
654 | parsedPieces.baseAddress.unsafelyUnwrapped.advanced(by: pieceIndex)
655 | .assign(from: uint16s.baseAddress.unsafelyUnwrapped, count: 2)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
656 | }
657 | pieceIndex &+= 2
[80/100] Compiling WebURL IPAddress.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/IPAddress.swift:655:16: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
653 | let uint16s = octetBuffer.bindMemory(to: UInt16.self)
654 | parsedPieces.baseAddress.unsafelyUnwrapped.advanced(by: pieceIndex)
655 | .assign(from: uint16s.baseAddress.unsafelyUnwrapped, count: 2)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
656 | }
657 | pieceIndex &+= 2
[81/100] Compiling WebURL Parser+Host.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/IPAddress.swift:655:16: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
653 | let uint16s = octetBuffer.bindMemory(to: UInt16.self)
654 | parsedPieces.baseAddress.unsafelyUnwrapped.advanced(by: pieceIndex)
655 | .assign(from: uint16s.baseAddress.unsafelyUnwrapped, count: 2)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
656 | }
657 | pieceIndex &+= 2
[82/100] Compiling WebURL Parser+Path.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/IPAddress.swift:655:16: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
653 | let uint16s = octetBuffer.bindMemory(to: UInt16.self)
654 | parsedPieces.baseAddress.unsafelyUnwrapped.advanced(by: pieceIndex)
655 | .assign(from: uint16s.baseAddress.unsafelyUnwrapped, count: 2)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
656 | }
657 | pieceIndex &+= 2
[83/100] Compiling WebURL Parser+StringUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/IPAddress.swift:655:16: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
653 | let uint16s = octetBuffer.bindMemory(to: UInt16.self)
654 | parsedPieces.baseAddress.unsafelyUnwrapped.advanced(by: pieceIndex)
655 | .assign(from: uint16s.baseAddress.unsafelyUnwrapped, count: 2)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
656 | }
657 | pieceIndex &+= 2
[84/100] Compiling WebURL WebURL+PathComponents.swift
[85/100] Compiling WebURL WebURL+Scheme.swift
[86/100] Compiling WebURL WebURL+UTF8View.swift
[87/100] Compiling WebURL WebURL.swift
[88/100] Compiling WebURL UnsafeBuffer+ReplaceSubrange.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/WebURL+FilePaths.swift:538:16: warning: stored property '_err' of 'Sendable'-conforming struct 'URLFromFilePathError' has non-sendable type 'URLFromFilePathError._Err'; this is an error in the Swift 6 language mode
524 |
525 | @usableFromInline
526 | internal enum _Err {
| `- note: consider making enum '_Err' conform to the 'Sendable' protocol
527 | case emptyInput
528 | case nullBytes
:
536 |
537 | @usableFromInline
538 | internal var _err: _Err
| `- warning: stored property '_err' of 'Sendable'-conforming struct 'URLFromFilePathError' has non-sendable type 'URLFromFilePathError._Err'; this is an error in the Swift 6 language mode
539 |
540 | @inlinable init(_ _err: _Err) {
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/WebURL+FilePaths.swift:1073:16: warning: stored property '_err' of 'Sendable'-conforming struct 'FilePathFromURLError' has non-sendable type 'FilePathFromURLError._Err'; this is an error in the Swift 6 language mode
1060 |
1061 | @usableFromInline
1062 | internal enum _Err {
| `- note: consider making enum '_Err' conform to the 'Sendable' protocol
1063 | case notAFileURL
1064 | case encodedPathSeparator
:
1071 |
1072 | @usableFromInline
1073 | internal var _err: _Err
| `- warning: stored property '_err' of 'Sendable'-conforming struct 'FilePathFromURLError' has non-sendable type 'FilePathFromURLError._Err'; this is an error in the Swift 6 language mode
1074 |
1075 | @inlinable
[89/100] Compiling WebURL UnsafeSmallStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/WebURL+FilePaths.swift:538:16: warning: stored property '_err' of 'Sendable'-conforming struct 'URLFromFilePathError' has non-sendable type 'URLFromFilePathError._Err'; this is an error in the Swift 6 language mode
524 |
525 | @usableFromInline
526 | internal enum _Err {
| `- note: consider making enum '_Err' conform to the 'Sendable' protocol
527 | case emptyInput
528 | case nullBytes
:
536 |
537 | @usableFromInline
538 | internal var _err: _Err
| `- warning: stored property '_err' of 'Sendable'-conforming struct 'URLFromFilePathError' has non-sendable type 'URLFromFilePathError._Err'; this is an error in the Swift 6 language mode
539 |
540 | @inlinable init(_ _err: _Err) {
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/WebURL+FilePaths.swift:1073:16: warning: stored property '_err' of 'Sendable'-conforming struct 'FilePathFromURLError' has non-sendable type 'FilePathFromURLError._Err'; this is an error in the Swift 6 language mode
1060 |
1061 | @usableFromInline
1062 | internal enum _Err {
| `- note: consider making enum '_Err' conform to the 'Sendable' protocol
1063 | case notAFileURL
1064 | case encodedPathSeparator
:
1071 |
1072 | @usableFromInline
1073 | internal var _err: _Err
| `- warning: stored property '_err' of 'Sendable'-conforming struct 'FilePathFromURLError' has non-sendable type 'FilePathFromURLError._Err'; this is an error in the Swift 6 language mode
1074 |
1075 | @inlinable
[90/100] Compiling WebURL WebURL+Domain.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/WebURL+FilePaths.swift:538:16: warning: stored property '_err' of 'Sendable'-conforming struct 'URLFromFilePathError' has non-sendable type 'URLFromFilePathError._Err'; this is an error in the Swift 6 language mode
524 |
525 | @usableFromInline
526 | internal enum _Err {
| `- note: consider making enum '_Err' conform to the 'Sendable' protocol
527 | case emptyInput
528 | case nullBytes
:
536 |
537 | @usableFromInline
538 | internal var _err: _Err
| `- warning: stored property '_err' of 'Sendable'-conforming struct 'URLFromFilePathError' has non-sendable type 'URLFromFilePathError._Err'; this is an error in the Swift 6 language mode
539 |
540 | @inlinable init(_ _err: _Err) {
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/WebURL+FilePaths.swift:1073:16: warning: stored property '_err' of 'Sendable'-conforming struct 'FilePathFromURLError' has non-sendable type 'FilePathFromURLError._Err'; this is an error in the Swift 6 language mode
1060 |
1061 | @usableFromInline
1062 | internal enum _Err {
| `- note: consider making enum '_Err' conform to the 'Sendable' protocol
1063 | case notAFileURL
1064 | case encodedPathSeparator
:
1071 |
1072 | @usableFromInline
1073 | internal var _err: _Err
| `- warning: stored property '_err' of 'Sendable'-conforming struct 'FilePathFromURLError' has non-sendable type 'FilePathFromURLError._Err'; this is an error in the Swift 6 language mode
1074 |
1075 | @inlinable
[91/100] Compiling WebURL WebURL+FilePaths.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/WebURL+FilePaths.swift:538:16: warning: stored property '_err' of 'Sendable'-conforming struct 'URLFromFilePathError' has non-sendable type 'URLFromFilePathError._Err'; this is an error in the Swift 6 language mode
524 |
525 | @usableFromInline
526 | internal enum _Err {
| `- note: consider making enum '_Err' conform to the 'Sendable' protocol
527 | case emptyInput
528 | case nullBytes
:
536 |
537 | @usableFromInline
538 | internal var _err: _Err
| `- warning: stored property '_err' of 'Sendable'-conforming struct 'URLFromFilePathError' has non-sendable type 'URLFromFilePathError._Err'; this is an error in the Swift 6 language mode
539 |
540 | @inlinable init(_ _err: _Err) {
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/WebURL+FilePaths.swift:1073:16: warning: stored property '_err' of 'Sendable'-conforming struct 'FilePathFromURLError' has non-sendable type 'FilePathFromURLError._Err'; this is an error in the Swift 6 language mode
1060 |
1061 | @usableFromInline
1062 | internal enum _Err {
| `- note: consider making enum '_Err' conform to the 'Sendable' protocol
1063 | case notAFileURL
1064 | case encodedPathSeparator
:
1071 |
1072 | @usableFromInline
1073 | internal var _err: _Err
| `- warning: stored property '_err' of 'Sendable'-conforming struct 'FilePathFromURLError' has non-sendable type 'FilePathFromURLError._Err'; this is an error in the Swift 6 language mode
1074 |
1075 | @inlinable
[92/100] Compiling WebURL BidirectionalCollection+trim.swift
[93/100] Compiling WebURL BitTwiddling.swift
[94/100] Compiling WebURL Collection+longestRange.swift
[95/100] Compiling WebURL Either.swift
[96/100] Compiling WebURL PercentEncoding.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/PercentEncoding.swift:2169:14: warning: let 'percent_encoding_table' is not concurrency-safe because non-'Sendable' type '[URLEncodeSetSet]' may have shared mutable state; this is an error in the Swift 6 language mode
2144 | /// A set of `URLEncodeSet`s.
2145 | @usableFromInline
2146 | internal struct URLEncodeSetSet: OptionSet {
| `- note: consider making struct 'URLEncodeSetSet' conform to the 'Sendable' protocol
2147 |
2148 | @usableFromInline
:
2167 | // swift-format-ignore
2168 | @usableFromInline
2169 | internal let percent_encoding_table: [URLEncodeSetSet] = [
| |- warning: let 'percent_encoding_table' is not concurrency-safe because non-'Sendable' type '[URLEncodeSetSet]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'percent_encoding_table' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2170 | // Control Characters ---------------------------------------------------------------------
2171 | /* 0x00 null */ [.c0, .fragment, .query, .specialQuery, .path, .userInfo, .form, .component],
[97/100] Compiling WebURL SPIs.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/PercentEncoding.swift:2169:14: warning: let 'percent_encoding_table' is not concurrency-safe because non-'Sendable' type '[URLEncodeSetSet]' may have shared mutable state; this is an error in the Swift 6 language mode
2144 | /// A set of `URLEncodeSet`s.
2145 | @usableFromInline
2146 | internal struct URLEncodeSetSet: OptionSet {
| `- note: consider making struct 'URLEncodeSetSet' conform to the 'Sendable' protocol
2147 |
2148 | @usableFromInline
:
2167 | // swift-format-ignore
2168 | @usableFromInline
2169 | internal let percent_encoding_table: [URLEncodeSetSet] = [
| |- warning: let 'percent_encoding_table' is not concurrency-safe because non-'Sendable' type '[URLEncodeSetSet]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'percent_encoding_table' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2170 | // Control Characters ---------------------------------------------------------------------
2171 | /* 0x00 null */ [.c0, .fragment, .query, .specialQuery, .path, .userInfo, .form, .component],
[98/100] Compiling WebURL URLStorage+Setters.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/PercentEncoding.swift:2169:14: warning: let 'percent_encoding_table' is not concurrency-safe because non-'Sendable' type '[URLEncodeSetSet]' may have shared mutable state; this is an error in the Swift 6 language mode
2144 | /// A set of `URLEncodeSet`s.
2145 | @usableFromInline
2146 | internal struct URLEncodeSetSet: OptionSet {
| `- note: consider making struct 'URLEncodeSetSet' conform to the 'Sendable' protocol
2147 |
2148 | @usableFromInline
:
2167 | // swift-format-ignore
2168 | @usableFromInline
2169 | internal let percent_encoding_table: [URLEncodeSetSet] = [
| |- warning: let 'percent_encoding_table' is not concurrency-safe because non-'Sendable' type '[URLEncodeSetSet]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'percent_encoding_table' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2170 | // Control Characters ---------------------------------------------------------------------
2171 | /* 0x00 null */ [.c0, .fragment, .query, .specialQuery, .path, .userInfo, .form, .component],
[99/100] Compiling WebURL URLStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/PercentEncoding.swift:2169:14: warning: let 'percent_encoding_table' is not concurrency-safe because non-'Sendable' type '[URLEncodeSetSet]' may have shared mutable state; this is an error in the Swift 6 language mode
2144 | /// A set of `URLEncodeSet`s.
2145 | @usableFromInline
2146 | internal struct URLEncodeSetSet: OptionSet {
| `- note: consider making struct 'URLEncodeSetSet' conform to the 'Sendable' protocol
2147 |
2148 | @usableFromInline
:
2167 | // swift-format-ignore
2168 | @usableFromInline
2169 | internal let percent_encoding_table: [URLEncodeSetSet] = [
| |- warning: let 'percent_encoding_table' is not concurrency-safe because non-'Sendable' type '[URLEncodeSetSet]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'percent_encoding_table' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2170 | // Control Characters ---------------------------------------------------------------------
2171 | /* 0x00 null */ [.c0, .fragment, .query, .specialQuery, .path, .userInfo, .form, .component],
[100/100] Emitting module WebURL
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/IPAddress.swift:655:16: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
653 | let uint16s = octetBuffer.bindMemory(to: UInt16.self)
654 | parsedPieces.baseAddress.unsafelyUnwrapped.advanced(by: pieceIndex)
655 | .assign(from: uint16s.baseAddress.unsafelyUnwrapped, count: 2)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
656 | }
657 | pieceIndex &+= 2
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/PercentEncoding.swift:2169:14: warning: let 'percent_encoding_table' is not concurrency-safe because non-'Sendable' type '[URLEncodeSetSet]' may have shared mutable state; this is an error in the Swift 6 language mode
2144 | /// A set of `URLEncodeSet`s.
2145 | @usableFromInline
2146 | internal struct URLEncodeSetSet: OptionSet {
| `- note: consider making struct 'URLEncodeSetSet' conform to the 'Sendable' protocol
2147 |
2148 | @usableFromInline
:
2167 | // swift-format-ignore
2168 | @usableFromInline
2169 | internal let percent_encoding_table: [URLEncodeSetSet] = [
| |- warning: let 'percent_encoding_table' is not concurrency-safe because non-'Sendable' type '[URLEncodeSetSet]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'percent_encoding_table' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2170 | // Control Characters ---------------------------------------------------------------------
2171 | /* 0x00 null */ [.c0, .fragment, .query, .specialQuery, .path, .userInfo, .form, .component],
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/WebURL+FilePaths.swift:538:16: warning: stored property '_err' of 'Sendable'-conforming struct 'URLFromFilePathError' has non-sendable type 'URLFromFilePathError._Err'; this is an error in the Swift 6 language mode
524 |
525 | @usableFromInline
526 | internal enum _Err {
| `- note: consider making enum '_Err' conform to the 'Sendable' protocol
527 | case emptyInput
528 | case nullBytes
:
536 |
537 | @usableFromInline
538 | internal var _err: _Err
| `- warning: stored property '_err' of 'Sendable'-conforming struct 'URLFromFilePathError' has non-sendable type 'URLFromFilePathError._Err'; this is an error in the Swift 6 language mode
539 |
540 | @inlinable init(_ _err: _Err) {
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/WebURL+FilePaths.swift:1073:16: warning: stored property '_err' of 'Sendable'-conforming struct 'FilePathFromURLError' has non-sendable type 'FilePathFromURLError._Err'; this is an error in the Swift 6 language mode
1060 |
1061 | @usableFromInline
1062 | internal enum _Err {
| `- note: consider making enum '_Err' conform to the 'Sendable' protocol
1063 | case notAFileURL
1064 | case encodedPathSeparator
:
1071 |
1072 | @usableFromInline
1073 | internal var _err: _Err
| `- warning: stored property '_err' of 'Sendable'-conforming struct 'FilePathFromURLError' has non-sendable type 'FilePathFromURLError._Err'; this is an error in the Swift 6 language mode
1074 |
1075 | @inlinable
/Users/admin/builder/spi-builder-workspace/Sources/WebURL/WebURL+FormParameters.swift:933:47: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
931 | ).first(where: { remaining[$0.key].elementsEqual(encodedKey) }) {
932 | let baseAddress = remaining.baseAddress!
933 | (baseAddress + match.pair.lowerBound).assign(
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
934 | from: baseAddress + match.pair.upperBound, count: remaining.count - match.pair.upperBound
935 | )
[101/130] Emitting module WebURLSystemExtras
[102/130] Compiling WebURLSystemExtras WebURL+FilePaths+System.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebURLSystemExtras/WebURL+FilePaths+System.swift:151:20: warning: 'init(cString:)' is deprecated: replaced by 'init(platformString:)'
149 | try PlatformStringConversions.fromMultiByte($0) {
150 | guard let platformString = $0 else { throw FilePathFromURLError.transcodingFailure }
151 | return FilePath(cString: platformString.baseAddress!)
| |- warning: 'init(cString:)' is deprecated: replaced by 'init(platformString:)'
| `- note: use 'init(platformString:)' instead
152 | }
153 | }
[103/130] Compiling WebURLFoundationExtras URLSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebURLFoundationExtras/Extensions/URLSession.swift:94:60: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
90 | ///
91 | public func dataTask(
92 | with url: WebURL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void
| `- note: parameter 'completionHandler' is implicitly non-sendable
93 | ) -> URLSessionDataTask {
94 | URL(url).map { dataTask(with: $0, completionHandler: completionHandler) }
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
95 | ?? dataTask(with: .requestForConversionFailure(url), completionHandler: completionHandler)
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/WebURLFoundationExtras/Extensions/URLSession.swift:95:81: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
90 | ///
91 | public func dataTask(
92 | with url: WebURL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void
| `- note: parameter 'completionHandler' is implicitly non-sendable
93 | ) -> URLSessionDataTask {
94 | URL(url).map { dataTask(with: $0, completionHandler: completionHandler) }
95 | ?? dataTask(with: .requestForConversionFailure(url), completionHandler: completionHandler)
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
96 | }
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/WebURLFoundationExtras/Extensions/URLSession.swift:274:71: warning: converting non-sendable function value to '@Sendable (URL?, URLResponse?, (any Error)?) -> Void' may introduce data races
272 | }
273 |
274 | return URL(url).map { downloadTask(with: $0, completionHandler: wrappedCompletionHandler) }
| `- warning: converting non-sendable function value to '@Sendable (URL?, URLResponse?, (any Error)?) -> Void' may introduce data races
275 | ?? downloadTask(with: .requestForConversionFailure(url), completionHandler: wrappedCompletionHandler)
276 | }
/Users/admin/builder/spi-builder-workspace/Sources/WebURLFoundationExtras/Extensions/URLSession.swift:275:85: warning: converting non-sendable function value to '@Sendable (URL?, URLResponse?, (any Error)?) -> Void' may introduce data races
273 |
274 | return URL(url).map { downloadTask(with: $0, completionHandler: wrappedCompletionHandler) }
275 | ?? downloadTask(with: .requestForConversionFailure(url), completionHandler: wrappedCompletionHandler)
| `- warning: converting non-sendable function value to '@Sendable (URL?, URLResponse?, (any Error)?) -> Void' may introduce data races
276 | }
277 | }
[104/130] Compiling WebURLFoundationExtras DataAndString.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebURLFoundationExtras/Extensions/DataAndString.swift:38:25: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Data._ExtendedFunctions' may have shared mutable state; this is an error in the Swift 6 language mode
32 | /// Foundation APIs which can be stubbed for integration tests.
33 | ///
34 | internal struct _ExtendedFunctions {
| `- note: consider making struct '_ExtendedFunctions' conform to the 'Sendable' protocol
35 | internal var contentsOfURL: (URL, Data.ReadingOptions) throws -> Data
36 | internal var writeToURL: (Data, URL, Data.WritingOptions) throws -> Void
37 |
38 | internal static let `default` = _ExtendedFunctions(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Data._ExtendedFunctions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | contentsOfURL: { try Data(contentsOf: $0, options: $1) },
40 | writeToURL: { try $0.write(to: $1, options: $2) }
/Users/admin/builder/spi-builder-workspace/Sources/WebURLFoundationExtras/Extensions/DataAndString.swift:45:25: warning: static property 'extendedFunctions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | #if DEBUG
45 | internal static var extendedFunctions = _ExtendedFunctions.default
| |- warning: static property 'extendedFunctions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'extendedFunctions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'extendedFunctions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | #else
47 | internal static let extendedFunctions = _ExtendedFunctions.default
/Users/admin/builder/spi-builder-workspace/Sources/WebURLFoundationExtras/Extensions/DataAndString.swift:87:25: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'String._ExtendedFunctions' may have shared mutable state; this is an error in the Swift 6 language mode
79 | /// Foundation APIs which can be stubbed for integration tests.
80 | ///
81 | internal struct _ExtendedFunctions {
| `- note: consider making struct '_ExtendedFunctions' conform to the 'Sendable' protocol
82 | internal var contentsOfURL: (URL) throws -> String
83 | internal var contentsOfURLWithEncoding: (URL, String.Encoding) throws -> String
:
85 | internal var writeToURL: (String, URL, Bool, String.Encoding) throws -> Void
86 |
87 | internal static let `default` = _ExtendedFunctions(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'String._ExtendedFunctions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | contentsOfURL: { try String(contentsOf: $0) },
89 | contentsOfURLWithEncoding: { try String(contentsOf: $0, encoding: $1) },
/Users/admin/builder/spi-builder-workspace/Sources/WebURLFoundationExtras/Extensions/DataAndString.swift:96:25: warning: static property 'extendedFunctions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
94 |
95 | #if DEBUG
96 | internal static var extendedFunctions = _ExtendedFunctions.default
| |- warning: static property 'extendedFunctions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'extendedFunctions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'extendedFunctions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | #else
98 | internal static let extendedFunctions = _ExtendedFunctions.default
[105/130] Compiling WebURLFoundationExtras FoundationToWebURL.swift
[106/130] Compiling WebURLFoundationExtras URLRequestResponse.swift
[107/130] Emitting module WebURLFoundationExtras
/Users/admin/builder/spi-builder-workspace/Sources/WebURLFoundationExtras/Extensions/DataAndString.swift:38:25: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Data._ExtendedFunctions' may have shared mutable state; this is an error in the Swift 6 language mode
32 | /// Foundation APIs which can be stubbed for integration tests.
33 | ///
34 | internal struct _ExtendedFunctions {
| `- note: consider making struct '_ExtendedFunctions' conform to the 'Sendable' protocol
35 | internal var contentsOfURL: (URL, Data.ReadingOptions) throws -> Data
36 | internal var writeToURL: (Data, URL, Data.WritingOptions) throws -> Void
37 |
38 | internal static let `default` = _ExtendedFunctions(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Data._ExtendedFunctions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | contentsOfURL: { try Data(contentsOf: $0, options: $1) },
40 | writeToURL: { try $0.write(to: $1, options: $2) }
/Users/admin/builder/spi-builder-workspace/Sources/WebURLFoundationExtras/Extensions/DataAndString.swift:45:25: warning: static property 'extendedFunctions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | #if DEBUG
45 | internal static var extendedFunctions = _ExtendedFunctions.default
| |- warning: static property 'extendedFunctions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'extendedFunctions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'extendedFunctions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | #else
47 | internal static let extendedFunctions = _ExtendedFunctions.default
/Users/admin/builder/spi-builder-workspace/Sources/WebURLFoundationExtras/Extensions/DataAndString.swift:87:25: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'String._ExtendedFunctions' may have shared mutable state; this is an error in the Swift 6 language mode
79 | /// Foundation APIs which can be stubbed for integration tests.
80 | ///
81 | internal struct _ExtendedFunctions {
| `- note: consider making struct '_ExtendedFunctions' conform to the 'Sendable' protocol
82 | internal var contentsOfURL: (URL) throws -> String
83 | internal var contentsOfURLWithEncoding: (URL, String.Encoding) throws -> String
:
85 | internal var writeToURL: (String, URL, Bool, String.Encoding) throws -> Void
86 |
87 | internal static let `default` = _ExtendedFunctions(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'String._ExtendedFunctions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | contentsOfURL: { try String(contentsOf: $0) },
89 | contentsOfURLWithEncoding: { try String(contentsOf: $0, encoding: $1) },
/Users/admin/builder/spi-builder-workspace/Sources/WebURLFoundationExtras/Extensions/DataAndString.swift:96:25: warning: static property 'extendedFunctions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
94 |
95 | #if DEBUG
96 | internal static var extendedFunctions = _ExtendedFunctions.default
| |- warning: static property 'extendedFunctions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'extendedFunctions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'extendedFunctions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | #else
98 | internal static let extendedFunctions = _ExtendedFunctions.default
[108/130] Compiling WebURLFoundationExtras ConversionError.swift
[109/130] Compiling WebURLFoundationExtras EvenFasterCollectionAlgorithms.swift
[110/130] Compiling WebURLFoundationExtras StringAdditions.swift
[111/130] Compiling WebURLFoundationExtras WebURLToFoundation.swift
[112/130] Compiling WebURLTestSupport WPTConstructorTest.swift
[113/130] Compiling WebURLTestSupport WPTSetterTest+WebURLReportHarness.swift
[114/131] Compiling WebURLTestSupport UTS46Conformance.swift
[115/131] Compiling WebURLTestSupport WPTConstructorTest+WebURLReportHarness.swift
[116/131] Compiling WebURLTestSupport WPTSetterTest.swift
[117/131] Compiling WebURLTestSupport WPTToASCIITest+WebURLReportHarness.swift
[118/131] Compiling WebURLTestSupport WPTToASCIITest.swift
[119/131] Compiling WebURLTestSupport URLValues.swift
[120/131] Compiling WebURLTestSupport resource_bundle_accessor.swift
[121/131] Compiling WebURLTestSupport TestSuite.swift
[122/131] Compiling WebURLTestSupport FilePathTests+WebURLReportHarness.swift
[123/131] Compiling WebURLTestSupport JSONHelpers.swift
[124/131] Compiling WebURLTestSupport SimpleDescription.swift
[125/131] Compiling WebURLTestSupport SimpleTestReport.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebURLTestSupport/TestFiles.swift:39:8: warning: associated value 'failedToLoad(_:error:)' of 'Sendable'-conforming enum 'LoadTestFileError' has non-sendable type 'TestFile'; this is an error in the Swift 6 language mode
21 | /// - ``loadTestFile(_:as:)``, providing to decode the file from JSON using Codable.
22 | ///
23 | public enum TestFile: String, Equatable, Hashable, Codable {
| `- note: consider making enum 'TestFile' conform to the 'Sendable' protocol
24 | case WPTURLConstructorTests = "urltestdata"
25 | case WebURLAdditionalConstructorTests = "additional_constructor_tests"
:
37 |
38 | internal enum LoadTestFileError: Error {
39 | case failedToLoad(TestFile, error: Error?)
| `- warning: associated value 'failedToLoad(_:error:)' of 'Sendable'-conforming enum 'LoadTestFileError' has non-sendable type 'TestFile'; this is an error in the Swift 6 language mode
40 | case failedToDecode(TestFile, error: Error)
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/WebURLTestSupport/TestFiles.swift:40:8: warning: associated value 'failedToDecode(_:error:)' of 'Sendable'-conforming enum 'LoadTestFileError' has non-sendable type 'TestFile'; this is an error in the Swift 6 language mode
21 | /// - ``loadTestFile(_:as:)``, providing to decode the file from JSON using Codable.
22 | ///
23 | public enum TestFile: String, Equatable, Hashable, Codable {
| `- note: consider making enum 'TestFile' conform to the 'Sendable' protocol
24 | case WPTURLConstructorTests = "urltestdata"
25 | case WebURLAdditionalConstructorTests = "additional_constructor_tests"
:
38 | internal enum LoadTestFileError: Error {
39 | case failedToLoad(TestFile, error: Error?)
40 | case failedToDecode(TestFile, error: Error)
| `- warning: associated value 'failedToDecode(_:error:)' of 'Sendable'-conforming enum 'LoadTestFileError' has non-sendable type 'TestFile'; this is an error in the Swift 6 language mode
41 | }
42 |
[126/131] Compiling WebURLTestSupport TestFiles.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebURLTestSupport/TestFiles.swift:39:8: warning: associated value 'failedToLoad(_:error:)' of 'Sendable'-conforming enum 'LoadTestFileError' has non-sendable type 'TestFile'; this is an error in the Swift 6 language mode
21 | /// - ``loadTestFile(_:as:)``, providing to decode the file from JSON using Codable.
22 | ///
23 | public enum TestFile: String, Equatable, Hashable, Codable {
| `- note: consider making enum 'TestFile' conform to the 'Sendable' protocol
24 | case WPTURLConstructorTests = "urltestdata"
25 | case WebURLAdditionalConstructorTests = "additional_constructor_tests"
:
37 |
38 | internal enum LoadTestFileError: Error {
39 | case failedToLoad(TestFile, error: Error?)
| `- warning: associated value 'failedToLoad(_:error:)' of 'Sendable'-conforming enum 'LoadTestFileError' has non-sendable type 'TestFile'; this is an error in the Swift 6 language mode
40 | case failedToDecode(TestFile, error: Error)
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/WebURLTestSupport/TestFiles.swift:40:8: warning: associated value 'failedToDecode(_:error:)' of 'Sendable'-conforming enum 'LoadTestFileError' has non-sendable type 'TestFile'; this is an error in the Swift 6 language mode
21 | /// - ``loadTestFile(_:as:)``, providing to decode the file from JSON using Codable.
22 | ///
23 | public enum TestFile: String, Equatable, Hashable, Codable {
| `- note: consider making enum 'TestFile' conform to the 'Sendable' protocol
24 | case WPTURLConstructorTests = "urltestdata"
25 | case WebURLAdditionalConstructorTests = "additional_constructor_tests"
:
38 | internal enum LoadTestFileError: Error {
39 | case failedToLoad(TestFile, error: Error?)
40 | case failedToDecode(TestFile, error: Error)
| `- warning: associated value 'failedToDecode(_:error:)' of 'Sendable'-conforming enum 'LoadTestFileError' has non-sendable type 'TestFile'; this is an error in the Swift 6 language mode
41 | }
42 |
[127/131] Compiling WebURLTestSupport CollectionUtils.swift
[128/131] Compiling WebURLTestSupport IPAddressUtils.swift
[129/131] Compiling WebURLTestSupport FilePathTests.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebURLTestSupport/TestSuites/UTS46Conformance+WebURLIDNAReportHarness.swift:35:21: warning: static property 'ToUnicode_NonApplicableValidationSteps' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | // swift-format-ignore
35 | public static var ToUnicode_NonApplicableValidationSteps: Set<UTS46Conformance.FailableValidationSteps> = [
| |- warning: static property 'ToUnicode_NonApplicableValidationSteps' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ToUnicode_NonApplicableValidationSteps' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'ToUnicode_NonApplicableValidationSteps' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | .V2, .V3, // CheckHyphens
37 | .NV8, // IDNA2008 extras
/Users/admin/builder/spi-builder-workspace/Sources/WebURLTestSupport/TestSuites/UTS46Conformance+WebURLIDNAReportHarness.swift:56:21: warning: static property 'ToAsciiN_NonApplicableValidationSteps' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | // swift-format-ignore
56 | public static var ToAsciiN_NonApplicableValidationSteps: Set<UTS46Conformance.FailableValidationSteps> = [
| |- warning: static property 'ToAsciiN_NonApplicableValidationSteps' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ToAsciiN_NonApplicableValidationSteps' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'ToAsciiN_NonApplicableValidationSteps' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | .A4_1, .A4_2, // VerifyDnsLength
58 | .V2, .V3, // CheckHyphens
[130/131] Compiling WebURLTestSupport UTS46Conformance+WebURLIDNAReportHarness.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebURLTestSupport/TestSuites/UTS46Conformance+WebURLIDNAReportHarness.swift:35:21: warning: static property 'ToUnicode_NonApplicableValidationSteps' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | // swift-format-ignore
35 | public static var ToUnicode_NonApplicableValidationSteps: Set<UTS46Conformance.FailableValidationSteps> = [
| |- warning: static property 'ToUnicode_NonApplicableValidationSteps' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ToUnicode_NonApplicableValidationSteps' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'ToUnicode_NonApplicableValidationSteps' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | .V2, .V3, // CheckHyphens
37 | .NV8, // IDNA2008 extras
/Users/admin/builder/spi-builder-workspace/Sources/WebURLTestSupport/TestSuites/UTS46Conformance+WebURLIDNAReportHarness.swift:56:21: warning: static property 'ToAsciiN_NonApplicableValidationSteps' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | // swift-format-ignore
56 | public static var ToAsciiN_NonApplicableValidationSteps: Set<UTS46Conformance.FailableValidationSteps> = [
| |- warning: static property 'ToAsciiN_NonApplicableValidationSteps' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ToAsciiN_NonApplicableValidationSteps' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'ToAsciiN_NonApplicableValidationSteps' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | .A4_1, .A4_2, // VerifyDnsLength
58 | .V2, .V3, // CheckHyphens
[131/131] Emitting module WebURLTestSupport
/Users/admin/builder/spi-builder-workspace/Sources/WebURLTestSupport/TestFiles.swift:39:8: warning: associated value 'failedToLoad(_:error:)' of 'Sendable'-conforming enum 'LoadTestFileError' has non-sendable type 'TestFile'; this is an error in the Swift 6 language mode
21 | /// - ``loadTestFile(_:as:)``, providing to decode the file from JSON using Codable.
22 | ///
23 | public enum TestFile: String, Equatable, Hashable, Codable {
| `- note: consider making enum 'TestFile' conform to the 'Sendable' protocol
24 | case WPTURLConstructorTests = "urltestdata"
25 | case WebURLAdditionalConstructorTests = "additional_constructor_tests"
:
37 |
38 | internal enum LoadTestFileError: Error {
39 | case failedToLoad(TestFile, error: Error?)
| `- warning: associated value 'failedToLoad(_:error:)' of 'Sendable'-conforming enum 'LoadTestFileError' has non-sendable type 'TestFile'; this is an error in the Swift 6 language mode
40 | case failedToDecode(TestFile, error: Error)
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/WebURLTestSupport/TestFiles.swift:40:8: warning: associated value 'failedToDecode(_:error:)' of 'Sendable'-conforming enum 'LoadTestFileError' has non-sendable type 'TestFile'; this is an error in the Swift 6 language mode
21 | /// - ``loadTestFile(_:as:)``, providing to decode the file from JSON using Codable.
22 | ///
23 | public enum TestFile: String, Equatable, Hashable, Codable {
| `- note: consider making enum 'TestFile' conform to the 'Sendable' protocol
24 | case WPTURLConstructorTests = "urltestdata"
25 | case WebURLAdditionalConstructorTests = "additional_constructor_tests"
:
38 | internal enum LoadTestFileError: Error {
39 | case failedToLoad(TestFile, error: Error?)
40 | case failedToDecode(TestFile, error: Error)
| `- warning: associated value 'failedToDecode(_:error:)' of 'Sendable'-conforming enum 'LoadTestFileError' has non-sendable type 'TestFile'; this is an error in the Swift 6 language mode
41 | }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/WebURLTestSupport/TestSuites/UTS46Conformance+WebURLIDNAReportHarness.swift:35:21: warning: static property 'ToUnicode_NonApplicableValidationSteps' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | // swift-format-ignore
35 | public static var ToUnicode_NonApplicableValidationSteps: Set<UTS46Conformance.FailableValidationSteps> = [
| |- warning: static property 'ToUnicode_NonApplicableValidationSteps' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ToUnicode_NonApplicableValidationSteps' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'ToUnicode_NonApplicableValidationSteps' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | .V2, .V3, // CheckHyphens
37 | .NV8, // IDNA2008 extras
/Users/admin/builder/spi-builder-workspace/Sources/WebURLTestSupport/TestSuites/UTS46Conformance+WebURLIDNAReportHarness.swift:56:21: warning: static property 'ToAsciiN_NonApplicableValidationSteps' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | // swift-format-ignore
56 | public static var ToAsciiN_NonApplicableValidationSteps: Set<UTS46Conformance.FailableValidationSteps> = [
| |- warning: static property 'ToAsciiN_NonApplicableValidationSteps' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ToAsciiN_NonApplicableValidationSteps' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'ToAsciiN_NonApplicableValidationSteps' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | .A4_1, .A4_2, // VerifyDnsLength
58 | .V2, .V3, // CheckHyphens
Build complete! (28.37s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system.git"
},
{
"identity" : "swift-checkit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/karwa/swift-checkit.git"
}
],
"manifest_display_name" : "swift-url",
"name" : "swift-url",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "WebURL",
"targets" : [
"WebURL"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "WebURLSystemExtras",
"targets" : [
"WebURLSystemExtras"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "WebURLFoundationExtras",
"targets" : [
"WebURLFoundationExtras"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "_WebURLIDNA",
"targets" : [
"IDNA"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "_WebURLTestSupport",
"targets" : [
"WebURLTestSupport"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "WebURLTests",
"module_type" : "SwiftTarget",
"name" : "WebURLTests",
"path" : "Tests/WebURLTests",
"product_dependencies" : [
"Checkit"
],
"sources" : [
"ASCIITests.swift",
"CollectionExtensionsTests.swift",
"DomainTests.swift",
"FilePathTests.swift",
"FormParametersTests.swift",
"HostTests.swift",
"IPv4AddressTests.swift",
"IPv6AddressTests.swift",
"ManagedArrayBufferTests.swift",
"MutableCollectionExtensionsTests.swift",
"OtherURLTests.swift",
"OtherUtilitiesTests.swift",
"PathComponentsTests.swift",
"PercentEncodingTests.swift",
"SchemeKindTests.swift",
"Utils.swift",
"WebPlatformTests.swift",
"WebURLPercentEncodingUtilsTests.swift",
"WebURLTests.swift",
"_ReportGeneratingTestCase.swift"
],
"target_dependencies" : [
"WebURL",
"WebURLTestSupport"
],
"type" : "test"
},
{
"c99name" : "WebURLTestSupport",
"module_type" : "SwiftTarget",
"name" : "WebURLTestSupport",
"path" : "Sources/WebURLTestSupport",
"product_memberships" : [
"_WebURLTestSupport"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WebURLTestSupport/TestFilesData",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"CollectionUtils.swift",
"IPAddressUtils.swift",
"JSONHelpers.swift",
"Reports/SimpleDescription.swift",
"Reports/SimpleTestReport.swift",
"TestFiles.swift",
"TestSuite.swift",
"TestSuites/FilePathTests+WebURLReportHarness.swift",
"TestSuites/FilePathTests.swift",
"TestSuites/UTS46Conformance+WebURLIDNAReportHarness.swift",
"TestSuites/UTS46Conformance.swift",
"TestSuites/WPTConstructorTest+WebURLReportHarness.swift",
"TestSuites/WPTConstructorTest.swift",
"TestSuites/WPTSetterTest+WebURLReportHarness.swift",
"TestSuites/WPTSetterTest.swift",
"TestSuites/WPTToASCIITest+WebURLReportHarness.swift",
"TestSuites/WPTToASCIITest.swift",
"URLValues.swift"
],
"target_dependencies" : [
"WebURL",
"IDNA"
],
"type" : "library"
},
{
"c99name" : "WebURLSystemExtrasTests",
"module_type" : "SwiftTarget",
"name" : "WebURLSystemExtrasTests",
"path" : "Tests/WebURLSystemExtrasTests",
"product_dependencies" : [
"SystemPackage"
],
"sources" : [
"SystemFilePathTests.swift",
"Utils.swift"
],
"target_dependencies" : [
"WebURLSystemExtras",
"WebURL"
],
"type" : "test"
},
{
"c99name" : "WebURLSystemExtras",
"module_type" : "SwiftTarget",
"name" : "WebURLSystemExtras",
"path" : "Sources/WebURLSystemExtras",
"product_dependencies" : [
"SystemPackage"
],
"product_memberships" : [
"WebURLSystemExtras"
],
"sources" : [
"WebURL+FilePaths+System.swift"
],
"target_dependencies" : [
"WebURL"
],
"type" : "library"
},
{
"c99name" : "WebURLFoundationExtrasTests",
"module_type" : "SwiftTarget",
"name" : "WebURLFoundationExtrasTests",
"path" : "Tests/WebURLFoundationExtrasTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WebURLFoundationExtrasTests/URLConversion/Resources",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Extensions/DataAndStringExtensions.swift",
"Extensions/URLRequestResponseExtensions.swift",
"URLConversion/FuzzCorpus_foundation_to_web.swift",
"URLConversion/FuzzCorpus_web_to_foundation.swift",
"URLConversion/WebToFoundationTests.swift",
"_ReportGeneratingTestCase.swift"
],
"target_dependencies" : [
"WebURLFoundationExtras",
"WebURLTestSupport",
"WebURL"
],
"type" : "test"
},
{
"c99name" : "WebURLFoundationExtras",
"module_type" : "SwiftTarget",
"name" : "WebURLFoundationExtras",
"path" : "Sources/WebURLFoundationExtras",
"product_memberships" : [
"WebURLFoundationExtras"
],
"sources" : [
"Extensions/DataAndString.swift",
"Extensions/URLRequestResponse.swift",
"Extensions/URLSession.swift",
"FoundationToWebURL.swift",
"Util/ConversionError.swift",
"Util/EvenFasterCollectionAlgorithms.swift",
"Util/StringAdditions.swift",
"WebURLToFoundation.swift"
],
"target_dependencies" : [
"WebURL"
],
"type" : "library"
},
{
"c99name" : "WebURLFoundationEndToEndTests",
"module_type" : "SwiftTarget",
"name" : "WebURLFoundationEndToEndTests",
"path" : "Tests/WebURLFoundationEndToEndTests",
"sources" : [
"LocalServer.swift",
"URLSessionTests.swift"
],
"target_dependencies" : [
"WebURLFoundationExtras",
"WebURL"
],
"type" : "test"
},
{
"c99name" : "WebURLDeprecatedAPITests",
"module_type" : "SwiftTarget",
"name" : "WebURLDeprecatedAPITests",
"path" : "Tests/WebURLDeprecatedAPITests",
"sources" : [
"DeprecatedAPITests.swift"
],
"target_dependencies" : [
"WebURL"
],
"type" : "test"
},
{
"c99name" : "WebURL",
"module_type" : "SwiftTarget",
"name" : "WebURL",
"path" : "Sources/WebURL",
"product_memberships" : [
"WebURL",
"WebURLSystemExtras",
"WebURLFoundationExtras",
"_WebURLTestSupport"
],
"sources" : [
"DeprecatedAPIs.swift",
"IPAddress.swift",
"Parser/Parser+Host.swift",
"Parser/Parser+Path.swift",
"Parser/Parser+StringUtils.swift",
"Parser/Parser.swift",
"Parser/URLWriter.swift",
"Parser/ValidationError.swift",
"Parser/WebURL+Component.swift",
"PercentEncoding.swift",
"SPIs.swift",
"URLStorage+Setters.swift",
"URLStorage.swift",
"URLStructure.swift",
"Util/ASCII+LazyTextTransformations.swift",
"Util/ASCII.swift",
"Util/BidirectionalCollection+suffix.swift",
"Util/BidirectionalCollection+trim.swift",
"Util/BitTwiddling.swift",
"Util/Collection+longestRange.swift",
"Util/Either.swift",
"Util/Errors.swift",
"Util/FastCollectionAlgorithms.swift",
"Util/Integers.swift",
"Util/ManagedArrayBuffer.swift",
"Util/MutableCollection+pathUtils.swift",
"Util/Pointers.swift",
"Util/StaticMember.swift",
"Util/StringAdditions.swift",
"Util/UnsafeBuffer+ReplaceSubrange.swift",
"Util/UnsafeSmallStack.swift",
"WebURL+Domain.swift",
"WebURL+FilePaths.swift",
"WebURL+FormParameters.swift",
"WebURL+Host.swift",
"WebURL+JSModel.swift",
"WebURL+Origin.swift",
"WebURL+PathComponents.swift",
"WebURL+Scheme.swift",
"WebURL+UTF8View.swift",
"WebURL.swift"
],
"target_dependencies" : [
"IDNA"
],
"type" : "library"
},
{
"c99name" : "UnicodeDataStructuresTests",
"module_type" : "SwiftTarget",
"name" : "UnicodeDataStructuresTests",
"path" : "Tests/UnicodeDataStructuresTests",
"product_dependencies" : [
"Checkit"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/UnicodeDataStructuresTests/GenerateData/TableDefinitions",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"GenerateData/GenerateData.swift",
"IndexedTableTests.swift",
"SegmentedLineTests.swift"
],
"target_dependencies" : [
"UnicodeDataStructures"
],
"type" : "test"
},
{
"c99name" : "UnicodeDataStructures",
"module_type" : "SwiftTarget",
"name" : "UnicodeDataStructures",
"path" : "Sources/UnicodeDataStructures",
"product_memberships" : [
"WebURL",
"WebURLSystemExtras",
"WebURLFoundationExtras",
"_WebURLIDNA",
"_WebURLTestSupport"
],
"sources" : [
"ParseNPrint/IDNAMappingDatabase.swift",
"ParseNPrint/IDNAValidationDatabase.swift",
"ParseNPrint/ParsingHelpers.swift",
"ParseNPrint/Printing.swift",
"ParseNPrint/Utils.swift",
"Shared/CodePointDatabase.swift",
"Shared/IDNA/IDNAMappingDataSchema.swift",
"Shared/IDNA/IDNAValidationDataSchema.swift",
"Shared/IndexedTable.swift",
"Shared/SegmentedLine.swift"
],
"type" : "library"
},
{
"c99name" : "IDNATests",
"module_type" : "SwiftTarget",
"name" : "IDNATests",
"path" : "Tests/IDNATests",
"sources" : [
"PunycodeTests.swift",
"SimpleToUnicodeTests.swift",
"UTS46ConformanceTests.swift",
"Utils.swift"
],
"target_dependencies" : [
"IDNA",
"WebURLTestSupport"
],
"type" : "test"
},
{
"c99name" : "IDNA",
"module_type" : "SwiftTarget",
"name" : "IDNA",
"path" : "Sources/IDNA",
"product_memberships" : [
"WebURL",
"WebURLSystemExtras",
"WebURLFoundationExtras",
"_WebURLIDNA",
"_WebURLTestSupport"
],
"sources" : [
"Generated/MappingData.swift",
"Generated/ValidationData.swift",
"IDNA.swift",
"NFC.swift",
"Punycode.swift"
],
"target_dependencies" : [
"UnicodeDataStructures"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.