The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ScreenshotableView with Swift 5.7 for macOS (SPM).

Build Command

env DEVELOPER_DIR="/Applications/Xcode-14.2.0.app" xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rushairer/ScreenshotableView.git
Reference: v0.2.0
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/rushairer/ScreenshotableView
 * tag               v0.2.0     -> FETCH_HEAD
HEAD is now at 6b02a8d [Fixed]Fix bugs
Cloned https://github.com/rushairer/ScreenshotableView.git into spi-builder-workspace
6b02a8d5ec73ccbd05b0be76d1c24f7b87c891a5
SUCCESS checkout https://github.com/rushairer/ScreenshotableView.git at v0.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-14.2.0.app" xcrun swift build --arch arm64
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git from cache
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git (0.71s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.8.1 (0.02s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.8.1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/3] Emitting module ScreenshotableView
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[2/3] Compiling ScreenshotableView ScreenshotableView.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[3/3] Compiling ScreenshotableView View+Snapshot.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
ShellOut encountered an error
Status code: 1
Message: "Fetching https://github.com/pointfreeco/swift-snapshot-testing.git from cache
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git (0.71s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.8.1 (0.02s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.8.1"
Output: "Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)[1/3] Emitting module ScreenshotableView
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[2/3] Compiling ScreenshotableView ScreenshotableView.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[3/3] Compiling ScreenshotableView View+Snapshot.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^"
Retrying in 0.0 seconds ...
Building ... (attempt 2)
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)[1/3] Emitting module ScreenshotableView
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[2/3] Compiling ScreenshotableView ScreenshotableView.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[3/3] Compiling ScreenshotableView View+Snapshot.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
ShellOut encountered an error
Status code: 1
Message: ""
Output: "[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)[1/3] Emitting module ScreenshotableView
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[2/3] Compiling ScreenshotableView ScreenshotableView.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[3/3] Compiling ScreenshotableView View+Snapshot.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^"
BUILD FAILURE 5.7 macosSpm

Build Machine: Mac 5