Build Information
Successful build of Artemis, reference main (e891cc
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 18:59:37 UTC.
Swift 6 data race errors: 6
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Saelyria/Artemis.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Saelyria/Artemis
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e891cc8 Merge pull request #5 from Saelyria/develop
Cloned https://github.com/Saelyria/Artemis.git
Revision (git rev-parse @):
e891cc8e0dca8f4c7529ae78db252a3d23e94dc9
SUCCESS checkout https://github.com/Saelyria/Artemis.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "artemis",
"name": "Artemis",
"url": "https://github.com/Saelyria/Artemis.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Artemis",
"dependencies": [
]
}
]
}
Fetching https://github.com/Saelyria/Artemis.git
[1/2371] Fetching artemis
Fetched https://github.com/Saelyria/Artemis.git from cache (0.98s)
Creating working copy for https://github.com/Saelyria/Artemis.git
Working copy of https://github.com/Saelyria/Artemis.git resolved at main (e891cc8)
warning: '.resolve-product-dependencies': dependency 'artemis' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Saelyria/Artemis.git
https://github.com/Saelyria/Artemis.git
{
"dependencies" : [
],
"manifest_display_name" : "Artemis",
"name" : "Artemis",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "ios",
"version" : "9.0"
}
],
"products" : [
{
"name" : "Artemis",
"targets" : [
"Artemis"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "ArtemisTests",
"module_type" : "SwiftTarget",
"name" : "ArtemisTests",
"path" : "Tests/ArtemisTests",
"sources" : [
"Other/ConditionalTests.swift",
"Other/MaxSelectionTests.swift",
"Other/MiscellaneousTests.swift",
"TestInterface1/TestInterface1_Bool_TypeTests.swift",
"TestInterface1/TestInterface1_Double_TypeTests.swift",
"TestInterface1/TestInterface1_Float_TypeTests.swift",
"TestInterface1/TestInterface1_Int_TypeTests.swift",
"TestInterface1/TestInterface1_String_TypeTests.swift",
"TestInterface1/TestInterface1_TestEnum_TypeTests.swift",
"TestInterface1/TestInterface1_TestObject_TypeTests.swift",
"TestInterface2/TestInterface2_Bool_TypeTests.swift",
"TestInterface2/TestInterface2_Double_TypeTests.swift",
"TestInterface2/TestInterface2_Float_TypeTests.swift",
"TestInterface2/TestInterface2_Int_TypeTests.swift",
"TestInterface2/TestInterface2_String_TypeTests.swift",
"TestInterface2/TestInterface2_TestEnum_TypeTests.swift",
"TestInterface2/TestInterface2_TestObject_TypeTests.swift",
"TestInterface3/TestInterface3_Bool_TypeTests.swift",
"TestInterface3/TestInterface3_Double_TypeTests.swift",
"TestInterface3/TestInterface3_Float_TypeTests.swift",
"TestInterface3/TestInterface3_Int_TypeTests.swift",
"TestInterface3/TestInterface3_String_TypeTests.swift",
"TestInterface3/TestInterface3_TestEnum_TypeTests.swift",
"TestInterface3/TestInterface3_TestObject_TypeTests.swift",
"TestInterface4/TestInterface4_Bool_TypeTests.swift",
"TestInterface4/TestInterface4_Double_TypeTests.swift",
"TestInterface4/TestInterface4_Float_TypeTests.swift",
"TestInterface4/TestInterface4_Int_TypeTests.swift",
"TestInterface4/TestInterface4_String_TypeTests.swift",
"TestInterface4/TestInterface4_TestEnum_TypeTests.swift",
"TestInterface4/TestInterface4_TestObject_TypeTests.swift",
"TestInterface5/TestInterface5_Bool_TypeTests.swift",
"TestInterface5/TestInterface5_Double_TypeTests.swift",
"TestInterface5/TestInterface5_Float_TypeTests.swift",
"TestInterface5/TestInterface5_Int_TypeTests.swift",
"TestInterface5/TestInterface5_String_TypeTests.swift",
"TestInterface5/TestInterface5_TestEnum_TypeTests.swift",
"TestInterface5/TestInterface5_TestObject_TypeTests.swift",
"TestObject/TestObject_Bool_TypeTests.swift",
"TestObject/TestObject_Double_TypeTests.swift",
"TestObject/TestObject_Float_TypeTests.swift",
"TestObject/TestObject_Int_TypeTests.swift",
"TestObject/TestObject_String_TypeTests.swift",
"TestObject/TestObject_TestEnum_TypeTests.swift",
"TestObject/TestObject_TestObject_TypeTests.swift",
"TypeTestCases.swift",
"Utilities/Schema+Defaults.swift",
"Utilities/Schema.swift",
"Utilities/Utilities.swift"
],
"target_dependencies" : [
"Artemis"
],
"type" : "test"
},
{
"c99name" : "Artemis",
"module_type" : "SwiftTarget",
"name" : "Artemis",
"path" : "Sources/Artemis",
"product_memberships" : [
"Artemis"
],
"sources" : [
"1. Describing/Array+Schema.swift",
"1. Describing/Field.swift",
"1. Describing/Object.swift",
"1. Describing/Optional+Schema.swift",
"1. Describing/Scalar.swift",
"1. Describing/Schema.swift",
"2. Selecting/Fragment.swift",
"2. Selecting/_ArgumentEncoder.swift",
"2. Selecting/_Selection.swift",
"2. Selecting/_SelectionInputOutput.swift",
"2. Selecting/_SelectionSet.swift",
"2. Selecting/_SelectionSetBuilder.swift",
"2. Selecting/_Selector.swift",
"3. Handling/Client.swift",
"3. Handling/HTTPNetworkingDelegate.swift",
"3. Handling/Partial+I1.swift",
"3. Handling/Partial+I2.swift",
"3. Handling/Partial+I3.swift",
"3. Handling/Partial+I4.swift",
"3. Handling/Partial+I5.swift",
"3. Handling/Partial.swift",
"3. Handling/_Operation.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/23] Emitting module Artemis
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/1. Describing/Field.swift:68:13: warning: var 'cachedArgListsForTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | /// For optimization, instantiated `ArgumentsList` objects are stored here under the string names of their parent
67 | /// `ArgumentsList` types.
68 | private var cachedArgListsForTypes: [String: Any] = [:]
| |- warning: var 'cachedArgListsForTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedArgListsForTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'cachedArgListsForTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | /// Since there's no way to get string names for `KeyPath` instances, we store them here after pulling them from
70 | /// `Argument` instances, under the string names of their parent `ArgumentsList` types. The `AnyKeyPath`s here are paths
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/1. Describing/Field.swift:72:13: warning: var 'nameStringsForArgumentKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
70 | /// `Argument` instances, under the string names of their parent `ArgumentsList` types. The `AnyKeyPath`s here are paths
71 | /// on the `ArgumentsList`, and the `String` value returned is the string name of the keypath we can use with GraphQL.
72 | private var nameStringsForArgumentKeyPaths: [String: [AnyKeyPath: String]] = [:]
| |- warning: var 'nameStringsForArgumentKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nameStringsForArgumentKeyPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'nameStringsForArgumentKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/1. Describing/Object.swift:29:13: warning: var 'cachedSchemasForTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | /// For optimization, instantiated `Object.SubSchema` objects are stored here under the string names of their parent
28 | /// `Object` types.
29 | private var cachedSchemasForTypes: [String: Any] = [:]
| |- warning: var 'cachedSchemasForTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedSchemasForTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'cachedSchemasForTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | /// Since there's no way to get string names for `KeyPath` instances, we store them here after pulling them from
31 | /// `Field` instances, under the string names of their parent `Object` types. The `AnyKeyPath`s here are paths on the
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/1. Describing/Object.swift:33:13: warning: var 'keyStringsForSchemaKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// `Field` instances, under the string names of their parent `Object` types. The `AnyKeyPath`s here are paths on the
32 | /// `Object.SubSchema`, and the `String` value returned is the string name of the keypath we can use with GraphQL.
33 | private var keyStringsForSchemaKeyPaths: [String: [AnyKeyPath: String]] = [:]
| |- warning: var 'keyStringsForSchemaKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'keyStringsForSchemaKeyPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'keyStringsForSchemaKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | extension Object {
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/1. Describing/Optional+Schema.swift:37:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
35 | extension Optional: Input where Wrapped: Input { }
36 |
37 | extension Optional: RawRepresentable where Wrapped: RawRepresentable, Wrapped.RawValue == String {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
38 | public init?(rawValue: String) {
39 | if let wrapped = Wrapped(rawValue: rawValue) {
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/1. Describing/Optional+Schema.swift:53:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
51 | }
52 |
53 | extension Optional: CaseIterable where Wrapped: Enum {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
54 | public typealias AllCases = [Self]
55 |
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/2. Selecting/_Selector.swift:259:34: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
6 | */
7 | @dynamicMemberLookup
8 | public class _Selector<T: Object> { }
| `- note: 'T' previously declared here
9 |
10 | // MARK: Selecting on Object and Scalar on T
:
257 | An object that can be used to add an alias or arguments to a scalar field selection made with a `_Selector`.
258 | */
259 | public struct _AliasSelector<T: Object, FieldVal, Value: Scalar, Args: ArgumentsList> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
260 | let keyPath: KeyPath<T.SubSchema, FieldVal>
261 |
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/2. Selecting/_Selector.swift:292:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
6 | */
7 | @dynamicMemberLookup
8 | public class _Selector<T: Object> { }
| `- note: 'T' previously declared here
9 |
10 | // MARK: Selecting on Object and Scalar on T
:
290 | An object that can be used to add an alias or arguments to an object field selection made with a `_Selector`.
291 | */
292 | public struct _AliasObjectSelector<T: Object, R, FieldVal, Value: Object, Args: ArgumentsList> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
293 | let keyPath: KeyPath<T.SubSchema, FieldVal>
294 |
[4/25] Compiling Artemis Partial.swift
[5/25] Compiling Artemis _Operation.swift
[6/25] Compiling Artemis Partial+I2.swift
[7/25] Compiling Artemis Partial+I3.swift
[8/25] Compiling Artemis _Selector.swift
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/2. Selecting/_Selector.swift:259:34: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
6 | */
7 | @dynamicMemberLookup
8 | public class _Selector<T: Object> { }
| `- note: 'T' previously declared here
9 |
10 | // MARK: Selecting on Object and Scalar on T
:
257 | An object that can be used to add an alias or arguments to a scalar field selection made with a `_Selector`.
258 | */
259 | public struct _AliasSelector<T: Object, FieldVal, Value: Scalar, Args: ArgumentsList> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
260 | let keyPath: KeyPath<T.SubSchema, FieldVal>
261 |
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/2. Selecting/_Selector.swift:292:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
6 | */
7 | @dynamicMemberLookup
8 | public class _Selector<T: Object> { }
| `- note: 'T' previously declared here
9 |
10 | // MARK: Selecting on Object and Scalar on T
:
290 | An object that can be used to add an alias or arguments to an object field selection made with a `_Selector`.
291 | */
292 | public struct _AliasObjectSelector<T: Object, R, FieldVal, Value: Object, Args: ArgumentsList> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
293 | let keyPath: KeyPath<T.SubSchema, FieldVal>
294 |
[9/25] Compiling Artemis Client.swift
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/2. Selecting/_Selector.swift:259:34: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
6 | */
7 | @dynamicMemberLookup
8 | public class _Selector<T: Object> { }
| `- note: 'T' previously declared here
9 |
10 | // MARK: Selecting on Object and Scalar on T
:
257 | An object that can be used to add an alias or arguments to a scalar field selection made with a `_Selector`.
258 | */
259 | public struct _AliasSelector<T: Object, FieldVal, Value: Scalar, Args: ArgumentsList> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
260 | let keyPath: KeyPath<T.SubSchema, FieldVal>
261 |
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/2. Selecting/_Selector.swift:292:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
6 | */
7 | @dynamicMemberLookup
8 | public class _Selector<T: Object> { }
| `- note: 'T' previously declared here
9 |
10 | // MARK: Selecting on Object and Scalar on T
:
290 | An object that can be used to add an alias or arguments to an object field selection made with a `_Selector`.
291 | */
292 | public struct _AliasObjectSelector<T: Object, R, FieldVal, Value: Object, Args: ArgumentsList> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
293 | let keyPath: KeyPath<T.SubSchema, FieldVal>
294 |
[10/25] Compiling Artemis Optional+Schema.swift
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/1. Describing/Optional+Schema.swift:37:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
35 | extension Optional: Input where Wrapped: Input { }
36 |
37 | extension Optional: RawRepresentable where Wrapped: RawRepresentable, Wrapped.RawValue == String {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
38 | public init?(rawValue: String) {
39 | if let wrapped = Wrapped(rawValue: rawValue) {
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/1. Describing/Optional+Schema.swift:53:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
51 | }
52 |
53 | extension Optional: CaseIterable where Wrapped: Enum {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
54 | public typealias AllCases = [Self]
55 |
[11/25] Compiling Artemis Scalar.swift
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/1. Describing/Optional+Schema.swift:37:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
35 | extension Optional: Input where Wrapped: Input { }
36 |
37 | extension Optional: RawRepresentable where Wrapped: RawRepresentable, Wrapped.RawValue == String {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
38 | public init?(rawValue: String) {
39 | if let wrapped = Wrapped(rawValue: rawValue) {
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/1. Describing/Optional+Schema.swift:53:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
51 | }
52 |
53 | extension Optional: CaseIterable where Wrapped: Enum {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
54 | public typealias AllCases = [Self]
55 |
[12/25] Compiling Artemis Schema.swift
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/1. Describing/Optional+Schema.swift:37:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
35 | extension Optional: Input where Wrapped: Input { }
36 |
37 | extension Optional: RawRepresentable where Wrapped: RawRepresentable, Wrapped.RawValue == String {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
38 | public init?(rawValue: String) {
39 | if let wrapped = Wrapped(rawValue: rawValue) {
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/1. Describing/Optional+Schema.swift:53:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
51 | }
52 |
53 | extension Optional: CaseIterable where Wrapped: Enum {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
54 | public typealias AllCases = [Self]
55 |
[13/25] Compiling Artemis _SelectionSet.swift
[14/25] Compiling Artemis _SelectionSetBuilder.swift
[15/25] Compiling Artemis _Selection.swift
[16/25] Compiling Artemis _SelectionInputOutput.swift
[17/25] Compiling Artemis Partial+I4.swift
[18/25] Compiling Artemis Partial+I5.swift
[19/25] Compiling Artemis HTTPNetworkingDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:48:5: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
46 | URLSession.shared.dataTask(with: request) { data, response, error in
47 | guard let data = data else {
48 | completion(.failure(error ?? GraphQLError.invalidOperation))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
49 | return
50 | }
[20/25] Compiling Artemis Partial+I1.swift
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:48:5: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
46 | URLSession.shared.dataTask(with: request) { data, response, error in
47 | guard let data = data else {
48 | completion(.failure(error ?? GraphQLError.invalidOperation))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
49 | return
50 | }
[21/25] Compiling Artemis Fragment.swift
[22/25] Compiling Artemis _ArgumentEncoder.swift
[23/25] Compiling Artemis Array+Schema.swift
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/1. Describing/Field.swift:68:13: warning: var 'cachedArgListsForTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | /// For optimization, instantiated `ArgumentsList` objects are stored here under the string names of their parent
67 | /// `ArgumentsList` types.
68 | private var cachedArgListsForTypes: [String: Any] = [:]
| |- warning: var 'cachedArgListsForTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedArgListsForTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'cachedArgListsForTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | /// Since there's no way to get string names for `KeyPath` instances, we store them here after pulling them from
70 | /// `Argument` instances, under the string names of their parent `ArgumentsList` types. The `AnyKeyPath`s here are paths
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/1. Describing/Field.swift:72:13: warning: var 'nameStringsForArgumentKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
70 | /// `Argument` instances, under the string names of their parent `ArgumentsList` types. The `AnyKeyPath`s here are paths
71 | /// on the `ArgumentsList`, and the `String` value returned is the string name of the keypath we can use with GraphQL.
72 | private var nameStringsForArgumentKeyPaths: [String: [AnyKeyPath: String]] = [:]
| |- warning: var 'nameStringsForArgumentKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nameStringsForArgumentKeyPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'nameStringsForArgumentKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/1. Describing/Object.swift:29:13: warning: var 'cachedSchemasForTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | /// For optimization, instantiated `Object.SubSchema` objects are stored here under the string names of their parent
28 | /// `Object` types.
29 | private var cachedSchemasForTypes: [String: Any] = [:]
| |- warning: var 'cachedSchemasForTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedSchemasForTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'cachedSchemasForTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | /// Since there's no way to get string names for `KeyPath` instances, we store them here after pulling them from
31 | /// `Field` instances, under the string names of their parent `Object` types. The `AnyKeyPath`s here are paths on the
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/1. Describing/Object.swift:33:13: warning: var 'keyStringsForSchemaKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// `Field` instances, under the string names of their parent `Object` types. The `AnyKeyPath`s here are paths on the
32 | /// `Object.SubSchema`, and the `String` value returned is the string name of the keypath we can use with GraphQL.
33 | private var keyStringsForSchemaKeyPaths: [String: [AnyKeyPath: String]] = [:]
| |- warning: var 'keyStringsForSchemaKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'keyStringsForSchemaKeyPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'keyStringsForSchemaKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | extension Object {
[24/25] Compiling Artemis Field.swift
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/1. Describing/Field.swift:68:13: warning: var 'cachedArgListsForTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | /// For optimization, instantiated `ArgumentsList` objects are stored here under the string names of their parent
67 | /// `ArgumentsList` types.
68 | private var cachedArgListsForTypes: [String: Any] = [:]
| |- warning: var 'cachedArgListsForTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedArgListsForTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'cachedArgListsForTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | /// Since there's no way to get string names for `KeyPath` instances, we store them here after pulling them from
70 | /// `Argument` instances, under the string names of their parent `ArgumentsList` types. The `AnyKeyPath`s here are paths
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/1. Describing/Field.swift:72:13: warning: var 'nameStringsForArgumentKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
70 | /// `Argument` instances, under the string names of their parent `ArgumentsList` types. The `AnyKeyPath`s here are paths
71 | /// on the `ArgumentsList`, and the `String` value returned is the string name of the keypath we can use with GraphQL.
72 | private var nameStringsForArgumentKeyPaths: [String: [AnyKeyPath: String]] = [:]
| |- warning: var 'nameStringsForArgumentKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nameStringsForArgumentKeyPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'nameStringsForArgumentKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/1. Describing/Object.swift:29:13: warning: var 'cachedSchemasForTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | /// For optimization, instantiated `Object.SubSchema` objects are stored here under the string names of their parent
28 | /// `Object` types.
29 | private var cachedSchemasForTypes: [String: Any] = [:]
| |- warning: var 'cachedSchemasForTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedSchemasForTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'cachedSchemasForTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | /// Since there's no way to get string names for `KeyPath` instances, we store them here after pulling them from
31 | /// `Field` instances, under the string names of their parent `Object` types. The `AnyKeyPath`s here are paths on the
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/1. Describing/Object.swift:33:13: warning: var 'keyStringsForSchemaKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// `Field` instances, under the string names of their parent `Object` types. The `AnyKeyPath`s here are paths on the
32 | /// `Object.SubSchema`, and the `String` value returned is the string name of the keypath we can use with GraphQL.
33 | private var keyStringsForSchemaKeyPaths: [String: [AnyKeyPath: String]] = [:]
| |- warning: var 'keyStringsForSchemaKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'keyStringsForSchemaKeyPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'keyStringsForSchemaKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | extension Object {
[25/25] Compiling Artemis Object.swift
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/1. Describing/Field.swift:68:13: warning: var 'cachedArgListsForTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | /// For optimization, instantiated `ArgumentsList` objects are stored here under the string names of their parent
67 | /// `ArgumentsList` types.
68 | private var cachedArgListsForTypes: [String: Any] = [:]
| |- warning: var 'cachedArgListsForTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedArgListsForTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'cachedArgListsForTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | /// Since there's no way to get string names for `KeyPath` instances, we store them here after pulling them from
70 | /// `Argument` instances, under the string names of their parent `ArgumentsList` types. The `AnyKeyPath`s here are paths
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/1. Describing/Field.swift:72:13: warning: var 'nameStringsForArgumentKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
70 | /// `Argument` instances, under the string names of their parent `ArgumentsList` types. The `AnyKeyPath`s here are paths
71 | /// on the `ArgumentsList`, and the `String` value returned is the string name of the keypath we can use with GraphQL.
72 | private var nameStringsForArgumentKeyPaths: [String: [AnyKeyPath: String]] = [:]
| |- warning: var 'nameStringsForArgumentKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nameStringsForArgumentKeyPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'nameStringsForArgumentKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/1. Describing/Object.swift:29:13: warning: var 'cachedSchemasForTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | /// For optimization, instantiated `Object.SubSchema` objects are stored here under the string names of their parent
28 | /// `Object` types.
29 | private var cachedSchemasForTypes: [String: Any] = [:]
| |- warning: var 'cachedSchemasForTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedSchemasForTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'cachedSchemasForTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | /// Since there's no way to get string names for `KeyPath` instances, we store them here after pulling them from
31 | /// `Field` instances, under the string names of their parent `Object` types. The `AnyKeyPath`s here are paths on the
/Users/admin/builder/spi-builder-workspace/Sources/Artemis/1. Describing/Object.swift:33:13: warning: var 'keyStringsForSchemaKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// `Field` instances, under the string names of their parent `Object` types. The `AnyKeyPath`s here are paths on the
32 | /// `Object.SubSchema`, and the `String` value returned is the string name of the keypath we can use with GraphQL.
33 | private var keyStringsForSchemaKeyPaths: [String: [AnyKeyPath: String]] = [:]
| |- warning: var 'keyStringsForSchemaKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'keyStringsForSchemaKeyPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'keyStringsForSchemaKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | extension Object {
Build complete! (5.90s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Artemis",
"name" : "Artemis",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "ios",
"version" : "9.0"
}
],
"products" : [
{
"name" : "Artemis",
"targets" : [
"Artemis"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "ArtemisTests",
"module_type" : "SwiftTarget",
"name" : "ArtemisTests",
"path" : "Tests/ArtemisTests",
"sources" : [
"Other/ConditionalTests.swift",
"Other/MaxSelectionTests.swift",
"Other/MiscellaneousTests.swift",
"TestInterface1/TestInterface1_Bool_TypeTests.swift",
"TestInterface1/TestInterface1_Double_TypeTests.swift",
"TestInterface1/TestInterface1_Float_TypeTests.swift",
"TestInterface1/TestInterface1_Int_TypeTests.swift",
"TestInterface1/TestInterface1_String_TypeTests.swift",
"TestInterface1/TestInterface1_TestEnum_TypeTests.swift",
"TestInterface1/TestInterface1_TestObject_TypeTests.swift",
"TestInterface2/TestInterface2_Bool_TypeTests.swift",
"TestInterface2/TestInterface2_Double_TypeTests.swift",
"TestInterface2/TestInterface2_Float_TypeTests.swift",
"TestInterface2/TestInterface2_Int_TypeTests.swift",
"TestInterface2/TestInterface2_String_TypeTests.swift",
"TestInterface2/TestInterface2_TestEnum_TypeTests.swift",
"TestInterface2/TestInterface2_TestObject_TypeTests.swift",
"TestInterface3/TestInterface3_Bool_TypeTests.swift",
"TestInterface3/TestInterface3_Double_TypeTests.swift",
"TestInterface3/TestInterface3_Float_TypeTests.swift",
"TestInterface3/TestInterface3_Int_TypeTests.swift",
"TestInterface3/TestInterface3_String_TypeTests.swift",
"TestInterface3/TestInterface3_TestEnum_TypeTests.swift",
"TestInterface3/TestInterface3_TestObject_TypeTests.swift",
"TestInterface4/TestInterface4_Bool_TypeTests.swift",
"TestInterface4/TestInterface4_Double_TypeTests.swift",
"TestInterface4/TestInterface4_Float_TypeTests.swift",
"TestInterface4/TestInterface4_Int_TypeTests.swift",
"TestInterface4/TestInterface4_String_TypeTests.swift",
"TestInterface4/TestInterface4_TestEnum_TypeTests.swift",
"TestInterface4/TestInterface4_TestObject_TypeTests.swift",
"TestInterface5/TestInterface5_Bool_TypeTests.swift",
"TestInterface5/TestInterface5_Double_TypeTests.swift",
"TestInterface5/TestInterface5_Float_TypeTests.swift",
"TestInterface5/TestInterface5_Int_TypeTests.swift",
"TestInterface5/TestInterface5_String_TypeTests.swift",
"TestInterface5/TestInterface5_TestEnum_TypeTests.swift",
"TestInterface5/TestInterface5_TestObject_TypeTests.swift",
"TestObject/TestObject_Bool_TypeTests.swift",
"TestObject/TestObject_Double_TypeTests.swift",
"TestObject/TestObject_Float_TypeTests.swift",
"TestObject/TestObject_Int_TypeTests.swift",
"TestObject/TestObject_String_TypeTests.swift",
"TestObject/TestObject_TestEnum_TypeTests.swift",
"TestObject/TestObject_TestObject_TypeTests.swift",
"TypeTestCases.swift",
"Utilities/Schema+Defaults.swift",
"Utilities/Schema.swift",
"Utilities/Utilities.swift"
],
"target_dependencies" : [
"Artemis"
],
"type" : "test"
},
{
"c99name" : "Artemis",
"module_type" : "SwiftTarget",
"name" : "Artemis",
"path" : "Sources/Artemis",
"product_memberships" : [
"Artemis"
],
"sources" : [
"1. Describing/Array+Schema.swift",
"1. Describing/Field.swift",
"1. Describing/Object.swift",
"1. Describing/Optional+Schema.swift",
"1. Describing/Scalar.swift",
"1. Describing/Schema.swift",
"2. Selecting/Fragment.swift",
"2. Selecting/_ArgumentEncoder.swift",
"2. Selecting/_Selection.swift",
"2. Selecting/_SelectionInputOutput.swift",
"2. Selecting/_SelectionSet.swift",
"2. Selecting/_SelectionSetBuilder.swift",
"2. Selecting/_Selector.swift",
"3. Handling/Client.swift",
"3. Handling/HTTPNetworkingDelegate.swift",
"3. Handling/Partial+I1.swift",
"3. Handling/Partial+I2.swift",
"3. Handling/Partial+I3.swift",
"3. Handling/Partial+I4.swift",
"3. Handling/Partial+I5.swift",
"3. Handling/Partial.swift",
"3. Handling/_Operation.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.