fix: Local cache mutation build error in Swift 6 #6
ci-tests-xcode-beta.yml
on: pull_request
changes
4s
Cocoapods Integration Tests - macOS
11s
Matrix: Run swift build for SPM packages
Verify Frontend Bundle Latest - macOS
23s
Verify CLI Binary Archive - macOS
7s
Matrix: build-and-unit-test
Annotations
3 errors, 52 warnings, and 11 notices
Apollo Unit Tests - macOS
test__selectionInitializer_givenOptionalEntityField__fieldIsPresentWithOptionalNilValue on 'My Mac - xctest (5286)' (2.028 seconds)
|
Apollo Unit Tests - macOS
test__selectionInitializer_givenOptionalScalarField__fieldIsPresentWithOptionalNilValue on 'My Mac - xctest (5286)' (0.004 seconds)
|
Apollo Unit Tests - macOS
Process completed with exit code 65.
|
Cocoapods Integration Tests - macOS
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run swift build for SPM packages (apollo-ios-codegen)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
changes
The following actions uses Node.js version which is deprecated and will be forced to run on node20: dorny/paths-filter@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run swift build for SPM packages (apollo-ios-pagination)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run swift build for SPM packages (apollo-ios)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Verify CLI Binary Archive - macOS
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Verify Frontend Bundle Latest - macOS
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run Tuist Generation
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Codegen CLI Unit Tests - macOS:
apollo-ios-codegen/Sources/GraphQLCompiler/GraphQLError.swift#L8
class 'GraphQLError' must restate inherited '@unchecked Sendable' conformance
|
Codegen CLI Unit Tests - macOS:
apollo-ios-codegen/Sources/GraphQLCompiler/GraphQLError.swift#L68
class 'GraphQLSchemaValidationError' must restate inherited '@unchecked Sendable' conformance
|
Codegen CLI Unit Tests - macOS:
apollo-ios-codegen/Sources/GraphQLCompiler/GraphQLSchema.swift#L67
class 'GraphQLScalarType' must restate inherited '@unchecked Sendable' conformance
|
Codegen CLI Unit Tests - macOS:
apollo-ios-codegen/Sources/GraphQLCompiler/GraphQLSchema.swift#L99
class 'GraphQLEnumType' must restate inherited '@unchecked Sendable' conformance
|
ApolloPagination Unit Tests - macOS:
apollo-ios/Sources/Apollo/GraphQLError.swift#L10
stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, AnyHashable>'); this is an error in the Swift 6 language mode
|
Codegen CLI Unit Tests - macOS:
apollo-ios-codegen/Sources/GraphQLCompiler/GraphQLSchema.swift#L155
class 'GraphQLInputObjectType' must restate inherited '@unchecked Sendable' conformance
|
ApolloPagination Unit Tests - macOS:
apollo-ios/Sources/Apollo/GraphQLError.swift#L10
stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, AnyHashable>'); this is an error in the Swift 6 language mode
|
Codegen CLI Unit Tests - macOS:
apollo-ios-codegen/Sources/GraphQLCompiler/GraphQLSchema.swift#L216
class 'GraphQLCompositeType' must restate inherited '@unchecked Sendable' conformance
|
ApolloPagination Unit Tests - macOS:
apollo-ios/Sources/ApolloWebSocket/WebSocketError.swift#L35
stored property 'payload' of 'Sendable'-conforming struct 'WebSocketError' has non-sendable type 'JSONObject?' (aka 'Optional<Dictionary<String, AnyHashable>>'); this is an error in the Swift 6 language mode
|
Codegen CLI Unit Tests - macOS:
apollo-ios-codegen/Sources/GraphQLCompiler/GraphQLSchema.swift#L232
class 'GraphQLObjectType' must restate inherited '@unchecked Sendable' conformance
|
ApolloPagination Unit Tests - macOS:
apollo-ios/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift#L1008
capture of 'data' with non-sendable type 'NSMutableData' in a `@Sendable` closure; this is an error in the Swift 6 language mode
|
Codegen CLI Unit Tests - macOS:
apollo-ios-codegen/Sources/GraphQLCompiler/GraphQLSchema.swift#L264
class 'GraphQLAbstractType' must restate inherited '@unchecked Sendable' conformance
|
ApolloPagination Unit Tests - macOS:
apollo-ios/Sources/ApolloWebSocket/DefaultImplementation/WebSocketStream.swift#L134
capture of 'outStream' with non-sendable type 'OutputStream' in a `@Sendable` closure; this is an error in the Swift 6 language mode
|
Codegen CLI Unit Tests - macOS:
apollo-ios-codegen/Sources/GraphQLCompiler/GraphQLSchema.swift#L267
class 'GraphQLInterfaceType' must restate inherited '@unchecked Sendable' conformance
|
ApolloPagination Unit Tests - macOS:
apollo-ios/Sources/ApolloWebSocket/WebSocketError.swift#L35
stored property 'payload' of 'Sendable'-conforming struct 'WebSocketError' has non-sendable type 'JSONObject?' (aka 'Optional<Dictionary<String, AnyHashable>>'); this is an error in the Swift 6 language mode
|
Codegen CLI Unit Tests - macOS:
apollo-ios-codegen/Sources/GraphQLCompiler/GraphQLSchema.swift#L299
class 'GraphQLUnionType' must restate inherited '@unchecked Sendable' conformance
|
ApolloPagination Unit Tests - macOS:
apollo-ios-pagination/Sources/ApolloPagination/AsyncGraphQLQueryPagerCoordinator.swift#L230
expression is 'async' but is not marked with 'await'; this is an error in the Swift 6 language mode
|
ApolloPagination Unit Tests - macOS:
apollo-ios-pagination/Sources/ApolloPagination/AsyncGraphQLQueryPagerCoordinator.swift#L272
expression is 'async' but is not marked with 'await'; this is an error in the Swift 6 language mode
|
Codegen CLI Unit Tests - macOS
No files were found with the provided path: ~/Library/Logs/DiagnosticReports. No artifacts will be uploaded.
|
ApolloPagination Unit Tests - macOS:
apollo-ios-pagination/Sources/ApolloPagination/AsyncGraphQLQueryPagerCoordinator.swift#L230
expression is 'async' but is not marked with 'await'; this is an error in the Swift 6 language mode
|
ApolloPagination Unit Tests - macOS:
apollo-ios-pagination/Sources/ApolloPagination/AsyncGraphQLQueryPagerCoordinator.swift#L272
expression is 'async' but is not marked with 'await'; this is an error in the Swift 6 language mode
|
ApolloPagination Unit Tests - macOS
No files were found with the provided path: ~/Library/Logs/DiagnosticReports. No artifacts will be uploaded.
|
Codegen Lib Unit Tests - macOS:
apollo-ios/Sources/Apollo/GraphQLError.swift#L10
stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, AnyHashable>'); this is an error in the Swift 6 language mode
|
Codegen Lib Unit Tests - macOS:
apollo-ios-codegen/Sources/GraphQLCompiler/GraphQLError.swift#L8
class 'GraphQLError' must restate inherited '@unchecked Sendable' conformance
|
Codegen Lib Unit Tests - macOS:
apollo-ios-codegen/Sources/GraphQLCompiler/GraphQLError.swift#L68
class 'GraphQLSchemaValidationError' must restate inherited '@unchecked Sendable' conformance
|
Codegen Lib Unit Tests - macOS:
apollo-ios-codegen/Sources/GraphQLCompiler/GraphQLSchema.swift#L67
class 'GraphQLScalarType' must restate inherited '@unchecked Sendable' conformance
|
Codegen Lib Unit Tests - macOS:
apollo-ios-codegen/Sources/GraphQLCompiler/GraphQLSchema.swift#L99
class 'GraphQLEnumType' must restate inherited '@unchecked Sendable' conformance
|
Codegen Lib Unit Tests - macOS:
apollo-ios-codegen/Sources/GraphQLCompiler/GraphQLSchema.swift#L155
class 'GraphQLInputObjectType' must restate inherited '@unchecked Sendable' conformance
|
Codegen Lib Unit Tests - macOS:
apollo-ios-codegen/Sources/GraphQLCompiler/GraphQLSchema.swift#L216
class 'GraphQLCompositeType' must restate inherited '@unchecked Sendable' conformance
|
Codegen Lib Unit Tests - macOS:
apollo-ios-codegen/Sources/GraphQLCompiler/GraphQLSchema.swift#L232
class 'GraphQLObjectType' must restate inherited '@unchecked Sendable' conformance
|
Codegen Lib Unit Tests - macOS:
apollo-ios-codegen/Sources/GraphQLCompiler/GraphQLSchema.swift#L264
class 'GraphQLAbstractType' must restate inherited '@unchecked Sendable' conformance
|
Codegen Lib Unit Tests - macOS:
apollo-ios-codegen/Sources/GraphQLCompiler/GraphQLSchema.swift#L267
class 'GraphQLInterfaceType' must restate inherited '@unchecked Sendable' conformance
|
Codegen Lib Unit Tests - macOS
No files were found with the provided path: ~/Library/Logs/DiagnosticReports. No artifacts will be uploaded.
|
Apollo Unit Tests - macOS:
apollo-ios/Sources/Apollo/GraphQLError.swift#L10
stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, AnyHashable>'); this is an error in the Swift 6 language mode
|
Apollo Unit Tests - macOS:
apollo-ios/Sources/Apollo/GraphQLError.swift#L10
stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, AnyHashable>'); this is an error in the Swift 6 language mode
|
Apollo Unit Tests - macOS:
apollo-ios/Sources/ApolloWebSocket/WebSocketError.swift#L35
stored property 'payload' of 'Sendable'-conforming struct 'WebSocketError' has non-sendable type 'JSONObject?' (aka 'Optional<Dictionary<String, AnyHashable>>'); this is an error in the Swift 6 language mode
|
Apollo Unit Tests - macOS:
apollo-ios/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift#L1008
capture of 'data' with non-sendable type 'NSMutableData' in a `@Sendable` closure; this is an error in the Swift 6 language mode
|
Apollo Unit Tests - macOS:
apollo-ios/Sources/ApolloWebSocket/WebSocketError.swift#L35
stored property 'payload' of 'Sendable'-conforming struct 'WebSocketError' has non-sendable type 'JSONObject?' (aka 'Optional<Dictionary<String, AnyHashable>>'); this is an error in the Swift 6 language mode
|
Apollo Unit Tests - macOS:
apollo-ios/Sources/ApolloWebSocket/DefaultImplementation/WebSocketStream.swift#L134
capture of 'outStream' with non-sendable type 'OutputStream' in a `@Sendable` closure; this is an error in the Swift 6 language mode
|
Apollo Unit Tests - macOS:
Tests/ApolloInternalTestHelpers/AsyncResultObserver.swift#L12
class 'AsyncResultExpectation' must restate inherited '@unchecked Sendable' conformance
|
Apollo Unit Tests - macOS:
Tests/ApolloInternalTestHelpers/MockGraphQLServer.swift#L47
class 'RequestExpectation' must restate inherited '@unchecked Sendable' conformance
|
Apollo Unit Tests - macOS:
Tests/ApolloInternalTestHelpers/MockURLSession.swift#L7
stored property '_lastRequest' of 'Sendable'-conforming class 'MockURLSessionClient' is mutable; this is an error in the Swift 6 language mode
|
Apollo Unit Tests - macOS:
Tests/ApolloInternalTestHelpers/MockURLSession.swift#L69
class 'URLSessionDataTaskMock' must restate inherited '@unchecked Sendable' conformance
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "ApolloPagination Unit Tests - macOS-logs", "ApolloPagination Unit Tests - macOS-results", "Codegen CLI Unit Tests - macOS-logs", "Codegen CLI Unit Tests - macOS-results", "Codegen Lib Unit Tests - macOS-logs", "Codegen Lib Unit Tests - macOS-results".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Codegen Lib Unit Tests - macOS
test__render_deferredTypeCase__givenDeferredInlineFragmentOnDifferentTypeCase_rendersRootEntityType on 'My Mac - xctest (5198)' (0.009 seconds)
|
Codegen Lib Unit Tests - macOS
test__render_deferredTypeCase__givenDeferredInlineFragmentOnSameTypeCase_rendersRootEntityType on 'My Mac - xctest (5198)' (0.003 seconds)
|
Codegen Lib Unit Tests - macOS
test__render_deferredTypeCase__givenDeferredInlineFragmentWithoutTypeCase_rendersRootEntityType on 'My Mac - xctest (5198)' (0.003 seconds)
|
Codegen Lib Unit Tests - macOS
test__render_fieldAccessor__givenDeferredInlineFragmentOnDifferentTypeCase_rendersFieldsWithinDeferredTypeCase on 'My Mac - xctest (5198)' (0.005 seconds)
|
Codegen Lib Unit Tests - macOS
test__render_fieldAccessor__givenDeferredInlineFragmentOnSameTypeCase_rendersFieldsWithinDeferredTypeCase on 'My Mac - xctest (5198)' (0.003 seconds)
|
Codegen Lib Unit Tests - macOS
test__render_fieldAccessor__givenDeferredInlineFragmentWithoutTypeCase_rendersFieldsWithinDeferredTypeCase on 'My Mac - xctest (5198)' (0.005 seconds)
|
Codegen Lib Unit Tests - macOS
test__render_fragmentAccessor__givenDeferredInlineFragmentOnDifferentTypeCase_rendersDeferredFragmentAccessorAsOptional on 'My Mac - xctest (5198)' (0.004 seconds)
|
Codegen Lib Unit Tests - macOS
test__render_fragmentAccessor__givenDeferredInlineFragmentOnSameTypeCase_rendersDeferredFragmentAccessorAsOptional on 'My Mac - xctest (5198)' (0.003 seconds)
|
Codegen Lib Unit Tests - macOS
test__render_fragmentAccessor__givenDeferredInlineFragmentWithoutTypeCase_rendersDeferredFragmentAccessorAsOptional on 'My Mac - xctest (5198)' (0.007 seconds)
|
Codegen Lib Unit Tests - macOS
test__render_selections__givenDeferredInlineFragmentOnDifferentTypeCase_rendersTypeCaseSelectionAndDeferredFragmentSelectionAndFieldSelectionInDeferredFragment on 'My Mac - xctest (5198)' (0.007 seconds)
|
Apollo Unit Tests - macOS
test__memory_management__givenOperation_withEarlyAndFinalInterceptorChainExit_shouldNotHaveRetainCycle_andShouldNotCrash on 'My Mac - xctest (5743)' (0.024 seconds)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
ApolloPagination Unit Tests - macOS-logs
Expired
|
336 KB |
|
ApolloPagination Unit Tests - macOS-results
Expired
|
283 KB |
|
Codegen CLI Unit Tests - macOS-logs
Expired
|
424 KB |
|
Codegen CLI Unit Tests - macOS-results
Expired
|
379 KB |
|
Codegen Lib Unit Tests - macOS-logs
Expired
|
457 KB |
|
Codegen Lib Unit Tests - macOS-results
Expired
|
2.45 MB |
|