Build Information
Failed to build Pin with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.28.7
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mezhevikin/Pin.git
Reference: main
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/mezhevikin/Pin
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 33b3d36 Fix mistake in README
Cloned https://github.com/mezhevikin/Pin.git
Revision (git rev-parse @):
33b3d364c344f2dbb712f02198cb54561b77d554
SUCCESS checkout https://github.com/mezhevikin/Pin.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "pin",
"name": "Pin",
"url": "https://github.com/mezhevikin/Pin.git",
"version": "unspecified",
"path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Pin",
"dependencies": [
]
}
]
}
Fetching https://github.com/mezhevikin/Pin.git from cache
Fetched https://github.com/mezhevikin/Pin.git (0.17s)
Creating working copy for https://github.com/mezhevikin/Pin.git
Working copy of https://github.com/mezhevikin/Pin.git resolved at main
warning: '.resolve-product-dependencies': dependency 'pin' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
https://github.com/mezhevikin/Pin.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.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 Pin
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Pin/Pin.swift:3:8: error: no such module 'UIKit'
import UIKit
^
[2/2] Compiling Pin Pin.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Pin/Pin.swift:3:8: error: no such module 'UIKit'
import UIKit
^
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 Pin
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Pin/Pin.swift:3:8: error: no such module 'UIKit'
import UIKit
^
[2/2] Compiling Pin Pin.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Pin/Pin.swift:3:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.9 macosSpm