The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build PlusNightMode, reference 0.3.0 (fd51b0), with Swift 5.10 for Linux on 8 Aug 2024 05:01:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.49.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DandyLyons/PlusNightMode.git
Reference: 0.3.0
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/DandyLyons/PlusNightMode
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at fd51b0d Update docs
Cloned https://github.com/DandyLyons/PlusNightMode.git
Revision (git rev-parse @):
fd51b0dd0810b47386574904a65904ccdc5df2d2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/DandyLyons/PlusNightMode.git at 0.3.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/DandyLyons/PlusNightMode.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:f99c45c6693c369319405b8761f4e4d2fe7d5bc9f23302c8842c79031f22f7c0
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.git
Fetching https://github.com/swiftlang/swift-syntax
[1/11834] Fetching swift-snapshot-testing
[948/75629] Fetching swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.74s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.17.4 (2.84s)
Fetched https://github.com/swiftlang/swift-syntax from cache (7.25s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.0-prerelease-2024-07-30 (0.95s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.17.4
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.0-prerelease-2024-07-30
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/Plus Night ModeTests/__Snapshots__/PlusNightModeTests/testSnapshot.3.png
    /host/spi-builder-workspace/Tests/Plus Night ModeTests/__Snapshots__/PlusNightModeTests/testSnapshot.1.png
    /host/spi-builder-workspace/Tests/Plus Night ModeTests/__Snapshots__/PlusNightModeTests/testSnapshot.2.png
    /host/spi-builder-workspace/Tests/Plus Night ModeTests/__Snapshots__/PlusNightModeTests/testSnapshot.4.png
Building for debugging...
[0/3] Write sources
[1/3] Copying Assets.xcassets
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/11] Compiling PlusNightMode monochromed.swift
/host/spi-builder-workspace/Sources/PlusNightMode/ColorScheme+.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[5/12] Compiling PlusNightMode View + Night Mode.swift
/host/spi-builder-workspace/Sources/PlusNightMode/ColorScheme+.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/12] Emitting module PlusNightMode
/host/spi-builder-workspace/Sources/PlusNightMode/ColorScheme+.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[7/12] Compiling PlusNightMode ColorScheme+.swift
/host/spi-builder-workspace/Sources/PlusNightMode/ColorScheme+.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[8/12] Compiling PlusNightMode ColorSchemeMode+.swift
/host/spi-builder-workspace/Sources/PlusNightMode/ColorScheme+.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[9/12] Compiling PlusNightMode ColorSchemeMode.swift
/host/spi-builder-workspace/Sources/PlusNightMode/ColorScheme+.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[10/12] Compiling PlusNightMode ExampleNightModeView.swift
/host/spi-builder-workspace/Sources/PlusNightMode/ColorScheme+.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[11/12] Compiling PlusNightMode ColorSchemeModeModifier.swift
/host/spi-builder-workspace/Sources/PlusNightMode/ColorScheme+.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[12/12] Compiling PlusNightMode resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/PlusNightMode/ColorScheme+.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: fatalError
BUILD FAILURE 5.10 linux