Build Information
Failed to build GradientProgressBar, reference main (64fa55
), with Swift 5.8 for macOS (SPM) on 6 Sep 2024 21:28:51 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fxm90/GradientProgressBar.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fxm90/GradientProgressBar
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 64fa559 Merge pull request #20 from fxm90/task/fix-build
Cloned https://github.com/fxm90/GradientProgressBar.git
Revision (git rev-parse @):
64fa5595631224725a25c4e037cd86da153bccdb
SUCCESS checkout https://github.com/fxm90/GradientProgressBar.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $PWD
https://github.com/fxm90/GradientProgressBar.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[1/6] Compiling GradientProgressBar MaskLayerViewModel.swift
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Sources/GradientProgressBar.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[2/6] Compiling GradientProgressBar GradientLayerViewModel.swift
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Sources/GradientProgressBar.swift:10:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Compiling GradientProgressBar Constants.swift
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Sources/GradientProgressBar.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[4/6] Compiling GradientProgressBar GradientProgressBar.swift
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Sources/GradientProgressBar.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[5/6] Emitting module GradientProgressBar
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Sources/GradientProgressBar.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[6/6] Compiling GradientProgressBar GradientProgressBarViewStyle.swift
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Sources/GradientProgressBar.swift:10:8: error: no such module 'UIKit'
import UIKit
^
warning: 'spi-builder-workspace': found 23 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarSnapshotTestCase/test_gradientProgressBar_withProgress50Percent_andLightTraitCollection.1.png
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgressZero_andCustomColors.1.png
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarSnapshotTestCase/test_gradientProgressBar_withProgressZero_andDarkTraitCollection.1.png
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgress50Percent_andCustomColors.1.png
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgress100Percent_andLightTraitCollection.1.png
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarSnapshotTestCase/test_gradientProgressBar_withProgress50Percent_andCustomColors.1.png
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgressZero_andCustomBackgroundColor.1.png
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarSnapshotTestCase/test_gradientProgressBar_withProgressZero_andLightTraitCollection.1.png
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarSnapshotTestCase/test_gradientProgressBar_withProgress100Percent_andLightTraitCollection.1.png
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/README.md
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgressZero_andDarkTraitCollection.1.png
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarSnapshotTestCase/test_gradientProgressBar_withProgressZero_andCustomColors.1.png
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgress100Percent_andDarkTraitCollection.1.png
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgress50_andCustomCornerRadius.1.png
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarSnapshotTestCase/test_gradientProgressBar_withProgress100Percent_andDarkTraitCollection.1.png
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgressZero_andLightTraitCollection.1.png
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgress50Percent_andCustomBackgroundColor.1.png
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgress100Percent_andCustomBackgroundColor.1.png
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarSnapshotTestCase/test_gradientProgressBar_withProgress50Percent_andDarkTraitCollection.1.png
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgress100Percent_andCustomColors.1.png
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgress50Percent_andDarkTraitCollection.1.png
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarSnapshotTestCase/test_gradientProgressBar_withProgress100Percent_andCustomColors.1.png
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgress50Percent_andLightTraitCollection.1.png
BUILD FAILURE 5.8 macosSpm