Build Information
Failed to build WSPublisher, reference main (84a9b5
), with Swift 5.10 for Linux on 28 Aug 2024 18:52:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/edonv/WSPublisher.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/edonv/WSPublisher
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 84a9b5a Update WebSocketPublisher.swift
Cloned https://github.com/edonv/WSPublisher.git
Revision (git rev-parse @):
84a9b5a051633437ebf39d45aa2017377525e502
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/edonv/WSPublisher.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/edonv/WSPublisher.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:a70f701911643a3a4293839e0e79d56dcc32eed4840549b67640dc1034af7f44
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/apple/swift-http-types.git
[1/528] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.18s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.2.0 (0.34s)
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.2.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/12] Compiling HTTPTypes ISOLatin1String.swift
[6/12] Compiling HTTPTypes HTTPRequest.swift
[7/12] Compiling HTTPTypes HTTPResponse.swift
[8/12] Compiling HTTPTypes HTTPField.swift
[9/12] Compiling HTTPTypes HTTPParsedFields.swift
[10/12] Compiling HTTPTypes HTTPFieldName.swift
[11/12] Emitting module HTTPTypes
[12/12] Compiling HTTPTypes HTTPFields.swift
[14/19] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[15/19] Emitting module HTTPTypesFoundation
[16/19] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[17/19] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
[18/19] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[19/19] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/30] Emitting module WSPublisher
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[22/30] Compiling WSPublisher WebSocketPublisher+URLSessionDelegate.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[23/30] Compiling WSPublisher WSPublisher+SwiftUI.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[24/30] Compiling WSPublisher WebSocketPublisher+Async.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[25/30] Compiling WSPublisher URLSessionWebSocketTaskCloseCode+StringConvertible.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[26/30] Compiling WSPublisher URLSessionWebSocketTaskMessage+Hashable.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[27/31] Compiling WSPublisher URLSessionWebSocketTask+Combine.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[28/31] Compiling WSPublisher URLSessionWebSocketTask+Async.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[29/31] Compiling WSPublisher WebSocketPublisher+Errors.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[30/31] Compiling WSPublisher WebSocketPublisher+Event.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[31/31] Compiling WSPublisher WebSocketPublisher.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: fatalError
BUILD FAILURE 5.10 linux