Build Information
Failed to build Shuttle with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.32.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/autobahnswift/shuttle.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
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
Fetching https://github.com/devxoul/MoyaSugar.git
Fetching https://github.com/onevcat/Rainbow from cache
Fetching https://github.com/Alamofire/Alamofire.git from cache
Fetching https://github.com/antitypical/Result.git from cache
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git from cache
Fetching https://github.com/Moya/Moya.git from cache
[1/544] Fetching moyasugar
Fetched https://github.com/ReactiveCocoa/ReactiveSwift.git from cache (0.25s)
Fetching https://github.com/ReactiveX/RxSwift.git from cache
Fetched https://github.com/onevcat/Rainbow from cache (0.31s)
Fetching https://github.com/devxoul/Then.git from cache
Fetched https://github.com/devxoul/MoyaSugar.git from cache (0.31s)
Fetching https://github.com/devxoul/Immutable.git
Fetched https://github.com/Alamofire/Alamofire.git from cache (0.32s)
Fetched https://github.com/antitypical/Result.git from cache (0.35s)
Fetched https://github.com/Moya/Moya.git from cache (0.36s)
Computing version for https://github.com/onevcat/Rainbow
[1/160] Fetching immutable
Fetched https://github.com/devxoul/Immutable.git from cache (0.24s)
Fetched https://github.com/devxoul/Then.git from cache (0.25s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (0.35s)
Computed https://github.com/onevcat/Rainbow at 3.1.1 (0.43s)
Computing version for https://github.com/Moya/Moya.git
Computed https://github.com/Moya/Moya.git at 10.0.2 (0.45s)
Computing version for https://github.com/devxoul/MoyaSugar.git
Computed https://github.com/devxoul/MoyaSugar.git at 1.1.0 (0.43s)
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.40s)
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
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/autobahnswift/shuttle.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Updating https://github.com/Alamofire/Alamofire.git
Updating https://github.com/Moya/Moya.git
Updating https://github.com/ReactiveX/RxSwift.git
Updating https://github.com/devxoul/Then.git
Updating https://github.com/devxoul/Immutable.git
warning: 'rainbow': /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/Rainbow-64aa5363 is not valid git repository for 'https://github.com/onevcat/Rainbow', will fetch again.
Fetching https://github.com/onevcat/Rainbow from cache
Updated https://github.com/devxoul/Immutable.git (0.14s)
Fetched https://github.com/onevcat/Rainbow from cache (0.14s)
Updating https://github.com/antitypical/Result.git
Updating https://github.com/devxoul/MoyaSugar.git
Updated https://github.com/devxoul/Then.git (0.23s)
Updated https://github.com/ReactiveX/RxSwift.git (0.23s)
Updated https://github.com/Moya/Moya.git (0.23s)
Updated https://github.com/Alamofire/Alamofire.git (0.23s)
Updating https://github.com/ReactiveCocoa/ReactiveSwift.git
Updated https://github.com/devxoul/MoyaSugar.git (0.14s)
Computing version for https://github.com/onevcat/Rainbow
Updated https://github.com/antitypical/Result.git (0.17s)
Updated https://github.com/ReactiveCocoa/ReactiveSwift.git (0.20s)
Computed https://github.com/onevcat/Rainbow at 3.1.1 (0.39s)
Computing version for https://github.com/Moya/Moya.git
Computed https://github.com/Moya/Moya.git at 10.0.2 (0.32s)
Computing version for https://github.com/devxoul/MoyaSugar.git
Computed https://github.com/devxoul/MoyaSugar.git at 1.1.0 (0.32s)
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.32s)
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
warning: 'rainbow': /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/Rainbow-64aa5363 is not valid git repository for 'https://github.com/onevcat/Rainbow', will fetch again.
Updating https://github.com/Moya/Moya.git
Fetching https://github.com/onevcat/Rainbow from cache
Updating https://github.com/devxoul/Immutable.git
Updating https://github.com/ReactiveCocoa/ReactiveSwift.git
Updating https://github.com/devxoul/MoyaSugar.git
Updating https://github.com/devxoul/Then.git
Fetched https://github.com/onevcat/Rainbow from cache (0.14s)
Updating https://github.com/ReactiveX/RxSwift.git
Updated https://github.com/devxoul/MoyaSugar.git (0.18s)
Updated https://github.com/ReactiveCocoa/ReactiveSwift.git (0.18s)
Updated https://github.com/devxoul/Then.git (0.18s)
Updating https://github.com/antitypical/Result.git
Updating https://github.com/Alamofire/Alamofire.git
Updated https://github.com/Moya/Moya.git (0.20s)
Updated https://github.com/devxoul/Immutable.git (0.20s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.1.1 (0.02s)
Computing version for https://github.com/Moya/Moya.git
Computed https://github.com/Moya/Moya.git at 10.0.2 (0.02s)
Updated https://github.com/ReactiveX/RxSwift.git (0.21s)
Updated https://github.com/Alamofire/Alamofire.git (0.21s)
Updated https://github.com/antitypical/Result.git (0.21s)
Computing version for https://github.com/devxoul/MoyaSugar.git
Computed https://github.com/devxoul/MoyaSugar.git at 1.1.0 (0.02s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 4.1.1 (0.02s)
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 macosSpm