The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SystemNotification 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.35.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/danielsaidi/SystemNotification.git
Reference: master
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/danielsaidi/SystemNotification
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c6e27d9 Bump to 1.1.0
Cloned https://github.com/danielsaidi/SystemNotification.git
Revision (git rev-parse @):
c6e27d9a6a90b213a854a182d7769f33358ec747
SUCCESS checkout https://github.com/danielsaidi/SystemNotification.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/danielsaidi/SystemNotification.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...
[1/10] Compiling SystemNotification SystemNotificationMessageStyle.swift
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[2/11] Compiling SystemNotification View+SystemNotification.swift
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[3/11] Compiling SystemNotification SystemNotificationUIKitOverlay.swift
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[4/11] Compiling SystemNotification SystemNotificationStyle.swift
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/11] Emitting module SystemNotification
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:149:51: warning: unknown operating system for build configuration 'os'
    #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                  ^
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:149:51: note: did you mean 'iOS'?
    #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                  ^~~~~~~~
                                                  iOS
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:149:51: note: did you mean 'Windows'?
    #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                  ^~~~~~~~
                                                  Windows
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[6/11] Compiling SystemNotification SystemNotificationMessage+Predefined.swift
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[7/11] Compiling SystemNotification SystemNotificationMessage.swift
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[8/11] Compiling SystemNotification SystemNotification.swift
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:73:63: warning: unknown operating system for build configuration 'os'
                #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                              ^
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:73:63: note: did you mean 'iOS'?
                #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                              ^~~~~~~~
                                                              iOS
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:73:63: note: did you mean 'Windows'?
                #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                              ^~~~~~~~
                                                              Windows
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:149:51: warning: unknown operating system for build configuration 'os'
    #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                  ^
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:149:51: note: did you mean 'iOS'?
    #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                  ^~~~~~~~
                                                  iOS
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:149:51: note: did you mean 'Windows'?
    #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                  ^~~~~~~~
                                                  Windows
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[9/11] Compiling SystemNotification SystemNotificationConfiguration.swift
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:73:63: warning: unknown operating system for build configuration 'os'
                #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                              ^
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:73:63: note: did you mean 'iOS'?
                #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                              ^~~~~~~~
                                                              iOS
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:73:63: note: did you mean 'Windows'?
                #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                              ^~~~~~~~
                                                              Windows
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:149:51: warning: unknown operating system for build configuration 'os'
    #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                  ^
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:149:51: note: did you mean 'iOS'?
    #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                  ^~~~~~~~
                                                  iOS
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:149:51: note: did you mean 'Windows'?
    #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                  ^~~~~~~~
                                                  Windows
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[10/11] Compiling SystemNotification SystemNotificationContext.swift
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[11/11] Compiling SystemNotification SystemNotificationEdge.swift
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[1/10] Compiling SystemNotification SystemNotificationMessage.swift
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[2/11] Compiling SystemNotification SystemNotificationMessage+Predefined.swift
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/11] Compiling SystemNotification SystemNotification.swift
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:73:63: warning: unknown operating system for build configuration 'os'
                #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                              ^
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:73:63: note: did you mean 'iOS'?
                #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                              ^~~~~~~~
                                                              iOS
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:73:63: note: did you mean 'Windows'?
                #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                              ^~~~~~~~
                                                              Windows
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:149:51: warning: unknown operating system for build configuration 'os'
    #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                  ^
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:149:51: note: did you mean 'iOS'?
    #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                  ^~~~~~~~
                                                  iOS
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:149:51: note: did you mean 'Windows'?
    #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                  ^~~~~~~~
                                                  Windows
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[4/11] Compiling SystemNotification SystemNotificationConfiguration.swift
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:73:63: warning: unknown operating system for build configuration 'os'
                #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                              ^
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:73:63: note: did you mean 'iOS'?
                #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                              ^~~~~~~~
                                                              iOS
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:73:63: note: did you mean 'Windows'?
                #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                              ^~~~~~~~
                                                              Windows
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:149:51: warning: unknown operating system for build configuration 'os'
    #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                  ^
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:149:51: note: did you mean 'iOS'?
    #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                  ^~~~~~~~
                                                  iOS
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:149:51: note: did you mean 'Windows'?
    #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                  ^~~~~~~~
                                                  Windows
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[5/11] Emitting module SystemNotification
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:149:51: warning: unknown operating system for build configuration 'os'
    #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                  ^
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:149:51: note: did you mean 'iOS'?
    #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                  ^~~~~~~~
                                                  iOS
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:149:51: note: did you mean 'Windows'?
    #if os(iOS) || os(macOS) || os(watchOS) || os(visionOS)
                                                  ^~~~~~~~
                                                  Windows
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[6/11] Compiling SystemNotification SystemNotificationContext.swift
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[7/11] Compiling SystemNotification SystemNotificationEdge.swift
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[8/11] Compiling SystemNotification View+SystemNotification.swift
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[9/11] Compiling SystemNotification SystemNotificationUIKitOverlay.swift
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[10/11] Compiling SystemNotification SystemNotificationMessageStyle.swift
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[11/11] Compiling SystemNotification SystemNotificationStyle.swift
/host/spi-builder-workspace/Sources/SystemNotification/SystemNotification.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1