Build Information
Failed to build Shuttle with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/autobahnswift/shuttle.git
Reference: master
Initialized empty Git repository in /Users/admin/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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/autobahnswift/shuttle.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/devxoul/Immutable.git
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/Moya/Moya.git
Fetching https://github.com/devxoul/MoyaSugar.git
[1/544] Fetching moyasugar
[40/704] Fetching moyasugar, immutable
[84/1822] Fetching moyasugar, immutable, rainbow
[1443/27023] Fetching moyasugar, immutable, rainbow, moya
[1824/55803] Fetching moyasugar, immutable, rainbow, moya, alamofire
[1825/108241] Fetching moyasugar, immutable, rainbow, moya, alamofire, reactiveswift
[6637/159657] Fetching moyasugar, immutable, rainbow, moya, alamofire, reactiveswift, rxswift
Fetched https://github.com/ReactiveX/RxSwift.git from cache (26.21s)
Fetching https://github.com/devxoul/Then.git
Fetched https://github.com/Alamofire/Alamofire.git from cache (26.21s)
Fetching https://github.com/antitypical/Result.git
Fetched https://github.com/ReactiveCocoa/ReactiveSwift.git from cache (26.21s)
Fetched https://github.com/devxoul/MoyaSugar.git from cache (26.21s)
Fetched https://github.com/Moya/Moya.git from cache (26.21s)
Fetched https://github.com/devxoul/Immutable.git from cache (26.21s)
Fetched https://github.com/onevcat/Rainbow from cache (26.21s)
Computing version for https://github.com/onevcat/Rainbow
[1/2533] Fetching result
[103/3326] Fetching result, then
Computed https://github.com/onevcat/Rainbow at 3.1.1 (0.70s)
Computing version for https://github.com/Moya/Moya.git
Fetched https://github.com/devxoul/Then.git from cache (0.81s)
[558/2533] Fetching result
Fetched https://github.com/antitypical/Result.git from cache (1.00s)
Computed https://github.com/Moya/Moya.git at 10.0.2 (0.66s)
Computing version for https://github.com/devxoul/MoyaSugar.git
Computed https://github.com/devxoul/MoyaSugar.git at 1.1.0 (0.66s)
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
7 |
8 | func filterNil<T>(_ array: [T?]) -> [T] {
9 | return array.flatMap { $0 }
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
10 | }
11 |
Computed https://github.com/ReactiveX/RxSwift.git at 4.1.1 (0.69s)
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: 6.0' to specify the current tools version
BUILD FAILURE 6.0 macosSpm