The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Artemis with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Saelyria/Artemis.git
Reference: main
Cloned https://github.com/Saelyria/Artemis.git into spi-builder-workspace
SUCCESS checkout https://github.com/Saelyria/Artemis.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/21] Emitting module Artemis
/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 Swift 6
    public struct _AliasSelector<T: Object, FieldVal, Value: Scalar, Args: ArgumentsList> {
                                 ^
/host/spi-builder-workspace/Sources/Artemis/2. Selecting/_Selector.swift:8:24: note: 'T' previously declared here
public class _Selector<T: Object> { }
                       ^
/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 Swift 6
    public struct _AliasObjectSelector<T: Object, R, FieldVal, Value: Object, Args: ArgumentsList> {
                                       ^
/host/spi-builder-workspace/Sources/Artemis/2. Selecting/_Selector.swift:8:24: note: 'T' previously declared here
public class _Selector<T: Object> { }
                       ^
/host/spi-builder-workspace/Sources/Artemis/3. Handling/Client.swift:57:38: error: cannot find type 'URLRequest' in scope
        requestBuilder: ((_ request: URLRequest) -> Void)? = nil
                                     ^~~~~~~~~~
[2/23] Compiling Artemis Partial+I1.swift
[3/23] Compiling Artemis Partial+I2.swift
[4/23] Compiling Artemis Partial+I3.swift
[5/23] Compiling Artemis Array+Schema.swift
[6/23] Compiling Artemis Field.swift
[7/23] Compiling Artemis Object.swift
[8/23] Compiling Artemis Partial.swift
[9/23] Compiling Artemis _Operation.swift
[10/23] 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 Swift 6
    public struct _AliasSelector<T: Object, FieldVal, Value: Scalar, Args: ArgumentsList> {
                                 ^
/host/spi-builder-workspace/Sources/Artemis/2. Selecting/_Selector.swift:8:24: note: 'T' previously declared here
public class _Selector<T: Object> { }
                       ^
/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 Swift 6
    public struct _AliasObjectSelector<T: Object, R, FieldVal, Value: Object, Args: ArgumentsList> {
                                       ^
/host/spi-builder-workspace/Sources/Artemis/2. Selecting/_Selector.swift:8:24: note: 'T' previously declared here
public class _Selector<T: Object> { }
                       ^
/host/spi-builder-workspace/Sources/Artemis/3. Handling/Client.swift:57:38: error: cannot find type 'URLRequest' in scope
        requestBuilder: ((_ request: URLRequest) -> Void)? = nil
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:20:16: error: cannot find type 'URLRequest' in scope
                var request: URLRequest
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:24:14: error: cannot find 'URLRequest' in scope
                        request = URLRequest(url: self.endpoint)
                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:41:14: error: cannot find 'URLRequest' in scope
                        request = URLRequest(url: url)
                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:46:14: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                URLSession.shared.dataTask(with: request) { data, response, error in
                ~~~~~~~~~~ ^~~~~~
[11/23] 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 Swift 6
    public struct _AliasSelector<T: Object, FieldVal, Value: Scalar, Args: ArgumentsList> {
                                 ^
/host/spi-builder-workspace/Sources/Artemis/2. Selecting/_Selector.swift:8:24: note: 'T' previously declared here
public class _Selector<T: Object> { }
                       ^
/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 Swift 6
    public struct _AliasObjectSelector<T: Object, R, FieldVal, Value: Object, Args: ArgumentsList> {
                                       ^
/host/spi-builder-workspace/Sources/Artemis/2. Selecting/_Selector.swift:8:24: note: 'T' previously declared here
public class _Selector<T: Object> { }
                       ^
/host/spi-builder-workspace/Sources/Artemis/3. Handling/Client.swift:57:38: error: cannot find type 'URLRequest' in scope
        requestBuilder: ((_ request: URLRequest) -> Void)? = nil
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:20:16: error: cannot find type 'URLRequest' in scope
                var request: URLRequest
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:24:14: error: cannot find 'URLRequest' in scope
                        request = URLRequest(url: self.endpoint)
                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:41:14: error: cannot find 'URLRequest' in scope
                        request = URLRequest(url: url)
                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:46:14: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                URLSession.shared.dataTask(with: request) { data, response, error in
                ~~~~~~~~~~ ^~~~~~
[12/23] 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 Swift 6
    public struct _AliasSelector<T: Object, FieldVal, Value: Scalar, Args: ArgumentsList> {
                                 ^
/host/spi-builder-workspace/Sources/Artemis/2. Selecting/_Selector.swift:8:24: note: 'T' previously declared here
public class _Selector<T: Object> { }
                       ^
/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 Swift 6
    public struct _AliasObjectSelector<T: Object, R, FieldVal, Value: Object, Args: ArgumentsList> {
                                       ^
/host/spi-builder-workspace/Sources/Artemis/2. Selecting/_Selector.swift:8:24: note: 'T' previously declared here
public class _Selector<T: Object> { }
                       ^
/host/spi-builder-workspace/Sources/Artemis/3. Handling/Client.swift:57:38: error: cannot find type 'URLRequest' in scope
        requestBuilder: ((_ request: URLRequest) -> Void)? = nil
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:20:16: error: cannot find type 'URLRequest' in scope
                var request: URLRequest
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:24:14: error: cannot find 'URLRequest' in scope
                        request = URLRequest(url: self.endpoint)
                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:41:14: error: cannot find 'URLRequest' in scope
                        request = URLRequest(url: url)
                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Artemis/3. Handling/HTTPNetworkingDelegate.swift:46:14: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                URLSession.shared.dataTask(with: request) { data, response, error in
                ~~~~~~~~~~ ^~~~~~
[13/23] Compiling Artemis _SelectionInputOutput.swift
[14/23] Compiling Artemis _SelectionSet.swift
[15/23] Compiling Artemis _SelectionSetBuilder.swift
[16/23] Compiling Artemis Partial+I4.swift
[17/23] Compiling Artemis Partial+I5.swift
[18/23] Compiling Artemis Optional+Schema.swift
[19/23] Compiling Artemis Scalar.swift
[20/23] Compiling Artemis Schema.swift
[21/23] Compiling Artemis Fragment.swift
[22/23] Compiling Artemis _ArgumentEncoder.swift
[23/23] Compiling Artemis _Selection.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2