Build Information
Failed to build swiftredunda with Swift 5.7 for Linux.
Build Command
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-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.7
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Building for debugging...
[1/4] Emitting module SwiftRedunda
[2/4] Compiling SwiftRedunda RedundaPingResponse.swift
[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
~~~~~~~~~~ ^~~~~~
BUILD FAILURE 5.7 linux
Build Machine: Linux 1