The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Artemis with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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:             5.10
Building package at path:  $workDir
https://github.com/Saelyria/Artemis.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
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/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
                                     ^~~~~~~~~~
[4/25] Compiling Artemis Partial.swift
[5/25] Compiling Artemis _Operation.swift
[6/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 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
                ~~~~~~~~~~ ^~~~~~
[7/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 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
                ~~~~~~~~~~ ^~~~~~
[8/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 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
                ~~~~~~~~~~ ^~~~~~
[9/25] Compiling Artemis Optional+Schema.swift
[10/25] Compiling Artemis Scalar.swift
[11/25] Compiling Artemis Schema.swift
[12/25] Compiling Artemis Fragment.swift
[13/25] Compiling Artemis _ArgumentEncoder.swift
[14/25] Compiling Artemis _Selection.swift
[15/25] Compiling Artemis Array+Schema.swift
[16/25] Compiling Artemis Field.swift
[17/25] Compiling Artemis Object.swift
[18/25] Compiling Artemis Partial+I1.swift
[19/25] Compiling Artemis Partial+I2.swift
[20/25] Compiling Artemis Partial+I3.swift
[21/25] Compiling Artemis Partial+I4.swift
[22/25] Compiling Artemis Partial+I5.swift
[23/25] Compiling Artemis _SelectionInputOutput.swift
[24/25] Compiling Artemis _SelectionSet.swift
[25/25] Compiling Artemis _SelectionSetBuilder.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] Compiling Artemis HTTPNetworkingDelegate.swift
/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
                ~~~~~~~~~~ ^~~~~~
[3/5] Compiling Artemis Client.swift
/host/spi-builder-workspace/Sources/Artemis/3. Handling/Client.swift:57:38: error: cannot find type 'URLRequest' in scope
        requestBuilder: ((_ request: URLRequest) -> Void)? = nil
                                     ^~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] 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> { }
                       ^
[5/5] 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
                                     ^~~~~~~~~~
[6/7] Compiling Artemis Fragment.swift
[7/7] Compiling Artemis _Operation.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1