Build Information
Failed to build WWNetworking, reference 1.6.2 (cad632
), with Swift 5.8 for Linux on 11 Jul 2024 03:06:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.46.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWNetworking.git
Reference: 1.6.2
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/William-Weng/WWNetworking
* tag 1.6.2 -> FETCH_HEAD
HEAD is now at cad6323 - 修正await版本request的無限迴圈問題
Cloned https://github.com/William-Weng/WWNetworking.git
Revision (git rev-parse @):
cad6323f8ec5b7fe87ac4c0e820c0529d402e5e1
SUCCESS checkout https://github.com/William-Weng/WWNetworking.git at 1.6.2
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $workDir
https://github.com/William-Weng/WWNetworking.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:25ae52e20f56ffaca5cfeeca46731079b0ef67b7dcd7f3dc3e93dc588d498392
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
Building for debugging...
[0/1] Copying Privacy
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/6] Emitting module WWNetworking
/host/spi-builder-workspace/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[3/6] Compiling WWNetworking resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[4/6] Compiling WWNetworking Networking.swift
/host/spi-builder-workspace/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[5/6] Compiling WWNetworking Constant.swift
/host/spi-builder-workspace/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[6/6] Compiling WWNetworking Extension.swift
/host/spi-builder-workspace/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
import UIKit
^
BUILD FAILURE 5.8 linux