Build Information
Failed to build Settings with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.9
Building package at path: $workDir
https://github.com/sindresorhus/Settings.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
[0/2] Copying Info.plist
[1/2] Copying Localizable.xcstrings
[3/15] Compiling Settings SettingsStyleController.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[4/15] Compiling Settings SettingsTabViewController.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[5/16] Compiling Settings Settings.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[6/16] Compiling Settings SettingsPane.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[7/16] Compiling Settings Section.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[8/16] Compiling Settings SegmentedControlStyleViewController.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[9/16] Compiling Settings SettingsWindowController.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[10/16] 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)
[11/16] Compiling Settings Container.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[12/16] Compiling Settings Pane.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[13/16] Emitting module Settings
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[14/16] Compiling Settings ToolbarItemStyleViewController.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[15/16] Compiling Settings Utilities.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[16/16] 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...
[1/13] Compiling Settings Utilities.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[2/14] Compiling Settings SettingsWindowController.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[3/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)
[4/14] Emitting module Settings
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[5/14] Compiling Settings Container.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[6/14] Compiling Settings Pane.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[7/14] Compiling Settings resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[8/14] Compiling Settings ToolbarItemStyleViewController.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[9/14] Compiling Settings Settings.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[10/14] Compiling Settings SettingsPane.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[11/14] Compiling Settings SettingsStyleController.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[12/14] Compiling Settings SettingsTabViewController.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[13/14] Compiling Settings Section.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[14/14] Compiling Settings SegmentedControlStyleViewController.swift
/host/spi-builder-workspace/Sources/Settings/Container.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: fatalError
BUILD FAILURE 5.9 linux