Build Information
Failed to build Mentalist 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 --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.41.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/enebin/Mentalist.git
Reference: 0.1.1
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/enebin/Mentalist
* tag 0.1.1 -> FETCH_HEAD
HEAD is now at a6abeab Fix model creation logic
Cloned https://github.com/enebin/Mentalist.git
Revision (git rev-parse @):
a6abeabb42fef1db335d2f8979ccd041b4d58189
SUCCESS checkout https://github.com/enebin/Mentalist.git at 0.1.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/enebin/Mentalist.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 --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
[0/4] Write sources
[0/4] Copying Manifest.json
[2/4] Copying model.mlmodel
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/12] Compiling Mentalist MentalistCore.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[6/12] Compiling Mentalist EmotionAnalysis.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[7/12] Compiling Mentalist Emotion.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[8/13] Compiling Mentalist resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/13] Compiling Mentalist UIView + Extension.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[10/13] Compiling Mentalist Mentalist.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[11/13] Compiling Mentalist View + Extentsion.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[12/13] Emitting module Mentalist
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[13/13] Compiling Mentalist FaceImageTool.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.10 linux