The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build brh-segmented-control, reference 1.0.4 (67e633), with Swift 5.10 for Linux on 15 Jan 2025 04:32:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bradhowes/brh-segmented-control.git
Reference: 1.0.4
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/bradhowes/brh-segmented-control
 * tag               1.0.4      -> FETCH_HEAD
HEAD is now at 67e6334 Fixed compiler issues with Swift 5.7
Cloned https://github.com/bradhowes/brh-segmented-control.git
Revision (git rev-parse @):
67e63341bcf90f827ae7c53a3b550834a74843f5
SUCCESS checkout https://github.com/bradhowes/brh-segmented-control.git at 1.0.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/bradhowes/brh-segmented-control.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/12678] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (1.28s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.17.7 (0.36s)
Fetching https://github.com/swiftlang/swift-syntax
[1/67893] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.89s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (0.56s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.17.7
warning: 'spi-builder-workspace': found 12 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/BRHSegmentedControlTests/__Snapshots__/BRHSegmentedControlTests/testSegmentForegroundStylerLight.testSegmentForegroundStylerLight-iOS.png
    /host/spi-builder-workspace/Tests/BRHSegmentedControlTests/__Snapshots__/BRHSegmentedControlTests/testPreviewRenderLight.testPreviewRenderLight-iOS.png
    /host/spi-builder-workspace/Tests/BRHSegmentedControlTests/__Snapshots__/BRHSegmentedControlTests/testInitWithCountDark.testInitWithCountDark-iOS.png
    /host/spi-builder-workspace/Tests/BRHSegmentedControlTests/__Snapshots__/BRHSegmentedControlTests/testInitWithBuilderLight.testInitWithBuilderLight-iOS.png
    /host/spi-builder-workspace/Tests/BRHSegmentedControlTests/__Snapshots__/BRHSegmentedControlTests/testSelectedIndexChanged.testSelectedIndexChanged-iOS.png
    /host/spi-builder-workspace/Tests/BRHSegmentedControlTests/__Snapshots__/BRHSegmentedControlTests/testInitWithLabelsDark.testInitWithLabelsDark-iOS.png
    /host/spi-builder-workspace/Tests/BRHSegmentedControlTests/__Snapshots__/BRHSegmentedControlTests/testInitWithBuilderDark.testInitWithBuilderDark-iOS.png
    /host/spi-builder-workspace/Tests/BRHSegmentedControlTests/__Snapshots__/BRHSegmentedControlTests/testPreviewRenderDark.testPreviewRenderDark-iOS.png
    /host/spi-builder-workspace/Tests/BRHSegmentedControlTests/__Snapshots__/BRHSegmentedControlTests/testInitWithInvalidSelectedIndex.testInitWithInvalidSelectedIndex-iOS.png
    /host/spi-builder-workspace/Tests/BRHSegmentedControlTests/__Snapshots__/BRHSegmentedControlTests/testInitWithCountLight.testInitWithCountLight-iOS.png
    /host/spi-builder-workspace/Tests/BRHSegmentedControlTests/__Snapshots__/BRHSegmentedControlTests/testInitWithLabelsLight.testInitWithLabelsLight-iOS.png
    /host/spi-builder-workspace/Tests/BRHSegmentedControlTests/__Snapshots__/BRHSegmentedControlTests/testSegmentForegroundStylerDark.testSegmentForegroundStylerDark-iOS.png
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module BRHSegmentedControl
/host/spi-builder-workspace/Sources/BRHSegmentedControl/BRHSegmentedControl.swift:3:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[4/6] Compiling BRHSegmentedControl BRHSegmentedControlSupport.swift
/host/spi-builder-workspace/Sources/BRHSegmentedControl/BRHSegmentedControl.swift:3:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[5/6] Compiling BRHSegmentedControl BRHSegmentedControl.swift
/host/spi-builder-workspace/Sources/BRHSegmentedControl/BRHSegmentedControl.swift:3:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[6/6] Compiling BRHSegmentedControl Color+Extensions.swift
/host/spi-builder-workspace/Sources/BRHSegmentedControl/BRHSegmentedControl.swift:3:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: fatalError
BUILD FAILURE 5.10 linux