Build Information
Failed to build ApolloExtensions, reference 1.1.0 (a938b0
), with Swift 6.1 for Android on 29 May 2025 06:29:12 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.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/bdbergeron/apollo-ios-extensions.git
Reference: 1.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/bdbergeron/apollo-ios-extensions
* tag 1.1.0 -> FETCH_HEAD
HEAD is now at a938b0c Update CI action (#3)
Cloned https://github.com/bdbergeron/apollo-ios-extensions.git
Revision (git rev-parse @):
a938b0cf07ac2e4126781e17f1542a4b63e8bf27
SUCCESS checkout https://github.com/bdbergeron/apollo-ios-extensions.git at 1.1.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" : "1.9.1",
"upper_bound" : "2.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" : "12.0"
},
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "5.0"
}
],
"products" : [
{
"name" : "ApolloExtensions",
"targets" : [
"ApolloExtensions"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"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" : [
"ApolloClientProtocolDefaultsTests.swift",
"ApolloTestHelpersTests.swift",
"GraphQL/Person.graphql.swift",
"GraphQL/PersonCollection.graphql.swift",
"GraphQL/TestMutation.graphql.swift",
"GraphQL/TestQuery.graphql.swift",
"GraphQL/TestSubscription.graphql.swift",
"MockApolloClientTests.swift",
"SelectionSetPruneOptionalsTests.swift"
],
"target_dependencies" : [
"ApolloExtensions",
"ApolloExtensionsTestSchema"
],
"type" : "test"
},
{
"c99name" : "ApolloExtensionsTestSchema",
"module_type" : "SwiftTarget",
"name" : "ApolloExtensionsTestSchema",
"path" : "Sources/ApolloExtensionsTestSchema",
"product_dependencies" : [
"Apollo"
],
"sources" : [
"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+Defaults.swift",
"DataDict+CustomStringConvertible.swift",
"GraphQLResult+Defaults.swift",
"GraphQLResult+mockedJSONResponse.swift",
"GraphQLResultProtocol.swift",
"Mocks/MockApolloClient.swift",
"SelectionSet+PruneOptionals.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/apollographql/apollo-ios
[1/93870] Fetching apollo-ios
Fetched https://github.com/apollographql/apollo-ios from cache (9.87s)
Computing version for https://github.com/apollographql/apollo-ios
Computed https://github.com/apollographql/apollo-ios at 1.21.0 (13.13s)
Creating working copy for https://github.com/apollographql/apollo-ios
Working copy of https://github.com/apollographql/apollo-ios resolved at 1.21.0
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-4609320-1":/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
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