Build Information
Failed to build GCDWebServer, reference 3.5.7 (c2f837), with Swift 6.1 for Wasm on 29 May 2025 18:03:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yene/GCDWebServer.git
Reference: 3.5.7
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/yene/GCDWebServer
* tag 3.5.7 -> FETCH_HEAD
HEAD is now at c2f837b Copy Privacy manifest files into the Resource folder
Cloned https://github.com/yene/GCDWebServer.git
Revision (git rev-parse @):
c2f837b30038ef716b77225f40cc8d104b6ff645
SUCCESS checkout https://github.com/yene/GCDWebServer.git at 3.5.7
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/yene/GCDWebServer.git
https://github.com/yene/GCDWebServer.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "GCDWebServer",
"name" : "GCDWebServer",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "GCDWebServer",
"targets" : [
"GCDWebServer"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GCDWebServer",
"module_type" : "ClangTarget",
"name" : "GCDWebServer",
"path" : ".",
"product_memberships" : [
"GCDWebServer"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Core/GCDWebServer.m",
"Core/GCDWebServerConnection.m",
"Core/GCDWebServerFunctions.m",
"Core/GCDWebServerRequest.m",
"Core/GCDWebServerResponse.m",
"Requests/GCDWebServerDataRequest.m",
"Requests/GCDWebServerFileRequest.m",
"Requests/GCDWebServerMultiPartFormRequest.m",
"Requests/GCDWebServerURLEncodedFormRequest.m",
"Responses/GCDWebServerDataResponse.m",
"Responses/GCDWebServerErrorResponse.m",
"Responses/GCDWebServerFileResponse.m",
"Responses/GCDWebServerStreamedResponse.m"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/15] Copying PrivacyInfo.xcprivacy
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/GCDWebServer.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/15] Compiling GCDWebServer resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/GCDWebServer.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/15] Compiling GCDWebServerURLEncodedFormRequest.m
[1/15] Compiling GCDWebServerFileResponse.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/GCDWebServer.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/15] Compiling GCDWebServerMultiPartFormRequest.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/GCDWebServer.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/15] Compiling GCDWebServerDataResponse.m
[1/15] Compiling GCDWebServerFileRequest.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/GCDWebServer.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/15] Compiling GCDWebServerErrorResponse.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/GCDWebServer.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/15] Compiling GCDWebServerStreamedResponse.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/GCDWebServer.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/GCDWebServer.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/14] Compiling GCDWebServer resource_bundle_accessor.m
[0/14] Compiling GCDWebServerURLEncodedFormRequest.m
[0/14] Compiling GCDWebServerFileRequest.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/GCDWebServer.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/14] Compiling GCDWebServerFileResponse.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/GCDWebServer.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/14] Compiling GCDWebServerMultiPartFormRequest.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/GCDWebServer.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/14] Compiling GCDWebServerStreamedResponse.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/GCDWebServer.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/14] Compiling GCDWebServerErrorResponse.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/GCDWebServer.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #i[0/14] Compiling GCDWebServerDataResponse.m
BUILD FAILURE 6.1 wasm