Build Information
Failed to build KYNearbyService, reference main (5d7e49
), with Swift 6.1 for Linux on 30 Apr 2025 12:03:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kjuly/KYNearbyService.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/Kjuly/KYNearbyService
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5d7e49d Update KYNearbyService.podspec: Set spec.version=2.1.1
Cloned https://github.com/Kjuly/KYNearbyService.git
Revision (git rev-parse @):
5d7e49da5b2f2d49b68c621c19301872fe4cde9d
SUCCESS checkout https://github.com/Kjuly/KYNearbyService.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/Kjuly/KYNearbyService.git
https://github.com/Kjuly/KYNearbyService.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "kylogger",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kjuly/KYLogger.git"
}
],
"manifest_display_name" : "KYNearbyService",
"name" : "KYNearbyService",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.5"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "KYNearbyService",
"targets" : [
"KYNearbyService"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "KYNearbyServiceTests",
"module_type" : "SwiftTarget",
"name" : "KYNearbyServiceTests",
"path" : "KYNearbyServiceTests",
"sources" : [
"KYNearbyService/KYNearbyServiceConfigurationTests.swift",
"KYNearbyService/KYNearbyServiceConstantsTests.swift",
"KYNearbyService/KYNearbyServiceConstants_ObjCTests.swift",
"KYNearbyService/KYNearbyService_ReceivedFileTests.swift"
],
"target_dependencies" : [
"KYNearbyService"
],
"type" : "test"
},
{
"c99name" : "KYNearbyService",
"module_type" : "SwiftTarget",
"name" : "KYNearbyService",
"path" : "KYNearbyService/Sources",
"product_dependencies" : [
"KYLogger"
],
"product_memberships" : [
"KYNearbyService"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/KYNearbyService/Sources/Resources/en.lproj/KYNearbyServiceLocalizations.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/host/spi-builder-workspace/KYNearbyService/Sources/Resources/zh-Hans.lproj/KYNearbyServiceLocalizations.strings",
"rule" : {
"process" : {
"localization" : "zh-hans"
}
}
}
],
"sources" : [
"KYNearbyConnectionView/Extensions/Animation+KYNearbyConnectionView.swift",
"KYNearbyConnectionView/Extensions/View+KYNearbyConnectionView.swift",
"KYNearbyConnectionView/KYNearbyConnectionView.swift",
"KYNearbyConnectionView/KYNearbyConnectionViewConstants.swift",
"KYNearbyConnectionView/PeerCell/KYNearbyConnectionPeerCell+Actions.swift",
"KYNearbyConnectionView/PeerCell/KYNearbyConnectionPeerCell.swift",
"KYNearbyConnectionView/ViewModel/KYNearbyConnectionViewModel+Event.swift",
"KYNearbyConnectionView/ViewModel/KYNearbyConnectionViewModel+Notification.swift",
"KYNearbyConnectionView/ViewModel/KYNearbyConnectionViewModel.swift",
"KYNearbyConnectionView/ViewModel/Theme/KYNearbyConnectionViewTheme.swift",
"KYNearbyService/Internal/KYNearbyService+Internal.swift",
"KYNearbyService/Internal/KYNearbyService+MCNearbyServiceAdvertiserDelegate.swift",
"KYNearbyService/Internal/KYNearbyService+MCNearbyServiceBrowserDelegate.swift",
"KYNearbyService/Internal/KYNearbyService+MCSessionDelegate.swift",
"KYNearbyService/KYNearbyService+Connection.swift",
"KYNearbyService/KYNearbyService+Debug.swift",
"KYNearbyService/KYNearbyService+ErrorAlert.swift",
"KYNearbyService/KYNearbyService+ReceivedFile.swift",
"KYNearbyService/KYNearbyService+Sending.swift",
"KYNearbyService/KYNearbyService+Visibility.swift",
"KYNearbyService/KYNearbyService.swift",
"KYNearbyService/KYNearbyServiceConfiguration.swift",
"KYNearbyService/KYNearbyServiceConstants+ObjC.swift",
"KYNearbyService/KYNearbyServiceConstants.swift",
"KYNearbyService/Model/KYNearbyPeerModel+Debug.swift",
"KYNearbyService/Model/KYNearbyPeerModel+ObjC.swift",
"KYNearbyService/Model/KYNearbyPeerModel.swift",
"Localizations/KYNearbyServiceLocalizations.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/Kjuly/KYLogger.git
[1/197] Fetching kylogger
Fetched https://github.com/Kjuly/KYLogger.git from cache (0.21s)
Creating working copy for https://github.com/Kjuly/KYLogger.git
Working copy of https://github.com/Kjuly/KYLogger.git resolved at main (4af59f6)
Building for debugging...
[0/7] Write sources
[0/7] Copying Info.plist
[0/7] Copying KYNearbyServiceLocalizations.strings
In file included from /host/spi-builder-workspace/.build/checkouts/KYLogger/KYLogger/SourcesObjC/KYLoggerObjC.m:9:
/host/spi-builder-workspace/.build/checkouts/KYLogger/KYLogger/SourcesObjC/include/KYLoggerObjC.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
9 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[5/7] Compiling KYLoggerObjC KYLoggerObjC.m
[5/7] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/KYLogger/KYLogger/SourcesObjC/KYLoggerObjC.m:9:
/host/spi-builder-workspace/.build/checkouts/KYLogger/KYLogger/SourcesObjC/include/KYLoggerObjC.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
9 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/2] Compiling KYLoggerObjC KYLoggerObjC.m
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux