The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Shuttle 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/autobahnswift/shuttle.git
Reference: master
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/autobahnswift/shuttle
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 5c35f19 Rename some targets to avoid conflicts with Vapor
Cloned https://github.com/autobahnswift/shuttle.git
Revision (git rev-parse @):
5c35f1993572d29b11afffe215251c50cc86a180
SUCCESS checkout https://github.com/autobahnswift/shuttle.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/autobahnswift/shuttle.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
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/devxoul/Immutable.git
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/devxoul/Then.git
Fetching https://github.com/devxoul/MoyaSugar.git
Fetching https://github.com/Moya/Moya.git
[1/1114] Fetching rainbow
[1115/1658] Fetching rainbow, moyasugar
[1659/2429] Fetching rainbow, moyasugar, then
[2430/2589] Fetching rainbow, moyasugar, then, immutable
[2590/27767] Fetching rainbow, moyasugar, then, immutable, moya
Fetched https://github.com/devxoul/Then.git from cache (0.31s)
Fetched https://github.com/devxoul/MoyaSugar.git from cache (0.31s)
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git
Fetching https://github.com/antitypical/Result.git
[6058/26452] Fetching rainbow, immutable, moya
[15123/28985] Fetching rainbow, immutable, moya, result
[17656/57034] Fetching rainbow, immutable, moya, result, alamofire
Fetched https://github.com/antitypical/Result.git from cache (0.30s)
[16806/106858] Fetching rainbow, immutable, moya, alamofire, reactiveswift
Fetching https://github.com/ReactiveX/RxSwift.git
[48204/157872] Fetching rainbow, immutable, moya, alamofire, reactiveswift, rxswift
Fetched https://github.com/ReactiveCocoa/ReactiveSwift.git from cache (3.08s)
Fetched https://github.com/devxoul/Immutable.git from cache (3.71s)
Fetched https://github.com/onevcat/Rainbow from cache (3.71s)
Fetched https://github.com/Moya/Moya.git from cache (3.75s)
Computing version for https://github.com/onevcat/Rainbow
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.77s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (3.28s)
Computed https://github.com/onevcat/Rainbow at 3.1.1 (0.38s)
Computing version for https://github.com/Moya/Moya.git
Computed https://github.com/Moya/Moya.git at 10.0.2 (0.40s)
Computing version for https://github.com/devxoul/MoyaSugar.git
Computed https://github.com/devxoul/MoyaSugar.git at 1.1.0 (0.41s)
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.45s)
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.10' to specify the current tools version
Updating https://github.com/devxoul/Immutable.git
Updating https://github.com/ReactiveCocoa/ReactiveSwift.git
Updating https://github.com/ReactiveX/RxSwift.git
Updating https://github.com/devxoul/Then.git
Updating https://github.com/onevcat/Rainbow
Updating https://github.com/devxoul/MoyaSugar.git
Updated https://github.com/onevcat/Rainbow (0.18s)
Updated https://github.com/devxoul/MoyaSugar.git (0.18s)
Updated https://github.com/devxoul/Then.git (0.18s)
Updating https://github.com/Alamofire/Alamofire.git
Updating https://github.com/Moya/Moya.git
Updating https://github.com/antitypical/Result.git
Updated https://github.com/ReactiveCocoa/ReactiveSwift.git (0.23s)
Updated https://github.com/devxoul/Immutable.git (0.23s)
Updated https://github.com/ReactiveX/RxSwift.git (0.23s)
Updated https://github.com/antitypical/Result.git (0.19s)
Updated https://github.com/Alamofire/Alamofire.git (0.21s)
Updated https://github.com/Moya/Moya.git (0.22s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.1.1 (0.38s)
Computing version for https://github.com/Moya/Moya.git
Computed https://github.com/Moya/Moya.git at 10.0.2 (0.41s)
Computing version for https://github.com/devxoul/MoyaSugar.git
Computed https://github.com/devxoul/MoyaSugar.git at 1.1.0 (0.41s)
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.43s)
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.10' to specify the current tools version
BUILD FAILURE 5.10 linux

Build Machine: Linux 1