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 WrkstrmFoundation, reference main (59a16d), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 10:38:01 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/wrkstrm/WrkstrmFoundation.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wrkstrm/WrkstrmFoundation
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 59a16df Update JSONEnums.swift
Cloned https://github.com/wrkstrm/WrkstrmFoundation.git
Revision (git rev-parse @):
59a16df8af9f8f3f4529d28fd155eb75b47c6d23
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wrkstrm/WrkstrmFoundation.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/wrkstrm/WrkstrmFoundation.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-1EA4D86E10B52AF.txt
[6/33] Compiling Logging MetadataProvider.swift
[7/33] Compiling Logging LogHandler.swift
[8/33] Compiling Logging Locks.swift
[9/33] Emitting module Logging
[10/33] Compiling Logging Logging.swift
[11/39] Emitting module WrkstrmMain
[12/41] Compiling WrkstrmMain BinaryTree.swift
[13/41] Compiling WrkstrmMain TreeClass.swift
[14/41] Compiling WrkstrmMain ListEnum.swift
[15/41] Compiling WrkstrmMain Injectable.swift
[16/41] Compiling WrkstrmMain Result.swift
[17/41] Compiling WrkstrmMain String+Count.swift
[18/41] Compiling WrkstrmMain String+Error.swift
[19/41] Compiling WrkstrmMain RandomAccessCollection+IndexedCollection.swift
[20/41] Compiling WrkstrmMain Sequence+Decompose.swift
[21/41] Compiling WrkstrmMain CommandLine+Executable.swift
[22/41] Compiling WrkstrmMain Optional+Comparable.swift
[23/41] Compiling WrkstrmMain Optional+Flatten.swift
[24/41] Compiling WrkstrmMain String+KebabCase.swift
[25/41] Compiling WrkstrmMain String+Source.swift
[26/41] Compiling WrkstrmMain SortEnum.swift
[27/41] Compiling WrkstrmLog ProcessInfo+Xcode.swift
[28/41] Compiling WrkstrmMain IndexedCollection.swift
[29/41] Compiling WrkstrmMain SortedArray.swift
[30/41] Compiling WrkstrmMain UInt+BitSetting.swift
[31/41] Compiling WrkstrmMain JSON.swift
[32/41] Compiling WrkstrmMain Sequence+Unique.swift
[33/41] Compiling WrkstrmMain String+Contains.swift
[34/41] Compiling WrkstrmMain Array+Filter.swift
[35/41] Compiling WrkstrmMain ClosedRange+Magnitude.swift
[36/41] Compiling WrkstrmMain Collection+Sorting.swift
[37/41] Compiling WrkstrmLog Log+Shared.swift
[38/41] Compiling WrkstrmLog Level+OSLogType.swift
[39/41] Emitting module WrkstrmLog
[40/41] Compiling WrkstrmLog Level+Emoji.swift
[41/41] Compiling WrkstrmLog Log.swift
[42/67] Emitting module WrkstrmFoundation
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONCoders.swift:24:53: warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
22 |   public static let `default` = { () -> JSONDecoder in
23 |     let decoder: JSONDecoder = .init()
24 |     decoder.dateDecodingStrategy = .custom(Decoding.customDateDecoder)
   |                                                     `- warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
25 |     return decoder
26 |   }()
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONCoders.swift:44:53: warning: converting non-sendable function value to '@Sendable (Date, any Encoder) throws -> Void' may introduce data races
42 |   public static let `default` = { () -> JSONEncoder in
43 |     let encoder: JSONEncoder = .init()
44 |     encoder.dateEncodingStrategy = .custom(Encoding.customDateEncoder)
   |                                                     `- warning: converting non-sendable function value to '@Sendable (Date, any Encoder) throws -> Void' may introduce data races
45 |     return encoder
46 |   }()
[43/69] Compiling WrkstrmFoundation String+Casing.swift
[44/69] Compiling WrkstrmFoundation String+Expanding.swift
[45/69] Compiling WrkstrmFoundation String+FileType.swift
[46/69] Compiling WrkstrmFoundation Data+UTF8.swift
[47/69] Compiling WrkstrmFoundation Date+ExpressibleByIntegerLiteral.swift
[48/69] Compiling WrkstrmFoundation Date+GitLog.swift
[49/69] Compiling WrkstrmFoundation RelativeDateTimeFormatter+Date.swift
[50/69] Compiling WrkstrmFoundation FileHandle+Standard.swift
[51/69] Compiling WrkstrmFoundation FileManager+Source.swift
[52/69] Compiling WrkstrmFoundation Date+Utilities.swift
[53/69] Compiling WrkstrmFoundation DateFormatter+Utilities.swift
[54/69] Compiling WrkstrmFoundation FoundationCalendar+Default.swift
[55/69] Compiling WrkstrmFoundation Calendar.swift
[56/69] Compiling WrkstrmFoundation Event.swift
[57/69] Compiling WrkstrmFoundation Bundle+Version.swift
[58/69] Compiling WrkstrmFoundation JSONResource.swift
[59/69] Compiling WrkstrmFoundation Bundle+Decode.swift
[60/69] Compiling WrkstrmFoundation String+Stats.swift
[61/69] Compiling WrkstrmFoundation URL+URLQueryItem.swift
[62/69] Compiling WrkstrmFoundation HTTP.swift
[63/69] Compiling WrkstrmFoundation Log+Foundation.swift
[64/69] Compiling WrkstrmFoundation NotificationCenter+Transformers.swift
[65/69] Compiling WrkstrmFoundation NumberFormatter+Localize.swift
[66/69] Compiling WrkstrmFoundation JSONCoders.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONCoders.swift:24:53: warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
22 |   public static let `default` = { () -> JSONDecoder in
23 |     let decoder: JSONDecoder = .init()
24 |     decoder.dateDecodingStrategy = .custom(Decoding.customDateDecoder)
   |                                                     `- warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
25 |     return decoder
26 |   }()
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONCoders.swift:44:53: warning: converting non-sendable function value to '@Sendable (Date, any Encoder) throws -> Void' may introduce data races
42 |   public static let `default` = { () -> JSONEncoder in
43 |     let encoder: JSONEncoder = .init()
44 |     encoder.dateEncodingStrategy = .custom(Encoding.customDateEncoder)
   |                                                     `- warning: converting non-sendable function value to '@Sendable (Date, any Encoder) throws -> Void' may introduce data races
45 |     return encoder
46 |   }()
[67/69] Compiling WrkstrmFoundation JSONEnums.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONCoders.swift:24:53: warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
22 |   public static let `default` = { () -> JSONDecoder in
23 |     let decoder: JSONDecoder = .init()
24 |     decoder.dateDecodingStrategy = .custom(Decoding.customDateDecoder)
   |                                                     `- warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
25 |     return decoder
26 |   }()
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONCoders.swift:44:53: warning: converting non-sendable function value to '@Sendable (Date, any Encoder) throws -> Void' may introduce data races
42 |   public static let `default` = { () -> JSONEncoder in
43 |     let encoder: JSONEncoder = .init()
44 |     encoder.dateEncodingStrategy = .custom(Encoding.customDateEncoder)
   |                                                     `- warning: converting non-sendable function value to '@Sendable (Date, any Encoder) throws -> Void' may introduce data races
45 |     return encoder
46 |   }()
[68/69] Compiling WrkstrmFoundation CodableArchiver.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONCoders.swift:44:53: warning: converting non-sendable function value to '@Sendable (Date, any Encoder) throws -> Void' may introduce data races
42 |   public static let `default` = { () -> JSONEncoder in
43 |     let encoder: JSONEncoder = .init()
44 |     encoder.dateEncodingStrategy = .custom(Encoding.customDateEncoder)
   |                                                     `- warning: converting non-sendable function value to '@Sendable (Date, any Encoder) throws -> Void' may introduce data races
45 |     return encoder
46 |   }()
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONCoders.swift:24:53: warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
22 |   public static let `default` = { () -> JSONDecoder in
23 |     let decoder: JSONDecoder = .init()
24 |     decoder.dateDecodingStrategy = .custom(Decoding.customDateDecoder)
   |                                                     `- warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
25 |     return decoder
26 |   }()
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:84:36: warning: 'unarchiveObject(withFile:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#DeprecatedDeclaration]
 82 |   public func get(_ key: AnyHashable? = nil) -> T? {
 83 |     guard
 84 |       let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
    |                                    `- warning: 'unarchiveObject(withFile:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#DeprecatedDeclaration]
 85 |         as? Data
 86 |     else {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:115:28: warning: 'archiveRootObject(_:toFile:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: and -writeToURL:options:error: instead [#DeprecatedDeclaration]
113 |     )
114 |
115 |     return NSKeyedArchiver.archiveRootObject(data, toFile: filePathForKey(key ?? self.key))
    |                            `- warning: 'archiveRootObject(_:toFile:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: and -writeToURL:options:error: instead [#DeprecatedDeclaration]
116 |   }
117 |
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:136:28: warning: 'archiveRootObject(_:toFile:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: and -writeToURL:options:error: instead [#DeprecatedDeclaration]
134 |     )
135 |
136 |     return NSKeyedArchiver.archiveRootObject(encodedValues, toFile: filePathForKey(key ?? self.key))
    |                            `- warning: 'archiveRootObject(_:toFile:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: and -writeToURL:options:error: instead [#DeprecatedDeclaration]
137 |   }
138 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[69/69] Compiling WrkstrmFoundation SecurityScopedAsset.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONCoders.swift:44:53: warning: converting non-sendable function value to '@Sendable (Date, any Encoder) throws -> Void' may introduce data races
42 |   public static let `default` = { () -> JSONEncoder in
43 |     let encoder: JSONEncoder = .init()
44 |     encoder.dateEncodingStrategy = .custom(Encoding.customDateEncoder)
   |                                                     `- warning: converting non-sendable function value to '@Sendable (Date, any Encoder) throws -> Void' may introduce data races
