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 Apollo, reference main (b0007f), with Swift 6.1 for Linux on 4 Jun 2025 19:03:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apollographql/apollo-ios.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/apollographql/apollo-ios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b0007f9 Custom SQLiteDatabase Implementations (apollographql/apollo-ios-dev#664)
Cloned https://github.com/apollographql/apollo-ios.git
Revision (git rev-parse @):
b0007f917ae773fdaf4fe8222a324230eb2affe5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apollographql/apollo-ios.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/apollographql/apollo-ios.git
https://github.com/apollographql/apollo-ios.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Apollo",
  "name" : "Apollo",
  "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"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Apollo",
      "targets" : [
        "Apollo"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ApolloAPI",
      "targets" : [
        "ApolloAPI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Apollo-Dynamic",
      "targets" : [
        "Apollo"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "ApolloSQLite",
      "targets" : [
        "ApolloSQLite"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ApolloWebSocket",
      "targets" : [
        "ApolloWebSocket"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ApolloTestSupport",
      "targets" : [
        "ApolloTestSupport"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "InstallCLI",
      "targets" : [
        "Install CLI"
      ],
      "type" : {
        "plugin" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Install_CLI",
      "module_type" : "PluginTarget",
      "name" : "Install CLI",
      "path" : "Plugins/InstallCLI",
      "plugin_capability" : {
        "intent" : {
          "description" : "Installs the Apollo iOS Command line interface.",
          "type" : "custom",
          "verb" : "apollo-cli-install"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "Downloads and unzips the CLI executable into your project directory.",
            "type" : "writeToPackageDirectory"
          },
          {
            "network_scope" : {
              "all" : {
                "ports" : [
                ]
              }
            },
            "reason" : "Downloads the Apollo iOS CLI executable from the GitHub Release.",
            "type" : "allowNetworkConnections"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "InstallCLI"
      ],
      "sources" : [
        "InstallCLIPluginCommand.swift"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "ApolloWebSocket",
      "module_type" : "SwiftTarget",
      "name" : "ApolloWebSocket",
      "path" : "Sources/ApolloWebSocket",
      "product_memberships" : [
        "ApolloWebSocket"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/ApolloWebSocket/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "DefaultImplementation/Compression.swift",
        "DefaultImplementation/SSLClientCertificate.swift",
        "DefaultImplementation/SSLSecurity.swift",
        "DefaultImplementation/WebSocket.swift",
        "DefaultImplementation/WebSocketStream.swift",
        "OperationMessage.swift",
        "OperationMessageIdCreator.swift",
        "SplitNetworkTransport.swift",
        "WebSocketClient.swift",
        "WebSocketError.swift",
        "WebSocketTask.swift",
        "WebSocketTransport.swift"
      ],
      "target_dependencies" : [
        "Apollo"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ApolloTestSupport",
      "module_type" : "SwiftTarget",
      "name" : "ApolloTestSupport",
      "path" : "Sources/ApolloTestSupport",
      "product_memberships" : [
        "ApolloTestSupport"
      ],
      "sources" : [
        "Field.swift",
        "TestMock.swift",
        "TestMockSelectionSetMapper.swift"
      ],
      "target_dependencies" : [
        "Apollo",
        "ApolloAPI"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ApolloSQLite",
      "module_type" : "SwiftTarget",
      "name" : "ApolloSQLite",
      "path" : "Sources/ApolloSQLite",
      "product_memberships" : [
        "ApolloSQLite"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/ApolloSQLite/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "ApolloSQLiteDatabase.swift",
        "JournalMode.swift",
        "SQLiteDatabase.swift",
        "SQLiteNormalizedCache.swift",
        "SQLiteSerialization.swift"
      ],
      "target_dependencies" : [
        "Apollo"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ApolloAPI",
      "module_type" : "SwiftTarget",
      "name" : "ApolloAPI",
      "path" : "Sources/ApolloAPI",
      "product_memberships" : [
        "Apollo",
        "ApolloAPI",
        "Apollo-Dynamic",
        "ApolloSQLite",
        "ApolloWebSocket",
        "ApolloTestSupport"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/ApolloAPI/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AnyHashableConvertible.swift",
        "CacheKeyInfo.swift",
        "CacheReference.swift",
        "DataDict.swift",
        "Deferred.swift",
        "FragmentProtocols.swift",
        "GraphQLEnum.swift",
        "GraphQLNullable.swift",
        "GraphQLOperation.swift",
        "InputValue.swift",
        "JSON.swift",
        "JSONDecodingError.swift",
        "JSONStandardTypeConversions.swift",
        "LocalCacheMutation.swift",
        "ObjectData.swift",
        "OutputTypeConvertible.swift",
        "ParentType.swift",
        "ScalarTypes.swift",
        "SchemaConfiguration.swift",
        "SchemaMetadata.swift",
        "SchemaTypes/EnumType.swift",
        "SchemaTypes/InputObject.swift",
        "SchemaTypes/Interface.swift",
        "SchemaTypes/Object.swift",
        "SchemaTypes/Union.swift",
        "Selection+Conditions.swift",
        "Selection.swift",
        "SelectionSet.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Apollo",
      "module_type" : "SwiftTarget",
      "name" : "Apollo",
      "path" : "Sources/Apollo",
      "product_memberships" : [
        "Apollo",
        "Apollo-Dynamic",
        "ApolloSQLite",
        "ApolloWebSocket",
        "ApolloTestSupport"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Apollo/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AnyGraphQLResponse.swift",
        "ApolloClient.swift",
        "ApolloClientProtocol.swift",
        "ApolloErrorInterceptor.swift",
        "ApolloInterceptor.swift",
        "ApolloStore.swift",
        "Atomic.swift",
        "AutomaticPersistedQueryInterceptor.swift",
        "Bundle+Helpers.swift",
        "CacheReadInterceptor.swift",
        "CacheWriteInterceptor.swift",
        "Cancellable.swift",
        "Collection+Helpers.swift",
        "Constants.swift",
        "DataDict+Merging.swift",
        "DataDictMapper.swift",
        "DataLoader.swift",
        "DefaultInterceptorProvider.swift",
        "Dictionary+Helpers.swift",
        "DispatchQueue+Optional.swift",
        "ExecutionSources/CacheDataExecutionSource.swift",
        "ExecutionSources/NetworkResponseExecutionSource.swift",
        "ExecutionSources/SelectionSetModelExecutionSource.swift",
        "FieldSelectionCollector.swift",
        "GraphQLDependencyTracker.swift",
        "GraphQLError.swift",
        "GraphQLExecutionSource.swift",
        "GraphQLExecutor.swift",
        "GraphQLFile.swift",
        "GraphQLGETTransformer.swift",
        "GraphQLHTTPMethod.swift",
        "GraphQLHTTPRequestError.swift",
        "GraphQLQueryWatcher.swift",
        "GraphQLResponse.swift",
        "GraphQLResult.swift",
        "GraphQLResultAccumulator.swift",
        "GraphQLResultNormalizer.swift",
        "GraphQLSelectionSetMapper.swift",
        "HTTPRequest.swift",
        "HTTPResponse.swift",
        "HTTPURLResponse+Helpers.swift",
        "InMemoryNormalizedCache.swift",
        "IncrementalGraphQLResponse.swift",
        "IncrementalGraphQLResult.swift",
        "IncrementalJSONResponseParsingInterceptor.swift",
        "InputValue+Evaluation.swift",
        "InterceptorProvider.swift",
        "InterceptorRequestChain.swift",
        "JSONConverter.swift",
        "JSONRequest.swift",
        "JSONResponseParsingInterceptor.swift",
        "JSONSerialization+Sorting.swift",
        "JSONSerializationFormat.swift",
        "MaxRetryInterceptor.swift",
        "MultipartFormData.swift",
        "MultipartResponseDeferParser.swift",
        "MultipartResponseParsingInterceptor.swift",
        "MultipartResponseSubscriptionParser.swift",
        "NetworkFetchInterceptor.swift",
        "NetworkTransport.swift",
        "NormalizedCache.swift",
        "PathComponent.swift",
        "PossiblyDeferred.swift",
        "Record.swift",
        "RecordSet.swift",
        "RequestBodyCreator.swift",
        "RequestChain.swift",
        "RequestChainNetworkTransport.swift",
        "RequestClientMetadata.swift",
        "RequestContext.swift",
        "ResponseCodeInterceptor.swift",
        "ResponsePath.swift",
        "SelectionSet+DictionaryIntializer.swift",
        "SelectionSet+JSONInitializer.swift",
        "TaskData.swift",
        "URLSessionClient.swift",
        "UploadRequest.swift"
      ],
      "target_dependencies" : [
        "ApolloAPI"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2b296aa7156f49efc57252cdf9ed4bb21d0f92fc98d88800e255491ba2db3116
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2b296aa7156f49efc57252cdf9ed4bb21d0f92fc98d88800e255491ba2db3116
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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/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 linux