The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftPatterns, reference 4.5.1 (7223d0), with Swift 6.3 for macOS (SPM) on 16 Apr 2026 18:40:39 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/benspratling4/SwiftPatterns.git
Reference: 4.5.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/benspratling4/SwiftPatterns
 * tag               4.5.1      -> FETCH_HEAD
HEAD is now at 7223d0f Fix crash bug in replacing attributed strings.
Cloned https://github.com/benspratling4/SwiftPatterns.git
Revision (git rev-parse @):
7223d0f3908c3504d18dcdaa129664b347db318e
SUCCESS checkout https://github.com/benspratling4/SwiftPatterns.git at 4.5.1
========================================
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": "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",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/benspratling4/SwiftPatterns.git
[1/307] Fetching swiftpatterns
Fetched https://github.com/benspratling4/SwiftPatterns.git from cache (0.88s)
Creating working copy for https://github.com/benspratling4/SwiftPatterns.git
Working copy of https://github.com/benspratling4/SwiftPatterns.git resolved at 4.5.1 (7223d0f)
warning: '.resolve-product-dependencies': dependency 'swiftpatterns' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/benspratling4/SwiftPatterns.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version--6988338F2F200930.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 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>
[7/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>
[8/30] Compiling SwiftPatterns DirectoryMonitor.swift
[9/30] Compiling SwiftPatterns DynamicCodingKeys.swift
[10/30] Compiling SwiftPatterns Int+Bits.swift
[11/30] Compiling SwiftPatterns SkippingDecodeErrors.swift
[12/30] Compiling SwiftPatterns String+CharacterSet+replacements.swift
[13/30] Compiling SwiftPatterns Math.swift
[14/30] Compiling SwiftPatterns MediatedAccess.swift
[15/30] Compiling SwiftPatterns PriorityQueue.swift
[16/30] Compiling SwiftPatterns Alert.swift
[17/30] Compiling SwiftPatterns Array+StableUniqueValues.swift
[18/30] Compiling SwiftPatterns Array+dropLastWhile.swift
[19/30] Compiling SwiftPatterns JSONPrimitive.swift
[20/30] Compiling SwiftPatterns LocalFileSource.swift
[21/30] Compiling SwiftPatterns LogSearch.swift
[22/30] Compiling SwiftPatterns String+fixes.swift
[23/30] Compiling SwiftPatterns String+insertWithPrecautionaryWhitespace.swift
[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 [#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
[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 [#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
[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! (9.71s)
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.