Build Information
Failed to build DataKit, reference master (d63711), with Swift 6.1 for Android on 28 May 2025 11:22:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftCommon/DataKit.git
Reference: master
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
* 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: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/SwiftCommon/DataKit.git
https://github.com/SwiftCommon/DataKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "9.0.0",
"upper_bound" : "10.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble"
}
],
"manifest_display_name" : "DataKit",
"name" : "DataKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "DataKit",
"targets" : [
"DataKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DataKitBenchmark",
"targets" : [
"DataKitBenchmark"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "DataKitTests",
"module_type" : "SwiftTarget",
"name" : "DataKitTests",
"path" : "Tests/DataKitTests",
"product_dependencies" : [
"Nimble"
],
"sources" : [
"Base64Tests.swift",
"DataExtASCIIStringTests.swift",
"DataExtHexStringTests.swift",
"DataExtUTF8StringTests.swift",
"Util/String+cStringBuffer.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"DataKit"
],
"type" : "test"
},
{
"c99name" : "DataKitBenchmark",
"module_type" : "SwiftTarget",
"name" : "DataKitBenchmark",
"path" : "Sources/DataKitBenchmark",
"product_memberships" : [
"DataKitBenchmark"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"DataKit"
],
"type" : "executable"
},
{
"c99name" : "DataKit",
"module_type" : "SwiftTarget",
"name" : "DataKit",
"path" : "Sources/DataKit",
"product_memberships" : [
"DataKit",
"DataKitBenchmark"
],
"sources" : [
"Array+Data.swift",
"Base64.swift",
"Data+ASCIIString.swift",
"Data+HexString.swift",
"Data+UTF8String.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/Quick/Nimble
[1/19584] Fetching nimble
Fetched https://github.com/Quick/Nimble from cache (1.99s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 9.2.1 (3.36s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.33s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.98s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.63s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.25s)
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/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
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+HexString.swift
/host/spi-builder-workspace/Sources/DataKit/Data+HexString.swift:81:28: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
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:)'
| `- note: use 'update(from:count:)' instead
82 | let byteLiteral = String(cString: charBuffer)
83 | // Parse the String to UInt8
[6/13] Compiling DataKit Data+ASCIIString.swift
[7/13] Emitting module DataKit
[8/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:)'
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:)'
| `- 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
[9/13] Compiling DataKit Array+Data.swift
[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)))")
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling DataKit Data+UTF8String.swift
[3/11] Compiling DataKit Data+ASCIIString.swift
[4/11] 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:)'
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:)'
| `- note: use 'update(from:count:)' instead
82 | let byteLiteral = String(cString: charBuffer)
83 | // Parse the String to UInt8
[5/11] Emitting module DataKit
[6/11] 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:)'
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:)'
| `- 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
[7/11] Compiling DataKit Array+Data.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/13] 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 | }
[10/13] 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.1 android