Build Information
Failed to build WSPublisher, reference main (84a9b5
), with Swift 5.9 for Linux on 28 Aug 2024 18:55:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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.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.9
Building package at path: $PWD
https://github.com/edonv/WSPublisher.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:907758cf9691f0f77ca4e2d6f778ef6c038667a789e74bf575a4b60f864d6863
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-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 (0.27s)
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.58s)
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...
[1/8] Compiling HTTPTypes HTTPParsedFields.swift
[2/8] Compiling HTTPTypes HTTPResponse.swift
[3/8] Compiling HTTPTypes HTTPRequest.swift
[4/8] Compiling HTTPTypes ISOLatin1String.swift
[5/8] Emitting module HTTPTypes
[6/8] Compiling HTTPTypes HTTPField.swift
[7/8] Compiling HTTPTypes HTTPFieldName.swift
[8/8] Compiling HTTPTypes HTTPFields.swift
[11/16] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[12/16] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[13/16] Emitting module HTTPTypesFoundation
[14/16] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
[15/16] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[16/16] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[19/28] Compiling WSPublisher URLSessionWebSocketTask+Combine.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/29] Emitting module WSPublisher
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[21/29] Compiling WSPublisher WebSocketPublisher+URLSessionDelegate.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[22/29] Compiling WSPublisher URLSessionWebSocketTaskCloseCode+StringConvertible.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[23/29] Compiling WSPublisher URLSessionWebSocketTaskMessage+Hashable.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[24/29] Compiling WSPublisher WebSocketPublisher+Event.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[25/29] Compiling WSPublisher URLSessionWebSocketTask+Async.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[26/29] Compiling WSPublisher WSPublisher+SwiftUI.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[27/29] Compiling WSPublisher WebSocketPublisher+Async.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[28/29] Compiling WSPublisher WebSocketPublisher+Errors.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[29/29] 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.9 linux