The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwiftPatterns, reference 4.5.0 (e4c8f1), with Swift 6.2 (beta) for macOS (SPM) on 23 Jun 2025 11:07:05 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/benspratling4/SwiftPatterns.git
Reference: 4.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/benspratling4/SwiftPatterns
 * tag               4.5.0      -> FETCH_HEAD
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 4.5.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/benspratling4/SwiftPatterns.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version-1EA4D86E10B52AF.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 [#deprecation]
 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 [#deprecation]
 26 |
 27 | 	///access all the sub resources, usually for iteration
[4/30] Compiling SwiftPatterns WeightedNode.swift
[5/30] Compiling SwiftPatterns XMLItem.swift
[6/30] Compiling SwiftPatterns Alert.swift
[7/30] Compiling SwiftPatterns Array+StableUniqueValues.swift
[8/30] Compiling SwiftPatterns Array+dropLastWhile.swift
[9/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 [#deprecation]
 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 [#deprecation]
 26 |
 27 | 	///access all the sub resources, usually for iteration
[10/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 [#deprecation]
 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 [#deprecation]
 26 |
 27 | 	///access all the sub resources, usually for iteration
[11/30] Compiling SwiftPatterns SkippingDecodeErrors.swift
[12/30] Compiling SwiftPatterns String+CharacterSet+replacements.swift
[13/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 [#DeprecatedDeclaration]
 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 [#DeprecatedDeclaration]
 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 [#no-usage]
32 | 			return false
33 | 		}
34 | 		for (index, childComponent) in parentComponents.enumerated() {
   |               `- warning: immutable value 'childComponent' was never used; consider replacing with '_' or removing it [#no-usage]
35 | 			if parentComponents[index] != childComponents[index] {
36 | 				return false
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[14/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 [#DeprecatedDeclaration]
 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 [#DeprecatedDeclaration]
 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 [#no-usage]
32 | 			return false
33 | 		}
34 | 		for (index, childComponent) in parentComponents.enumerated() {
   |               `- warning: immutable value 'childComponent' was never used; consider replacing with '_' or removing it [#no-usage]
35 | 			if parentComponents[index] != childComponents[index] {
36 | 				return false
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[15/30] Compiling SwiftPatterns Math.swift
[16/30] Compiling SwiftPatterns MediatedAccess.swift
[17/30] Compiling SwiftPatterns PriorityQueue.swift
[18/30] Compiling SwiftPatterns DirectoryMonitor.swift
[19/30] Compiling SwiftPatterns DynamicCodingKeys.swift
[20/30] Compiling SwiftPatterns Int+Bits.swift
[21/30] Compiling SwiftPatterns JSONPrimitive.swift
[22/30] Compiling SwiftPatterns LocalFileSource.swift
[23/30] Compiling SwiftPatterns LogSearch.swift
[24/30] Compiling SwiftPatterns String+fixes.swift
[25/30] Compiling SwiftPatterns String+insertWithPrecautionaryWhitespace.swift
[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! (8.41s)
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.