Build Information
Failed to build swift-json, reference develop (77ad2a
), with Swift 6.2 (beta) for Linux on 21 Jun 2025 23:13:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sinoru/swift-json.git
Reference: develop
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/sinoru/swift-json
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 77ad2a7 Add JSONValueDecoder
Cloned https://github.com/sinoru/swift-json.git
Revision (git rev-parse @):
77ad2a729381142a74da3a807040b72ce1bb8894
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sinoru/swift-json.git at develop
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/sinoru/swift-json.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2082] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.87s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (4.32s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3414] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.41s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.88s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/11] Compiling JSONNumber JSONNumber.swift
/host/spi-builder-workspace/Sources/JSONNumber/JSONNumber.swift:32:32: error: cannot find 'pow' in scope
30 | switch storage.mantissa {
31 | case .decimal(let mantissa, let mantissaLength):
32 | Double(mantissa) * pow(-10, Double(mantissaLength))
| `- error: cannot find 'pow' in scope
33 | case .fraction(let fraction):
34 | fraction
[8/11] Compiling JSONNumber JSONNumber+Values.swift
[9/11] Compiling JSONNumber JSONNumber+Decimal.swift
/host/spi-builder-workspace/Sources/JSONNumber/JSONNumber+Decimal.swift:49:46: error: cannot find 'pow' in scope
47 | let mantissaLength = value.exponent.magnitude
48 |
49 | let significand = wholeValue / Int64(pow(10, Double(mantissaLength)))
| `- error: cannot find 'pow' in scope
50 | let mantissa = UInt(wholeValue.description.suffix(Int(mantissaLength)))!
51 |
[10/11] Emitting module JSONNumber
[11/11] Compiling JSONNumber JSONNumber+Conformances.swift
BUILD FAILURE 6.2 linux