The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DataKit with Swift 5.10 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftCommon/DataKit.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/SwiftCommon/DataKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d63711e Update build environment (#149)
Cloned https://github.com/SwiftCommon/DataKit.git
Revision (git rev-parse @):
d63711e992c9307a66d91ced6b1fa54b24c3ad04
SUCCESS checkout https://github.com/SwiftCommon/DataKit.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/SwiftCommon/DataKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[2/7] Write DataKitBenchmark-entitlement.plist
[3/7] Write swift-version--423B1241ED78D482.txt
[5/13] Compiling DataKit Data+UTF8String.swift
[6/13] Compiling DataKit Data+ASCIIString.swift
[7/13] Compiling DataKit Data+HexString.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DataKit/Data+HexString.swift:81:28: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
                charBuffer.assign(from: cString.advanced(by: idx), count: 2)
                           ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DataKit/Data+HexString.swift:81:28: note: use 'update(from:count:)' instead
                charBuffer.assign(from: cString.advanced(by: idx), count: 2)
                           ^~~~~~
                           update
[8/13] Emitting module DataKit
[9/13] Compiling DataKit Base64.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DataKit/Base64.swift:188:24: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
                buffer.assign(from: ptr, count: bufferSize)
                       ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DataKit/Base64.swift:188:24: note: use 'update(from:count:)' instead
                buffer.assign(from: ptr, count: bufferSize)
                       ^~~~~~
                       update
[10/13] Compiling DataKit Array+Data.swift
[11/15] Emitting module DataKitBenchmark
[12/15] Compiling DataKitBenchmark main.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:36:16: error: cannot find 'dispatch_benchmark' in scope
    let time = dispatch_benchmark(count) {
               ^~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:43:17: error: cannot find 'dispatch_benchmark' in scope
    let time1 = dispatch_benchmark(count) {
                ^~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:58:16: error: cannot find 'dispatch_benchmark' in scope
    let time = dispatch_benchmark(count) {
               ^~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:65:17: error: cannot find 'dispatch_benchmark' in scope
    let time1 = dispatch_benchmark(count) {
                ^~~~~~~~~~~~~~~~~~
error: fatalError
Fetching https://github.com/Quick/Nimble from cache
Fetching https://github.com/mattgallagher/CwlCatchException.git from cache
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git from cache
Fetched https://github.com/Quick/Nimble from cache (0.21s)
Computing version for https://github.com/Quick/Nimble
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.21s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.21s)
Computed https://github.com/Quick/Nimble at 9.2.1 (0.04s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.0 (0.03s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.1 (0.03s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.1.0
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 9.2.1
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version--423B1241ED78D482.txt
[2/6] Emitting module DataKitBenchmark
[3/6] Compiling DataKitBenchmark main.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:36:16: error: cannot find 'dispatch_benchmark' in scope
    let time = dispatch_benchmark(count) {
               ^~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:43:17: error: cannot find 'dispatch_benchmark' in scope
    let time1 = dispatch_benchmark(count) {
                ^~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:58:16: error: cannot find 'dispatch_benchmark' in scope
    let time = dispatch_benchmark(count) {
               ^~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:65:17: error: cannot find 'dispatch_benchmark' in scope
    let time1 = dispatch_benchmark(count) {
                ^~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 macosSpm

Build Machine: Mac 7