Build Information
Failed to build RxSwiftForms with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hmlongco/RxSwiftForms.git
Reference: 0.9.8
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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 '/host/spi-builder-workspace/RxSwift'...
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: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/hmlongco/RxSwiftForms.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/ReactiveX/RxSwift.git
[1/51014] Fetching rxswift
Fetched https://github.com/ReactiveX/RxSwift.git from cache (2.62s)
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 (0.49s)
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
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.10 linux