Build Information
Failed to build MulticolorGradient 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.32.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ArthurGuibert/SwiftUI-MulticolorGradient.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/ArthurGuibert/SwiftUI-MulticolorGradient
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6f80da6 Update LICENSE
Cloned https://github.com/ArthurGuibert/SwiftUI-MulticolorGradient.git
Revision (git rev-parse @):
6f80da646b607d2e3cbacc259eb41f2912ea6e4f
SUCCESS checkout https://github.com/ArthurGuibert/SwiftUI-MulticolorGradient.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $workDir
https://github.com/ArthurGuibert/SwiftUI-MulticolorGradient.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/1] Copying MulticolorGradientShader.metal
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/6] Emitting module MulticolorGradient
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MulticolorGradient/MulticolorGradientViewController.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[3/6] Compiling MulticolorGradient MulticolorGradientViewController.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MulticolorGradient/MulticolorGradientViewController.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[4/6] Compiling MulticolorGradient resource_bundle_accessor.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MulticolorGradient/MulticolorGradientViewController.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[5/6] Compiling MulticolorGradient MulticolorGradient.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MulticolorGradient/MulticolorGradientViewController.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[6/6] Compiling MulticolorGradient MirrorAnimation.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MulticolorGradient/MulticolorGradientViewController.swift:8: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/5] Emitting module MulticolorGradient
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MulticolorGradient/MulticolorGradientViewController.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[2/5] Compiling MulticolorGradient MulticolorGradientViewController.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MulticolorGradient/MulticolorGradientViewController.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[3/5] Compiling MulticolorGradient MirrorAnimation.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MulticolorGradient/MulticolorGradientViewController.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[4/5] Compiling MulticolorGradient resource_bundle_accessor.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MulticolorGradient/MulticolorGradientViewController.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[5/5] Compiling MulticolorGradient MulticolorGradient.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MulticolorGradient/MulticolorGradientViewController.swift:8:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.9 macosSpm