Build Information
Failed to build UIHelper, reference main (fedae3
), with Swift 5.8 for Linux on 17 Jul 2024 11:42:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NikSativa/UIHelper.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/NikSativa/UIHelper
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at fedae39 SelfSize modifier
Cloned https://github.com/NikSativa/UIHelper.git
Revision (git rev-parse @):
fedae391ed1cf07226b5e7ced08afc1a6adb47ce
SUCCESS checkout https://github.com/NikSativa/UIHelper.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $workDir
https://github.com/NikSativa/UIHelper.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/NikSativa/SpryKit.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/439] Fetching cwlcatchexception
[440/1686] Fetching cwlcatchexception, cwlpreconditiontesting
[927/2487] Fetching cwlcatchexception, cwlpreconditiontesting, SpryKit
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.19s)
Fetched https://github.com/NikSativa/SpryKit.git (0.20s)
Computing version for https://github.com/NikSativa/SpryKit.git
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.20s)
Computed https://github.com/NikSativa/SpryKit.git at 2.2.3 (0.27s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.1 (0.97s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.0 (0.33s)
Creating working copy for https://github.com/NikSativa/SpryKit.git
Working copy of https://github.com/NikSativa/SpryKit.git resolved at 2.2.3
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/39] Emitting module UIHelper
/host/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:2:8: error: no such module 'SwiftUI'
import SwiftUI
^
In file included from /host/spi-builder-workspace/.build/checkouts/CwlCatchException/Sources/CwlCatchExceptionSupport/CwlCatchException.m:21:
/host/spi-builder-workspace/.build/checkouts/CwlCatchException/Sources/CwlCatchExceptionSupport/include/CwlCatchException.h:21:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/44] Compiling CwlCatchExceptionSupport CwlCatchException.m
[1/44] Compiling CwlMachBadInstructionHandler CwlMachBadInstructionHandler.m
[1/44] Compiling CwlMachBadInstructionHandler mach_excServer.c
/host/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:2:8: error: no such module 'SwiftUI'
import SwiftUI
^
BUILD FAILURE 5.8 linux