The Swift Package Index logo.Swift Package Index

Build Information

Failed to build UIViewKit with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
Building package at path:  $workDir
https://github.com/Adobels/UIViewKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/24] Emitting module UIViewKit
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[4/27] Compiling UIViewKit UIViewDSL+NSLayoutConstraint.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[5/27] Compiling UIViewKit UIViewDSL+ResultBuilders.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[6/27] Compiling UIViewKit UIViewDSL.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[7/27] Compiling UIViewKit HorizontalStack.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[8/27] Compiling UIViewKit IBScrollView.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[9/27] Compiling UIViewKit VerticalStack.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[10/27] Compiling UIViewKit UIViewDSL+EngineConstraintsProtocol.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[11/27] Compiling UIViewKit UIViewDSL+InferredAttributesOwnerStrategy.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[12/27] Compiling UIViewKit UIViewDSL+Engine.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[13/27] Compiling UIViewKit UIViewDSL+IBAttributes.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[14/27] Compiling UIViewKit UIViewDSL+IBOutlet.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[15/27] Compiling UIViewKit UIViewDSL+IBSubviews.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[16/27] Compiling UIViewKit IBConstraints.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[17/27] Compiling UIViewKit IBDebug.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[18/27] Compiling UIViewKit IBMeasure.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[19/27] Compiling UIViewKit IBPreview+FreeFormView.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[20/27] Compiling UIViewKit IBPreview+FreeFormViewController.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[21/27] Compiling UIViewKit IBPreview+FullScreenView.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[22/27] Compiling UIViewKit UIStackView+Extensions.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[23/27] Compiling UIViewKit UIView+Extensions.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[24/27] Compiling UIViewKit UIViewController+Extensions.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[25/27] Compiling UIViewKit IBPreview+FullScreenViewController.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[26/27] Compiling UIViewKit IBPreview+SizeThatFitsView.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[27/27] 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...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/23] Compiling UIViewKit IBPreview+FullScreenViewController.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[3/23] Compiling UIViewKit IBPreview+SizeThatFitsView.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[4/23] Compiling UIViewKit IBPreview.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/23] Emitting module UIViewKit
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[6/26] Compiling UIViewKit UIViewDSL+IBAttributes.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[7/26] Compiling UIViewKit UIViewDSL+IBOutlet.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[8/26] Compiling UIViewKit UIViewDSL+IBSubviews.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[9/26] Compiling UIViewKit UIViewDSL+NSLayoutConstraint.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[10/26] Compiling UIViewKit UIViewDSL+ResultBuilders.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[11/26] Compiling UIViewKit UIViewDSL.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[12/26] Compiling UIViewKit IBPreview+FreeFormView.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[13/26] Compiling UIViewKit IBPreview+FreeFormViewController.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[14/26] Compiling UIViewKit IBPreview+FullScreenView.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[15/26] Compiling UIViewKit UIStackView+Extensions.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[16/26] Compiling UIViewKit UIView+Extensions.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[17/26] Compiling UIViewKit UIViewController+Extensions.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[18/26] Compiling UIViewKit UIViewDSL+EngineConstraintsProtocol.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[19/26] Compiling UIViewKit UIViewDSL+InferredAttributesOwnerStrategy.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[20/26] Compiling UIViewKit UIViewDSL+Engine.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[21/26] Compiling UIViewKit HorizontalStack.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[22/26] Compiling UIViewKit IBScrollView.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[23/26] Compiling UIViewKit VerticalStack.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[24/26] Compiling UIViewKit IBConstraints.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[25/26] Compiling UIViewKit IBDebug.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[26/26] Compiling UIViewKit IBMeasure.swift
/host/spi-builder-workspace/Sources/UIViewKit/IBConstraints/IBConstraints.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1