The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GradientProgressBar with Swift 5.7 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fxm90/GradientProgressBar.git
Reference: 3.0.0
Cloned https://github.com/fxm90/GradientProgressBar.git into spi-builder-workspace
SUCCESS checkout https://github.com/fxm90/GradientProgressBar.git at 3.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
warning: 'spi-builder-workspace': found 23 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgressZero_andDarkTraitCollection.1.png
    /host/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgressZero_andCustomColors.1.png
    /host/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarSnapshotTestCase/test_gradientProgressBar_withProgressZero_andDarkTraitCollection.1.png
    /host/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgressZero_andLightTraitCollection.1.png
    /host/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarSnapshotTestCase/test_gradientProgressBar_withProgress100Percent_andCustomColors.1.png
    /host/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgress50_andCustomCornerRadius.1.png
    /host/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgress50Percent_andCustomColors.1.png
    /host/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarSnapshotTestCase/test_gradientProgressBar_withProgress50Percent_andLightTraitCollection.1.png
    /host/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarSnapshotTestCase/test_gradientProgressBar_withProgressZero_andLightTraitCollection.1.png
    /host/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgressZero_andCustomBackgroundColor.1.png
    /host/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarSnapshotTestCase/test_gradientProgressBar_withProgress100Percent_andDarkTraitCollection.1.png
    /host/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarSnapshotTestCase/test_gradientProgressBar_withProgressZero_andCustomColors.1.png
    /host/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgress100Percent_andCustomColors.1.png
    /host/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgress50Percent_andLightTraitCollection.1.png
    /host/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/README.md
    /host/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgress50Percent_andDarkTraitCollection.1.png
    /host/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgress100Percent_andDarkTraitCollection.1.png
    /host/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgress100Percent_andLightTraitCollection.1.png
    /host/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarSnapshotTestCase/test_gradientProgressBar_withProgress50Percent_andCustomColors.1.png
    /host/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgress100Percent_andCustomBackgroundColor.1.png
    /host/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarSnapshotTestCase/test_gradientProgressBar_withProgress50Percent_andDarkTraitCollection.1.png
    /host/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarSnapshotTestCase/test_gradientProgressBar_withProgress100Percent_andLightTraitCollection.1.png
    /host/spi-builder-workspace/GradientProgressBar/Tests/SnapshotTests/__Snapshots__/GradientProgressBarViewStyleSnapshotTestCase/test_gradientProgressBarViewStyle_withProgress50Percent_andCustomBackgroundColor.1.png

Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)[1/6] Emitting module GradientProgressBar
/host/spi-builder-workspace/GradientProgressBar/Sources/GradientProgressBar.swift:9:8: error: no such module 'Combine'
import Combine
       ^
[2/6] Compiling GradientProgressBar GradientLayerViewModel.swift
/host/spi-builder-workspace/GradientProgressBar/Sources/GradientProgressBar.swift:9:8: error: no such module 'Combine'
import Combine
       ^
[3/6] Compiling GradientProgressBar Constants.swift
/host/spi-builder-workspace/GradientProgressBar/Sources/GradientProgressBar.swift:9:8: error: no such module 'Combine'
import Combine
       ^
[4/6] Compiling GradientProgressBar GradientProgressBar.swift
/host/spi-builder-workspace/GradientProgressBar/Sources/GradientProgressBar.swift:9:8: error: no such module 'Combine'
import Combine
       ^
[5/6] Compiling GradientProgressBar MaskLayerViewModel.swift
/host/spi-builder-workspace/GradientProgressBar/Sources/GradientProgressBar.swift:9:8: error: no such module 'Combine'
import Combine
       ^
[6/6] Compiling GradientProgressBar GradientProgressBarViewStyle.swift
/host/spi-builder-workspace/GradientProgressBar/Sources/GradientProgressBar.swift:9:8: error: no such module 'Combine'
import Combine
       ^
BUILD FAILURE 5.7 linux

Build Machine: Linux 2