The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build node-swift with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-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: 1.2.0
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
 * tag               1.2.0      -> FETCH_HEAD
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 1.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/kabiroberai/node-swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/apple/swift-syntax.git
[1/61417] Fetching swift-syntax
Computing version for https://github.com/apple/swift-syntax.git
Fetched https://github.com/apple/swift-syntax.git (4.14s)
Computed https://github.com/apple/swift-syntax.git at 510.0.1 (0.69s)
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/20] Compiling NodeModuleSupport win_delay_load_hook.cc
[1/20] Compiling CNodeAPISupport task_reflection.cpp
[2/20] Compiling CNodeAPISupport node_context.c
[3/20] Compiling NodeModuleSupport register.m
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.
[4/24] Compiling CNodeJSC js_native_api_javascriptcore.cc
[5/24] Emitting module SwiftSyntax509
[6/24] Emitting module SwiftSyntax510
BUILD FAILURE 5.9 linux

Build Machine: Linux 1