The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Shuttle with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-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/autobahnswift/shuttle.git
Reference: master
Cloned https://github.com/autobahnswift/shuttle.git into spi-builder-workspace
SUCCESS checkout https://github.com/autobahnswift/shuttle.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/antitypical/Result.git
[1/1110] Fetching rainbow
[1111/3644] Fetching rainbow, result
[3645/30360] Fetching rainbow, result, alamofire
Fetched https://github.com/onevcat/Rainbow (2.21s)
Fetching https://github.com/devxoul/Then.git
Fetched https://github.com/antitypical/Result.git (2.21s)
Fetching https://github.com/Moya/Moya.git
Fetched https://github.com/Alamofire/Alamofire.git (2.27s)
Fetching https://github.com/devxoul/Immutable.git
[1/771] Fetching then
[772/931] Fetching then, immutable
[932/26025] Fetching then, immutable, moya
Fetched https://github.com/devxoul/Immutable.git (0.20s)
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git
[1022/25865] Fetching then, moya
[14574/78179] Fetching then, moya, reactiveswift
Fetched https://github.com/devxoul/Then.git (2.00s)
Fetching https://github.com/ReactiveX/RxSwift.git
Fetched https://github.com/Moya/Moya.git (2.06s)
Fetching https://github.com/devxoul/MoyaSugar.git
[1/544] Fetching moyasugar
Fetched https://github.com/devxoul/MoyaSugar.git (0.28s)
Computing version for https://github.com/onevcat/Rainbow
[1/50678] Fetching rxswift
Fetched https://github.com/ReactiveCocoa/ReactiveSwift.git (2.13s)
Computed https://github.com/onevcat/Rainbow at 3.1.1 (0.27s)
Computing version for https://github.com/Moya/Moya.git
Computed https://github.com/Moya/Moya.git at 10.0.2 (0.30s)
Fetched https://github.com/ReactiveX/RxSwift.git (2.32s)
Computing version for https://github.com/devxoul/MoyaSugar.git
Computed https://github.com/devxoul/MoyaSugar.git at 1.1.0 (0.28s)
Computing version for https://github.com/ReactiveX/RxSwift.git
warning: 'rxswift': /Package.swift:9:16: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
  return array.flatMap { $0 }
               ^
/Package.swift:9:16: note: use 'compactMap(_:)' instead
  return array.flatMap { $0 }
               ^~~~~~~
               compactMap
Computed https://github.com/ReactiveX/RxSwift.git at 4.1.1 (0.30s)
Computing version for https://github.com/ReactiveCocoa/ReactiveSwift.git
error: package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 5.9' to specify the current tools version
BUILD FAILURE 5.9 linux

Build Machine: Linux 1