Build Information
Failed to build Mentalist with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.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: 0.1.1
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "mentalist",
"name": "Mentalist",
"url": "https://github.com/enebin/Mentalist.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Mentalist",
"dependencies": [
]
}
]
}
Fetching https://github.com/enebin/Mentalist.git from cache
Fetched https://github.com/enebin/Mentalist.git from cache (0.15s)
Creating working copy for https://github.com/enebin/Mentalist.git
Working copy of https://github.com/enebin/Mentalist.git resolved at 0.1.1 (a6abeab)
warning: '.resolve-product-dependencies': dependency 'mentalist' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/enebin/Mentalist.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[0/4] Copying Manifest.json
[2/4] Copying model.mlmodel
[3/4] Write swift-version-33747A42983211AE.txt
[5/12] Compiling Mentalist EmotionAnalysis.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[6/12] Compiling Mentalist Emotion.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[7/13] Compiling Mentalist resource_bundle_accessor.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[8/13] Compiling Mentalist MentalistCore.swift
/Users/builder/builds/TDmZkXJm/1/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)
[9/13] Emitting module Mentalist
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[10/13] Compiling Mentalist UIView + Extension.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/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
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[12/13] Compiling Mentalist FaceImageTool.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[13/13] Compiling Mentalist Mentalist.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.10 macosSpm