Build Information
Failed to build PrettyCards with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.38.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/simla-tech/PrettyCards.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/simla-tech/PrettyCards
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 0cf8e2f Update sources path
Cloned https://github.com/simla-tech/PrettyCards.git
Revision (git rev-parse @):
0cf8e2f1ac96ac5b95adc9c44a7e8960161ee1fc
SUCCESS checkout https://github.com/simla-tech/PrettyCards.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "prettycards",
"name": "PrettyCards",
"url": "https://github.com/simla-tech/PrettyCards.git",
"version": "unspecified",
"path": "/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PrettyCards",
"dependencies": [
]
}
]
}
Fetching https://github.com/simla-tech/PrettyCards.git from cache
Fetched https://github.com/simla-tech/PrettyCards.git from cache (0.27s)
warning: /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/repositories/PrettyCards-ff45801e is not valid git repository for 'https://github.com/simla-tech/PrettyCards.git', will fetch again.
Fetching https://github.com/simla-tech/PrettyCards.git from cache
Fetched https://github.com/simla-tech/PrettyCards.git from cache (0.02s)
warning: /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/repositories/PrettyCards-ff45801e is not valid git repository for 'https://github.com/simla-tech/PrettyCards.git', will fetch again.
Fetching https://github.com/simla-tech/PrettyCards.git from cache
Fetched https://github.com/simla-tech/PrettyCards.git from cache (0.02s)
Creating working copy for https://github.com/simla-tech/PrettyCards.git
Working copy of https://github.com/simla-tech/PrettyCards.git resolved at master (0cf8e2f)
warning: '.resolve-product-dependencies': dependency 'prettycards' 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/simla-tech/PrettyCards.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6044DDE57671499D.txt
[3/7] Compiling PrettyCards Shadow.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Animation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[4/7] Compiling PrettyCards Card.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Animation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Emitting module PrettyCards
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Animation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[6/7] Compiling PrettyCards Animation.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Animation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[7/7] Compiling PrettyCards CALayer+ApplyShadow.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Animation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-6044DDE57671499D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/6] Emitting module PrettyCards
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Animation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[3/6] Compiling PrettyCards Card.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Animation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[4/6] Compiling PrettyCards Shadow.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Animation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[5/6] Compiling PrettyCards CALayer+ApplyShadow.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Animation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[6/6] Compiling PrettyCards Animation.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Animation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.10 macosSpm