Build Information
Successful build of SwiftPatterns, reference master (e4c8f1
), with Swift 6.0 for macOS (SPM) on 23 Mar 2025 22:04:26 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/benspratling4/SwiftPatterns.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/benspratling4/SwiftPatterns
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e4c8f15 Add String + replaceWithPrecautionaryWhitespace
Cloned https://github.com/benspratling4/SwiftPatterns.git
Revision (git rev-parse @):
e4c8f15505346d2cb6fd8b4e8b4f456cc25b4d53
SUCCESS checkout https://github.com/benspratling4/SwiftPatterns.git at master
========================================
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": "swiftpatterns",
"name": "SwiftPatterns",
"url": "https://github.com/benspratling4/SwiftPatterns.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftPatterns",
"dependencies": [
]
}
]
}
Fetching https://github.com/benspratling4/SwiftPatterns.git
[1/301] Fetching swiftpatterns
Fetched https://github.com/benspratling4/SwiftPatterns.git from cache (0.74s)
Creating working copy for https://github.com/benspratling4/SwiftPatterns.git
Working copy of https://github.com/benspratling4/SwiftPatterns.git resolved at master (e4c8f15)
warning: '.resolve-product-dependencies': dependency 'swiftpatterns' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/benspratling4/SwiftPatterns.git
https://github.com/benspratling4/SwiftPatterns.git
{
"dependencies" : [
],
"manifest_display_name" : "SwiftPatterns",
"name" : "SwiftPatterns",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftPatterns",
"targets" : [
"SwiftPatterns"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SwiftPatternsTests",
"module_type" : "SwiftTarget",
"name" : "SwiftPatternsTests",
"path" : "Tests/SwiftPatternsTests",
"sources" : [
"ArrayDropLastWhileTests.swift",
"ChangeSetTests.swift",
"JSONPrimitiveTests.swift",
"LogSearchTests.swift",
"SkippingDecodeErrorsTests.swift",
"String+fixes_Tests.swift",
"String+replaceWithPrecautionaryWhitespaceTests.swift",
"StringCharacterSetTests.swift",
"XMLItemTests.swift"
],
"target_dependencies" : [
"SwiftPatterns"
],
"type" : "test"
},
{
"c99name" : "SwiftPatterns",
"module_type" : "SwiftTarget",
"name" : "SwiftPatterns",
"path" : "Sources/SwiftPatterns",
"product_memberships" : [
"SwiftPatterns"
],
"sources" : [
"Alert.swift",
"Array+StableUniqueValues.swift",
"Array+dropLastWhile.swift",
"ChangeSet.swift",
"Cursor.swift",
"DataExtraction.swift",
"DirectoryMonitor.swift",
"DynamicCodingKeys.swift",
"Int+Bits.swift",
"JSONPrimitive.swift",
"LocalFileSource.swift",
"LogSearch.swift",
"Math.swift",
"MediatedAccess.swift",
"PriorityQueue.swift",
"QueuedVar.swift",
"SerializedResourceWrapping.swift",
"SkippingDecodeErrors.swift",
"String+CharacterSet+replacements.swift",
"String+fixes.swift",
"String+insertWithPrecautionaryWhitespace.swift",
"URL+ExtendedAttributes.swift",
"URL+relativePaths.swift",
"WeightedNode.swift",
"XMLItem.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.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/4] Write sources
[1/4] Write swift-version-5BDAB9E9C0126B9D.txt
[3/28] Emitting module SwiftPatterns
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:25:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
23 |
24 | /// like a directory
25 | public protocol SubResourceWrapping : class, SerializedResourceWrapping {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
26 |
27 | ///access all the sub resources, usually for iteration
[4/30] Compiling SwiftPatterns Alert.swift
[5/30] Compiling SwiftPatterns Array+StableUniqueValues.swift
[6/30] Compiling SwiftPatterns Array+dropLastWhile.swift
[7/30] Compiling SwiftPatterns DirectoryMonitor.swift
[8/30] Compiling SwiftPatterns DynamicCodingKeys.swift
[9/30] Compiling SwiftPatterns Int+Bits.swift
[10/30] Compiling SwiftPatterns JSONPrimitive.swift
[11/30] Compiling SwiftPatterns LocalFileSource.swift
[12/30] Compiling SwiftPatterns LogSearch.swift
[13/30] Compiling SwiftPatterns WeightedNode.swift
[14/30] Compiling SwiftPatterns XMLItem.swift
[15/30] Compiling SwiftPatterns SkippingDecodeErrors.swift
[16/30] Compiling SwiftPatterns String+CharacterSet+replacements.swift
[17/30] Compiling SwiftPatterns Math.swift
[18/30] Compiling SwiftPatterns MediatedAccess.swift
[19/30] Compiling SwiftPatterns PriorityQueue.swift
[20/30] Compiling SwiftPatterns String+fixes.swift
[21/30] Compiling SwiftPatterns String+insertWithPrecautionaryWhitespace.swift
[22/30] Compiling SwiftPatterns URL+ExtendedAttributes.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPatterns/URL+ExtendedAttributes.swift:76:13: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
74 | set (newValue) {
75 | if let newData:Data = newValue {
76 | newData.withUnsafeBytes({ (buffer) -> Void in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
77 | url.withUnsafeFileSystemRepresentation({ (systemPath) in
78 | _ = setxattr(systemPath, key, buffer, newData.count, 0, 0) //fail is ==-1
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPatterns/URL+relativePaths.swift:34:15: warning: immutable value 'childComponent' was never used; consider replacing with '_' or removing it
32 | return false
33 | }
34 | for (index, childComponent) in parentComponents.enumerated() {
| `- warning: immutable value 'childComponent' was never used; consider replacing with '_' or removing it
35 | if parentComponents[index] != childComponents[index] {
36 | return false
[23/30] Compiling SwiftPatterns URL+relativePaths.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPatterns/URL+ExtendedAttributes.swift:76:13: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
74 | set (newValue) {
75 | if let newData:Data = newValue {
76 | newData.withUnsafeBytes({ (buffer) -> Void in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
77 | url.withUnsafeFileSystemRepresentation({ (systemPath) in
78 | _ = setxattr(systemPath, key, buffer, newData.count, 0, 0) //fail is ==-1
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPatterns/URL+relativePaths.swift:34:15: warning: immutable value 'childComponent' was never used; consider replacing with '_' or removing it
32 | return false
33 | }
34 | for (index, childComponent) in parentComponents.enumerated() {
| `- warning: immutable value 'childComponent' was never used; consider replacing with '_' or removing it
35 | if parentComponents[index] != childComponents[index] {
36 | return false
[24/30] Compiling SwiftPatterns QueuedVar.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:25:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
23 |
24 | /// like a directory
25 | public protocol SubResourceWrapping : class, SerializedResourceWrapping {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
26 |
27 | ///access all the sub resources, usually for iteration
[25/30] Compiling SwiftPatterns SerializedResourceWrapping.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:25:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
23 |
24 | /// like a directory
25 | public protocol SubResourceWrapping : class, SerializedResourceWrapping {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
26 |
27 | ///access all the sub resources, usually for iteration
[26/30] Compiling SwiftPatterns ChangeSet.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:78:7: warning: variable 'exhaustedOld' was written to, but never read
76 | var oldIndex:Int = 0
77 | var newIndex:Int = 0
78 | var exhaustedOld:Bool = false
| `- warning: variable 'exhaustedOld' was written to, but never read
79 | var exhaustedNew:Bool = false
80 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:79:7: warning: variable 'exhaustedNew' was written to, but never read
77 | var newIndex:Int = 0
78 | var exhaustedOld:Bool = false
79 | var exhaustedNew:Bool = false
| `- warning: variable 'exhaustedNew' was written to, but never read
80 |
81 | //keys are original index number, values are new index number
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPatterns/DataExtraction.swift:19:3: warning: using '_' to ignore the result of a Void-returning function is redundant
17 | defer { unsafeBytes.deallocate() }
18 | let bufferPointer = UnsafeMutableBufferPointer(start: unsafeBytes, count: 1)
19 | _ = self.copyBytes(to: bufferPointer, from: index..<(index + width))
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
20 | return unsafeBytes.pointee
21 | }
[27/30] Compiling SwiftPatterns Cursor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:78:7: warning: variable 'exhaustedOld' was written to, but never read
76 | var oldIndex:Int = 0
77 | var newIndex:Int = 0
78 | var exhaustedOld:Bool = false
| `- warning: variable 'exhaustedOld' was written to, but never read
79 | var exhaustedNew:Bool = false
80 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:79:7: warning: variable 'exhaustedNew' was written to, but never read
77 | var newIndex:Int = 0
78 | var exhaustedOld:Bool = false
79 | var exhaustedNew:Bool = false
| `- warning: variable 'exhaustedNew' was written to, but never read
80 |
81 | //keys are original index number, values are new index number
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPatterns/DataExtraction.swift:19:3: warning: using '_' to ignore the result of a Void-returning function is redundant
17 | defer { unsafeBytes.deallocate() }
18 | let bufferPointer = UnsafeMutableBufferPointer(start: unsafeBytes, count: 1)
19 | _ = self.copyBytes(to: bufferPointer, from: index..<(index + width))
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
20 | return unsafeBytes.pointee
21 | }
[28/30] Compiling SwiftPatterns DataExtraction.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:78:7: warning: variable 'exhaustedOld' was written to, but never read
76 | var oldIndex:Int = 0
77 | var newIndex:Int = 0
78 | var exhaustedOld:Bool = false
| `- warning: variable 'exhaustedOld' was written to, but never read
79 | var exhaustedNew:Bool = false
80 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:79:7: warning: variable 'exhaustedNew' was written to, but never read
77 | var newIndex:Int = 0
78 | var exhaustedOld:Bool = false
79 | var exhaustedNew:Bool = false
| `- warning: variable 'exhaustedNew' was written to, but never read
80 |
81 | //keys are original index number, values are new index number
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPatterns/DataExtraction.swift:19:3: warning: using '_' to ignore the result of a Void-returning function is redundant
17 | defer { unsafeBytes.deallocate() }
18 | let bufferPointer = UnsafeMutableBufferPointer(start: unsafeBytes, count: 1)
19 | _ = self.copyBytes(to: bufferPointer, from: index..<(index + width))
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
20 | return unsafeBytes.pointee
21 | }
[28/30] Write Objects.LinkFileList
[29/30] Linking libSwiftPatterns.dylib
Build complete! (19.50s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/SwiftPatterns/PrivacyInfo.xcprivacy
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftPatterns",
"name" : "SwiftPatterns",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftPatterns",
"targets" : [
"SwiftPatterns"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SwiftPatternsTests",
"module_type" : "SwiftTarget",
"name" : "SwiftPatternsTests",
"path" : "Tests/SwiftPatternsTests",
"sources" : [
"ArrayDropLastWhileTests.swift",
"ChangeSetTests.swift",
"JSONPrimitiveTests.swift",
"LogSearchTests.swift",
"SkippingDecodeErrorsTests.swift",
"String+fixes_Tests.swift",
"String+replaceWithPrecautionaryWhitespaceTests.swift",
"StringCharacterSetTests.swift",
"XMLItemTests.swift"
],
"target_dependencies" : [
"SwiftPatterns"
],
"type" : "test"
},
{
"c99name" : "SwiftPatterns",
"module_type" : "SwiftTarget",
"name" : "SwiftPatterns",
"path" : "Sources/SwiftPatterns",
"product_memberships" : [
"SwiftPatterns"
],
"sources" : [
"Alert.swift",
"Array+StableUniqueValues.swift",
"Array+dropLastWhile.swift",
"ChangeSet.swift",
"Cursor.swift",
"DataExtraction.swift",
"DirectoryMonitor.swift",
"DynamicCodingKeys.swift",
"Int+Bits.swift",
"JSONPrimitive.swift",
"LocalFileSource.swift",
"LogSearch.swift",
"Math.swift",
"MediatedAccess.swift",
"PriorityQueue.swift",
"QueuedVar.swift",
"SerializedResourceWrapping.swift",
"SkippingDecodeErrors.swift",
"String+CharacterSet+replacements.swift",
"String+fixes.swift",
"String+insertWithPrecautionaryWhitespace.swift",
"URL+ExtendedAttributes.swift",
"URL+relativePaths.swift",
"WeightedNode.swift",
"XMLItem.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.