Build Information
Failed to build RxSwiftForms with Swift 5.9 for Linux.
Build Command
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hmlongco/RxSwiftForms.git
Reference: 0.9.8
Cloned https://github.com/hmlongco/RxSwiftForms.git into spi-builder-workspace
SUCCESS checkout https://github.com/hmlongco/RxSwiftForms.git at 0.9.8
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/ReactiveX/RxSwift.git
[1/50734] Fetching rxswift
Fetched https://github.com/ReactiveX/RxSwift.git (2.55s)
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.0.0 (1.68s)
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
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': /host/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
return array.flatMap { $0 }
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Package.swift:9:16: note: use 'compactMap(_:)' instead
return array.flatMap { $0 }
^~~~~~~
compactMap
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 5.9 linux
Build Machine: Linux 2