Build Information
Successful build of swift-idna, reference main (cc894d), with Swift 6.3 for macOS (SPM) on 10 Oct 2026 09:20:06 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-dns/swift-idna.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swift-dns/swift-idna
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at cc894d4 Harden UTF8 checks (#55)
Cloned https://github.com/swift-dns/swift-idna.git
Revision (git rev-parse @):
cc894d45b3f489825519fe4ab389370ace6937d7
SUCCESS checkout https://github.com/swift-dns/swift-idna.git at main
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/swift-dns/swift-highway.git
[1/632] Fetching swift-highway
[355/29327] Fetching swift-highway, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.96s)
Fetched https://github.com/swift-dns/swift-highway.git from cache (2.96s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (3.63s)
Computing version for https://github.com/swift-dns/swift-highway.git
Computed https://github.com/swift-dns/swift-highway.git at 1.0.0-alpha.7 (0.55s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.1
Creating working copy for https://github.com/swift-dns/swift-highway.git
Working copy of https://github.com/swift-dns/swift-highway.git resolved at 1.0.0-alpha.7
========================================
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",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-idna",
"name": "swift-idna",
"url": "https://github.com/swift-dns/swift-idna.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-idna",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.7.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"traits": [
],
"dependencies": [
]
},
{
"identity": "swift-highway",
"name": "swift-highway",
"url": "https://github.com/swift-dns/swift-highway.git",
"version": "1.0.0-alpha.7",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-highway",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/swift-dns/swift-idna.git
[1/5109] Fetching swift-idna
Fetched https://github.com/swift-dns/swift-idna.git from cache (1.22s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/swift-dns/swift-highway.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.63s)
Fetched https://github.com/swift-dns/swift-highway.git from cache (0.63s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.2 (1.31s)
Computing version for https://github.com/swift-dns/swift-highway.git
Computed https://github.com/swift-dns/swift-highway.git at 1.0.0-alpha.7 (0.03s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.2
Creating working copy for https://github.com/swift-dns/swift-highway.git
Working copy of https://github.com/swift-dns/swift-highway.git resolved at 1.0.0-alpha.7
Creating working copy for https://github.com/swift-dns/swift-idna.git
Working copy of https://github.com/swift-dns/swift-idna.git resolved at main (cc894d4)
warning: '.resolve-product-dependencies': dependency 'swift-idna' is not used by any target
Found 2 product dependencies
- swift-collections
- swift-highway
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/swift-dns/swift-idna.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
Building for debugging...
[0/49] Write sources
[4/49] Write swift-version-69A768CDF2A0BEE1.txt
[5/49] Compiling cswift_idna_test_v2_cases.c
[6/49] Compiling cswift_idna_nfc_table.c
[7/49] Compiling cswift_idna_mark_table.c
[8/53] Compiling cswift_idna_mapping_table.c
[9/77] Compiling cswift_idna_nfc_test_cases.c
[10/77] Compiling print.cc
[11/77] Compiling profiler.cc
[12/77] Compiling timer.cc
[14/77] Emitting module InternalCollectionsUtilities
[15/77] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[16/77] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[17/77] Compiling InternalCollectionsUtilities Debugging.swift
[18/80] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[19/80] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[20/80] Compiling InternalCollectionsUtilities MutableRef.swift
[21/80] Compiling InternalCollectionsUtilities Span+Extras.swift
[22/80] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[23/80] Compiling InternalCollectionsUtilities String+Padding.swift
[23/80] Compiling perf_counters.cc
[25/80] Compiling InternalCollectionsUtilities Descriptions.swift
[26/80] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[27/80] Compiling InternalCollectionsUtilities Integer rank.swift
[28/80] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[29/80] Compiling InternalCollectionsUtilities _SortedCollection.swift
[30/80] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[31/80] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[32/80] Compiling InternalCollectionsUtilities UInt+reversed.swift
[33/80] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[34/80] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[35/80] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[36/80] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[37/80] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[38/80] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[39/80] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[40/80] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[41/80] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[42/80] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[43/80] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[44/80] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[45/80] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[45/80] Compiling topology.cc
[46/80] Compiling nanobenchmark.cc
[47/80] Compiling targets.cc
[48/84] Compiling thread_pool.cc
[50/84] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[51/84] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[52/84] Emitting module SpanPreview
[53/84] Compiling SpanPreview InputSpan.swift
[53/84] Compiling CHighwayOps CHighwayOps.cc
[54/84] Compiling per_target.cc
[55/84] Compiling vqsort_u64d.cc
[56/84] Compiling vqsort_u64a.cc
[57/84] Compiling vqsort_u32d.cc
[58/84] Compiling vqsort_u32a.cc
[59/84] Compiling vqsort_kv64d.cc
[60/84] Compiling vqsort_kv64a.cc
[61/84] Compiling vqsort_u16a.cc
[62/84] Compiling vqsort_u16d.cc
[63/84] Compiling vqsort_kv128d.cc
[64/84] Compiling vqsort_kv128a.cc
[65/84] Compiling vqsort_i64a.cc
[66/84] Compiling vqsort_i64d.cc
[67/84] Compiling vqsort_i32d.cc
[68/84] Compiling vqsort_i32a.cc
[69/84] Compiling vqsort_f64d.cc
[70/84] Compiling vqsort_i16d.cc
[71/84] Compiling vqsort_f64a.cc
[72/84] Compiling vqsort_i16a.cc
[73/84] Compiling vqsort_f32d.cc
[74/84] Write sources
[75/84] Compiling image.cc
[76/95] Compiling aligned_allocator.cc
[77/169] Compiling abort.cc
[79/169] Compiling BasicContainers RigidDictionary.swift
[80/169] Compiling BasicContainers RigidSet+Consumption.swift
[81/169] Compiling BasicContainers RigidSet+Debugging.swift
[82/169] Compiling BasicContainers RigidSet+Deprecated.swift
[83/169] Compiling BasicContainers RigidSet+Equatable.swift
[84/169] Compiling BasicContainers RigidSet+Hashable.swift
[85/169] Compiling BasicContainers RigidSet+Index.swift
[86/169] Compiling BasicContainers RigidSet+Initializers.swift
[87/169] Compiling BasicContainers RigidSet+Insertions.swift
[88/178] Compiling BasicContainers RigidDictionary+Hashable.swift
[89/178] Compiling BasicContainers RigidDictionary+Index.swift
[90/178] Compiling BasicContainers RigidDictionary+Indices.swift
[91/178] Compiling BasicContainers RigidDictionary+Initializers.swift
[92/178] Compiling BasicContainers RigidDictionary+Insertions.swift
[93/178] Compiling BasicContainers RigidDictionary+Keys.swift
[94/178] Compiling BasicContainers RigidDictionary+Lookup.swift
[95/178] Compiling BasicContainers RigidDictionary+Removals.swift
[96/178] Compiling BasicContainers RigidDictionary+Resizing.swift
[97/178] Compiling BasicContainers UniqueSet+Hashable.swift
[98/178] Compiling BasicContainers UniqueSet+Index.swift
[99/178] Compiling BasicContainers UniqueSet+Initializers.swift
[100/178] Compiling BasicContainers UniqueSet+Insertions.swift
[101/178] Compiling BasicContainers UniqueSet+Iterable.swift
[102/178] Compiling BasicContainers UniqueSet+Lookup.swift
[103/178] Compiling BasicContainers UniqueSet+Removals.swift
[104/178] Compiling BasicContainers UniqueSet+Resizing.swift
[105/178] Compiling BasicContainers UniqueSet.swift
[106/178] Compiling BasicContainers UniqueArray.swift
[107/178] Compiling BasicContainers UniqueDictionary+Consumption.swift
[108/178] Compiling BasicContainers UniqueDictionary+Debugging.swift
[109/178] Compiling BasicContainers UniqueDictionary+Equatable.swift
[110/178] Compiling BasicContainers UniqueDictionary+Hashable.swift
[111/178] Compiling BasicContainers UniqueDictionary+Index.swift
[112/178] Compiling BasicContainers UniqueDictionary+Indices.swift
[113/178] Compiling BasicContainers UniqueDictionary+Initializers.swift
[114/178] Compiling BasicContainers UniqueDictionary+Insertions.swift
[115/178] Compiling BasicContainers RigidSet+Iterable.swift
[116/178] Compiling BasicContainers RigidSet+Lookup.swift
[117/178] Compiling BasicContainers RigidSet+Removals.swift
[118/178] Compiling BasicContainers RigidSet+Resizing.swift
[119/178] Compiling BasicContainers RigidSet.swift
[120/178] Compiling BasicContainers UniqueArray+Append.swift
[121/178] Compiling BasicContainers UniqueArray+Consumption.swift
[122/178] Compiling BasicContainers UniqueArray+ContainerOperations.swift
[123/178] Compiling BasicContainers UniqueArray+Deprecated.swift
[124/178] Compiling BasicContainers UniqueArray+Descriptions.swift
[125/178] Compiling BasicContainers UniqueArray+Equatable.swift
[126/178] Compiling BasicContainers UniqueArray+Experimental.swift
[127/178] Compiling BasicContainers UniqueArray+Hashable.swift
[128/178] Compiling BasicContainers UniqueArray+Initializers.swift
[129/178] Compiling BasicContainers UniqueArray+Insertions.swift
[130/178] Compiling BasicContainers UniqueArray+Iterable.swift
[131/178] Compiling BasicContainers UniqueArray+Removals.swift
[132/178] Compiling BasicContainers UniqueArray+Replacements.swift
[133/178] Compiling BasicContainers RigidArray+Hashable.swift
[134/178] Compiling BasicContainers RigidArray+Initializers.swift
[135/178] Compiling BasicContainers RigidArray+Insertions.swift
[136/178] Compiling BasicContainers RigidArray+Iterable.swift
[137/178] Compiling BasicContainers RigidArray+Removals.swift
[138/178] Compiling BasicContainers RigidArray+Replacements.swift
[139/178] Compiling BasicContainers RigidArray.swift
[140/178] Compiling BasicContainers RigidDictionary+Consumption.swift
[141/178] Compiling BasicContainers RigidDictionary+Debugging.swift
[142/178] Compiling BasicContainers RigidDictionary+Equatable.swift
[143/178] Emitting module BasicContainers
[144/178] Compiling BasicContainers UniqueDictionary+Keys.swift
[145/178] Compiling BasicContainers UniqueDictionary+Lookup.swift
[146/178] Compiling BasicContainers UniqueDictionary+Removals.swift
[147/178] Compiling BasicContainers UniqueDictionary+Resizing.swift
[148/178] Compiling BasicContainers UniqueDictionary.swift
[149/178] Compiling BasicContainers UniqueSet+Consumption.swift
[150/178] Compiling BasicContainers UniqueSet+Debugging.swift
[151/178] Compiling BasicContainers UniqueSet+Deprecated.swift
[152/178] Compiling BasicContainers UniqueSet+Equatable.swift
[153/178] Compiling BasicContainers _HTable+Sizing.swift
[154/178] Compiling BasicContainers _HTable.swift
[155/178] Compiling BasicContainers RigidArray+Append.swift
[156/178] Compiling BasicContainers RigidArray+Consumption.swift
[157/178] Compiling BasicContainers RigidArray+ContainerOperations.swift
[158/178] Compiling BasicContainers RigidArray+Deprecated.swift
[159/178] Compiling BasicContainers RigidArray+Descriptions.swift
[160/178] Compiling BasicContainers RigidArray+Equatable.swift
[161/178] Compiling BasicContainers RigidArray+Experimental.swift
[162/178] Compiling BasicContainers RigidArray+Formatter.swift
[163/178] Compiling BasicContainers _HTable+Bitmap.swift
[164/178] Compiling BasicContainers _HTable+Bucket.swift
[165/178] Compiling BasicContainers _HTable+Consumption.swift
[166/178] Compiling BasicContainers _HTable+Debug.swift
[167/178] Compiling BasicContainers _HTable+Deprecated.swift
[168/178] Compiling BasicContainers _HTable+Find.swift
[169/178] Compiling BasicContainers _HTable+Insert.swift
[170/178] Compiling BasicContainers _HTable+Iteration.swift
[171/178] Compiling BasicContainers _HTable+Removal.swift
[172/178] Compiling BasicContainers _HTable+Resizing.swift
[172/178] Compiling vqsort_f32a.cc
[173/178] Compiling vqsort.cc
[174/178] Compiling vqsort_128d.cc
[175/178] Compiling vqsort_f16d.cc
[176/178] Compiling vqsort_128a.cc
[177/178] Compiling vqsort_f16a.cc
[179/191] Compiling Highway HighwayDouble.swift
[180/191] Compiling Highway HighwayElement.swift
[181/191] Compiling Highway HighwayFloat.swift
[182/191] Compiling Highway HighwayInt16.swift
[183/191] Compiling Highway HighwayUInt64.swift
[184/191] Compiling Highway HighwayUInt32.swift
[185/191] Compiling Highway HighwayInt32.swift
[186/191] Compiling Highway HighwayInt64.swift
[187/191] Compiling Highway HighwayInt8.swift
[188/191] Compiling Highway HighwayUInt16.swift
[189/191] Compiling Highway HighwaySortable.swift
[190/191] Compiling Highway HighwayUInt8.swift
[191/192] Emitting module Highway
[192/192] Compiling Highway Highway.swift
[193/217] Compiling SwiftIDNA DecodedUnicodeScalars.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/DecodedUnicodeScalars.swift:117:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
115 | @inlinable
116 | func withUnsafeScalarValues(_ block: (Span<UInt32>) -> Void) {
117 | self.scalars.withUnsafeBufferPointer { buffer -> Void in
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UnicodeScalarValue>) -> Void'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UnicodeScalarValue>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
118 | guard let base = buffer.baseAddress else {
119 | return
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[194/217] Compiling SwiftIDNA IDNAUnicodeScalarView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/DecodedUnicodeScalars.swift:117:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
115 | @inlinable
116 | func withUnsafeScalarValues(_ block: (Span<UInt32>) -> Void) {
117 | self.scalars.withUnsafeBufferPointer { buffer -> Void in
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UnicodeScalarValue>) -> Void'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UnicodeScalarValue>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
118 | guard let base = buffer.baseAddress else {
119 | return
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[195/217] Compiling SwiftIDNA LinkedList.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/DecodedUnicodeScalars.swift:117:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
115 | @inlinable
116 | func withUnsafeScalarValues(_ block: (Span<UInt32>) -> Void) {
117 | self.scalars.withUnsafeBufferPointer { buffer -> Void in
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UnicodeScalarValue>) -> Void'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UnicodeScalarValue>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
118 | guard let base = buffer.baseAddress else {
119 | return
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[196/217] Compiling SwiftIDNA +Array.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+Array.swift:7:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
5 | package init(copying span: Span<Element>) {
6 | unsafe self.init(unsafeUninitializedCapacity: span.count) { buffer, initializedCount in
7 | span.withUnsafeBytes { spanPtr in
| | | `- note: argument #0 in call to instance method 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| | `- note: reference to instance method 'withUnsafeBytes' involves unsafe type 'UnsafeRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
8 | let rawBuffer = UnsafeMutableRawBufferPointer(buffer)
9 | unsafe rawBuffer.copyMemory(from: spanPtr)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+OutputSpan.swift:10:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
8 | let usedCapacity = self.count
9 | unsafe self.withUnsafeMutableBufferPointer { buffer, initializedCount in
10 | span.withUnsafeBytes { spanPtr in
| | | `- note: argument #0 in call to instance method 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| | `- note: reference to instance method 'withUnsafeBytes' involves unsafe type 'UnsafeRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
11 | let target = unsafe UnsafeMutableRawPointer(
12 | buffer.baseAddress.unsafelyUnwrapped
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[197/217] Compiling SwiftIDNA +BinaryInteger.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+Array.swift:7:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
5 | package init(copying span: Span<Element>) {
6 | unsafe self.init(unsafeUninitializedCapacity: span.count) { buffer, initializedCount in
7 | span.withUnsafeBytes { spanPtr in
| | | `- note: argument #0 in call to instance method 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| | `- note: reference to instance method 'withUnsafeBytes' involves unsafe type 'UnsafeRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
8 | let rawBuffer = UnsafeMutableRawBufferPointer(buffer)
9 | unsafe rawBuffer.copyMemory(from: spanPtr)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+OutputSpan.swift:10:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
8 | let usedCapacity = self.count
9 | unsafe self.withUnsafeMutableBufferPointer { buffer, initializedCount in
10 | span.withUnsafeBytes { spanPtr in
| | | `- note: argument #0 in call to instance method 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| | `- note: reference to instance method 'withUnsafeBytes' involves unsafe type 'UnsafeRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
11 | let target = unsafe UnsafeMutableRawPointer(
12 | buffer.baseAddress.unsafelyUnwrapped
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[198/217] Compiling SwiftIDNA +OutputSpan.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+Array.swift:7:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
5 | package init(copying span: Span<Element>) {
6 | unsafe self.init(unsafeUninitializedCapacity: span.count) { buffer, initializedCount in
7 | span.withUnsafeBytes { spanPtr in
| | | `- note: argument #0 in call to instance method 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| | `- note: reference to instance method 'withUnsafeBytes' involves unsafe type 'UnsafeRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
8 | let rawBuffer = UnsafeMutableRawBufferPointer(buffer)
9 | unsafe rawBuffer.copyMemory(from: spanPtr)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+OutputSpan.swift:10:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
8 | let usedCapacity = self.count
9 | unsafe self.withUnsafeMutableBufferPointer { buffer, initializedCount in
10 | span.withUnsafeBytes { spanPtr in
| | | `- note: argument #0 in call to instance method 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| | `- note: reference to instance method 'withUnsafeBytes' involves unsafe type 'UnsafeRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
11 | let target = unsafe UnsafeMutableRawPointer(
12 | buffer.baseAddress.unsafelyUnwrapped
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[199/217] Compiling SwiftIDNA UTF8BytesIterator.swift
[200/217] Compiling SwiftIDNA UnicodeScalarIterator.swift
[201/217] Compiling SwiftIDNA IDNA.ConversionResult.swift
[202/219] Compiling SwiftIDNA +Span.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+String.swift:10:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
8 | self.init(copying: utf8Span)
9 | } else if #available(SwiftStdlib 5.3, *) {
10 | self.init(unsafeUninitializedCapacity: span.count) { buffer in
| | | `- note: argument 'initializingUTF8With' in call to initializer 'init' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) throws -> Int'
| | `- note: reference to initializer 'init(unsafeUninitializedCapacity:initializingUTF8With:)' involves unsafe type 'UnsafeMutableBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
11 | span.withUnsafeBytes { spanPtr in
12 | let rawBuffer = UnsafeMutableRawBufferPointer(buffer)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+String.swift:11:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
9 | } else if #available(SwiftStdlib 5.3, *) {
10 | self.init(unsafeUninitializedCapacity: span.count) { buffer in
11 | span.withUnsafeBytes { spanPtr in
| | | `- note: argument #0 in call to instance method 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| | `- note: reference to instance method 'withUnsafeBytes' involves unsafe type 'UnsafeRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
12 | let rawBuffer = UnsafeMutableRawBufferPointer(buffer)
13 | unsafe rawBuffer.copyMemory(from: spanPtr)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+String.swift:21:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
19 | unsafeUninitializedCapacity: span.count
20 | ) { buffer, initializedCount in
21 | span.withUnsafeBytes { spanPtr in
| | | `- note: argument #0 in call to instance method 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| | `- note: reference to instance method 'withUnsafeBytes' involves unsafe type 'UnsafeRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
22 | let rawBuffer = UnsafeMutableRawBufferPointer(buffer)
23 | unsafe rawBuffer.copyMemory(from: spanPtr)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+String.swift:39:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
37 | self.init(copying: utf8Span)
38 | } else if #available(SwiftStdlib 5.3, *) {
39 | self.init(unsafeUninitializedCapacity: span.count) { buffer in
| | | `- note: argument 'initializingUTF8With' in call to initializer 'init' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) throws -> Int'
| | `- note: reference to initializer 'init(unsafeUninitializedCapacity:initializingUTF8With:)' involves unsafe type 'UnsafeMutableBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
40 | span.withUnsafeBytes { spanPtr in
41 | let rawBuffer = UnsafeMutableRawBufferPointer(buffer)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+String.swift:40:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
38 | } else if #available(SwiftStdlib 5.3, *) {
39 | self.init(unsafeUninitializedCapacity: span.count) { buffer in
40 | span.withUnsafeBytes { spanPtr in
| | | `- note: argument #0 in call to instance method 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| | `- note: reference to instance method 'withUnsafeBytes' involves unsafe type 'UnsafeRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
41 | let rawBuffer = UnsafeMutableRawBufferPointer(buffer)
42 | unsafe rawBuffer.copyMemory(from: spanPtr)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+String.swift:50:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
48 | unsafeUninitializedCapacity: span.count
49 | ) { buffer, initializedCount in
50 | span.withUnsafeBytes { spanPtr in
| | | `- note: argument #0 in call to instance method 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| | `- note: reference to instance method 'withUnsafeBytes' involves unsafe type 'UnsafeRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
51 | let rawBuffer = UnsafeMutableRawBufferPointer(buffer)
52 | unsafe rawBuffer.copyMemory(from: spanPtr)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+String.swift:68:29: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
66 | /// Fast path: Currently always the case for non-Darwin.
67 | /// On Darwin, always the case unless for some objc-bridged strings.
68 | if let fastResult = self.utf8.withContiguousStorageIfAvailable({ buffer in
| | | `- note: argument #0 in call to instance method 'withContiguousStorageIfAvailable' has unsafe type '(UnsafeBufferPointer<String.UTF8View.Element>) throws -> Result<T, E>' (aka '(UnsafeBufferPointer<UInt8>) throws -> Result<T, E>')
| | `- note: reference to instance method 'withContiguousStorageIfAvailable' involves unsafe type 'UnsafeBufferPointer<String.UTF8View.Element>' (aka 'UnsafeBufferPointer<UInt8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
69 | Result(catching: { () throws(E) -> T in
70 | try body(unsafe buffer.span)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+String.swift:112:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
110 | ) rethrows {
111 | if #available(SwiftStdlib 5.3, *) {
112 | try self.init(unsafeUninitializedCapacity: capacity) { buffer in
| | | `- note: argument 'initializingUTF8With' in call to initializer 'init' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) throws -> Int'
| | `- note: reference to initializer 'init(unsafeUninitializedCapacity:initializingUTF8With:)' involves unsafe type 'UnsafeMutableBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
113 | unsafe try initializer(buffer)
114 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[203/219] Compiling SwiftIDNA +String.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+String.swift:10:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
8 | self.init(copying: utf8Span)
9 | } else if #available(SwiftStdlib 5.3, *) {
10 | self.init(unsafeUninitializedCapacity: span.count) { buffer in
| | | `- note: argument 'initializingUTF8With' in call to initializer 'init' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) throws -> Int'
| | `- note: reference to initializer 'init(unsafeUninitializedCapacity:initializingUTF8With:)' involves unsafe type 'UnsafeMutableBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
11 | span.withUnsafeBytes { spanPtr in
12 | let rawBuffer = UnsafeMutableRawBufferPointer(buffer)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+String.swift:11:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
9 | } else if #available(SwiftStdlib 5.3, *) {
10 | self.init(unsafeUninitializedCapacity: span.count) { buffer in
11 | span.withUnsafeBytes { spanPtr in
| | | `- note: argument #0 in call to instance method 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| | `- note: reference to instance method 'withUnsafeBytes' involves unsafe type 'UnsafeRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
12 | let rawBuffer = UnsafeMutableRawBufferPointer(buffer)
13 | unsafe rawBuffer.copyMemory(from: spanPtr)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+String.swift:21:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
19 | unsafeUninitializedCapacity: span.count
20 | ) { buffer, initializedCount in
21 | span.withUnsafeBytes { spanPtr in
| | | `- note: argument #0 in call to instance method 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| | `- note: reference to instance method 'withUnsafeBytes' involves unsafe type 'UnsafeRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
22 | let rawBuffer = UnsafeMutableRawBufferPointer(buffer)
23 | unsafe rawBuffer.copyMemory(from: spanPtr)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+String.swift:39:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
37 | self.init(copying: utf8Span)
38 | } else if #available(SwiftStdlib 5.3, *) {
39 | self.init(unsafeUninitializedCapacity: span.count) { buffer in
| | | `- note: argument 'initializingUTF8With' in call to initializer 'init' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) throws -> Int'
| | `- note: reference to initializer 'init(unsafeUninitializedCapacity:initializingUTF8With:)' involves unsafe type 'UnsafeMutableBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
40 | span.withUnsafeBytes { spanPtr in
41 | let rawBuffer = UnsafeMutableRawBufferPointer(buffer)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+String.swift:40:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
38 | } else if #available(SwiftStdlib 5.3, *) {
39 | self.init(unsafeUninitializedCapacity: span.count) { buffer in
40 | span.withUnsafeBytes { spanPtr in
| | | `- note: argument #0 in call to instance method 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| | `- note: reference to instance method 'withUnsafeBytes' involves unsafe type 'UnsafeRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
41 | let rawBuffer = UnsafeMutableRawBufferPointer(buffer)
42 | unsafe rawBuffer.copyMemory(from: spanPtr)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+String.swift:50:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
48 | unsafeUninitializedCapacity: span.count
49 | ) { buffer, initializedCount in
50 | span.withUnsafeBytes { spanPtr in
| | | `- note: argument #0 in call to instance method 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| | `- note: reference to instance method 'withUnsafeBytes' involves unsafe type 'UnsafeRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
51 | let rawBuffer = UnsafeMutableRawBufferPointer(buffer)
52 | unsafe rawBuffer.copyMemory(from: spanPtr)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+String.swift:68:29: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
66 | /// Fast path: Currently always the case for non-Darwin.
67 | /// On Darwin, always the case unless for some objc-bridged strings.
68 | if let fastResult = self.utf8.withContiguousStorageIfAvailable({ buffer in
| | | `- note: argument #0 in call to instance method 'withContiguousStorageIfAvailable' has unsafe type '(UnsafeBufferPointer<String.UTF8View.Element>) throws -> Result<T, E>' (aka '(UnsafeBufferPointer<UInt8>) throws -> Result<T, E>')
| | `- note: reference to instance method 'withContiguousStorageIfAvailable' involves unsafe type 'UnsafeBufferPointer<String.UTF8View.Element>' (aka 'UnsafeBufferPointer<UInt8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
69 | Result(catching: { () throws(E) -> T in
70 | try body(unsafe buffer.span)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+String.swift:112:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
110 | ) rethrows {
111 | if #available(SwiftStdlib 5.3, *) {
112 | try self.init(unsafeUninitializedCapacity: capacity) { buffer in
| | | `- note: argument 'initializingUTF8With' in call to initializer 'init' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) throws -> Int'
| | `- note: reference to initializer 'init(unsafeUninitializedCapacity:initializingUTF8With:)' involves unsafe type 'UnsafeMutableBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
113 | unsafe try initializer(buffer)
114 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[204/219] Compiling SwiftIDNA ByteCheck+IDNA.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+String.swift:10:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
8 | self.init(copying: utf8Span)
9 | } else if #available(SwiftStdlib 5.3, *) {
10 | self.init(unsafeUninitializedCapacity: span.count) { buffer in
| | | `- note: argument 'initializingUTF8With' in call to initializer 'init' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) throws -> Int'
| | `- note: reference to initializer 'init(unsafeUninitializedCapacity:initializingUTF8With:)' involves unsafe type 'UnsafeMutableBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
11 | span.withUnsafeBytes { spanPtr in
12 | let rawBuffer = UnsafeMutableRawBufferPointer(buffer)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+String.swift:11:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
9 | } else if #available(SwiftStdlib 5.3, *) {
10 | self.init(unsafeUninitializedCapacity: span.count) { buffer in
11 | span.withUnsafeBytes { spanPtr in
| | | `- note: argument #0 in call to instance method 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| | `- note: reference to instance method 'withUnsafeBytes' involves unsafe type 'UnsafeRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
12 | let rawBuffer = UnsafeMutableRawBufferPointer(buffer)
13 | unsafe rawBuffer.copyMemory(from: spanPtr)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+String.swift:21:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
19 | unsafeUninitializedCapacity: span.count
20 | ) { buffer, initializedCount in
21 | span.withUnsafeBytes { spanPtr in
| | | `- note: argument #0 in call to instance method 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| | `- note: reference to instance method 'withUnsafeBytes' involves unsafe type 'UnsafeRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
22 | let rawBuffer = UnsafeMutableRawBufferPointer(buffer)
23 | unsafe rawBuffer.copyMemory(from: spanPtr)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+String.swift:39:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
37 | self.init(copying: utf8Span)
38 | } else if #available(SwiftStdlib 5.3, *) {
39 | self.init(unsafeUninitializedCapacity: span.count) { buffer in
| | | `- note: argument 'initializingUTF8With' in call to initializer 'init' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) throws -> Int'
| | `- note: reference to initializer 'init(unsafeUninitializedCapacity:initializingUTF8With:)' involves unsafe type 'UnsafeMutableBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
40 | span.withUnsafeBytes { spanPtr in
41 | let rawBuffer = UnsafeMutableRawBufferPointer(buffer)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+String.swift:40:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
38 | } else if #available(SwiftStdlib 5.3, *) {
39 | self.init(unsafeUninitializedCapacity: span.count) { buffer in
40 | span.withUnsafeBytes { spanPtr in
| | | `- note: argument #0 in call to instance method 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| | `- note: reference to instance method 'withUnsafeBytes' involves unsafe type 'UnsafeRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
41 | let rawBuffer = UnsafeMutableRawBufferPointer(buffer)
42 | unsafe rawBuffer.copyMemory(from: spanPtr)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+String.swift:50:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
48 | unsafeUninitializedCapacity: span.count
49 | ) { buffer, initializedCount in
50 | span.withUnsafeBytes { spanPtr in
| | | `- note: argument #0 in call to instance method 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| | `- note: reference to instance method 'withUnsafeBytes' involves unsafe type 'UnsafeRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
51 | let rawBuffer = UnsafeMutableRawBufferPointer(buffer)
52 | unsafe rawBuffer.copyMemory(from: spanPtr)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+String.swift:68:29: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
66 | /// Fast path: Currently always the case for non-Darwin.
67 | /// On Darwin, always the case unless for some objc-bridged strings.
68 | if let fastResult = self.utf8.withContiguousStorageIfAvailable({ buffer in
| | | `- note: argument #0 in call to instance method 'withContiguousStorageIfAvailable' has unsafe type '(UnsafeBufferPointer<String.UTF8View.Element>) throws -> Result<T, E>' (aka '(UnsafeBufferPointer<UInt8>) throws -> Result<T, E>')
| | `- note: reference to instance method 'withContiguousStorageIfAvailable' involves unsafe type 'UnsafeBufferPointer<String.UTF8View.Element>' (aka 'UnsafeBufferPointer<UInt8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
69 | Result(catching: { () throws(E) -> T in
70 | try body(unsafe buffer.span)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+String.swift:112:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
110 | ) rethrows {
111 | if #available(SwiftStdlib 5.3, *) {
112 | try self.init(unsafeUninitializedCapacity: capacity) { buffer in
| | | `- note: argument 'initializingUTF8With' in call to initializer 'init' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) throws -> Int'
| | `- note: reference to initializer 'init(unsafeUninitializedCapacity:initializingUTF8With:)' involves unsafe type 'UnsafeMutableBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
113 | unsafe try initializer(buffer)
114 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[205/219] Compiling SwiftIDNA IDNA_API.swift
[206/219] Compiling SwiftIDNA IDNA_Impl_assumingUnsanitized.swift
[207/219] Compiling SwiftIDNA IDNA_Impl_assumingValidUTF8.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/NFCNormalization.swift:71:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
69 | var isEqualToCurrent = 1
70 | while let (scalarUTF8Length, bytes) = iterator.branchlessNext(in: scalarsSpan) {
71 | withUnsafeBytes(of: bytes) { bytesPtr in
| | `- note: argument #1 in call to global function 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
72 | for idx in 0..<scalarUTF8Length {
73 | let uncheckedSpanIdx = utf8Count &+ idx
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/NFCNormalization.swift:126:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
124 | /// NFC form at most 3 UTF-8 bytes per input UTF-8 byte. The generator verifies both
125 | /// bounds on every table regeneration.
126 | withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
127 | of: UInt32.self,
128 | capacity: 2 &* span.count
129 | ) { scalarsBuffer in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt32>) -> R'
130 | var scalarsCount = 0
131 | /// For Normalization Form C, we need to first go through the decomposition step:
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[208/219] Compiling SwiftIDNA NFCNormalization.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/NFCNormalization.swift:71:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
69 | var isEqualToCurrent = 1
70 | while let (scalarUTF8Length, bytes) = iterator.branchlessNext(in: scalarsSpan) {
71 | withUnsafeBytes(of: bytes) { bytesPtr in
| | `- note: argument #1 in call to global function 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
72 | for idx in 0..<scalarUTF8Length {
73 | let uncheckedSpanIdx = utf8Count &+ idx
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/NFCNormalization.swift:126:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
124 | /// NFC form at most 3 UTF-8 bytes per input UTF-8 byte. The generator verifies both
125 | /// bounds on every table regeneration.
126 | withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
127 | of: UInt32.self,
128 | capacity: 2 &* span.count
129 | ) { scalarsBuffer in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt32>) -> R'
130 | var scalarsCount = 0
131 | /// For Normalization Form C, we need to first go through the decomposition step:
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[209/219] Compiling SwiftIDNA SIMDUnicodeScalarDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/SIMDUnicodeScalarDecoder.swift:67:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
65 | _ body: (inout SIMDUnicodeScalarDecoder) throws(Failure) -> R
66 | ) throws(Failure) -> R {
67 | try withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
68 | of: UInt8.self,
69 | capacity: Self.tempBytesSize
70 | ) { tempBytes throws(Failure) -> R in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) throws(Failure) -> R'
71 | try withUnsafeTemporaryAllocation(
72 | of: UInt8.self,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/SIMDUnicodeScalarDecoder.swift:71:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
69 | capacity: Self.tempBytesSize
70 | ) { tempBytes throws(Failure) -> R in
71 | try withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
72 | of: UInt8.self,
73 | capacity: Self.paddedScalarUTF8LengthsSize
74 | ) { paddedScalarUTF8Lengths throws(Failure) -> R in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) throws(Failure) -> R'
75 | try withUnsafeTemporaryAllocation(
76 | of: UInt32.self,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/SIMDUnicodeScalarDecoder.swift:75:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
73 | capacity: Self.paddedScalarUTF8LengthsSize
74 | ) { paddedScalarUTF8Lengths throws(Failure) -> R in
75 | try withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
76 | of: UInt32.self,
77 | capacity: Self.windowSize
78 | ) { uncheckedScalarValues throws(Failure) -> R in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt32>) throws(Failure) -> R'
79 | try withUnsafeTemporaryAllocation(
80 | of: UInt8.self,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/SIMDUnicodeScalarDecoder.swift:79:21: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
77 | capacity: Self.windowSize
78 | ) { uncheckedScalarValues throws(Failure) -> R in
79 | try withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
80 | of: UInt8.self,
81 | capacity: Self.scalarStartOffsetsSize
82 | ) { scalarStartOffsets throws(Failure) -> R in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) throws(Failure) -> R'
83 | unsafe tempBytes.initialize(repeating: 0)
84 | unsafe paddedScalarUTF8Lengths.initialize(repeating: 0)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/SIMDUnicodeScalarDecoder.swift:169:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
167 | /// `tempBytes` is initialized-memory by above code (`tempBytes.initialize(repeating: 0)`), so it's valid anyway.
168 | /// The pad bytes are not important.
169 | tempBytes.withUnsafeMutableBufferPointer { temp in
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) -> ()'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
170 | encodedBytes.withUnsafeBufferPointer { encoded in
171 | let rawTemp = UnsafeMutableRawBufferPointer(temp)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/SIMDUnicodeScalarDecoder.swift:170:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
168 | /// The pad bytes are not important.
169 | tempBytes.withUnsafeMutableBufferPointer { temp in
170 | encodedBytes.withUnsafeBufferPointer { encoded in
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt8>) -> ()'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
171 | let rawTemp = UnsafeMutableRawBufferPointer(temp)
172 | let rawEncodedBytes = UnsafeRawBufferPointer(encoded)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/TinyBuffer.swift:359:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
357 | _ body: (consuming InlineElements) throws(Failure) -> R
358 | ) throws(Failure) -> R {
359 | try withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
360 | of: UInt8.self,
361 | capacity: Self.maximumCapacity
362 | ) { alloc throws(Failure) -> R in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) throws(Failure) -> R'
363 | try body(unsafe InlineElements(buffer: alloc, count: 0))
364 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[210/219] Compiling SwiftIDNA TinyBuffer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/SIMDUnicodeScalarDecoder.swift:67:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
65 | _ body: (inout SIMDUnicodeScalarDecoder) throws(Failure) -> R
66 | ) throws(Failure) -> R {
67 | try withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
68 | of: UInt8.self,
69 | capacity: Self.tempBytesSize
70 | ) { tempBytes throws(Failure) -> R in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) throws(Failure) -> R'
71 | try withUnsafeTemporaryAllocation(
72 | of: UInt8.self,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/SIMDUnicodeScalarDecoder.swift:71:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
69 | capacity: Self.tempBytesSize
70 | ) { tempBytes throws(Failure) -> R in
71 | try withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
72 | of: UInt8.self,
73 | capacity: Self.paddedScalarUTF8LengthsSize
74 | ) { paddedScalarUTF8Lengths throws(Failure) -> R in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) throws(Failure) -> R'
75 | try withUnsafeTemporaryAllocation(
76 | of: UInt32.self,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/SIMDUnicodeScalarDecoder.swift:75:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
73 | capacity: Self.paddedScalarUTF8LengthsSize
74 | ) { paddedScalarUTF8Lengths throws(Failure) -> R in
75 | try withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
76 | of: UInt32.self,
77 | capacity: Self.windowSize
78 | ) { uncheckedScalarValues throws(Failure) -> R in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt32>) throws(Failure) -> R'
79 | try withUnsafeTemporaryAllocation(
80 | of: UInt8.self,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/SIMDUnicodeScalarDecoder.swift:79:21: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
77 | capacity: Self.windowSize
78 | ) { uncheckedScalarValues throws(Failure) -> R in
79 | try withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
80 | of: UInt8.self,
81 | capacity: Self.scalarStartOffsetsSize
82 | ) { scalarStartOffsets throws(Failure) -> R in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) throws(Failure) -> R'
83 | unsafe tempBytes.initialize(repeating: 0)
84 | unsafe paddedScalarUTF8Lengths.initialize(repeating: 0)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/SIMDUnicodeScalarDecoder.swift:169:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
167 | /// `tempBytes` is initialized-memory by above code (`tempBytes.initialize(repeating: 0)`), so it's valid anyway.
168 | /// The pad bytes are not important.
169 | tempBytes.withUnsafeMutableBufferPointer { temp in
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) -> ()'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
170 | encodedBytes.withUnsafeBufferPointer { encoded in
171 | let rawTemp = UnsafeMutableRawBufferPointer(temp)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/SIMDUnicodeScalarDecoder.swift:170:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
168 | /// The pad bytes are not important.
169 | tempBytes.withUnsafeMutableBufferPointer { temp in
170 | encodedBytes.withUnsafeBufferPointer { encoded in
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt8>) -> ()'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
171 | let rawTemp = UnsafeMutableRawBufferPointer(temp)
172 | let rawEncodedBytes = UnsafeRawBufferPointer(encoded)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/TinyBuffer.swift:359:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
357 | _ body: (consuming InlineElements) throws(Failure) -> R
358 | ) throws(Failure) -> R {
359 | try withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
360 | of: UInt8.self,
361 | capacity: Self.maximumCapacity
362 | ) { alloc throws(Failure) -> R in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) throws(Failure) -> R'
363 | try body(unsafe InlineElements(buffer: alloc, count: 0))
364 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[211/219] Compiling SwiftIDNA TinyBufferSubSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/SIMDUnicodeScalarDecoder.swift:67:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
65 | _ body: (inout SIMDUnicodeScalarDecoder) throws(Failure) -> R
66 | ) throws(Failure) -> R {
67 | try withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
68 | of: UInt8.self,
69 | capacity: Self.tempBytesSize
70 | ) { tempBytes throws(Failure) -> R in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) throws(Failure) -> R'
71 | try withUnsafeTemporaryAllocation(
72 | of: UInt8.self,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/SIMDUnicodeScalarDecoder.swift:71:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
69 | capacity: Self.tempBytesSize
70 | ) { tempBytes throws(Failure) -> R in
71 | try withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
72 | of: UInt8.self,
73 | capacity: Self.paddedScalarUTF8LengthsSize
74 | ) { paddedScalarUTF8Lengths throws(Failure) -> R in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) throws(Failure) -> R'
75 | try withUnsafeTemporaryAllocation(
76 | of: UInt32.self,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/SIMDUnicodeScalarDecoder.swift:75:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
73 | capacity: Self.paddedScalarUTF8LengthsSize
74 | ) { paddedScalarUTF8Lengths throws(Failure) -> R in
75 | try withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
76 | of: UInt32.self,
77 | capacity: Self.windowSize
78 | ) { uncheckedScalarValues throws(Failure) -> R in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt32>) throws(Failure) -> R'
79 | try withUnsafeTemporaryAllocation(
80 | of: UInt8.self,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/SIMDUnicodeScalarDecoder.swift:79:21: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
77 | capacity: Self.windowSize
78 | ) { uncheckedScalarValues throws(Failure) -> R in
79 | try withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
80 | of: UInt8.self,
81 | capacity: Self.scalarStartOffsetsSize
82 | ) { scalarStartOffsets throws(Failure) -> R in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) throws(Failure) -> R'
83 | unsafe tempBytes.initialize(repeating: 0)
84 | unsafe paddedScalarUTF8Lengths.initialize(repeating: 0)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/SIMDUnicodeScalarDecoder.swift:169:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
167 | /// `tempBytes` is initialized-memory by above code (`tempBytes.initialize(repeating: 0)`), so it's valid anyway.
168 | /// The pad bytes are not important.
169 | tempBytes.withUnsafeMutableBufferPointer { temp in
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) -> ()'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
170 | encodedBytes.withUnsafeBufferPointer { encoded in
171 | let rawTemp = UnsafeMutableRawBufferPointer(temp)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/SIMDUnicodeScalarDecoder.swift:170:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
168 | /// The pad bytes are not important.
169 | tempBytes.withUnsafeMutableBufferPointer { temp in
170 | encodedBytes.withUnsafeBufferPointer { encoded in
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt8>) -> ()'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
171 | let rawTemp = UnsafeMutableRawBufferPointer(temp)
172 | let rawEncodedBytes = UnsafeRawBufferPointer(encoded)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/TinyBuffer.swift:359:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
357 | _ body: (consuming InlineElements) throws(Failure) -> R
358 | ) throws(Failure) -> R {
359 | try withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
360 | of: UInt8.self,
361 | capacity: Self.maximumCapacity
362 | ) { alloc throws(Failure) -> R in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) throws(Failure) -> R'
363 | try body(unsafe InlineElements(buffer: alloc, count: 0))
364 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[212/219] Compiling SwiftIDNA IDNA.MappingErrors.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/IDNA.MappingErrors.swift:47:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
45 | var errors = [MappingError]()
46 | errors.reserveCapacity(self.errors.count)
47 | self.errors.span.withUnsafeBufferPointer { spanPtr in
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<IDNA.MappingError>) -> ()'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<IDNA.MappingError>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
48 | unsafe errors.append(contentsOf: spanPtr)
49 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[213/219] Compiling SwiftIDNA IDNA.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/IDNA.MappingErrors.swift:47:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
45 | var errors = [MappingError]()
46 | errors.reserveCapacity(self.errors.count)
47 | self.errors.span.withUnsafeBufferPointer { spanPtr in
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<IDNA.MappingError>) -> ()'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<IDNA.MappingError>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
48 | unsafe errors.append(contentsOf: spanPtr)
49 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[214/219] Compiling SwiftIDNA IDNAMapping.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/IDNA.MappingErrors.swift:47:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
45 | var errors = [MappingError]()
46 | errors.reserveCapacity(self.errors.count)
47 | self.errors.span.withUnsafeBufferPointer { spanPtr in
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<IDNA.MappingError>) -> ()'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<IDNA.MappingError>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
48 | unsafe errors.append(contentsOf: spanPtr)
49 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[215/219] Compiling SwiftIDNA NFCScalarInfo.swift
[216/219] Compiling SwiftIDNA Punycode.swift
[217/219] Emitting module SwiftIDNA
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+Array.swift:7:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
5 | package init(copying span: Span<Element>) {
6 | unsafe self.init(unsafeUninitializedCapacity: span.count) { buffer, initializedCount in
7 | span.withUnsafeBytes { spanPtr in
| | | `- note: argument #0 in call to instance method 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| | `- note: reference to instance method 'withUnsafeBytes' involves unsafe type 'UnsafeRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
8 | let rawBuffer = UnsafeMutableRawBufferPointer(buffer)
9 | unsafe rawBuffer.copyMemory(from: spanPtr)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+OutputSpan.swift:10:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
8 | let usedCapacity = self.count
9 | unsafe self.withUnsafeMutableBufferPointer { buffer, initializedCount in
10 | span.withUnsafeBytes { spanPtr in
| | | `- note: argument #0 in call to instance method 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| | `- note: reference to instance method 'withUnsafeBytes' involves unsafe type 'UnsafeRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
11 | let target = unsafe UnsafeMutableRawPointer(
12 | buffer.baseAddress.unsafelyUnwrapped
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/+String.swift:68:29: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
66 | /// Fast path: Currently always the case for non-Darwin.
67 | /// On Darwin, always the case unless for some objc-bridged strings.
68 | if let fastResult = self.utf8.withContiguousStorageIfAvailable({ buffer in
| | | `- note: argument #0 in call to instance method 'withContiguousStorageIfAvailable' has unsafe type '(UnsafeBufferPointer<String.UTF8View.Element>) throws -> Result<T, E>' (aka '(UnsafeBufferPointer<UInt8>) throws -> Result<T, E>')
| | `- note: reference to instance method 'withContiguousStorageIfAvailable' involves unsafe type 'UnsafeBufferPointer<String.UTF8View.Element>' (aka 'UnsafeBufferPointer<UInt8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
69 | Result(catching: { () throws(E) -> T in
70 | try body(unsafe buffer.span)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/DecodedUnicodeScalars.swift:117:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
115 | @inlinable
116 | func withUnsafeScalarValues(_ block: (Span<UInt32>) -> Void) {
117 | self.scalars.withUnsafeBufferPointer { buffer -> Void in
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UnicodeScalarValue>) -> Void'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UnicodeScalarValue>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
118 | guard let base = buffer.baseAddress else {
119 | return
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/SIMDUnicodeScalarDecoder.swift:67:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
65 | _ body: (inout SIMDUnicodeScalarDecoder) throws(Failure) -> R
66 | ) throws(Failure) -> R {
67 | try withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
68 | of: UInt8.self,
69 | capacity: Self.tempBytesSize
70 | ) { tempBytes throws(Failure) -> R in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) throws(Failure) -> R'
71 | try withUnsafeTemporaryAllocation(
72 | of: UInt8.self,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/SIMDUnicodeScalarDecoder.swift:71:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
69 | capacity: Self.tempBytesSize
70 | ) { tempBytes throws(Failure) -> R in
71 | try withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
72 | of: UInt8.self,
73 | capacity: Self.paddedScalarUTF8LengthsSize
74 | ) { paddedScalarUTF8Lengths throws(Failure) -> R in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) throws(Failure) -> R'
75 | try withUnsafeTemporaryAllocation(
76 | of: UInt32.self,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/SIMDUnicodeScalarDecoder.swift:75:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
73 | capacity: Self.paddedScalarUTF8LengthsSize
74 | ) { paddedScalarUTF8Lengths throws(Failure) -> R in
75 | try withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
76 | of: UInt32.self,
77 | capacity: Self.windowSize
78 | ) { uncheckedScalarValues throws(Failure) -> R in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt32>) throws(Failure) -> R'
79 | try withUnsafeTemporaryAllocation(
80 | of: UInt8.self,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/SIMDUnicodeScalarDecoder.swift:79:21: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
77 | capacity: Self.windowSize
78 | ) { uncheckedScalarValues throws(Failure) -> R in
79 | try withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
80 | of: UInt8.self,
81 | capacity: Self.scalarStartOffsetsSize
82 | ) { scalarStartOffsets throws(Failure) -> R in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) throws(Failure) -> R'
83 | unsafe tempBytes.initialize(repeating: 0)
84 | unsafe paddedScalarUTF8Lengths.initialize(repeating: 0)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/SIMDUnicodeScalarDecoder.swift:169:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
167 | /// `tempBytes` is initialized-memory by above code (`tempBytes.initialize(repeating: 0)`), so it's valid anyway.
168 | /// The pad bytes are not important.
169 | tempBytes.withUnsafeMutableBufferPointer { temp in
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) -> ()'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
170 | encodedBytes.withUnsafeBufferPointer { encoded in
171 | let rawTemp = UnsafeMutableRawBufferPointer(temp)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/SIMDUnicodeScalarDecoder.swift:170:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
168 | /// The pad bytes are not important.
169 | tempBytes.withUnsafeMutableBufferPointer { temp in
170 | encodedBytes.withUnsafeBufferPointer { encoded in
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt8>) -> ()'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
171 | let rawTemp = UnsafeMutableRawBufferPointer(temp)
172 | let rawEncodedBytes = UnsafeRawBufferPointer(encoded)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/Collections/TinyBuffer.swift:359:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
357 | _ body: (consuming InlineElements) throws(Failure) -> R
358 | ) throws(Failure) -> R {
359 | try withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
360 | of: UInt8.self,
361 | capacity: Self.maximumCapacity
362 | ) { alloc throws(Failure) -> R in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) throws(Failure) -> R'
363 | try body(unsafe InlineElements(buffer: alloc, count: 0))
364 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/IDNA.MappingErrors.swift:47:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
45 | var errors = [MappingError]()
46 | errors.reserveCapacity(self.errors.count)
47 | self.errors.span.withUnsafeBufferPointer { spanPtr in
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<IDNA.MappingError>) -> ()'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<IDNA.MappingError>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
48 | unsafe errors.append(contentsOf: spanPtr)
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/NFCNormalization.swift:126:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
124 | /// NFC form at most 3 UTF-8 bytes per input UTF-8 byte. The generator verifies both
125 | /// bounds on every table regeneration.
126 | withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
127 | of: UInt32.self,
128 | capacity: 2 &* span.count
129 | ) { scalarsBuffer in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt32>) -> R'
130 | var scalarsCount = 0
131 | /// For Normalization Form C, we need to first go through the decomposition step:
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[218/219] Compiling SwiftIDNA UTF8Checker.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/UTF8Checker.swift:31:20: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
29 | let windowSize = Self.windowSize
30 | if count &+ 3 <= windowSize &* 3 {
31 | return withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
32 | of: UInt8.self,
33 | capacity: windowSize &* 3 &+ 3
34 | ) { paddedBytes in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) -> Bool'
35 | unsafe paddedBytes.initialize(repeating: 0)
36 | let paddedBytesBuffer = unsafe UnsafeMutableRawBufferPointer(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/UTF8Checker.swift:39:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
37 | rebasing: UnsafeMutableRawBufferPointer(paddedBytes)[3...]
38 | )
39 | bytes.withUnsafeBytes { rawBytes in
| | | `- note: argument #0 in call to instance method 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| | `- note: reference to instance method 'withUnsafeBytes' involves unsafe type 'UnsafeRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
40 | unsafe paddedBytesBuffer.copyMemory(from: rawBytes)
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/UTF8Checker.swift:53:25: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
51 | }
52 |
53 | var errorBits = withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
54 | of: UInt8.self,
55 | capacity: windowSize &+ 3
56 | ) { headBytes in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) -> UInt8'
57 | unsafe headBytes.initialize(repeating: 0)
58 | let headBytesBuffer = unsafe UnsafeMutableRawBufferPointer(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/UTF8Checker.swift:61:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
59 | rebasing: UnsafeMutableRawBufferPointer(headBytes)[3...]
60 | )
61 | bytes.withUnsafeBytes { rawBytes in
| | | `- note: argument #0 in call to instance method 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| | `- note: reference to instance method 'withUnsafeBytes' involves unsafe type 'UnsafeRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
62 | unsafe headBytesBuffer.copyMemory(
63 | from: UnsafeRawBufferPointer(rebasing: rawBytes[..<windowSize])
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[219/219] Compiling SwiftIDNA UnicodeScalarValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/UTF8Checker.swift:31:20: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
29 | let windowSize = Self.windowSize
30 | if count &+ 3 <= windowSize &* 3 {
31 | return withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
32 | of: UInt8.self,
33 | capacity: windowSize &* 3 &+ 3
34 | ) { paddedBytes in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) -> Bool'
35 | unsafe paddedBytes.initialize(repeating: 0)
36 | let paddedBytesBuffer = unsafe UnsafeMutableRawBufferPointer(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/UTF8Checker.swift:39:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
37 | rebasing: UnsafeMutableRawBufferPointer(paddedBytes)[3...]
38 | )
39 | bytes.withUnsafeBytes { rawBytes in
| | | `- note: argument #0 in call to instance method 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| | `- note: reference to instance method 'withUnsafeBytes' involves unsafe type 'UnsafeRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
40 | unsafe paddedBytesBuffer.copyMemory(from: rawBytes)
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/UTF8Checker.swift:53:25: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
51 | }
52 |
53 | var errorBits = withUnsafeTemporaryAllocation(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
54 | of: UInt8.self,
55 | capacity: windowSize &+ 3
56 | ) { headBytes in
| `- note: argument #2 in call to global function 'withUnsafeTemporaryAllocation' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) -> UInt8'
57 | unsafe headBytes.initialize(repeating: 0)
58 | let headBytesBuffer = unsafe UnsafeMutableRawBufferPointer(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftIDNA/UTF8Checker.swift:61:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
59 | rebasing: UnsafeMutableRawBufferPointer(headBytes)[3...]
60 | )
61 | bytes.withUnsafeBytes { rawBytes in
| | | `- note: argument #0 in call to instance method 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> ()'
| | `- note: reference to instance method 'withUnsafeBytes' involves unsafe type 'UnsafeRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
62 | unsafe headBytesBuffer.copyMemory(
63 | from: UnsafeRawBufferPointer(rebasing: rawBytes[..<windowSize])
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
Build complete! (27.82s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.7.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
},
{
"identity" : "swift-highway",
"requirement" : {
"exact" : [
"1.0.0-alpha.7"
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-dns/swift-highway.git"
}
],
"manifest_display_name" : "swift-idna",
"name" : "swift-idna",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftIDNA",
"targets" : [
"SwiftIDNA"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftIDNA",
"module_type" : "SwiftTarget",
"name" : "SwiftIDNA",
"path" : "Sources/SwiftIDNA",
"product_dependencies" : [
"BasicContainers",
"Highway"
],
"product_memberships" : [
"SwiftIDNA"
],
"sources" : [
"+Array.swift",
"+BinaryInteger.swift",
"+OutputSpan.swift",
"+Span.swift",
"+String.swift",
"ByteCheck+IDNA.swift",
"Collections/DecodedUnicodeScalars.swift",
"Collections/IDNAUnicodeScalarView.swift",
"Collections/LinkedList.swift",
"Collections/SIMDUnicodeScalarDecoder.swift",
"Collections/TinyBuffer.swift",
"Collections/TinyBufferSubSequence.swift",
"Collections/UTF8BytesIterator.swift",
"Collections/UnicodeScalarIterator.swift",
"IDNA.ConversionResult.swift",
"IDNA.MappingErrors.swift",
"IDNA.swift",
"IDNAMapping.swift",
"IDNA_API.swift",
"IDNA_Impl_assumingUnsanitized.swift",
"IDNA_Impl_assumingValidUTF8.swift",
"NFCNormalization.swift",
"NFCScalarInfo.swift",
"Punycode.swift",
"UTF8Checker.swift",
"UnicodeScalarValue.swift"
],
"target_dependencies" : [
"CSwiftIDNA"
],
"type" : "library"
},
{
"c99name" : "IDNATests",
"module_type" : "SwiftTarget",
"name" : "IDNATests",
"path" : "Tests/IDNATests",
"sources" : [
"DecoderWindowEquivalenceTests.swift",
"IDNAMappingLookupTests.swift",
"IDNATestV2Case.swift",
"IDNATests.swift",
"IllFormedUTF8Tests.swift",
"LinkedListTests.swift",
"MarkLookupTests.swift",
"NFCTestCase.swift",
"NFCTests.swift",
"PunycodeCapacityTests.swift"
],
"target_dependencies" : [
"SwiftIDNA",
"CSwiftIDNATesting"
],
"type" : "test"
},
{
"c99name" : "CSwiftIDNATesting",
"module_type" : "ClangTarget",
"name" : "CSwiftIDNATesting",
"path" : "Sources/CSwiftIDNATesting",
"sources" : [
"src/cswift_idna_nfc_test_cases.c",
"src/cswift_idna_test_v2_cases.c"
],
"type" : "library"
},
{
"c99name" : "CSwiftIDNA",
"module_type" : "ClangTarget",
"name" : "CSwiftIDNA",
"path" : "Sources/CSwiftIDNA",
"product_memberships" : [
"SwiftIDNA"
],
"sources" : [
"src/cswift_idna_mapping_table.c",
"src/cswift_idna_mark_table.c",
"src/cswift_idna_nfc_table.c"
],
"type" : "library"
}
],
"tools_version" : "6.3"
}
Done.