Build Information
Failed to build OfficeModel, reference main (33e1a1
), with Swift 6.2 (beta) for Android on 20 Jun 2025 18:55:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/happn-app/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/happn-app/officectl-model
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 33e1a16 Verify the decoded tag does not contain a semicolon in Tag
Cloned https://github.com/happn-app/officectl-model.git
Revision (git rev-parse @):
33e1a165238a290c931e4b58bbe3e8e599f5f8b6
SUCCESS checkout https://github.com/happn-app/officectl-model.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/happn-app/officectl-model.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/swift-email.git
Fetching https://github.com/mxcl/LegibleError.git
Fetching https://github.com/Frizlab/UnwrapOrThrow.git
Fetching https://github.com/iwill/generic-json-swift.git
[1/180] Fetching swift-email
[181/831] Fetching swift-email, generic-json-swift
[832/1009] Fetching swift-email, generic-json-swift, legibleerror
[984/1040] Fetching swift-email, generic-json-swift, legibleerror, unwraporthrow
Fetched https://github.com/iwill/generic-json-swift.git from cache (0.36s)
Fetched https://github.com/mxcl/LegibleError.git from cache (0.36s)
Fetched https://github.com/Frizlab/UnwrapOrThrow.git from cache (0.36s)
Fetched https://github.com/Frizlab/swift-email.git from cache (0.36s)
Computing version for https://github.com/iwill/generic-json-swift.git
Computed https://github.com/iwill/generic-json-swift.git at 2.0.2 (0.97s)
Computing version for https://github.com/Frizlab/swift-email.git
Computed https://github.com/Frizlab/swift-email.git at 0.2.6 (0.86s)
Computing version for https://github.com/mxcl/LegibleError.git
Computed https://github.com/mxcl/LegibleError.git at 1.0.6 (1.04s)
Computing version for https://github.com/Frizlab/UnwrapOrThrow.git
Computed https://github.com/Frizlab/UnwrapOrThrow.git at 1.0.1 (0.58s)
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/UnwrapOrThrow.git
Working copy of https://github.com/Frizlab/UnwrapOrThrow.git resolved at 1.0.1
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/iwill/generic-json-swift.git
Working copy of https://github.com/iwill/generic-json-swift.git resolved at 2.0.2
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-8C5A4AE7A8CE2BA.txt
[8/21] Emitting module GenericJSON
[9/21] Compiling GenericJSON Querying.swift
[10/21] Compiling GenericJSON Merging.swift
[11/21] Emitting module Email
[12/21] Emitting module LegibleError
[13/21] 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
[14/21] Compiling Email EmailValidator.swift
[15/21] Compiling UnwrapOrThrow UnwrapOrThrow.swift
[16/21] Emitting module UnwrapOrThrow
[17/21] Compiling UnwrapOrThrow UnwrapOrThrowOperator.swift
[18/22] Compiling GenericJSON Initialization.swift
[19/22] Compiling Email Email.swift
BUILD FAILURE 6.2 android