Build Information
Failed to build Artemis, reference 1.0.1 (75dc24
), with Swift 6.0 for Linux on 28 Nov 2024 10:07:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Saelyria/Artemis.git
Reference: 1.0.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/Saelyria/Artemis
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at 75dc243 Release 1.0.1
Cloned https://github.com/Saelyria/Artemis.git
Revision (git rev-parse @):
75dc243369a1ab07c6e3db8f9d135b1a09deaf02
SUCCESS checkout https://github.com/Saelyria/Artemis.git at 1.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/Saelyria/Artemis.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/23] Emitting module Artemis
/host/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: annotate 'cachedArgListsForTypes' with '@MainActor' if property should only be accessed from the main actor
| `- 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
/host/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: annotate 'nameStringsForArgumentKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | /**
/host/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: annotate 'cachedSchemasForTypes' with '@MainActor' if property should only be accessed from the main actor
| `- 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
/host/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: annotate 'keyStringsForSchemaKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | extension Object {
/host/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) {
/host/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 |
/host/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 |
/host/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 |
/host/spi-builder-workspace/Sources/Artemis/3. Handling/Client.swift:57:38: error: cannot find type 'URLRequest' in scope
55 | endpoint: URL,
56 | method: HTTPNetworkingDelegate.Method = .post,
57 | requestBuilder: ((_ request: URLRequest) -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
58 | ) {
59 | self.networkDelegate = HTTPNetworkingDelegate(endpoint: endpoint, method: method)
[4/25] Compiling Artemis Partial+I1.swift
[5/25] Compiling Artemis Partial+I2.swift
[6/25] Compiling Artemis Partial+I3.swift
[7/25] Compiling Artemis Array+Schema.swift
/host/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: annotate 'cachedArgListsForTypes' with '@MainActor' if property should only be accessed from the main actor
| `- 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
/host/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: annotate 'nameStringsForArgumentKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | /**
/host/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: annotate 'cachedSchemasForTypes' with '@MainActor' if property should only be accessed from the main actor
| `- 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
/host/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: annotate 'keyStringsForSchemaKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | extension Object {
[8/25] Compiling Artemis Field.swift
/host/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: annotate 'cachedArgListsForTypes' with '@MainActor' if property should only be accessed from the main actor
| `- 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
/host/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: annotate 'nameStringsForArgumentKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | /**
/host/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: annotate 'cachedSchemasForTypes' with '@MainActor' if property should only be accessed from the main actor
| `- 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
/host/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: annotate 'keyStringsForSchemaKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | extension Object {
[9/25] Compiling Artemis Object.swift
/host/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: annotate 'cachedArgListsForTypes' with '@MainActor' if property should only be accessed from the main actor
| `- 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
/host/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: annotate 'nameStringsForArgumentKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | /**
/host/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: annotate 'cachedSchemasForTypes' with '@MainActor' if property should only be accessed from the main actor
| `- 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
/host/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: annotate 'keyStringsForSchemaKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | extension Object {
[10/25] Compiling Artemis Optional+Schema.swift
/host/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) {
/host/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
/host/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) {
/host/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
/host/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) {
/host/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 Partial+I4.swift
[14/25] Compiling Artemis Partial+I5.swift
[15/25] Compiling Artemis _SelectionInputOutput.swift
[16/25] Compiling Artemis _SelectionSet.swift
[17/25] Compiling Artemis _SelectionSetBuilder.swift
[18/25] Compiling Artemis _Selector.swift
/host/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 |
/host/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 |
/host/spi-builder-workspace/Sources/Artemis/3. Handling/Client.swift:57:38: error: cannot find type 'URLRequest' in scope
55 | endpoint: URL,
56 | method: HTTPNetworkingDelegate.Method = .post,
57 | requestBuilder: ((_ request: URLRequest) -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
58 | ) {
59 | self.networkDelegate = HTTPNetworkingDelegate(endpoint: endpoint, method: method)
/host/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:20:16: error: cannot find type 'URLRequest' in scope
18 |
19 | public func send(document: String, completion: @escaping (Result<Data, Error>) -> Void) {
20 | var request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
21 |
22 | switch self.method {
/host/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:24:14: error: cannot find 'URLRequest' in scope
22 | switch self.method {
23 | case .post:
24 | request = URLRequest(url: self.endpoint)
| `- error: cannot find 'URLRequest' in scope
25 | request.httpMethod = "POST"
26 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:41:14: error: cannot find 'URLRequest' in scope
39 | return
40 | }
41 | request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
42 | request.httpMethod = "GET"
43 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:46:14: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 | }
45 |
46 | URLSession.shared.dataTask(with: request) { data, response, error in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 | guard let data = data else {
48 | completion(.failure(error ?? GraphQLError.invalidOperation))
[19/25] Compiling Artemis Client.swift
/host/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 |
/host/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 |
/host/spi-builder-workspace/Sources/Artemis/3. Handling/Client.swift:57:38: error: cannot find type 'URLRequest' in scope
55 | endpoint: URL,
56 | method: HTTPNetworkingDelegate.Method = .post,
57 | requestBuilder: ((_ request: URLRequest) -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
58 | ) {
59 | self.networkDelegate = HTTPNetworkingDelegate(endpoint: endpoint, method: method)
/host/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:20:16: error: cannot find type 'URLRequest' in scope
18 |
19 | public func send(document: String, completion: @escaping (Result<Data, Error>) -> Void) {
20 | var request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
21 |
22 | switch self.method {
/host/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:24:14: error: cannot find 'URLRequest' in scope
22 | switch self.method {
23 | case .post:
24 | request = URLRequest(url: self.endpoint)
| `- error: cannot find 'URLRequest' in scope
25 | request.httpMethod = "POST"
26 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:41:14: error: cannot find 'URLRequest' in scope
39 | return
40 | }
41 | request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
42 | request.httpMethod = "GET"
43 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:46:14: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 | }
45 |
46 | URLSession.shared.dataTask(with: request) { data, response, error in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 | guard let data = data else {
48 | completion(.failure(error ?? GraphQLError.invalidOperation))
[20/25] Compiling Artemis HTTPNetworkingDelegate.swift
/host/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 |
/host/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 |
/host/spi-builder-workspace/Sources/Artemis/3. Handling/Client.swift:57:38: error: cannot find type 'URLRequest' in scope
55 | endpoint: URL,
56 | method: HTTPNetworkingDelegate.Method = .post,
57 | requestBuilder: ((_ request: URLRequest) -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
58 | ) {
59 | self.networkDelegate = HTTPNetworkingDelegate(endpoint: endpoint, method: method)
/host/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:20:16: error: cannot find type 'URLRequest' in scope
18 |
19 | public func send(document: String, completion: @escaping (Result<Data, Error>) -> Void) {
20 | var request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
21 |
22 | switch self.method {
/host/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:24:14: error: cannot find 'URLRequest' in scope
22 | switch self.method {
23 | case .post:
24 | request = URLRequest(url: self.endpoint)
| `- error: cannot find 'URLRequest' in scope
25 | request.httpMethod = "POST"
26 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:41:14: error: cannot find 'URLRequest' in scope
39 | return
40 | }
41 | request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
42 | request.httpMethod = "GET"
43 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:46:14: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 | }
45 |
46 | URLSession.shared.dataTask(with: request) { data, response, error in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 | guard let data = data else {
48 | completion(.failure(error ?? GraphQLError.invalidOperation))
[21/25] Compiling Artemis Partial.swift
[22/25] Compiling Artemis _Operation.swift
[23/25] Compiling Artemis Fragment.swift
[24/25] Compiling Artemis _ArgumentEncoder.swift
[25/25] Compiling Artemis _Selection.swift
BUILD FAILURE 6.0 linux