Build Information
Failed to build EffectiveNovelCore, reference 1.4.0 (68ba8d
), with Swift 6.2 (beta) for Android on 23 Jun 2025 03:02:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/mui-z/EffectiveNovelCore.git
Reference: 1.4.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/mui-z/EffectiveNovelCore
* tag 1.4.0 -> FETCH_HEAD
HEAD is now at 68ba8d4 Swift6 (#26)
Cloned https://github.com/mui-z/EffectiveNovelCore.git
Revision (git rev-parse @):
68ba8d49afa210cc20ebfeb720d5578d4b275d6f
SUCCESS checkout https://github.com/mui-z/EffectiveNovelCore.git at 1.4.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/mui-z/EffectiveNovelCore.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/hmlongco/Factory
[1/18827] Fetching factory
Fetched https://github.com/hmlongco/Factory from cache (0.96s)
Computing version for https://github.com/hmlongco/Factory
Computed https://github.com/hmlongco/Factory at 2.1.5 (5.40s)
Creating working copy for https://github.com/hmlongco/Factory
Working copy of https://github.com/hmlongco/Factory resolved at 2.1.5
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-8C5A4AE7A8CE2BA.txt
[4/11] Compiling Factory Modifiers.swift
[5/12] Compiling Factory Scopes.swift
/host/spi-builder-workspace/.build/checkouts/Factory/Sources/Factory/Factory/Scopes.swift:59:27: error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
57 | if let box = cache.value(forKey: id), let cached: T = unboxed(box: box) {
58 | if let ttl = ttl {
59 | let now = CFAbsoluteTimeGetCurrent()
| `- error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
60 | if (box.timestamp + ttl) > now {
61 | cache.set(timestamp: now, forKey: id)
/host/spi-builder-workspace/.build/checkouts/Factory/Sources/Factory/Factory/Scopes.swift:84:66: error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
82 | if let optional = instance as? OptionalProtocol {
83 | if optional.hasWrappedValue {
84 | return StrongBox<T>(scopeID: scopeID, timestamp: CFAbsoluteTimeGetCurrent(), boxed: instance)
| `- error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
85 | }
86 | return nil
/host/spi-builder-workspace/.build/checkouts/Factory/Sources/Factory/Factory/Scopes.swift:88:58: error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
86 | return nil
87 | }
88 | return StrongBox<T>(scopeID: scopeID, timestamp: CFAbsoluteTimeGetCurrent(), boxed: instance)
| `- error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
89 | }
90 |
/host/spi-builder-workspace/.build/checkouts/Factory/Sources/Factory/Factory/Scopes.swift:149:65: error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
147 | if let optional = instance as? OptionalProtocol {
148 | if let unwrapped = optional.wrappedValue, type(of: unwrapped) is AnyObject.Type {
149 | return WeakBox(scopeID: scopeID, timestamp: CFAbsoluteTimeGetCurrent(), boxed: unwrapped as AnyObject)
| `- error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
150 | }
151 | } else if type(of: instance as Any) is AnyObject.Type {
/host/spi-builder-workspace/.build/checkouts/Factory/Sources/Factory/Factory/Scopes.swift:152:61: error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
150 | }
151 | } else if type(of: instance as Any) is AnyObject.Type {
152 | return WeakBox(scopeID: scopeID, timestamp: CFAbsoluteTimeGetCurrent(), boxed: instance as AnyObject)
| `- error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
153 | }
154 | return nil
[6/12] Compiling Factory Globals.swift
[7/12] Compiling Factory Containers.swift
[8/12] Compiling Factory Contexts.swift
[9/12] Compiling Factory Factory.swift
[10/12] Emitting module Factory
[11/12] Compiling Factory Registrations.swift
[12/12] Compiling Factory Injections.swift
BUILD FAILURE 6.2 android