Build Information
Failed to build RxSwiftForms with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Beta.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.43.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hmlongco/RxSwiftForms.git
Reference: 0.9.8
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
warning: templates not found in /usr/share/git-core/templates
From https://github.com/hmlongco/RxSwiftForms
* tag 0.9.8 -> FETCH_HEAD
HEAD is now at 51a7f64 Update podspec to 0.9.8
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'...
warning: templates not found in /usr/share/git-core/templates
Cloned https://github.com/hmlongco/RxSwiftForms.git
Revision (git rev-parse @):
51a7f647f025e32f202861ffdb6c79d4309748cb
SUCCESS checkout https://github.com/hmlongco/RxSwiftForms.git at 0.9.8
========================================
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-16.0.0-Beta.app xcrun 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 (4.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
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.68s)
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