Build Information
Failed to build DataKit, reference 1.1.0 (08cc44), with Swift 6.3 for Linux on 22 Apr 2026 11:30:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftCommon/DataKit.git
Reference: 1.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/SwiftCommon/DataKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/Quick/Nimble
[1/19823] Fetching nimble
Fetched https://github.com/Quick/Nimble from cache (2.41s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 9.2.1 (3.17s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.43s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.27s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.34s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.14s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
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/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/13] Compiling DataKit Data+UTF8String.swift
[5/13] Compiling DataKit Data+ASCIIString.swift
[6/13] 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:)' [#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>
[7/13] Compiling DataKit Array+Data.swift
[8/13] Emitting module DataKit
[9/13] 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:)' [#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/14] Wrapping AST for DataKit for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/16] Emitting module DataKitBenchmark
/host/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:8:19: error: cannot find type 'CFTimeInterval' in scope
6 | import Foundation
7 |
8 | func gettime() -> CFTimeInterval {
| `- error: cannot find type 'CFTimeInterval' in scope
9 | return Date.timeIntervalSinceReferenceDate
10 | }
[13/16] Compiling DataKitBenchmark main.swift
/host/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:8:19: error: cannot find type 'CFTimeInterval' in scope
6 | import Foundation
7 |
8 | func gettime() -> CFTimeInterval {
| `- error: cannot find type 'CFTimeInterval' in scope
9 | return Date.timeIntervalSinceReferenceDate
10 | }
/host/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:35:20: error: cannot find type 'CFTimeInterval' in scope
33 | let data = try! Data(contentsOf: file) //swiftlint:disable:this force_try
34 |
35 | let startTime: CFTimeInterval = gettime()
| `- error: cannot find type 'CFTimeInterval' in scope
36 | let time = dispatch_benchmark(count) {
37 | _ = Data(base64Encoded: data, options: .ignoreUnknownCharacters)
/host/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 | }
/host/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:39:18: error: cannot find type 'CFTimeInterval' in scope
37 | _ = Data(base64Encoded: data, options: .ignoreUnknownCharacters)
38 | }
39 | let endTime: CFTimeInterval = gettime()
| `- error: cannot find type 'CFTimeInterval' in scope
40 | print("Total time (foundation): \(String(describing: (endTime - startTime)))")
41 |
/host/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:42:21: error: cannot find type 'CFTimeInterval' in scope
40 | print("Total time (foundation): \(String(describing: (endTime - startTime)))")
41 |
42 | let startTime1: CFTimeInterval = gettime()
| `- error: cannot find type 'CFTimeInterval' in scope
43 | let time1 = dispatch_benchmark(count) {
44 | _ = try? Base64.decode(data: data, mode: .ignoreWhiteSpaceAndNewline)
/host/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 | }
/host/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:46:19: error: cannot find type 'CFTimeInterval' in scope
44 | _ = try? Base64.decode(data: data, mode: .ignoreWhiteSpaceAndNewline)
45 | }
46 | let endTime1: CFTimeInterval = gettime()
| `- error: cannot find type 'CFTimeInterval' in scope
47 |
48 | print("Total time (swiftcommon): \(String(describing: (endTime1 - startTime1)))")
/host/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:57:20: error: cannot find type 'CFTimeInterval' in scope
55 | let data = plainLoremIpsum
56 |
57 | let startTime: CFTimeInterval = gettime()
| `- error: cannot find type 'CFTimeInterval' in scope
58 | let time = dispatch_benchmark(count) {
59 | _ = data.base64EncodedData()
/host/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 | }
/host/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:61:18: error: cannot find type 'CFTimeInterval' in scope
59 | _ = data.base64EncodedData()
60 | }
61 | let endTime: CFTimeInterval = gettime()
| `- error: cannot find type 'CFTimeInterval' in scope
62 | print("Total time (foundation): \(String(describing: (endTime - startTime)))")
63 |
/host/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:64:21: error: cannot find type 'CFTimeInterval' in scope
62 | print("Total time (foundation): \(String(describing: (endTime - startTime)))")
63 |
64 | let startTime1: CFTimeInterval = gettime()
| `- error: cannot find type 'CFTimeInterval' in scope
65 | let time1 = dispatch_benchmark(count) {
66 | _ = Base64.standard.encode(data: data)
/host/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 | }
/host/spi-builder-workspace/Sources/DataKitBenchmark/main.swift:68:19: error: cannot find type 'CFTimeInterval' in scope
66 | _ = Base64.standard.encode(data: data)
67 | }
68 | let endTime1: CFTimeInterval = gettime()
| `- error: cannot find type 'CFTimeInterval' in scope
69 |
70 | print("Total time (swiftcommon): \(String(describing: (endTime1 - startTime1)))")
BUILD FAILURE 6.3 linux