The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Styleable with Swift 5.7 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/radu-costea/Styleable.git
Reference: 1.0.28
Cloned https://github.com/radu-costea/Styleable.git into spi-builder-workspace
SUCCESS checkout https://github.com/radu-costea/Styleable.git at 1.0.28
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Building for debugging...
[1/17] Compiling Styleable Style.swift
/host/spi-builder-workspace/Sources/Styleable/Layout/LayoutGuide.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[2/17] Compiling Styleable Styleable.swift
/host/spi-builder-workspace/Sources/Styleable/Layout/LayoutGuide.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[3/17] Compiling Styleable VStackView.swift
/host/spi-builder-workspace/Sources/Styleable/Layout/LayoutGuide.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[4/17] Compiling Styleable ZStackView.swift
/host/spi-builder-workspace/Sources/Styleable/Layout/LayoutGuide.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[5/19] Compiling Styleable StyleableControl.swift
/host/spi-builder-workspace/Sources/Styleable/Layout/LayoutGuide.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[6/19] Compiling Styleable StyleableView.swift
/host/spi-builder-workspace/Sources/Styleable/Layout/LayoutGuide.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[7/19] Compiling Styleable UIControl+Additions.swift
/host/spi-builder-workspace/Sources/Styleable/Layout/LayoutGuide.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[8/19] Compiling Styleable UIEdgeInsets+Additions.swift
/host/spi-builder-workspace/Sources/Styleable/Layout/LayoutGuide.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[9/19] Compiling Styleable VScrollView.swift
/host/spi-builder-workspace/Sources/Styleable/Layout/LayoutGuide.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[10/19] Compiling Styleable HStackView.swift
/host/spi-builder-workspace/Sources/Styleable/Layout/LayoutGuide.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)[11/19] Compiling Styleable ArrayBuilder.swift
/host/spi-builder-workspace/Sources/Styleable/Layout/LayoutGuide.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[12/19] Compiling Styleable LayoutGuide.swift
/host/spi-builder-workspace/Sources/Styleable/Layout/LayoutGuide.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[13/19] Compiling Styleable NSLayoutConstraint+DSL.swift
/host/spi-builder-workspace/Sources/Styleable/Layout/LayoutGuide.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[14/19] Emitting module Styleable
/host/spi-builder-workspace/Sources/Styleable/Layout/LayoutGuide.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[15/19] Compiling Styleable Padding.swift
/host/spi-builder-workspace/Sources/Styleable/Layout/LayoutGuide.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[16/19] Compiling Styleable UIView+Layout.swift
/host/spi-builder-workspace/Sources/Styleable/Layout/LayoutGuide.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[17/19] Compiling Styleable HScrollView.swift
/host/spi-builder-workspace/Sources/Styleable/Layout/LayoutGuide.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[18/19] Compiling Styleable UIView+Styleable.swift
/host/spi-builder-workspace/Sources/Styleable/Layout/LayoutGuide.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[19/19] Compiling Styleable UIVisualEffectsView+DSL.swift
/host/spi-builder-workspace/Sources/Styleable/Layout/LayoutGuide.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
BUILD FAILURE 5.7 linux

Build Machine: Linux 2