Build Information
Failed to build RxSwiftForms with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/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: master
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
* 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 '/host/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: 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-1":/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.13s)
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.53s)
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