Build Information
Failed to build RxSwiftForms 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/hmlongco/RxSwiftForms.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hmlongco/RxSwiftForms
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 1016177 Remove import for XC 9.4
Submodule path 'RxSwift': checked out 'e5093a1273bd106262a8fe0e6a614dba9a293bc3'
Submodule 'RxSwift' (https://github.com/ReactiveX/RxSwift.git) registered for path 'RxSwift'
Cloning into '/Users/admin/builder/spi-builder-workspace/RxSwift'...
Cloned https://github.com/hmlongco/RxSwiftForms.git
Revision (git rev-parse @):
101617722c004d66283063d31e5e8cd30a4abce9
SUCCESS checkout https://github.com/hmlongco/RxSwiftForms.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/hmlongco/RxSwiftForms.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
[1/51416] Fetching rxswift
Fetched https://github.com/ReactiveX/RxSwift.git from cache (20.11s)
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.0.0 (0.72s)
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 4.0.0
warning: 'rxswift': /Users/admin/builder/spi-builder-workspace/.build/checkouts/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 |
error: 'spi-builder-workspace': Source files for target RxSwiftFormsTests should be located under 'Tests/RxSwiftFormsTests', or a custom sources path can be set with the 'path' property in Package.swift
BUILD FAILURE 6.0 macosSpm