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 Sword, reference 0.9.2 (d8097b), with Swift 6.1 for Wasm on 27 May 2025 08:27:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/Azoy/Sword.git
Reference: 0.9.2
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/Azoy/Sword
 * tag               0.9.2      -> FETCH_HEAD
HEAD is now at d8097bd Add embed author icon
Cloned https://github.com/Azoy/Sword.git
Revision (git rev-parse @):
d8097bd5b3881d6d4bae4feebf005592f7ffa573
SUCCESS checkout https://github.com/Azoy/Sword.git at 0.9.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Azoy/Sword.git
https://github.com/Azoy/Sword.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "engine",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/engine.git"
    }
  ],
  "manifest_display_name" : "Sword",
  "name" : "Sword",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Sword",
      "targets" : [
        "Sword"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Sword",
      "module_type" : "SwiftTarget",
      "name" : "Sword",
      "path" : "Sources/Sword",
      "product_dependencies" : [
        "URI",
        "WebSockets"
      ],
      "product_memberships" : [
        "Sword"
      ],
      "sources" : [
        "Gateway/EventHandler.swift",
        "Gateway/Eventable.swift",
        "Gateway/Gateway.swift",
        "Gateway/GatewayHandler.swift",
        "Gateway/Heartbeat.swift",
        "Gateway/Payload.swift",
        "Gateway/Shard.swift",
        "Gateway/ShardManager.swift",
        "Rest/EndpointInfo.swift",
        "Rest/Endpoints.swift",
        "Rest/MultipartBody.swift",
        "Rest/RateLimit.swift",
        "Rest/Request.swift",
        "Shield/Command.swift",
        "Shield/Permissions.swift",
        "Shield/Shield.swift",
        "Sword.swift",
        "Types/AuditLog.swift",
        "Types/Channel.swift",
        "Types/DM.swift",
        "Types/Emoji.swift",
        "Types/GroupDM.swift",
        "Types/Guild.swift",
        "Types/GuildCategory.swift",
        "Types/GuildText.swift",
        "Types/GuildVoice.swift",
        "Types/Invite.swift",
        "Types/Member.swift",
        "Types/Message.swift",
        "Types/Options.swift",
        "Types/Role.swift",
        "Types/Snowflake.swift",
        "Types/User.swift",
        "Types/VoiceState.swift",
        "Types/Webhook.swift",
        "Utils/Bucket.swift",
        "Utils/Enums.swift",
        "Utils/Error.swift",
        "Utils/Imageable.swift",
        "Utils/JSON.swift",
        "Utils/Log.swift",
        "Utils/Updatable.swift",
        "Utils/Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/vapor/engine.git
[1/25467] Fetching engine
Fetched https://github.com/vapor/engine.git from cache (1.02s)
Computing version for https://github.com/vapor/engine.git
Computed https://github.com/vapor/engine.git at 2.2.5 (1.62s)
Fetching https://github.com/vapor/tls.git
Fetching https://github.com/vapor/random.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/sockets.git
Fetching https://github.com/vapor/crypto.git
[1/3312] Fetching sockets
[3313/3460] Fetching sockets, random
[3461/6246] Fetching sockets, random, crypto
[3740/26389] Fetching sockets, random, crypto, core
[7859/27533] Fetching sockets, random, crypto, core, tls
Fetched https://github.com/vapor/sockets.git from cache (0.37s)
Fetched https://github.com/vapor/crypto.git from cache (0.37s)
[9753/21435] Fetching random, core, tls
Fetched https://github.com/vapor/random.git from cache (0.87s)
Fetched https://github.com/vapor/tls.git from cache (0.87s)
Fetched https://github.com/vapor/core.git from cache (0.89s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (3.19s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.60s)
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor/bits.git
[1/260] Fetching debugging
[207/618] Fetching debugging, bits
Fetched https://github.com/vapor/debugging.git from cache (0.37s)
Fetched https://github.com/vapor/bits.git from cache (0.37s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.94s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (1.51s)
Computing version for https://github.com/vapor/tls.git
Computed https://github.com/vapor/tls.git at 2.1.3 (0.99s)
Fetching https://github.com/vapor/ctls.git
[1/71] Fetching ctls
Fetched https://github.com/vapor/ctls.git from cache (0.89s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 2.1.3 (1.62s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (0.74s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (1.28s)
Creating working copy for https://github.com/vapor/random.git
Working copy of https://github.com/vapor/random.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/sockets.git
Working copy of https://github.com/vapor/sockets.git resolved at 2.2.3
Creating working copy for https://github.com/vapor/tls.git
Working copy of https://github.com/vapor/tls.git resolved at 2.1.3
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 2.1.3
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/engine.git
Working copy of https://github.com/vapor/engine.git resolved at 2.2.5
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/ctls.git
Working copy of https://github.com/vapor/ctls.git resolved at 1.1.3
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
Building for debugging...
[0/15] Write sources
[13/15] Compiling CHTTP http_parser.c
[14/15] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/37] Emitting module Bits
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/39] Emitting module libc
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | 	@_exported import Glibc
3 | #else
4 | 	@_exported import Darwin.C
  |                    `- error: no such module 'Darwin.C'
5 | #endif
6 |
[18/39] Compiling libc libc.swift
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | 	@_exported import Glibc
3 | #else
4 | 	@_exported import Darwin.C
  |                    `- error: no such module 'Darwin.C'
5 | #endif
6 |
[19/39] Compiling Bits Operators.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[20/39] Compiling Bits String+BytesConvertible.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[21/39] Emitting module Debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/23] Emitting module libc
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | 	@_exported import Glibc
3 | #else
4 | 	@_exported import Darwin.C
  |                    `- error: no such module 'Darwin.C'
5 | #endif
6 |
[3/23] Compiling libc libc.swift
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | 	@_exported import Glibc
3 | #else
4 | 	@_exported import Darwin.C
  |                    `- error: no such module 'Darwin.C'
5 | #endif
6 |
[4/23] Emitting module Debugging
BUILD FAILURE 6.1 wasm