Build Information
Failed to build AcknowList with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/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.42.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vtourraine/acknowlist.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/vtourraine/acknowlist
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0144297 Merge branch 'main' of github.com:vtourraine/AcknowList
Cloned https://github.com/vtourraine/acknowlist.git
Revision (git rev-parse @):
01442976e0c401af9c3d7983c9323bfa92723ea1
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/vtourraine/acknowlist.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $workDir
https://github.com/vtourraine/acknowlist.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/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/15] Copying Localizable.strings
[0/15] Copying Info.plist
[0/15] Copying Localizable.strings
[16/28] Compiling AcknowList AcknowViewController.swift
/host/spi-builder-workspace/Sources/AcknowList/AcknowListSwiftUI.swift:24:8: error: no such module 'SwiftUI'
import SwiftUI
^
[17/29] Compiling AcknowList resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/AcknowList/AcknowListSwiftUI.swift:24:8: error: no such module 'SwiftUI'
import SwiftUI
^
[18/29] Compiling AcknowList GitHubAPI.swift
/host/spi-builder-workspace/Sources/AcknowList/AcknowListSwiftUI.swift:24:8: error: no such module 'SwiftUI'
import SwiftUI
^
[19/29] Compiling AcknowList AcknowPackageDecoder.swift
/host/spi-builder-workspace/Sources/AcknowList/AcknowListSwiftUI.swift:24:8: error: no such module 'SwiftUI'
import SwiftUI
^
[20/29] Compiling AcknowList AcknowParser.swift
/host/spi-builder-workspace/Sources/AcknowList/AcknowListSwiftUI.swift:24:8: error: no such module 'SwiftUI'
import SwiftUI
^
[21/29] Compiling AcknowList AcknowPodDecoder.swift
/host/spi-builder-workspace/Sources/AcknowList/AcknowListSwiftUI.swift:24:8: error: no such module 'SwiftUI'
import SwiftUI
^
[22/29] Compiling AcknowList AcknowSwiftUI.swift
/host/spi-builder-workspace/Sources/AcknowList/AcknowListSwiftUI.swift:24:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/29] Emitting module AcknowList
/host/spi-builder-workspace/Sources/AcknowList/AcknowListSwiftUI.swift:35:67: warning: unrecognized platform name 'visionOS'
@available(iOS 13.0.0, macOS 10.15.0, watchOS 7.0.0, tvOS 13.0.0, visionOS 1.0.0, *)
^
/host/spi-builder-workspace/Sources/AcknowList/AcknowListSwiftUI.swift:114:67: warning: unrecognized platform name 'visionOS'
@available(iOS 13.0.0, macOS 10.15.0, watchOS 7.0.0, tvOS 13.0.0, visionOS 1.0.0, *)
^
/host/spi-builder-workspace/Sources/AcknowList/AcknowListSwiftUI.swift:162:67: warning: unrecognized platform name 'visionOS'
@available(iOS 13.0.0, macOS 10.15.0, watchOS 7.0.0, tvOS 13.0.0, visionOS 1.0.0, *)
^
/host/spi-builder-workspace/Sources/AcknowList/AcknowListSwiftUI.swift:24:8: error: no such module 'SwiftUI'
import SwiftUI
^
[24/29] Compiling AcknowList Acknow.swift
/host/spi-builder-workspace/Sources/AcknowList/AcknowListSwiftUI.swift:24:8: error: no such module 'SwiftUI'
import SwiftUI
^
[25/29] Compiling AcknowList AcknowList.swift
/host/spi-builder-workspace/Sources/AcknowList/AcknowListSwiftUI.swift:24:8: error: no such module 'SwiftUI'
import SwiftUI
^
[26/29] Compiling AcknowList AcknowListSwiftUI.swift
/host/spi-builder-workspace/Sources/AcknowList/AcknowListSwiftUI.swift:35:67: warning: unrecognized platform name 'visionOS'
@available(iOS 13.0.0, macOS 10.15.0, watchOS 7.0.0, tvOS 13.0.0, visionOS 1.0.0, *)
^
/host/spi-builder-workspace/Sources/AcknowList/AcknowListSwiftUI.swift:114:67: warning: unrecognized platform name 'visionOS'
@available(iOS 13.0.0, macOS 10.15.0, watchOS 7.0.0, tvOS 13.0.0, visionOS 1.0.0, *)
^
/host/spi-builder-workspace/Sources/AcknowList/AcknowListSwiftUI.swift:162:67: warning: unrecognized platform name 'visionOS'
@available(iOS 13.0.0, macOS 10.15.0, watchOS 7.0.0, tvOS 13.0.0, visionOS 1.0.0, *)
^
/host/spi-builder-workspace/Sources/AcknowList/AcknowListSwiftUI.swift:24:8: error: no such module 'SwiftUI'
import SwiftUI
^
[27/29] Compiling AcknowList AcknowListURL.swift
/host/spi-builder-workspace/Sources/AcknowList/AcknowListSwiftUI.swift:35:67: warning: unrecognized platform name 'visionOS'
@available(iOS 13.0.0, macOS 10.15.0, watchOS 7.0.0, tvOS 13.0.0, visionOS 1.0.0, *)
^
/host/spi-builder-workspace/Sources/AcknowList/AcknowListSwiftUI.swift:114:67: warning: unrecognized platform name 'visionOS'
@available(iOS 13.0.0, macOS 10.15.0, watchOS 7.0.0, tvOS 13.0.0, visionOS 1.0.0, *)
^
/host/spi-builder-workspace/Sources/AcknowList/AcknowListSwiftUI.swift:162:67: warning: unrecognized platform name 'visionOS'
@available(iOS 13.0.0, macOS 10.15.0, watchOS 7.0.0, tvOS 13.0.0, visionOS 1.0.0, *)
^
/host/spi-builder-workspace/Sources/AcknowList/AcknowListSwiftUI.swift:24:8: error: no such module 'SwiftUI'
import SwiftUI
^
[28/29] Compiling AcknowList AcknowListViewController.swift
/host/spi-builder-workspace/Sources/AcknowList/AcknowListSwiftUI.swift:24:8: error: no such module 'SwiftUI'
import SwiftUI
^
[29/29] Compiling AcknowList AcknowLocalization.swift
/host/spi-builder-workspace/Sources/AcknowList/AcknowListSwiftUI.swift:24:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: fatalError
BUILD FAILURE 5.9 linux