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 Settings with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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.38.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sindresorhus/Settings.git
Reference: main
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/sindresorhus/Settings
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 879ea83 Meta tweaks
Cloned https://github.com/sindresorhus/Settings.git
Revision (git rev-parse @):
879ea83a7bbc6dbebf62bed8c547f090146372a6
SUCCESS checkout https://github.com/sindresorhus/Settings.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/sindresorhus/Settings.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
[0/4] Write sources
[0/4] Copying Info.plist
[0/4] Copying Localizable.xcstrings
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/17] Compiling Settings SettingsWindowController.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[6/17] Compiling Settings Style.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[7/18] Compiling Settings ToolbarItemStyleViewController.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[8/18] Compiling Settings Utilities.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[9/18] Compiling Settings SettingsStyleController.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[10/18] Compiling Settings SettingsTabViewController.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/18] Emitting module Settings
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[12/18] Compiling Settings Container.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[13/18] Compiling Settings Pane.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[14/18] Compiling Settings Section.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[15/18] Compiling Settings SegmentedControlStyleViewController.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[16/18] Compiling Settings Settings.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[17/18] Compiling Settings SettingsPane.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[18/18] Compiling Settings resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/14] Compiling Settings ToolbarItemStyleViewController.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[3/14] Compiling Settings Utilities.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[4/14] Compiling Settings SettingsWindowController.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[5/14] Compiling Settings Style.swift
/host/spi-builder-workspace/Sources/Settings/Container.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/15] Emitting module Settings
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[7/15] Compiling Settings Container.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[8/15] Compiling Settings Pane.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[9/15] Compiling Settings Section.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[10/15] Compiling Settings SegmentedControlStyleViewController.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[11/15] Compiling Settings Settings.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[12/15] Compiling Settings SettingsPane.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[13/15] Compiling Settings SettingsStyleController.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[14/15] Compiling Settings SettingsTabViewController.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[15/15] Compiling Settings resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: fatalError
BUILD FAILURE 5.10 linux