Build Information
Failed to build OfficeModel, reference main (33e1a1
), with Swift 6.1 for Android on 28 May 2025 23:51:35 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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path: $PWD
https://github.com/happn-app/officectl-model.git
https://github.com/happn-app/officectl-model.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-email",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Frizlab/swift-email.git"
},
{
"identity" : "unwraporthrow",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0-beta",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Frizlab/UnwrapOrThrow.git"
},
{
"identity" : "generic-json-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/iwill/generic-json-swift.git"
},
{
"identity" : "legibleerror",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/LegibleError.git"
}
],
"manifest_display_name" : "OfficeModel",
"name" : "OfficeModel",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "OfficeModelCore",
"targets" : [
"OfficeModelCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OfficeModel",
"targets" : [
"OfficeModel"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OfficeModelTests",
"module_type" : "SwiftTarget",
"name" : "OfficeModelTests",
"path" : "Tests/OfficeModelTests",
"sources" : [
"TaggedIDTests.swift"
],
"target_dependencies" : [
"OfficeModelCore",
"OfficeModel"
],
"type" : "test"
},
{
"c99name" : "OfficeModelCore",
"module_type" : "SwiftTarget",
"name" : "OfficeModelCore",
"path" : "Sources/OfficeModelCore",
"product_dependencies" : [
"UnwrapOrThrow"
],
"product_memberships" : [
"OfficeModelCore",
"OfficeModel"
],
"sources" : [
"None.swift",
"RemoteProperty.swift",
"Tag.swift",
"TaggedID.swift"
],
"type" : "library"
},
{
"c99name" : "OfficeModel",
"module_type" : "SwiftTarget",
"name" : "OfficeModel",
"path" : "Sources/OfficeModel",
"product_dependencies" : [
"Email",
"GenericJSON",
"LegibleError",
"UnwrapOrThrow"
],
"product_memberships" : [
"OfficeModel"
],
"sources" : [
"Common/ActionQueries/User/ChangeUserPasswordQuery.swift",
"Common/ActionQueries/User/CreateOrUpdateUserQuery.swift",
"Common/ActionQueries/User/DeleteUserQuery.swift",
"Common/AuthScope.swift",
"Common/Result+Codable.swift",
"Common/Result+Utils.swift",
"FromApi/Actions/ApiAction.swift",
"FromApi/Actions/ApiActionStatus.swift",
"FromApi/ApiError.swift",
"FromApi/ApiMultiServicesID.swift",
"FromApi/ApiMultiServicesResults.swift",
"FromApi/ApiService.swift",
"FromApi/ApiTokenResponse.swift",
"FromApi/User/ApiDirectoryUser.swift",
"FromApi/User/ApiMergedUser.swift",
"FromApi/User/ApiUser.swift",
"FromApi/User/ApiUsers.swift",
"ToApi/ApiAuthPasswordGrantRequest.swift",
"ToApi/ApiAuthTokenRevokeRequest.swift",
"_Exports.swift"
],
"target_dependencies" : [
"OfficeModelCore"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/Frizlab/swift-email.git
Fetching https://github.com/Frizlab/UnwrapOrThrow.git
Fetching https://github.com/mxcl/LegibleError.git
Fetching https://github.com/iwill/generic-json-swift.git
[1/180] Fetching swift-email
[181/211] Fetching swift-email, unwraporthrow
[212/389] Fetching swift-email, unwraporthrow, legibleerror
[390/1040] Fetching swift-email, unwraporthrow, legibleerror, generic-json-swift
Fetched https://github.com/Frizlab/UnwrapOrThrow.git from cache (0.33s)
Fetched https://github.com/mxcl/LegibleError.git from cache (0.33s)
Fetched https://github.com/Frizlab/swift-email.git from cache (0.33s)
Fetched https://github.com/iwill/generic-json-swift.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 (1.24s)
Computing version for https://github.com/Frizlab/swift-email.git
Computed https://github.com/Frizlab/swift-email.git at 0.2.6 (1.04s)
Computing version for https://github.com/mxcl/LegibleError.git
Computed https://github.com/mxcl/LegibleError.git at 1.0.6 (0.99s)
Computing version for https://github.com/Frizlab/UnwrapOrThrow.git
Computed https://github.com/Frizlab/UnwrapOrThrow.git at 1.0.1 (1.01s)
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
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
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/21] Emitting module UnwrapOrThrow
[9/21] Compiling GenericJSON Merging.swift
[10/21] Compiling GenericJSON JSON.swift
[11/21] Compiling UnwrapOrThrow UnwrapOrThrowOperator.swift
[12/21] Compiling Email EmailValidator.swift
[13/21] Compiling Email EmailValidator+ValidationCodes.swift
[14/21] Emitting module LegibleError
[15/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
[16/21] Compiling GenericJSON Querying.swift
[17/21] Emitting module GenericJSON
[18/21] Compiling GenericJSON Initialization.swift
[19/21] Compiling UnwrapOrThrow UnwrapOrThrow.swift
[20/23] Emitting module Email
[21/23] Compiling Email Email.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/15] Emitting module UnwrapOrThrow
[3/15] Compiling UnwrapOrThrow UnwrapOrThrowOperator.swift
[4/15] Compiling UnwrapOrThrow UnwrapOrThrow.swift
[5/15] Compiling GenericJSON JSON.swift
[6/16] 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
[7/16] Emitting module LegibleError
BUILD FAILURE 6.1 android