Build Information
Failed to build Mentalist with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-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: 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/enebin/Mentalist
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $workDir
https://github.com/enebin/Mentalist.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
[0/2] Copying Manifest.json
[1/2] Copying model.mlmodel
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/10] Emitting module Mentalist
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[4/11] 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
^
[5/11] Compiling Mentalist Emotion.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[6/11] Compiling Mentalist EmotionAnalysis.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[7/11] Compiling Mentalist Mentalist.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[8/11] Compiling Mentalist MentalistCore.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[9/11] 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/11] Compiling Mentalist View + Extentsion.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[11/11] Compiling Mentalist FaceImageTool.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
BUILD FAILURE 5.8 linux