The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DataKit, reference 1.1.0 (08cc44), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 21:31:54 UTC.

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/SwiftCommon/DataKit.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftCommon/DataKit
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 08cc443 Prepare release 1.1.0
Cloned https://github.com/SwiftCommon/DataKit.git
Revision (git rev-parse @):
08cc443adbe1103ba36e1c187fa313b8e412ad60
SUCCESS checkout https://github.com/SwiftCommon/DataKit.git at 1.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/SwiftCommon/DataKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write DataKitBenchmark-entitlement.plist
[0/7] Write sources
[3/7] Write swift-version-1EA4D86E10B52AF.txt
[5/13] Compiling DataKit Data+UTF8String.swift
[6/13] Compiling DataKit Data+ASCIIString.swift
[7/13] Compiling DataKit Data+HexString.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataKit/Data+HexString.swift:81:28: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
 79 |             for idx in stride(from: 0, to: length, by: 2) {
 80 |                 // assign the next two characters to the buffer
 81 |                 charBuffer.assign(from: cString.advanced(by: idx), count: 2)
    |                            |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
    |                            `- note: use 'update(from:count:)' instead
 82 |                 let byteLiteral = String(cString: charBuffer)
 83 |                 // Parse the String to UInt8
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[8/13] Emitting module DataKit
[9/13] Compiling DataKit Base64.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataKit/Base64.swift:188:24: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
186 |                 //swiftlint:disable:next force_unwrapping
187 |                 let ptr = bytesPtr.baseAddress!.advanced(by: idx).assumingMemoryBound(to: UInt8.self)
188 |                 buffer.assign(from: ptr, count: bufferSize)
    |                        |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
    |                        `- note: use 'update(from:count:)' instead
189 |                 // Tell the compiler the current buffer is to be treated as an UInt32
190 |                 buffer.withMemoryRebound(to: UInt32.self, capacity: bufferSize) { bufferBytes in
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[10/13] Compiling DataKit Array+Data.swift
[11/15] Emitting module DataKitBenchmark
[12/15] Compiling DataKitBenchmark main.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:36:16: error: cannot find 'dispatch_benchmark' in scope
34 |
35 |     let startTime: CFTimeInterval = gettime()
36 |     let time = dispatch_benchmark(count) {
   |                `- error: cannot find 'dispatch_benchmark' in scope
37 |         _ = Data(base64Encoded: data, options: .ignoreUnknownCharacters)
38 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:43:17: error: cannot find 'dispatch_benchmark' in scope
41 |
42 |     let startTime1: CFTimeInterval = gettime()
43 |     let time1 = dispatch_benchmark(count) {
   |                 `- error: cannot find 'dispatch_benchmark' in scope
44 |         _ = try? Base64.decode(data: data, mode: .ignoreWhiteSpaceAndNewline)
45 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:58:16: error: cannot find 'dispatch_benchmark' in scope
56 |
57 |     let startTime: CFTimeInterval = gettime()
58 |     let time = dispatch_benchmark(count) {
   |                `- error: cannot find 'dispatch_benchmark' in scope
59 |         _ = data.base64EncodedData()
60 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:65:17: error: cannot find 'dispatch_benchmark' in scope
63 |
64 |     let startTime1: CFTimeInterval = gettime()
65 |     let time1 = dispatch_benchmark(count) {
   |                 `- error: cannot find 'dispatch_benchmark' in scope
66 |         _ = Base64.standard.encode(data: data)
67 |     }
Fetching https://github.com/Quick/Nimble
[1/19584] Fetching nimble
Fetched https://github.com/Quick/Nimble from cache (1.97s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 9.2.1 (2.52s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.93s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.46s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.74s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.29s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 9.2.1
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
BUILD FAILURE 6.2 macosSpm