Build Information
Failed to build ApolloExtensions, reference 2.0.0 (f1e463), with Swift 6.1 for Android on 1 Nov 2025 05:52:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bdbergeron/apollo-ios-extensions.git
Reference: 2.0.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/bdbergeron/apollo-ios-extensions
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at f1e463b Apollo iOS v2 support (#5)
Cloned https://github.com/bdbergeron/apollo-ios-extensions.git
Revision (git rev-parse @):
f1e463b9a973f12c8b0e0dbdfd56a1b519d7be72
SUCCESS checkout https://github.com/bdbergeron/apollo-ios-extensions.git at 2.0.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/bdbergeron/apollo-ios-extensions.git
https://github.com/bdbergeron/apollo-ios-extensions.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "apollo-ios",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apollographql/apollo-ios"
}
],
"manifest_display_name" : "ApolloExtensions",
"name" : "ApolloExtensions",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "ApolloExtensions",
"targets" : [
"ApolloExtensions"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "ApolloExtensionsTests",
"module_type" : "SwiftTarget",
"name" : "ApolloExtensionsTests",
"path" : "Tests/ApolloExtensionsTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/ApolloExtensionsTests/Resources/invalid_json.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ApolloExtensionsTests/Resources/people.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"ApolloTestHelpersTests.swift",
"GraphQL/Person.graphql.swift",
"GraphQL/PersonCollection.graphql.swift",
"GraphQL/TestMutation.graphql.swift",
"GraphQL/TestQuery.graphql.swift",
"GraphQL/TestSubscription.graphql.swift",
"MockApolloClientTests.swift"
],
"target_dependencies" : [
"ApolloExtensions",
"ApolloExtensionsTestSchema"
],
"type" : "test"
},
{
"c99name" : "ApolloExtensionsTestSchema",
"module_type" : "SwiftTarget",
"name" : "ApolloExtensionsTestSchema",
"path" : "Sources/ApolloExtensionsTestSchema",
"product_dependencies" : [
"Apollo"
],
"sources" : [
"CustomScalars/ID.swift",
"InputObjects/UpdatePersonMutationInput.graphql.swift",
"Interfaces/Collection.graphql.swift",
"Interfaces/CollectionEdge.graphql.swift",
"Interfaces/Node.graphql.swift",
"Objects/Mutation.graphql.swift",
"Objects/Person.graphql.swift",
"Objects/PersonCollection.graphql.swift",
"Objects/PersonCollectionEdge.graphql.swift",
"Objects/Query.graphql.swift",
"Objects/Subscription.graphql.swift",
"SchemaConfiguration.swift",
"SchemaMetadata.graphql.swift"
],
"type" : "library"
},
{
"c99name" : "ApolloExtensions",
"module_type" : "SwiftTarget",
"name" : "ApolloExtensions",
"path" : "Sources/ApolloExtensions",
"product_dependencies" : [
"Apollo"
],
"product_memberships" : [
"ApolloExtensions"
],
"sources" : [
"ApolloClientProtocol.swift",
"DataDict+CustomStringConvertible.swift",
"GraphQLOperation+mockedJSONResponse.swift",
"Mocks/MockApolloClient.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apollographql/apollo-ios
[1/95585] Fetching apollo-ios
Fetched https://github.com/apollographql/apollo-ios from cache (27.47s)
Computing version for https://github.com/apollographql/apollo-ios
Computed https://github.com/apollographql/apollo-ios at 2.0.2 (34.63s)
Creating working copy for https://github.com/apollographql/apollo-ios
Working copy of https://github.com/apollographql/apollo-ios resolved at 2.0.2
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Plugins/InstallCLI/InstallCLIPluginCommand.swift:3:8: error: no such module 'os'
1 | import Foundation
2 | import PackagePlugin
3 | import os
| `- error: no such module 'os'
4 |
5 | @main
[1/1] Compiling plugin Install CLI
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Plugins/InstallCLI/InstallCLIPluginCommand.swift:3:8: error: no such module 'os'
1 | import Foundation
2 | import PackagePlugin
3 | import os
| `- error: no such module 'os'
4 |
5 | @main
[1/1] Compiling plugin Install CLI
BUILD FAILURE 6.1 android