Build Information
Failed to build VJson, reference 1.3.6 (edfc3f
), with Swift 6.2 (beta) for Android on 18 Jun 2025 09:51:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Balancingrock/vjson.git
Reference: 1.3.6
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/Balancingrock/vjson
* tag 1.3.6 -> FETCH_HEAD
HEAD is now at edfc3f1 Added availability testing for iOS for undo/redo
Cloned https://github.com/Balancingrock/vjson.git
Revision (git rev-parse @):
edfc3f19f4e8b37a6036d86e7eb42ea76a038ee7
SUCCESS checkout https://github.com/Balancingrock/vjson.git at 1.3.6
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/Balancingrock/vjson.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/Balancingrock/Ascii
Fetching https://github.com/Balancingrock/BRUtils
[1/336] Fetching brutils
[337/435] Fetching brutils, ascii
Fetched https://github.com/Balancingrock/Ascii from cache (0.84s)
Fetched https://github.com/Balancingrock/BRUtils from cache (0.85s)
Computing version for https://github.com/Balancingrock/Ascii
Computed https://github.com/Balancingrock/Ascii at 1.5.2 (1.20s)
Computing version for https://github.com/Balancingrock/BRUtils
Computed https://github.com/Balancingrock/BRUtils at 1.1.5 (0.90s)
Creating working copy for https://github.com/Balancingrock/Ascii
Working copy of https://github.com/Balancingrock/Ascii resolved at 1.5.2
Creating working copy for https://github.com/Balancingrock/BRUtils
Working copy of https://github.com/Balancingrock/BRUtils resolved at 1.1.5
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-8C5A4AE7A8CE2BA.txt
[5/15] Emitting module Ascii
[6/15] Compiling Ascii Ascii.swift
[8/16] Compiling BRUtils Array.Extensions.swift
[9/16] Compiling BRUtils Bool.Extensions.swift
[10/17] Compiling BRUtils NSNumber.Extensions.swift
[11/17] Emitting module BRUtils
[12/17] Compiling BRUtils Endianness.swift
[13/17] Compiling BRUtils Data.Extensions.swift
[14/17] Compiling BRUtils Date.Extensions.swift
[15/17] Compiling BRUtils GlobalFunctions.swift
[16/17] Compiling BRUtils Int.Extensions.swift
[17/17] Compiling BRUtils TimeRelated.swift
/host/spi-builder-workspace/.build/checkouts/BRUtils/Sources/BRUtils/TimeRelated.swift:58:62: error: cannot find 'NSEC_PER_SEC' in scope
56 | init(timeInterval: TimeInterval) {
57 | let sec = Int(timeInterval)
58 | let nsec = Int((timeInterval - Double(sec)) * Double(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
59 | self.init(tv_sec: sec, tv_nsec: nsec)
60 | }
/host/spi-builder-workspace/.build/checkouts/BRUtils/Sources/BRUtils/TimeRelated.swift:76:64: error: cannot find 'USEC_PER_SEC' in scope
74 | let usec = Int((timeInterval - Double(sec)) * Double(USEC_PER_SEC))
75 | #else
76 | let usec = Int32((timeInterval - Double(sec)) * Double(USEC_PER_SEC))
| `- error: cannot find 'USEC_PER_SEC' in scope
77 | #endif
78 | self.init(tv_sec: sec, tv_usec: usec)
/host/spi-builder-workspace/.build/checkouts/BRUtils/Sources/BRUtils/TimeRelated.swift:91:80: error: cannot find 'NSEC_PER_SEC' in scope
89 |
90 | init(timespec: timespec) {
91 | self.init(Double(timespec.tv_sec) + (Double(timespec.tv_nsec) / Double(NSEC_PER_SEC)))
| `- error: cannot find 'NSEC_PER_SEC' in scope
92 | }
93 |
/host/spi-builder-workspace/.build/checkouts/BRUtils/Sources/BRUtils/TimeRelated.swift:98:78: error: cannot find 'USEC_PER_SEC' in scope
96 |
97 | init(timeval: timeval) {
98 | self.init(Double(timeval.tv_sec) + (Double(timeval.tv_usec) / Double(USEC_PER_SEC)))
| `- error: cannot find 'USEC_PER_SEC' in scope
99 | }
100 | }
BUILD FAILURE 6.2 android