Build Information
Failed to build MulticolorGradient, reference main (6f80da
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 13:49:18 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ArthurGuibert/SwiftUI-MulticolorGradient.git
Reference: main
Initialized empty Git repository in /Users/admin/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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftui-multicolorgradient",
"name": "MulticolorGradient",
"url": "https://github.com/ArthurGuibert/SwiftUI-MulticolorGradient.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUI-MulticolorGradient",
"dependencies": [
]
}
]
}
Fetching https://github.com/ArthurGuibert/SwiftUI-MulticolorGradient.git
[1/148] Fetching swiftui-multicolorgradient
Fetched https://github.com/ArthurGuibert/SwiftUI-MulticolorGradient.git from cache (0.66s)
Creating working copy for https://github.com/ArthurGuibert/SwiftUI-MulticolorGradient.git
Working copy of https://github.com/ArthurGuibert/SwiftUI-MulticolorGradient.git resolved at main (6f80da6)
warning: '.resolve-product-dependencies': dependency 'swiftui-multicolorgradient' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/ArthurGuibert/SwiftUI-MulticolorGradient.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[1/3] Copying MulticolorGradientShader.metal
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/8] Compiling MulticolorGradient resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/MulticolorGradient/MulticolorGradientViewController.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 | import MetalKit
10 | import SwiftUI
[5/8] Compiling MulticolorGradient MulticolorGradientViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/MulticolorGradient/MulticolorGradientViewController.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 | import MetalKit
10 | import SwiftUI
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Emitting module MulticolorGradient
/Users/admin/builder/spi-builder-workspace/Sources/MulticolorGradient/MulticolorGradientViewController.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 | import MetalKit
10 | import SwiftUI
[7/8] Compiling MulticolorGradient MulticolorGradient.swift
/Users/admin/builder/spi-builder-workspace/Sources/MulticolorGradient/MulticolorGradientViewController.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 | import MetalKit
10 | import SwiftUI
[8/8] Compiling MulticolorGradient MirrorAnimation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MulticolorGradient/MulticolorGradientViewController.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 | import MetalKit
10 | import SwiftUI
BUILD FAILURE 6.0 macosSpm