Build Information
Failed to build Motor, reference 0.1.2 (ec165d
), with Swift 6.2 (beta) for Android on 18 Jun 2025 12:27:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/flintprocessor/Motor.git
Reference: 0.1.2
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/flintprocessor/Motor
* tag 0.1.2 -> FETCH_HEAD
HEAD is now at ec165db Merge branch 'develop'
Cloned https://github.com/flintprocessor/Motor.git
Revision (git rev-parse @):
ec165db3be9046b956cc3a9b035d4134ab95998e
SUCCESS checkout https://github.com/flintprocessor/Motor.git at 0.1.2
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/flintprocessor/Motor.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/flintbox/ANSIEscapeCode
[1/49] Fetching ansiescapecode
Fetched https://github.com/flintbox/ANSIEscapeCode from cache (0.32s)
Computing version for https://github.com/flintbox/ANSIEscapeCode
Computed https://github.com/flintbox/ANSIEscapeCode at 0.1.1 (2.00s)
Creating working copy for https://github.com/flintbox/ANSIEscapeCode
Working copy of https://github.com/flintbox/ANSIEscapeCode resolved at 0.1.1
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-8C5A4AE7A8CE2BA.txt
[5/19] Compiling ANSIEscapeCode Scroll.swift
[6/19] Compiling ANSIEscapeCode String+ANSIEscapeCode.swift
[7/20] Compiling ANSIEscapeCode PrintANSIEscapeCode.swift
[8/20] Compiling ANSIEscapeCode EraseInDisplayType.swift
[9/20] Compiling ANSIEscapeCode ANSIEscapeCode.swift
[10/20] Compiling ANSIEscapeCode BackgroundColor.swift
[11/20] Emitting module ANSIEscapeCode
[12/20] Compiling ANSIEscapeCode Cursor.swift
[13/20] Compiling ANSIEscapeCode Erase.swift
[14/20] Compiling ANSIEscapeCode EraseInLineType.swift
[15/20] Compiling ANSIEscapeCode TextColor.swift
[16/21] Wrapping AST for ANSIEscapeCode for debugging
[18/27] Compiling Motor Patterns.swift
[19/27] Compiling Motor Spinner.swift
[20/27] Emitting module Motor
/host/spi-builder-workspace/Sources/Motor/Animator.swift:30:12: warning: class 'Animator' must restate inherited '@unchecked Sendable' conformance
28 |
29 | /// Spinner animator.
30 | open class Animator: Operation {
| `- warning: class 'Animator' must restate inherited '@unchecked Sendable' conformance
31 |
32 | /// Text displayed beside spinner.
[21/27] Compiling Motor Pattern.swift
[22/27] Compiling Motor Animation.swift
[23/27] Compiling Motor Animator.swift
/host/spi-builder-workspace/Sources/Motor/Animator.swift:30:12: warning: class 'Animator' must restate inherited '@unchecked Sendable' conformance
28 |
29 | /// Spinner animator.
30 | open class Animator: Operation {
| `- warning: class 'Animator' must restate inherited '@unchecked Sendable' conformance
31 |
32 | /// Text displayed beside spinner.
/host/spi-builder-workspace/Sources/Motor/Animator.swift:54:9: error: cannot find 'sleep' in scope
52 | open override func main() {
53 | super.main()
54 | sleep(delay)
| `- error: cannot find 'sleep' in scope
55 | while !isCancelled {
56 | eraseLineAndPrintFrame()
/host/spi-builder-workspace/Sources/Motor/Animator.swift:57:13: error: cannot find 'usleep' in scope
55 | while !isCancelled {
56 | eraseLineAndPrintFrame()
57 | usleep(1000000 * 1/spinner.pattern.fps)
| `- error: cannot find 'usleep' in scope
58 | spinner.findNextFrame()
59 | }
BUILD FAILURE 6.2 android