The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Apollo, reference main (6ecc75), with Swift 5.10 for macOS (SPM) on 30 Apr 2025 19:46:47 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apollographql/apollo-ios.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apollographql/apollo-ios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6ecc752 Release 1.21.0 (apollographql/apollo-ios-dev#639)
Cloned https://github.com/apollographql/apollo-ios.git
Revision (git rev-parse @):
6ecc75281dab2fa231cb0d5fed3a3713826fecae
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apollographql/apollo-ios.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/apollographql/apollo-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Install CLI
Building for debugging...
[1/13] Write sources
[3/13] Copying PrivacyInfo.xcprivacy
[5/13] Write sources
[10/13] Write swift-version-33747A42983211AE.txt
[12/41] Emitting module ApolloAPI
[13/43] Compiling ApolloAPI AnyHashableConvertible.swift
[14/43] Compiling ApolloAPI CacheKeyInfo.swift
[15/43] Compiling ApolloAPI CacheReference.swift
[16/43] Compiling ApolloAPI Union.swift
[17/43] Compiling ApolloAPI Selection+Conditions.swift
[18/43] Compiling ApolloAPI Selection.swift
[19/43] Compiling ApolloAPI OutputTypeConvertible.swift
[20/43] Compiling ApolloAPI ParentType.swift
[21/43] Compiling ApolloAPI ScalarTypes.swift
[22/43] Compiling ApolloAPI SelectionSet.swift
[23/43] Compiling ApolloAPI resource_bundle_accessor.swift
[24/43] Compiling ApolloAPI InputObject.swift
[25/43] Compiling ApolloAPI Interface.swift
[26/43] Compiling ApolloAPI Object.swift
[27/43] Compiling ApolloAPI GraphQLEnum.swift
[28/43] Compiling ApolloAPI GraphQLNullable.swift
[29/43] Compiling ApolloAPI GraphQLOperation.swift
[30/43] Compiling ApolloAPI SchemaConfiguration.swift
[31/43] Compiling ApolloAPI SchemaMetadata.swift
[32/43] Compiling ApolloAPI EnumType.swift
[33/43] Compiling ApolloAPI InputValue.swift
[34/43] Compiling ApolloAPI JSON.swift
[35/43] Compiling ApolloAPI JSONDecodingError.swift
[36/43] Compiling ApolloAPI DataDict.swift
[37/43] Compiling ApolloAPI Deferred.swift
[38/43] Compiling ApolloAPI FragmentProtocols.swift
[39/43] Compiling ApolloAPI JSONStandardTypeConversions.swift
[40/43] Compiling ApolloAPI LocalCacheMutation.swift
[41/43] Compiling ApolloAPI ObjectData.swift
[42/115] Compiling Apollo DataLoader.swift
[43/115] Compiling Apollo DefaultInterceptorProvider.swift
[44/115] Compiling Apollo Dictionary+Helpers.swift
[45/115] Compiling Apollo DispatchQueue+Optional.swift
[46/115] Compiling Apollo CacheDataExecutionSource.swift
[47/115] Compiling Apollo NetworkResponseExecutionSource.swift
[48/115] Compiling Apollo SelectionSetModelExecutionSource.swift
[49/115] Compiling Apollo FieldSelectionCollector.swift
[50/122] Compiling Apollo Bundle+Helpers.swift
[51/122] Compiling Apollo CacheReadInterceptor.swift
[52/122] Compiling Apollo CacheWriteInterceptor.swift
[53/122] Compiling Apollo Cancellable.swift
[54/122] Compiling Apollo Collection+Helpers.swift
[55/122] Compiling Apollo Constants.swift
[56/122] Compiling Apollo DataDict+Merging.swift
[57/122] Compiling Apollo DataDictMapper.swift
[58/122] Compiling Apollo RecordSet.swift
[59/122] Compiling Apollo RequestBodyCreator.swift
[60/122] Compiling Apollo RequestChain.swift
[61/122] Compiling Apollo RequestChainNetworkTransport.swift
[62/122] Compiling Apollo RequestClientMetadata.swift
[63/122] Compiling Apollo RequestContext.swift
[64/122] Compiling Apollo ResponseCodeInterceptor.swift
[65/122] Compiling Apollo AnyGraphQLResponse.swift
[66/122] Compiling Apollo ApolloClient.swift
[67/122] Compiling Apollo ApolloClientProtocol.swift
[68/122] Compiling Apollo ApolloErrorInterceptor.swift
[69/122] Compiling Apollo ApolloInterceptor.swift
[70/122] Compiling Apollo ApolloStore.swift
[71/122] Compiling Apollo Atomic.swift
[72/122] Compiling Apollo AutomaticPersistedQueryInterceptor.swift
[73/122] Compiling Apollo HTTPURLResponse+Helpers.swift
[74/122] Compiling Apollo InMemoryNormalizedCache.swift
[75/122] Compiling Apollo IncrementalGraphQLResponse.swift
[76/122] Compiling Apollo IncrementalGraphQLResult.swift
[77/122] Compiling Apollo IncrementalJSONResponseParsingInterceptor.swift
[78/122] Compiling Apollo InputValue+Evaluation.swift
[79/122] Compiling Apollo InterceptorProvider.swift
[80/122] Compiling Apollo InterceptorRequestChain.swift
[81/122] Emitting module Apollo
[82/122] Compiling Apollo JSONConverter.swift
[83/122] Compiling Apollo JSONRequest.swift
[84/122] Compiling Apollo JSONResponseParsingInterceptor.swift
[85/122] Compiling Apollo JSONSerialization+Sorting.swift
[86/122] Compiling Apollo JSONSerializationFormat.swift
[87/122] Compiling Apollo MaxRetryInterceptor.swift
[88/122] Compiling Apollo MultipartFormData.swift
[89/122] Compiling Apollo MultipartResponseDeferParser.swift
[90/122] Compiling Apollo MultipartResponseParsingInterceptor.swift
[91/122] Compiling Apollo MultipartResponseSubscriptionParser.swift
[92/122] Compiling Apollo NetworkFetchInterceptor.swift
[93/122] Compiling Apollo NetworkTransport.swift
[94/122] Compiling Apollo NormalizedCache.swift
[95/122] Compiling Apollo PathComponent.swift
[96/122] Compiling Apollo PossiblyDeferred.swift
[97/122] Compiling Apollo Record.swift
[98/122] Compiling Apollo GraphQLDependencyTracker.swift
[99/122] Compiling Apollo GraphQLError.swift
[100/122] Compiling Apollo GraphQLExecutionSource.swift
[101/122] Compiling Apollo GraphQLExecutor.swift
[102/122] Compiling Apollo GraphQLFile.swift
[103/122] Compiling Apollo GraphQLGETTransformer.swift
[104/122] Compiling Apollo GraphQLHTTPMethod.swift
[105/122] Compiling Apollo GraphQLHTTPRequestError.swift
[106/122] Compiling Apollo GraphQLQueryWatcher.swift
[107/122] Compiling Apollo GraphQLResponse.swift
[108/122] Compiling Apollo GraphQLResult.swift
[109/122] Compiling Apollo GraphQLResultAccumulator.swift
[110/122] Compiling Apollo GraphQLResultNormalizer.swift
[111/122] Compiling Apollo GraphQLSelectionSetMapper.swift
[112/122] Compiling Apollo HTTPRequest.swift
[113/122] Compiling Apollo HTTPResponse.swift
[114/122] Compiling Apollo ResponsePath.swift
[115/122] Compiling Apollo SelectionSet+DictionaryIntializer.swift
[116/122] Compiling Apollo SelectionSet+JSONInitializer.swift
[117/122] Compiling Apollo TaskData.swift
[118/122] Compiling Apollo URLSessionClient.swift
[119/122] Compiling Apollo UploadRequest.swift
[120/122] Compiling Apollo resource_bundle_accessor.swift
[120/122] Write Objects.LinkFileList
[121/146] Linking libApollo-Dynamic.dylib
[123/146] Compiling ApolloTestSupport TestMockSelectionSetMapper.swift
[124/146] Emitting module ApolloTestSupport
[125/146] Compiling ApolloSQLite resource_bundle_accessor.swift
[126/146] Compiling ApolloTestSupport Field.swift
[127/146] Compiling ApolloTestSupport TestMock.swift
[128/146] Compiling ApolloSQLite SQLiteSerialization.swift
[129/146] Emitting module ApolloSQLite
[130/146] Compiling ApolloSQLite SQLiteDatabase.swift
[131/146] Compiling ApolloSQLite ApolloSQLiteDatabase.swift
/Users/admin/builder/spi-builder-workspace/Sources/ApolloSQLite/ApolloSQLiteDatabase.swift:200:9: warning: result of call to 'performSync' is unused
    try performSync {
        ^           ~
[132/146] Compiling ApolloSQLite JournalMode.swift
[133/146] Compiling ApolloSQLite SQLiteNormalizedCache.swift
[134/146] Compiling ApolloWebSocket WebSocketError.swift
[135/146] Compiling ApolloWebSocket OperationMessageIdCreator.swift
[136/146] Compiling ApolloWebSocket WebSocketClient.swift
[137/146] Compiling ApolloWebSocket SplitNetworkTransport.swift
[138/146] Compiling ApolloWebSocket WebSocketTransport.swift
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketTransport.swift:232:26: warning: result of call to 'mutate(block:)' is unused
            $subscribers.mutate { $0.removeValue(forKey: id) }
                         ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketTransport.swift:380:25: warning: result of call to 'mutate(block:)' is unused
      self.$subscribers.mutate { $0.removeValue(forKey: subscriptionId) }
                        ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketTransport.swift:381:27: warning: result of call to 'mutate(block:)' is unused
      self.$subscriptions.mutate { $0.removeValue(forKey: subscriptionId) }
                          ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[139/146] Compiling ApolloWebSocket WebSocketTask.swift
[140/147] Compiling ApolloWebSocket resource_bundle_accessor.swift
[141/147] Compiling ApolloWebSocket WebSocketStream.swift
[142/147] Compiling ApolloWebSocket OperationMessage.swift
[143/147] Emitting module ApolloWebSocket
[144/147] Compiling ApolloWebSocket Compression.swift
[145/147] Compiling ApolloWebSocket SSLClientCertificate.swift
[146/147] Compiling ApolloWebSocket SSLSecurity.swift
[147/147] Compiling ApolloWebSocket WebSocket.swift
Build complete! (12.17s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Apollo",
  "name" : "Apollo",
  "path" : "/Users/admin/builder/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" : "/Users/admin/builder/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" : "/Users/admin/builder/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" : "/Users/admin/builder/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" : "/Users/admin/builder/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"
}
Done.