Build Information
Failed to build CBOR, reference 0.7.0 (4da266), with Swift 6.1 for Android on 30 Nov 2025 08:45:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wendylabsinc/cbor.git
Reference: 0.7.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/wendylabsinc/cbor
* tag 0.7.0 -> FETCH_HEAD
HEAD is now at 4da266d Update version to 0.7.0 in README
Cloned https://github.com/wendylabsinc/cbor.git
Revision (git rev-parse @):
4da266dde3f9c2b8b1839a03089f36ddb6045f5b
SUCCESS checkout https://github.com/wendylabsinc/cbor.git at 0.7.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/wendylabsinc/cbor.git
https://github.com/wendylabsinc/cbor.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "CBOR",
"name" : "CBOR",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CBOR",
"targets" : [
"CBOR"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CBORTests",
"module_type" : "SwiftTarget",
"name" : "CBORTests",
"path" : "Tests/CBORTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/CBORTests/TestPlan.md",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"CBORCodableTests.swift",
"CBORContainerTests.swift",
"CBORErrorTests.swift",
"CBORPrimitiveTests.swift",
"CBORTaggedAndErrorTests.swift"
],
"target_dependencies" : [
"CBOR"
],
"type" : "test"
},
{
"c99name" : "CBOR",
"module_type" : "SwiftTarget",
"name" : "CBOR",
"path" : "Sources/CBOR",
"product_memberships" : [
"CBOR"
],
"sources" : [
"CBOR.swift",
"CBORError.swift",
"CBORReader.swift",
"Codable/CBORCodable.swift",
"Codable/CBORDecoder.swift",
"Codable/CBOREncoder.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:91d018f1076d6a900d71818287e1b2618039c67008f0564a121787f87e1ae735
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling CBOR CBORReader.swift
[4/9] Compiling CBOR CBOREncoder.swift
[5/9] Compiling CBOR CBORDecoder.swift
[6/9] Compiling CBOR CBORCodable.swift
[7/9] Emitting module CBOR
[8/9] Compiling CBOR CBORError.swift
[9/9] Compiling CBOR CBOR.swift
/host/spi-builder-workspace/Sources/CBOR/CBOR.swift:968:36: error: cannot find 'pow' in scope
966 | if exponent == 0 {
967 | // Subnormal number
968 | value = Double(fraction) * pow(2, -24)
| `- error: cannot find 'pow' in scope
969 | } else if exponent == 31 {
970 | // Infinity or NaN
/host/spi-builder-workspace/Sources/CBOR/CBOR.swift:974:45: error: cannot find 'pow' in scope
972 | } else {
973 | // Normal number
974 | value = Double(fraction | 0x0400) * pow(2, Double(exponent - 25))
| `- error: cannot find 'pow' in scope
975 | }
976 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:91d018f1076d6a900d71818287e1b2618039c67008f0564a121787f87e1ae735
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/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling CBOR CBORReader.swift
[3/8] Emitting module CBOR
[4/8] Compiling CBOR CBORError.swift
[5/8] Compiling CBOR CBOR.swift
/host/spi-builder-workspace/Sources/CBOR/CBOR.swift:968:36: error: cannot find 'pow' in scope
966 | if exponent == 0 {
967 | // Subnormal number
968 | value = Double(fraction) * pow(2, -24)
| `- error: cannot find 'pow' in scope
969 | } else if exponent == 31 {
970 | // Infinity or NaN
/host/spi-builder-workspace/Sources/CBOR/CBOR.swift:974:45: error: cannot find 'pow' in scope
972 | } else {
973 | // Normal number
974 | value = Double(fraction | 0x0400) * pow(2, Double(exponent - 25))
| `- error: cannot find 'pow' in scope
975 | }
976 |
[6/8] Compiling CBOR CBORCodable.swift
[7/8] Compiling CBOR CBOREncoder.swift
[8/8] Compiling CBOR CBORDecoder.swift
BUILD FAILURE 6.1 android