The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build NodeSwiftLogging, reference 1.0.3 (c05928), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 17:47:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stevengharris/NodeSwiftLogging.git
Reference: 1.0.3
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/stevengharris/NodeSwiftLogging
 * tag               1.0.3      -> FETCH_HEAD
HEAD is now at c05928d Fix typo in README
Cloned https://github.com/stevengharris/NodeSwiftLogging.git
Revision (git rev-parse @):
c05928d8bd767d48adcef1bdb353f015e44f3773
SUCCESS checkout https://github.com/stevengharris/NodeSwiftLogging.git at 1.0.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/stevengharris/NodeSwiftLogging.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/kabiroberai/node-swift.git
Fetching https://github.com/apple/swift-log.git
[1/2290] Fetching node-swift
[1009/6126] Fetching node-swift, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.49s)
Fetched https://github.com/kabiroberai/node-swift.git from cache (0.50s)
Computing version for https://github.com/kabiroberai/node-swift.git
Computed https://github.com/kabiroberai/node-swift.git at 1.3.0 (3.75s)
Fetching https://github.com/apple/swift-syntax.git
[1/70866] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (6.58s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (10.94s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.53s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/kabiroberai/node-swift.git
Working copy of https://github.com/kabiroberai/node-swift.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Building for debugging...
[0/39] Write sources
[18/39] Compiling _SwiftSyntaxCShims dummy.c
[19/39] Compiling CNodeAPISupport node_context.c
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/CNodeAPISupport/task_reflection.cpp:25:20: error: 'swiftasynccall' calling convention is not supported for this target
   25 |     __attribute__((swiftasynccall))
      |                    ^
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/CNodeAPISupport/task_reflection.cpp:62:16: error: 'swiftasynccall' calling convention is not supported for this target
   62 | __attribute__((swiftasynccall)) static void node_swift_resume_trampoline(__attribute__((swift_async_context)) void *ctx) {
      |                ^
2 errors generated.
[20/39] Compiling CNodeAPISupport task_reflection.cpp
[20/39] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm