Build Information
Failed to build UIViewPreview with Swift 5.9 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bielikb/UIViewPreview.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/bielikb/UIViewPreview
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at c539cf2 badges
Cloned https://github.com/bielikb/UIViewPreview.git
Revision (git rev-parse @):
c539cf207b76c2903260e2c38afd7df01d64ac66
SUCCESS checkout https://github.com/bielikb/UIViewPreview.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "uiviewpreview",
"name": "UIViewPreview",
"url": "https://github.com/bielikb/UIViewPreview.git",
"version": "unspecified",
"path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/UIViewPreview",
"dependencies": [
]
}
]
}
Fetching https://github.com/bielikb/UIViewPreview.git
[1/49] Fetching uiviewpreview
Fetched https://github.com/bielikb/UIViewPreview.git (0.37s)
Creating working copy for https://github.com/bielikb/UIViewPreview.git
Working copy of https://github.com/bielikb/UIViewPreview.git resolved at master
warning: '.resolve-product-dependencies': dependency 'uiviewpreview' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module UIViewPreview
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:4:39: error: cannot find type 'UIView' in scope
public struct UIViewPreview<View: UIView>: UIViewRepresentable {
^~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:10:53: error: cannot find type 'UIView' in scope
public func makeUIView(context: Context) -> UIView {
^~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:10:41: error: cannot find type 'Context' in scope
public func makeUIView(context: Context) -> UIView {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:13:42: error: cannot find type 'UIView' in scope
public func updateUIView(_ view: UIView, context: Context) {
^~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:13:59: error: cannot find type 'Context' in scope
public func updateUIView(_ view: UIView, context: Context) {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:4:48: error: cannot find type 'UIViewRepresentable' in scope
public struct UIViewPreview<View: UIView>: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:19:59: error: cannot find type 'UIViewController' in scope
public struct UIViewControllerPreview<ViewController: UIViewController>: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:27:51: error: cannot find type 'Context' in scope
public func makeUIViewController(context: Context) -> ViewController {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:34:89: error: cannot find type 'UIViewControllerRepresentableContext' in scope
public func updateUIViewController(_ uiViewController: ViewController, context: UIViewControllerRepresentableContext<UIViewControllerPreview<ViewController>>) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:19:78: error: cannot find type 'UIViewControllerRepresentable' in scope
public struct UIViewControllerPreview<ViewController: UIViewController>: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2/2] Compiling UIViewPreview UIViewPreview.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:4:39: error: cannot find type 'UIView' in scope
public struct UIViewPreview<View: UIView>: UIViewRepresentable {
^~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:10:53: error: cannot find type 'UIView' in scope
public func makeUIView(context: Context) -> UIView {
^~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:10:41: error: cannot find type 'Context' in scope
public func makeUIView(context: Context) -> UIView {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:13:42: error: cannot find type 'UIView' in scope
public func updateUIView(_ view: UIView, context: Context) {
^~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:13:59: error: cannot find type 'Context' in scope
public func updateUIView(_ view: UIView, context: Context) {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:4:48: error: cannot find type 'UIViewRepresentable' in scope
public struct UIViewPreview<View: UIView>: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:19:59: error: cannot find type 'UIViewController' in scope
public struct UIViewControllerPreview<ViewController: UIViewController>: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:27:51: error: cannot find type 'Context' in scope
public func makeUIViewController(context: Context) -> ViewController {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:34:89: error: cannot find type 'UIViewControllerRepresentableContext' in scope
public func updateUIViewController(_ uiViewController: ViewController, context: UIViewControllerRepresentableContext<UIViewControllerPreview<ViewController>>) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:19:78: error: cannot find type 'UIViewControllerRepresentable' in scope
public struct UIViewControllerPreview<ViewController: UIViewController>: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:14:45: error: cannot infer contextual base in reference to member 'defaultHigh'
view.setContentHuggingPriority(.defaultHigh, for: .horizontal)
~^~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:14:64: error: cannot infer contextual base in reference to member 'horizontal'
view.setContentHuggingPriority(.defaultHigh, for: .horizontal)
~^~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:15:45: error: cannot infer contextual base in reference to member 'defaultHigh'
view.setContentHuggingPriority(.defaultHigh, for: .vertical)
~^~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:15:64: error: cannot infer contextual base in reference to member 'vertical'
view.setContentHuggingPriority(.defaultHigh, for: .vertical)
~^~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module UIViewPreview
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:4:39: error: cannot find type 'UIView' in scope
public struct UIViewPreview<View: UIView>: UIViewRepresentable {
^~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:10:53: error: cannot find type 'UIView' in scope
public func makeUIView(context: Context) -> UIView {
^~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:10:41: error: cannot find type 'Context' in scope
public func makeUIView(context: Context) -> UIView {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:13:42: error: cannot find type 'UIView' in scope
public func updateUIView(_ view: UIView, context: Context) {
^~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:13:59: error: cannot find type 'Context' in scope
public func updateUIView(_ view: UIView, context: Context) {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:4:48: error: cannot find type 'UIViewRepresentable' in scope
public struct UIViewPreview<View: UIView>: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:19:59: error: cannot find type 'UIViewController' in scope
public struct UIViewControllerPreview<ViewController: UIViewController>: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:27:51: error: cannot find type 'Context' in scope
public func makeUIViewController(context: Context) -> ViewController {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:34:89: error: cannot find type 'UIViewControllerRepresentableContext' in scope
public func updateUIViewController(_ uiViewController: ViewController, context: UIViewControllerRepresentableContext<UIViewControllerPreview<ViewController>>) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:19:78: error: cannot find type 'UIViewControllerRepresentable' in scope
public struct UIViewControllerPreview<ViewController: UIViewController>: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2/2] Compiling UIViewPreview UIViewPreview.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:4:39: error: cannot find type 'UIView' in scope
public struct UIViewPreview<View: UIView>: UIViewRepresentable {
^~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:10:53: error: cannot find type 'UIView' in scope
public func makeUIView(context: Context) -> UIView {
^~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:10:41: error: cannot find type 'Context' in scope
public func makeUIView(context: Context) -> UIView {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:13:42: error: cannot find type 'UIView' in scope
public func updateUIView(_ view: UIView, context: Context) {
^~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:13:59: error: cannot find type 'Context' in scope
public func updateUIView(_ view: UIView, context: Context) {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:4:48: error: cannot find type 'UIViewRepresentable' in scope
public struct UIViewPreview<View: UIView>: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:19:59: error: cannot find type 'UIViewController' in scope
public struct UIViewControllerPreview<ViewController: UIViewController>: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:27:51: error: cannot find type 'Context' in scope
public func makeUIViewController(context: Context) -> ViewController {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:34:89: error: cannot find type 'UIViewControllerRepresentableContext' in scope
public func updateUIViewController(_ uiViewController: ViewController, context: UIViewControllerRepresentableContext<UIViewControllerPreview<ViewController>>) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:19:78: error: cannot find type 'UIViewControllerRepresentable' in scope
public struct UIViewControllerPreview<ViewController: UIViewController>: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:14:45: error: cannot infer contextual base in reference to member 'defaultHigh'
view.setContentHuggingPriority(.defaultHigh, for: .horizontal)
~^~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:14:64: error: cannot infer contextual base in reference to member 'horizontal'
view.setContentHuggingPriority(.defaultHigh, for: .horizontal)
~^~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:15:45: error: cannot infer contextual base in reference to member 'defaultHigh'
view.setContentHuggingPriority(.defaultHigh, for: .vertical)
~^~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewPreview/UIViewPreview.swift:15:64: error: cannot infer contextual base in reference to member 'vertical'
view.setContentHuggingPriority(.defaultHigh, for: .vertical)
~^~~~~~~~
error: fatalError
BUILD FAILURE 5.9 macosSpm