Build Information
Failed to build ServiceLocator, reference 3.1.0 (bf15f8), with Swift 6.3 for Android on 11 Nov 2026 08:31:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kibotu/ServiceLocator.git
Reference: 3.1.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/kibotu/ServiceLocator
* tag 3.1.0 -> FETCH_HEAD
HEAD is now at bf15f8c re-added identifier
Cloned https://github.com/kibotu/ServiceLocator.git
Revision (git rev-parse @):
bf15f8cd59ad2e73f75fcfa9b70a1abef3624915
SUCCESS checkout https://github.com/kibotu/ServiceLocator.git at 3.1.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/kibotu/ServiceLocator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:c6b25257ee4256a4333f8606cd21df53447403ab2b14f14099093ed697fe253a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-272D24FF697CF451.txt
[3/9] Compiling ServiceLocator Site.swift
[4/9] Compiling ServiceLocator ServiceLocatorModule.swift
[5/9] Compiling ServiceLocator ServiceLocator.swift
/host/spi-builder-workspace/Sources/ServiceLocator/ServiceLocator.swift:72:61: error: argument type '@Sendable (Thread) -> () -> ()' expected to be an instance of a class or class-constrained type
70 | }
71 |
72 | private static let mainThread = ObjectIdentifier(Thread.main)
| `- error: argument type '@Sendable (Thread) -> () -> ()' expected to be an instance of a class or class-constrained type
73 |
74 | // Guards everything below; `wait()` parks threads until a singleton or main-thread job completes.
[6/9] Compiling ServiceLocator Inject.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/9] Compiling ServiceLocator ResolutionError.swift
[8/9] Compiling ServiceLocator Dependency.swift
[9/9] Emitting module ServiceLocator
/host/spi-builder-workspace/Sources/ServiceLocator/ServiceLocator.swift:72:61: error: argument type '@Sendable (Thread) -> () -> ()' expected to be an instance of a class or class-constrained type
70 | }
71 |
72 | private static let mainThread = ObjectIdentifier(Thread.main)
| `- error: argument type '@Sendable (Thread) -> () -> ()' expected to be an instance of a class or class-constrained type
73 |
74 | // Guards everything below; `wait()` parks threads until a singleton or main-thread job completes.
BUILD FAILURE 6.3 android