The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build OfficeModel, reference main (bf14ec), with Swift 6.2 (beta) for Android on 22 Jun 2025 12:58:53 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/Frizlab/officectl-model.git
Reference: main
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/Frizlab/officectl-model
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at bf14ec0 Update dependencies
Cloned https://github.com/Frizlab/officectl-model.git
Revision (git rev-parse @):
bf14ec0832eaec0344b125f279f8346e5ad1921d
SUCCESS checkout https://github.com/Frizlab/officectl-model.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Frizlab/officectl-model.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/Frizlab/generic-json.git
Fetching https://github.com/mxcl/LegibleError.git
Fetching https://github.com/Frizlab/UnwrapOrThrow.git
Fetching https://github.com/Frizlab/swift-email.git
[1/31] Fetching unwraporthrow
[32/209] Fetching unwraporthrow, legibleerror
[210/824] Fetching unwraporthrow, legibleerror, generic-json
[825/1004] Fetching unwraporthrow, legibleerror, generic-json, swift-email
Fetched https://github.com/mxcl/LegibleError.git from cache (0.28s)
Fetched https://github.com/Frizlab/generic-json.git from cache (0.28s)
Fetched https://github.com/Frizlab/UnwrapOrThrow.git from cache (0.32s)
Fetched https://github.com/Frizlab/swift-email.git from cache (0.32s)
Computing version for https://github.com/Frizlab/generic-json.git
Computed https://github.com/Frizlab/generic-json.git at 3.1.3 (1.27s)
Computing version for https://github.com/Frizlab/swift-email.git
Computed https://github.com/Frizlab/swift-email.git at 0.2.6 (0.74s)
Computing version for https://github.com/mxcl/LegibleError.git
Computed https://github.com/mxcl/LegibleError.git at 1.0.6 (0.70s)
Computing version for https://github.com/Frizlab/UnwrapOrThrow.git
Computed https://github.com/Frizlab/UnwrapOrThrow.git at 1.0.1 (0.68s)
Creating working copy for https://github.com/Frizlab/UnwrapOrThrow.git
Working copy of https://github.com/Frizlab/UnwrapOrThrow.git resolved at 1.0.1
Creating working copy for https://github.com/mxcl/LegibleError.git
Working copy of https://github.com/mxcl/LegibleError.git resolved at 1.0.6
Creating working copy for https://github.com/Frizlab/swift-email.git
Working copy of https://github.com/Frizlab/swift-email.git resolved at 0.2.6
Creating working copy for https://github.com/Frizlab/generic-json.git
Working copy of https://github.com/Frizlab/generic-json.git resolved at 3.1.3
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-8C5A4AE7A8CE2BA.txt
[8/25] Emitting module GenericJSON
[9/26] Compiling UnwrapOrThrow UnwrapOrThrowOperator.swift
[10/26] Compiling GenericJSON JSON.swift
[11/26] Compiling GenericJSON JSONErrors.swift
[12/26] Compiling GenericJSON JSON+Querying.swift
[13/26] Emitting module LegibleError
[14/26] Emitting module UnwrapOrThrow
[15/26] Compiling UnwrapOrThrow UnwrapOrThrow.swift
[16/26] Compiling LegibleError LegibleError.swift
/host/spi-builder-workspace/.build/checkouts/LegibleError/Sources/LegibleError.swift:63:45: error: cannot find 'object_getClassName' in scope
61 |         let foo: Any = self
62 |         let nativeClassNames = ["_SwiftNativeNSError", "__SwiftNativeNSError"]
63 |         let selfClassName = String(cString: object_getClassName(self))
   |                                             `- error: cannot find 'object_getClassName' in scope
64 |         let isNSError = !nativeClassNames.contains(selfClassName) && foo is NSObject
65 |         // ^^ ∵ otherwise implicit bridging implicitly casts as for other tests
[17/27] Compiling GenericJSON JSON+Decoding.swift
[18/27] Compiling GenericJSON JSON+Merging.swift
[19/27] Compiling GenericJSON JSON+Init.swift
[20/27] Compiling GenericJSON JSON+CustomDebugStringConvertible.swift
[21/27] Compiling GenericJSON DummySendable.swift
[22/27] Compiling GenericJSON JSON+Codable.swift
[24/28] Compiling Email Email.swift
BUILD FAILURE 6.2 android