Build Information
Failed to build swiftredunda 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.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sobotics/swiftredunda.git
Reference: 0.1.6
Cloned https://github.com/sobotics/swiftredunda.git into spi-builder-workspace
SUCCESS checkout https://github.com/sobotics/swiftredunda.git at 0.1.6
========================================
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...
[1/4] Compiling SwiftRedunda RedundaPingResponse.swift
[2/4] Emitting module SwiftRedunda
[3/4] Compiling SwiftRedunda RedundaPingService.swift
[4/4] Compiling SwiftRedunda RedundaClient.swift
/host/spi-builder-workspace/Sources/swiftredunda/RedundaClient.swift:21:19: error: cannot find 'URLRequest' in scope
var req = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/swiftredunda/RedundaClient.swift:29:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
let session = URLSession.shared
~~~~~~~~~~ ^~~~~~
error: fatalError
BUILD FAILURE 5.9 linux
Build Machine: Linux 2