Build Information
Failed to build Mentalist with Swift 5.8 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
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 /Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 5.8
Building package at path: $workDir
https://github.com/enebin/Mentalist.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Copying Manifest.json
[1/2] Copying model.mlmodel
[3/10] Compiling Mentalist EmotionAnalysis.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[4/10] Compiling Mentalist Emotion.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[5/11] Compiling Mentalist resource_bundle_accessor.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
[6/11] Emitting module Mentalist
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[7/11] Compiling Mentalist FaceImageTool.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[8/11] Compiling Mentalist Mentalist.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[9/11] Compiling Mentalist MentalistCore.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[10/11] Compiling Mentalist UIView + Extension.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[11/11] Compiling Mentalist View + Extentsion.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
BUILD FAILURE 5.8 macosSpm