Build Information
Failed to build CBOR, reference 0.7.0 (4da266), with Swift 6.2 for Android on 30 Nov 2025 08:47:00 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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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.2
Building package at path: $PWD
https://github.com/wendylabsinc/cbor.git
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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c3fe93b3f7c9edfd66b4287786a9b8caf7805f96d7219e301e257b4e0de911bb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6B0C4D200E742BB1.txt
[3/9] Compiling CBOR CBOREncoder.swift
[4/9] Compiling CBOR CBORReader.swift
[5/9] Compiling CBOR CBORCodable.swift
[6/9] Compiling CBOR CBORError.swift
[7/9] Emitting module CBOR
[8/9] Compiling CBOR CBORDecoder.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 |
BUILD FAILURE 6.2 android