The Swift Package Index logo.Swift Package Index

Build Information

Failed to build UIViewKit with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.38.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Adobels/UIViewKit.git
Reference: main
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/Adobels/UIViewKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fa2c563 Add swift-create-sign-upload-xcframework GitHub Action workflow (#11)
Cloned https://github.com/Adobels/UIViewKit.git
Revision (git rev-parse @):
fa2c563c4a93859ab92a594217333e780ff66ad8
SUCCESS checkout https://github.com/Adobels/UIViewKit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/Adobels/UIViewKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/22] Emitting module UIViewKit
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[2/25] Compiling UIViewKit UIViewDSL+NSLayoutConstraint.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[3/25] Compiling UIViewKit UIViewDSL+ResultBuilders.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[4/25] Compiling UIViewKit UIViewDSL.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[5/25] Compiling UIViewKit HorizontalStack.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[6/25] Compiling UIViewKit IBScrollView.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[7/25] Compiling UIViewKit VerticalStack.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[8/25] Compiling UIViewKit UIStackView+Extensions.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[9/25] Compiling UIViewKit UIView+Extensions.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[10/25] Compiling UIViewKit UIViewController+Extensions.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[11/25] Compiling UIViewKit UIViewDSL+EngineConstraintsProtocol.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[12/25] Compiling UIViewKit UIViewDSL+InferredAttributesOwnerStrategy.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[13/25] Compiling UIViewKit UIViewDSL+Engine.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[14/25] Compiling UIViewKit UIViewDSL+IBAttributes.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[15/25] Compiling UIViewKit UIViewDSL+IBOutlet.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[16/25] Compiling UIViewKit UIViewDSL+IBSubviews.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[17/25] Compiling UIViewKit IBPreview+FreeFormView.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[18/25] Compiling UIViewKit IBPreview+FreeFormViewController.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[19/25] Compiling UIViewKit IBPreview+FullScreenView.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[20/25] Compiling UIViewKit IBConstraints.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[21/25] Compiling UIViewKit IBDebug.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[22/25] Compiling UIViewKit IBMeasure.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[23/25] Compiling UIViewKit IBPreview+FullScreenViewController.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[24/25] Compiling UIViewKit IBPreview+SizeThatFitsView.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[25/25] Compiling UIViewKit IBPreview.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/22] Emitting module UIViewKit
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[2/25] Compiling UIViewKit UIViewDSL+IBAttributes.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[3/25] Compiling UIViewKit UIViewDSL+IBOutlet.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[4/25] Compiling UIViewKit UIViewDSL+IBSubviews.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[5/25] Compiling UIViewKit IBPreview+FreeFormView.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[6/25] Compiling UIViewKit IBPreview+FreeFormViewController.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[7/25] Compiling UIViewKit IBPreview+FullScreenView.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[8/25] Compiling UIViewKit UIViewDSL+EngineConstraintsProtocol.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[9/25] Compiling UIViewKit UIViewDSL+InferredAttributesOwnerStrategy.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[10/25] Compiling UIViewKit UIViewDSL+Engine.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[11/25] Compiling UIViewKit IBConstraints.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[12/25] Compiling UIViewKit IBDebug.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[13/25] Compiling UIViewKit IBMeasure.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[14/25] Compiling UIViewKit HorizontalStack.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[15/25] Compiling UIViewKit IBScrollView.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[16/25] Compiling UIViewKit VerticalStack.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[17/25] Compiling UIViewKit UIViewDSL+NSLayoutConstraint.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[18/25] Compiling UIViewKit UIViewDSL+ResultBuilders.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[19/25] Compiling UIViewKit UIViewDSL.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[20/25] Compiling UIViewKit UIStackView+Extensions.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[21/25] Compiling UIViewKit UIView+Extensions.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[22/25] Compiling UIViewKit UIViewController+Extensions.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[23/25] Compiling UIViewKit IBPreview+FullScreenViewController.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[24/25] Compiling UIViewKit IBPreview+SizeThatFitsView.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[25/25] Compiling UIViewKit IBPreview.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2