45 |     return encoder
46 |   }()
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONCoders.swift:24:53: warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
22 |   public static let `default` = { () -> JSONDecoder in
23 |     let decoder: JSONDecoder = .init()
24 |     decoder.dateDecodingStrategy = .custom(Decoding.customDateDecoder)
   |                                                     `- warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
25 |     return decoder
26 |   }()
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:84:36: warning: 'unarchiveObject(withFile:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#DeprecatedDeclaration]
 82 |   public func get(_ key: AnyHashable? = nil) -> T? {
 83 |     guard
 84 |       let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
    |                                    `- warning: 'unarchiveObject(withFile:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#DeprecatedDeclaration]
 85 |         as? Data
 86 |     else {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:115:28: warning: 'archiveRootObject(_:toFile:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: and -writeToURL:options:error: instead [#DeprecatedDeclaration]
113 |     )
114 |
115 |     return NSKeyedArchiver.archiveRootObject(data, toFile: filePathForKey(key ?? self.key))
    |                            `- warning: 'archiveRootObject(_:toFile:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: and -writeToURL:options:error: instead [#DeprecatedDeclaration]
116 |   }
117 |
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:136:28: warning: 'archiveRootObject(_:toFile:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: and -writeToURL:options:error: instead [#DeprecatedDeclaration]
134 |     )
135 |
136 |     return NSKeyedArchiver.archiveRootObject(encodedValues, toFile: filePathForKey(key ?? self.key))
    |                            `- warning: 'archiveRootObject(_:toFile:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: and -writeToURL:options:error: instead [#DeprecatedDeclaration]
137 |   }
138 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (10.15s)
warning: 'spi-builder-workspace': ---- ConfigurationService Deps ----
[PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmLog.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(0.4.0..<1.0.0))), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmMain.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(1.0.0..<2.0.0)))]
---- ConfigurationService Deps ----
Fetching https://github.com/wrkstrm/WrkstrmLog.git
Fetching https://github.com/wrkstrm/WrkstrmMain.git
[1/838] Fetching wrkstrmmain
[345/1712] Fetching wrkstrmmain, wrkstrmlog
Fetched https://github.com/wrkstrm/WrkstrmMain.git from cache (0.87s)
Fetched https://github.com/wrkstrm/WrkstrmLog.git from cache (0.87s)
Computing version for https://github.com/wrkstrm/WrkstrmMain.git
Computed https://github.com/wrkstrm/WrkstrmMain.git at 1.0.0 (1.44s)
Computing version for https://github.com/wrkstrm/WrkstrmLog.git
Computed https://github.com/wrkstrm/WrkstrmLog.git at 0.4.0 (0.53s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.03s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.47s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/wrkstrm/WrkstrmLog.git
Working copy of https://github.com/wrkstrm/WrkstrmLog.git resolved at 0.4.0
Creating working copy for https://github.com/wrkstrm/WrkstrmMain.git
Working copy of https://github.com/wrkstrm/WrkstrmMain.git resolved at 1.0.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "wrkstrmlog",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/wrkstrm/WrkstrmLog.git"
    },
    {
      "identity" : "wrkstrmmain",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/wrkstrm/WrkstrmMain.git"
    }
  ],
  "manifest_display_name" : "WrkstrmFoundation",
  "name" : "WrkstrmFoundation",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "WrkstrmFoundation",
      "targets" : [
        "WrkstrmFoundation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WrkstrmFoundationTests",
      "module_type" : "SwiftTarget",
      "name" : "WrkstrmFoundationTests",
      "path" : "Tests/WrkstrmFoundationTests",
      "sources" : [
        "CalendarTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "WrkstrmFoundation"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WrkstrmFoundation",
      "module_type" : "SwiftTarget",
      "name" : "WrkstrmFoundation",
      "path" : "Sources/WrkstrmFoundation",
      "product_dependencies" : [
        "WrkstrmLog",
        "WrkstrmMain"
      ],
      "product_memberships" : [
        "WrkstrmFoundation"
      ],
      "sources" : [
        "Collections/Calendar.swift",
        "Collections/Event.swift",
        "Extensions/Bundle+Version.swift",
        "Extensions/Data+UTF8.swift",
        "Extensions/Dates/Date+ExpressibleByIntegerLiteral.swift",
        "Extensions/Dates/Date+GitLog.swift",
        "Extensions/Dates/Date+Utilities.swift",
        "Extensions/Dates/DateFormatter+Utilities.swift",
        "Extensions/Dates/FoundationCalendar+Default.swift",
        "Extensions/Dates/RelativeDateTimeFormatter+Date.swift",
        "Extensions/FileHandle+Standard.swift",
        "Extensions/FileManager+Source.swift",
        "Extensions/Log+Foundation.swift",
        "Extensions/NotificationCenter+Transformers.swift",
        "Extensions/NumberFormatter+Localize.swift",
        "Extensions/String/String+Casing.swift",
        "Extensions/String/String+Expanding.swift",
        "Extensions/String/String+FileType.swift",
        "Extensions/String/String+Stats.swift",
        "Extensions/URL+URLQueryItem.swift",
        "HTTP/HTTP.swift",
        "JSON/JSONCoders.swift",
        "JSON/JSONEnums.swift",
        "JSON/JSONResource.swift",
        "Persistence/Bundle+Decode.swift",
        "Persistence/CodableArchiver.swift",
        "Persistence/SecurityScopedAsset.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
warning: 'spi-builder-workspace': ---- ConfigurationService Deps ----
[PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmLog.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(0.4.0..<1.0.0))), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmMain.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(1.0.0..<2.0.0)))]
---- ConfigurationService Deps ----
Done.