The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Segmentio 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/Yalantis/Segmentio.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/Yalantis/Segmentio
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f12bae7 Merge pull request #143 from Yalantis/feature/new_options
Cloned https://github.com/Yalantis/Segmentio.git
Revision (git rev-parse @):
f12bae77afc7dbdc5d176cc01ab8f45eb3563e68
SUCCESS checkout https://github.com/Yalantis/Segmentio.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Yalantis/Segmentio.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/15] Compiling Segmentio SegmentioCellWithImageOverLabel.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[4/15] Compiling Segmentio SegmentioCellWithImageUnderLabel.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/16] Emitting module Segmentio
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[6/16] Compiling Segmentio SegmentioCellWithImageAfterLabel.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[7/16] Compiling Segmentio SegmentioCellWithImageBeforeLabel.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[8/16] Compiling Segmentio BadgeViewPresenter.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[9/16] Compiling Segmentio BadgeWithCounterView.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[10/16] Compiling Segmentio SegmentioCell.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[11/16] Compiling Segmentio SegmentioCellWithImage.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[12/16] Compiling Segmentio SegmentioOptions.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[13/16] Compiling Segmentio UIView+Appearance.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[14/16] Compiling Segmentio Segmentio.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[15/16] Compiling Segmentio SegmentioCellWithLabel.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[16/16] Compiling Segmentio RoundImageView.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9: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/14] Compiling Segmentio SegmentioCellWithImageOverLabel.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[3/14] Compiling Segmentio SegmentioCellWithImageUnderLabel.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[4/14] Compiling Segmentio SegmentioCellWithImageAfterLabel.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[5/14] Compiling Segmentio SegmentioCellWithImageBeforeLabel.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[6/15] Compiling Segmentio UIView+Appearance.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/15] Emitting module Segmentio
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[8/15] Compiling Segmentio BadgeViewPresenter.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[9/15] Compiling Segmentio BadgeWithCounterView.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[10/15] Compiling Segmentio SegmentioCell.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[11/15] Compiling Segmentio SegmentioCellWithImage.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[12/15] Compiling Segmentio SegmentioOptions.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[13/15] Compiling Segmentio SegmentioCellWithLabel.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[14/15] Compiling Segmentio RoundImageView.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[15/15] Compiling Segmentio Segmentio.swift
/host/spi-builder-workspace/Segmentio/Source/Badge/BadgeViewPresenter.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2