The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DataKit with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftCommon/DataKit.git
Reference: 1.1.0
Cloned https://github.com/SwiftCommon/DataKit.git into spi-builder-workspace
SUCCESS checkout https://github.com/SwiftCommon/DataKit.git at 1.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/Quick/Nimble
[1/15746] Fetching nimble
Fetched https://github.com/Quick/Nimble (1.02s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 9.2.1 (0.29s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1193] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.23s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.2 (0.28s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/432] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.26s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.2 (0.26s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.2
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.1.2
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 9.2.1
Building for debugging...
[1/9] Compiling DataKit Data+UTF8String.swift
[2/9] Compiling DataKit Data+HexString.swift
/host/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)
                           ^
/host/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
[3/9] Compiling DataKit Data+ASCIIString.swift
[4/9] Compiling DataKit Base64.swift
/host/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)
                       ^
/host/spi-builder-workspace/Sources/DataKit/Base64.swift:188:24: note: use 'update(from:count:)' instead
                buffer.assign(from: ptr, count: bufferSize)
                       ^~~~~~
                       update
[5/9] Compiling DataKit Array+Data.swift
[6/9] Emitting module DataKit
[8/11] Wrapping AST for DataKit for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/13] Emitting module DataKitBenchmark
/host/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:8:19: error: cannot find type 'CFTimeInterval' in scope
func gettime() -> CFTimeInterval {
                  ^~~~~~~~~~~~~~
[11/13] Compiling DataKitBenchmark main.swift
/host/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:8:19: error: cannot find type 'CFTimeInterval' in scope
func gettime() -> CFTimeInterval {
                  ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:35:20: error: cannot find type 'CFTimeInterval' in scope
    let startTime: CFTimeInterval = gettime()
                   ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:36:16: error: cannot find 'dispatch_benchmark' in scope
    let time = dispatch_benchmark(count) {
               ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:39:18: error: cannot find type 'CFTimeInterval' in scope
    let endTime: CFTimeInterval = gettime()
                 ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:42:21: error: cannot find type 'CFTimeInterval' in scope
    let startTime1: CFTimeInterval = gettime()
                    ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:43:17: error: cannot find 'dispatch_benchmark' in scope
    let time1 = dispatch_benchmark(count) {
                ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:46:19: error: cannot find type 'CFTimeInterval' in scope
    let endTime1: CFTimeInterval = gettime()
                  ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:57:20: error: cannot find type 'CFTimeInterval' in scope
    let startTime: CFTimeInterval = gettime()
                   ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:58:16: error: cannot find 'dispatch_benchmark' in scope
    let time = dispatch_benchmark(count) {
               ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:61:18: error: cannot find type 'CFTimeInterval' in scope
    let endTime: CFTimeInterval = gettime()
                 ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:64:21: error: cannot find type 'CFTimeInterval' in scope
    let startTime1: CFTimeInterval = gettime()
                    ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:65:17: error: cannot find 'dispatch_benchmark' in scope
    let time1 = dispatch_benchmark(count) {
                ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:68:19: error: cannot find type 'CFTimeInterval' in scope
    let endTime1: CFTimeInterval = gettime()
                  ^~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1