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 main (c05928), with Swift 6.1 for Wasm on 30 May 2025 19:43:19 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stevengharris/NodeSwiftLogging.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/stevengharris/NodeSwiftLogging
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/stevengharris/NodeSwiftLogging.git
https://github.com/stevengharris/NodeSwiftLogging.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "node-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kabiroberai/node-swift.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "NodeSwiftLogging",
  "name" : "NodeSwiftLogging",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "NodeSwiftLogging",
      "targets" : [
        "NodeSwiftLogging"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NodeSwiftLogging",
      "module_type" : "SwiftTarget",
      "name" : "NodeSwiftLogging",
      "path" : "Sources",
      "product_dependencies" : [
        "NodeAPI",
        "Logging"
      ],
      "product_memberships" : [
        "NodeSwiftLogging"
      ],
      "sources" : [
        "NodeConsole.swift",
        "NodeLogHandler.swift",
        "NodeLogger.swift",
        "NodeLoggerConfig.swift",
        "NodeLoggerData.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
Fetching https://github.com/kabiroberai/node-swift.git
Fetching https://github.com/apple/swift-log.git
[1/2142] Fetching node-swift
[151/5978] Fetching node-swift, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.91s)
Fetched https://github.com/kabiroberai/node-swift.git from cache (1.02s)
Computing version for https://github.com/kabiroberai/node-swift.git
Computed https://github.com/kabiroberai/node-swift.git at 1.3.0 (5.31s)
Fetching https://github.com/apple/swift-syntax.git
[1/70522] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (9.62s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (14.09s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.06s)
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
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-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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...
/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.
[0/19] Compiling CNodeAPISupport task_reflection.cpp
[0/19] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm