Build Information
Failed to build node-swift with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.43.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kabiroberai/node-swift.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/kabiroberai/node-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a4395d5 Support Swift 6 (#21)
Cloned https://github.com/kabiroberai/node-swift.git
Revision (git rev-parse @):
a4395d521917b3dfc4067839435285e6718194e8
SUCCESS checkout https://github.com/kabiroberai/node-swift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/kabiroberai/node-swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/apple/swift-syntax.git
[1/61417] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (4.50s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 510.0.1 (0.58s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 510.0.1
Building for debugging...
[0/38] Write sources
[16/38] Compiling CNodeAPISupport task_reflection.cpp
[17/38] Compiling NodeModuleSupport register.m
[18/38] Compiling CNodeAPISupport node_context.c
[19/38] Compiling NodeModuleSupport win_delay_load_hook.cc
[20/38] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Sources/CNodeJSC/js_native_api_javascriptcore.cc:5:
/host/spi-builder-workspace/Sources/CNodeJSC/include/embedder.h:3:10: fatal error: 'JavaScriptCore/JavaScriptCore.h' file not found
#include <JavaScriptCore/JavaScriptCore.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[21/42] Compiling CNodeJSC js_native_api_javascriptcore.cc
[22/42] Emitting module SwiftSyntax510
[23/42] Emitting module SwiftSyntax509
BUILD FAILURE 5.10 linux
Build Machine: Linux 2