The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ProrsumNet, reference 0.1.3 (941e0c), with Swift 6.1 for Wasm on 27 May 2025 18:37:05 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.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/noppoMan/ProrsumNet.git
Reference: 0.1.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/noppoMan/ProrsumNet
 * tag               0.1.3      -> FETCH_HEAD
HEAD is now at 941e0c6 Merge pull request #4 from noppoMan/avoid-crash
Cloned https://github.com/noppoMan/ProrsumNet.git
Revision (git rev-parse @):
941e0c65df620467130e9eb2496a3c1275c1d307
SUCCESS checkout https://github.com/noppoMan/ProrsumNet.git at 0.1.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/noppoMan/ProrsumNet.git
https://github.com/noppoMan/ProrsumNet.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "clibressl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/clibressl.git"
    }
  ],
  "manifest_display_name" : "ProrsumNet",
  "name" : "ProrsumNet",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ProrsumNet",
      "targets" : [
        "ProrsumNet"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ProrsumNetTests",
      "module_type" : "SwiftTarget",
      "name" : "ProrsumNetTests",
      "path" : "Tests/ProrsumNetTests",
      "sources" : [
        "SocketTests.swift",
        "TCPTests.swift",
        "UDPTests.swift"
      ],
      "target_dependencies" : [
        "ProrsumNet"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ProrsumNet",
      "module_type" : "SwiftTarget",
      "name" : "ProrsumNet",
      "path" : "Sources/ProrsumNet",
      "product_dependencies" : [
        "CLibreSSL"
      ],
      "product_memberships" : [
        "ProrsumNet"
      ],
      "sources" : [
        "Net/Address.swift",
        "Net/Net.swift",
        "Net/SSLTCPStream.swift",
        "Net/Socket.swift",
        "Net/Stream.swift",
        "Net/TCPServer.swift",
        "Net/TCPSocket.swift",
        "Net/TCPStream.swift",
        "Net/UDPSocket.swift",
        "POSIX/SystemError.swift",
        "TLS/Certificate.swift",
        "TLS/Certs/mozilla_certs.swift",
        "TLS/Certs/openbsd_certs.swift",
        "TLS/Config.swift",
        "TLS/Context.swift",
        "TLS/Error.swift",
        "TLS/Mode.swift",
        "TLS/SSLSocket.swift",
        "TLS/Utilities.swift",
        "Util/CaseInsensitiveString.swift",
        "Util/Data.swift",
        "Util/String.swift",
        "Util/URL.swift",
        "Util/URandom.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/vapor/clibressl.git
[1/3365] Fetching clibressl
Fetched https://github.com/vapor/clibressl.git from cache (0.96s)
Computing version for https://github.com/vapor/clibressl.git
Computed https://github.com/vapor/clibressl.git at 1.0.1 (1.56s)
Creating working copy for https://github.com/vapor/clibressl.git
Working copy of https://github.com/vapor/clibressl.git resolved at 1.0.1
Building for debugging...
[0/618] Compiling CLibreSSL a_dup.c
[1/618] Write sources
[2/618] Compiling CLibreSSL a_enum.c
[3/618] Compiling CLibreSSL a_i2d_fp.c
[4/618] Compiling CLibreSSL bn_exp.c
[5/618] Compiling CLibreSSL a_mbstr.c
[6/618] Compiling CLibreSSL a_int.c
In file included from /host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/xts128.c:51:
/host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/endian.h:7:11: fatal error: 'machine/endian.h' file not found
    7 |         #include <machine/endian.h>
      |                  ^~~~~~~~~~~~~~~~~~
1 error generated.
[7/618] Compiling CLibreSSL xts128.c
[7/618] Compiling CLibreSSL x_val.c
[7/618] Compiling CLibreSSL x_x509.c
[7/618] Compiling CLibreSSL x_spki.c
[7/618] Compiling CLibreSSL x_x509a.c
[7/618] Compiling CLibreSSL xcbc_enc.c
[7/618] Compiling CLibreSSL a_digest.c
[7/618] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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...
In file included from /host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/xts128.c:51:
/host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/endian.h:7:11: fatal error: 'machine/endian.h' file not found
    7 |         #include <machine/endian.h>
      |                  ^~~~~~~~~~~~~~~~~~
1 error generated.
[0/611] Compiling CLibreSSL xts128.c
[0/611] Compiling CLibreSSL xcbc_enc.c
[0/611] Compiling CLibreSSL x_sig.c
[0/611] Compiling CLibreSSL x_x509.c
[0/611] Compiling CLibreSSL x_val.c
[0/611] Compiling CLibreSSL x_x509a.c
[0/611] Compiling CLibreSSL x_spki.c
[0/611] Compiling CLibreSSL x_req.c
BUILD FAILURE 6.1 wasm