Build Information
Failed to build DStack with Swift 5.9 for Linux.
Build Command
docker run --rm -v "checkouts-4606859-1":/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.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/erusaevap/DStack.git
Reference: master
Cloned https://github.com/erusaevap/DStack.git into spi-builder-workspace
SUCCESS checkout https://github.com/erusaevap/DStack.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/4] Emitting module DSExtensions
/host/spi-builder-workspace/Sources/DSExtensions/UIStackView+DStack.swift:9:11: error: cannot find type 'UIStackView' in scope
extension UIStackView {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:9:11: error: cannot find type 'UIView' in scope
extension UIView {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:56:11: error: cannot find type 'UIView' in scope
extension UIView {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:121:11: error: cannot find type 'UIView' in scope
extension UIView {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:186:11: error: cannot find type 'UIView' in scope
extension UIView {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:219:11: error: cannot find type 'UIView' in scope
extension UIView {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:256:11: error: cannot find type 'UIView' in scope
extension UIView {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+Utils.swift:10:11: error: cannot find type 'UIView' in scope
extension UIView {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+Utils.swift:30:34: error: cannot find type 'UIView' in scope
extension Array where Element == UIView {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+Utils.swift:37:10: error: cannot find type 'UIStackView' in scope
) -> UIStackView {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+Utils.swift:33:15: error: cannot find type 'NSLayoutConstraint' in scope
axis: NSLayoutConstraint.Axis? = nil,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+Utils.swift:34:18: error: cannot find type 'CGFloat' in scope
spacing: CGFloat? = nil,
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+Utils.swift:35:20: error: cannot find type 'UIStackView' in scope
alignment: UIStackView.Alignment? = nil,
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+Utils.swift:36:23: error: cannot find type 'UIStackView' in scope
distribution: UIStackView.Distribution? = nil
^~~~~~~~~~~
[2/4] Compiling DSExtensions UIView+DStack.swift
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:9:11: error: cannot find type 'UIView' in scope
extension UIView {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:56:11: error: cannot find type 'UIView' in scope
extension UIView {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:121:11: error: cannot find type 'UIView' in scope
extension UIView {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:186:11: error: cannot find type 'UIView' in scope
extension UIView {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:219:11: error: cannot find type 'UIView' in scope
extension UIView {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:256:11: error: cannot find type 'UIView' in scope
extension UIView {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:12:30: error: cannot find type 'UIView' in scope
func setHeight(fromView: UIView? = nil) -> Self {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:21:29: error: cannot find type 'UIView' in scope
func setWidth(fromView: UIView? = nil) -> Self {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:30:28: error: cannot find type 'UIView' in scope
func setSize(fromView: UIView? = nil) -> Self {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:38:24: error: cannot find type 'CGSize' in scope
func setSize(size: CGSize) -> Self {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:43:25: error: cannot find type 'CGFloat' in scope
func setSize(width: CGFloat? = nil, height: CGFloat? = nil) -> Self {
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:43:49: error: cannot find type 'CGFloat' in scope
func setSize(width: CGFloat? = nil, height: CGFloat? = nil) -> Self {
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:59:40: error: cannot find type 'NSLayoutXAxisAnchor' in scope
func setLeftAnchor(equalTo anchor: NSLayoutXAxisAnchor, marge: CGFloat = 0) -> Self {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:59:68: error: cannot find type 'CGFloat' in scope
func setLeftAnchor(equalTo anchor: NSLayoutXAxisAnchor, marge: CGFloat = 0) -> Self {
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:65:41: error: cannot find type 'NSLayoutXAxisAnchor' in scope
func setRightAnchor(equalTo anchor: NSLayoutXAxisAnchor, marge: CGFloat = 0) -> Self {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:65:69: error: cannot find type 'CGFloat' in scope
func setRightAnchor(equalTo anchor: NSLayoutXAxisAnchor, marge: CGFloat = 0) -> Self {
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:71:39: error: cannot find type 'NSLayoutYAxisAnchor' in scope
func setTopAnchor(equalTo anchor: NSLayoutYAxisAnchor, marge: CGFloat = 0) -> Self {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:71:67: error: cannot find type 'CGFloat' in scope
func setTopAnchor(equalTo anchor: NSLayoutYAxisAnchor, marge: CGFloat = 0) -> Self {
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:77:42: error: cannot find type 'NSLayoutYAxisAnchor' in scope
func setBottomAnchor(equalTo anchor: NSLayoutYAxisAnchor, marge: CGFloat = 0) -> Self {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:77:70: error: cannot find type 'CGFloat' in scope
func setBottomAnchor(equalTo anchor: NSLayoutYAxisAnchor, marge: CGFloat = 0) -> Self {
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:83:42: error: cannot find type 'NSLayoutDimension' in scope
func setHeightAnchor(equalTo anchor: NSLayoutDimension, marge: CGFloat = 0) -> Self {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:83:68: error: cannot find type 'CGFloat' in scope
func setHeightAnchor(equalTo anchor: NSLayoutDimension, marge: CGFloat = 0) -> Self {
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:89:41: error: cannot find type 'NSLayoutDimension' in scope
func setWidthAnchor(equalTo anchor: NSLayoutDimension, marge: CGFloat = 0) -> Self {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:89:67: error: cannot find type 'CGFloat' in scope
func setWidthAnchor(equalTo anchor: NSLayoutDimension, marge: CGFloat = 0) -> Self {
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:96:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
equalTo anchor: NSLayoutXAxisAnchor,
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:97:16: error: cannot find type 'CGFloat' in scope
marge: CGFloat = 0,
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:98:19: error: cannot find type 'UILayoutPriority' in scope
priority: UILayoutPriority = .defaultHigh
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:108:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
equalTo anchor: NSLayoutXAxisAnchor,
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:109:16: error: cannot find type 'CGFloat' in scope
marge: CGFloat = 0,
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:110:19: error: cannot find type 'UILayoutPriority' in scope
priority: UILayoutPriority = .defaultHigh
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:124:53: error: cannot find type 'NSLayoutXAxisAnchor' in scope
func setLeftAnchor(greaterThanOrEqualTo anchor: NSLayoutXAxisAnchor, marge: CGFloat = 0) -> Self {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:124:81: error: cannot find type 'CGFloat' in scope
func setLeftAnchor(greaterThanOrEqualTo anchor: NSLayoutXAxisAnchor, marge: CGFloat = 0) -> Self {
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:130:54: error: cannot find type 'NSLayoutXAxisAnchor' in scope
func setRightAnchor(greaterThanOrEqualTo anchor: NSLayoutXAxisAnchor, marge: CGFloat = 0) -> Self {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:130:82: error: cannot find type 'CGFloat' in scope
func setRightAnchor(greaterThanOrEqualTo anchor: NSLayoutXAxisAnchor, marge: CGFloat = 0) -> Self {
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:136:52: error: cannot find type 'NSLayoutYAxisAnchor' in scope
func setTopAnchor(greaterThanOrEqualTo anchor: NSLayoutYAxisAnchor, marge: CGFloat = 0) -> Self {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:136:80: error: cannot find type 'CGFloat' in scope
func setTopAnchor(greaterThanOrEqualTo anchor: NSLayoutYAxisAnchor, marge: CGFloat = 0) -> Self {
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:142:55: error: cannot find type 'NSLayoutYAxisAnchor' in scope
func setBottomAnchor(greaterThanOrEqualTo anchor: NSLayoutYAxisAnchor, marge: CGFloat = 0) -> Self {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:142:83: error: cannot find type 'CGFloat' in scope
func setBottomAnchor(greaterThanOrEqualTo anchor: NSLayoutYAxisAnchor, marge: CGFloat = 0) -> Self {
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:148:55: error: cannot find type 'NSLayoutDimension' in scope
func setHeightAnchor(greaterThanOrEqualTo anchor: NSLayoutDimension, marge: CGFloat = 0) -> Self {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:148:81: error: cannot find type 'CGFloat' in scope
func setHeightAnchor(greaterThanOrEqualTo anchor: NSLayoutDimension, marge: CGFloat = 0) -> Self {
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:154:54: error: cannot find type 'NSLayoutDimension' in scope
func setWidthAnchor(greaterThanOrEqualTo anchor: NSLayoutDimension, marge: CGFloat = 0) -> Self {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:154:80: error: cannot find type 'CGFloat' in scope
func setWidthAnchor(greaterThanOrEqualTo anchor: NSLayoutDimension, marge: CGFloat = 0) -> Self {
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:161:38: error: cannot find type 'NSLayoutXAxisAnchor' in scope
greaterThanOrEqualTo anchor: NSLayoutXAxisAnchor,
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:162:16: error: cannot find type 'CGFloat' in scope
marge: CGFloat = 0,
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:163:19: error: cannot find type 'UILayoutPriority' in scope
priority: UILayoutPriority = .defaultHigh
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:173:38: error: cannot find type 'NSLayoutXAxisAnchor' in scope
greaterThanOrEqualTo anchor: NSLayoutXAxisAnchor,
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:174:16: error: cannot find type 'CGFloat' in scope
marge: CGFloat = 0,
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:175:19: error: cannot find type 'UILayoutPriority' in scope
priority: UILayoutPriority = .defaultHigh
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:189:31: error: cannot find type 'UIViewController' in scope
func fill(viewController: UIViewController, marge: CGFloat = 0) -> Self {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:189:56: error: cannot find type 'CGFloat' in scope
func fill(viewController: UIViewController, marge: CGFloat = 0) -> Self {
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:197:25: error: cannot find type 'UIView' in scope
func fill(fromView: UIView? = nil, marge: CGFloat = 0) -> Self {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:197:47: error: cannot find type 'CGFloat' in scope
func fill(fromView: UIView? = nil, marge: CGFloat = 0) -> Self {
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:207:25: error: cannot find type 'UIView' in scope
func fill(fromView: UIView? = nil, inset: UIEdgeInsets) -> Self {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:207:47: error: cannot find type 'UIEdgeInsets' in scope
func fill(fromView: UIView? = nil, inset: UIEdgeInsets) -> Self {
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:222:36: error: cannot find type 'UIView' in scope
func setTopAlignment(fromView: UIView? = nil, marge: CGFloat = 0) -> Self {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:222:58: error: cannot find type 'CGFloat' in scope
func setTopAlignment(fromView: UIView? = nil, marge: CGFloat = 0) -> Self {
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:230:39: error: cannot find type 'UIView' in scope
func setBottomAlignment(fromView: UIView? = nil, marge: CGFloat = 0) -> Self {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:230:61: error: cannot find type 'CGFloat' in scope
func setBottomAlignment(fromView: UIView? = nil, marge: CGFloat = 0) -> Self {
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:238:37: error: cannot find type 'UIView' in scope
func setLeftAlignment(fromView: UIView? = nil, marge: CGFloat = 0) -> Self {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:238:59: error: cannot find type 'CGFloat' in scope
func setLeftAlignment(fromView: UIView? = nil, marge: CGFloat = 0) -> Self {
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:246:38: error: cannot find type 'UIView' in scope
func setRightAlignment(fromView: UIView? = nil, marge: CGFloat = 0) -> Self {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:246:60: error: cannot find type 'CGFloat' in scope
func setRightAlignment(fromView: UIView? = nil, marge: CGFloat = 0) -> Self {
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:259:31: error: cannot find type 'UIView' in scope
func setCenterX(fromView: UIView? = nil) -> Self {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:268:31: error: cannot find type 'UIView' in scope
func setCenterY(fromView: UIView? = nil) -> Self {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+DStack.swift:277:30: error: cannot find type 'UIView' in scope
func setCenter(fromView: UIView? = nil) -> Self {
^~~~~~
[3/4] Compiling DSExtensions UIView+Utils.swift
/host/spi-builder-workspace/Sources/DSExtensions/UIView+Utils.swift:10:11: error: cannot find type 'UIView' in scope
extension UIView {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+Utils.swift:30:34: error: cannot find type 'UIView' in scope
extension Array where Element == UIView {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+Utils.swift:37:10: error: cannot find type 'UIStackView' in scope
) -> UIStackView {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+Utils.swift:33:15: error: cannot find type 'NSLayoutConstraint' in scope
axis: NSLayoutConstraint.Axis? = nil,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+Utils.swift:34:18: error: cannot find type 'CGFloat' in scope
spacing: CGFloat? = nil,
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+Utils.swift:35:20: error: cannot find type 'UIStackView' in scope
alignment: UIStackView.Alignment? = nil,
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+Utils.swift:36:23: error: cannot find type 'UIStackView' in scope
distribution: UIStackView.Distribution? = nil
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+Utils.swift:12:24: error: cannot find type 'UIView' in scope
func add(subviews: UIView...) {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+Utils.swift:16:25: error: cannot find type 'UIView' in scope
func add(subviews: [UIView?]) {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIView+Utils.swift:21:35: error: cannot find type 'UIView' in scope
func add(inRootView rootView: UIView) -> Self {
^~~~~~
[4/4] Compiling DSExtensions UIStackView+DStack.swift
/host/spi-builder-workspace/Sources/DSExtensions/UIStackView+DStack.swift:9:11: error: cannot find type 'UIStackView' in scope
extension UIStackView {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIStackView+DStack.swift:12:41: error: cannot find type 'UIView' in scope
func add(arrangedSubviews subviews: UIView...) -> Self {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIStackView+DStack.swift:18:42: error: cannot find type 'UIView' in scope
func add(arrangedSubviews subviews: [UIView?]) -> Self {
^~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIStackView+DStack.swift:25:15: error: cannot find type 'NSLayoutConstraint' in scope
axis: NSLayoutConstraint.Axis? = nil,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIStackView+DStack.swift:26:18: error: cannot find type 'CGFloat' in scope
spacing: CGFloat? = nil,
^~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIStackView+DStack.swift:27:20: error: cannot find type 'UIStackView' in scope
alignment: UIStackView.Alignment? = nil,
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSExtensions/UIStackView+DStack.swift:28:23: error: cannot find type 'UIStackView' in scope
distribution: UIStackView.Distribution? = nil
^~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux
Build Machine: Linux 1