Build Information
Failed to build mountebankSwift with Swift 5.8 for Linux.
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dave-t-c/mountebankSwift.git
Reference: main
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/dave-t-c/mountebankSwift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 019491b Merge pull request #15 from dave-t-c/create-swift-package-index-yaml
Cloned https://github.com/dave-t-c/mountebankSwift.git
Revision (git rev-parse @):
019491bc33357f4dd1d2bef3d6a8c95e418d3bd8
SPI manifest file found: $PWD/checkout/.spi.yml
SUCCESS checkout https://github.com/dave-t-c/mountebankSwift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Building for debugging...
[1/21] Emitting module mountebankSwift
[2/23] Compiling mountebankSwift HttpImposter.swift
[3/23] Compiling mountebankSwift Imposter.swift
[4/23] Compiling mountebankSwift HttpMethod.swift
[5/23] Compiling mountebankSwift Response.swift
[6/23] Compiling mountebankSwift HttpStub.swift
[7/23] Compiling mountebankSwift RetrieveImpostersResponse.swift
[8/23] Compiling mountebankSwift RetrievedHttpImposter.swift
[9/23] Compiling mountebankSwift RetrievedImposter.swift
[10/23] Compiling mountebankSwift Stub.swift
/host/spi-builder-workspace/Sources/mountebankSwift/RequestWrappers/MountebankRequestWrapper.swift:21:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/mountebankSwift/RequestWrappers/MountebankRequestWrapper.swift:25:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
_ = try await URLSession.shared.data(for: request)
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/mountebankSwift/RequestWrappers/MountebankRequestWrapper.swift:32:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/mountebankSwift/RequestWrappers/MountebankRequestWrapper.swift:38:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
let (_, response) = try await URLSession.shared.data(for: request)
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/mountebankSwift/RequestWrappers/MountebankRequestWrapper.swift:54:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/mountebankSwift/RequestWrappers/MountebankRequestWrapper.swift:57:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
let (data, response) = try await URLSession.shared.data(for: request)
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/mountebankSwift/RequestWrappers/MountebankRequestWrapper.swift:81:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/mountebankSwift/RequestWrappers/MountebankRequestWrapper.swift:84:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
let (data, response) = try await URLSession.shared.data(for: request)
~~~~~~~~~~ ^~~~~~
[11/23] Compiling mountebankSwift MountebankRequestWrapper.swift
/host/spi-builder-workspace/Sources/mountebankSwift/RequestWrappers/MountebankRequestWrapper.swift:21:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/mountebankSwift/RequestWrappers/MountebankRequestWrapper.swift:25:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
_ = try await URLSession.shared.data(for: request)
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/mountebankSwift/RequestWrappers/MountebankRequestWrapper.swift:32:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/mountebankSwift/RequestWrappers/MountebankRequestWrapper.swift:38:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
let (_, response) = try await URLSession.shared.data(for: request)
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/mountebankSwift/RequestWrappers/MountebankRequestWrapper.swift:54:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/mountebankSwift/RequestWrappers/MountebankRequestWrapper.swift:57:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
let (data, response) = try await URLSession.shared.data(for: request)
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/mountebankSwift/RequestWrappers/MountebankRequestWrapper.swift:81:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/mountebankSwift/RequestWrappers/MountebankRequestWrapper.swift:84:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
let (data, response) = try await URLSession.shared.data(for: request)
~~~~~~~~~~ ^~~~~~
[12/23] Compiling mountebankSwift SimpleRetrievedImposter.swift
[13/23] Compiling mountebankSwift HttpRequest.swift
[14/23] Compiling mountebankSwift EqualsPredicate.swift
[15/23] Compiling mountebankSwift Fields.swift
[16/23] Compiling mountebankSwift HttpFields.swift
[17/23] Compiling mountebankSwift Predicate.swift
[18/23] Compiling mountebankSwift MountebankClient.swift
[19/23] Compiling mountebankSwift MountebankExceptions.swift
[20/23] Compiling mountebankSwift Constants.swift
[21/23] Compiling mountebankSwift HttpResponseFields.swift
[22/23] Compiling mountebankSwift ResponseFields.swift
[23/23] Compiling mountebankSwift IsResponse.swift
[0/1] Planning build
Building for debugging...
[1/3] Compiling mountebankSwift Stub.swift
[2/3] Compiling mountebankSwift MountebankRequestWrapper.swift
/host/spi-builder-workspace/Sources/mountebankSwift/RequestWrappers/MountebankRequestWrapper.swift:21:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/mountebankSwift/RequestWrappers/MountebankRequestWrapper.swift:25:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
_ = try await URLSession.shared.data(for: request)
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/mountebankSwift/RequestWrappers/MountebankRequestWrapper.swift:32:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/mountebankSwift/RequestWrappers/MountebankRequestWrapper.swift:38:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
let (_, response) = try await URLSession.shared.data(for: request)
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/mountebankSwift/RequestWrappers/MountebankRequestWrapper.swift:54:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/mountebankSwift/RequestWrappers/MountebankRequestWrapper.swift:57:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
let (data, response) = try await URLSession.shared.data(for: request)
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/mountebankSwift/RequestWrappers/MountebankRequestWrapper.swift:81:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/mountebankSwift/RequestWrappers/MountebankRequestWrapper.swift:84:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
let (data, response) = try await URLSession.shared.data(for: request)
~~~~~~~~~~ ^~~~~~
[3/6] Emitting module mountebankSwift
[4/6] Compiling mountebankSwift HttpStub.swift
[5/6] Compiling mountebankSwift MountebankClient.swift
[6/6] Compiling mountebankSwift HttpImposter.swift
BUILD FAILURE 5.8 linux