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 1.21.0 (6ecc75), with Swift 5.9 for macOS (SPM) on 30 Apr 2025 03:11:01 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

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