The Swift Package Index logo.Swift Package Index

Build Information

Failed to build sebbu-networking, reference main (87d744), with Swift 6.1 for Wasm on 29 May 2025 18:01:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/MarSe32m/sebbu-networking.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/MarSe32m/sebbu-networking
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 87d7443 Fix NetworkUtils implementation
Cloned https://github.com/MarSe32m/sebbu-networking.git
Revision (git rev-parse @):
87d74434d852d42b2accc9884c4136be1575c1a7
SUCCESS checkout https://github.com/MarSe32m/sebbu-networking.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/MarSe32m/sebbu-networking.git
https://github.com/MarSe32m/sebbu-networking.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "sebbu-c-libuv",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.48.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/MarSe32m/sebbu-c-libuv.git"
    },
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections.git"
    }
  ],
  "manifest_display_name" : "sebbu-networking",
  "name" : "sebbu-networking",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "SebbuNetworking",
      "targets" : [
        "SebbuNetworking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SebbuNetworkingTests",
      "module_type" : "SwiftTarget",
      "name" : "SebbuNetworkingTests",
      "path" : "Tests/SebbuNetworkingTests",
      "sources" : [
        "SebbuNetworkingExecuteTests.swift",
        "SebbuNetworkingGetAddrInfoTests.swift",
        "SebbuNetworkingSystemUtilsTests.swift",
        "SebbuNetworkingTCPTests.swift",
        "SebbuNetworkingTests.swift",
        "SebbuNetworkingUDPTests.swift"
      ],
      "target_dependencies" : [
        "SebbuNetworking"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SebbuNetworking",
      "module_type" : "SwiftTarget",
      "name" : "SebbuNetworking",
      "path" : "Sources/SebbuNetworking",
      "product_dependencies" : [
        "SebbuCLibUV",
        "DequeModule"
      ],
      "product_memberships" : [
        "SebbuNetworking"
      ],
      "sources" : [
        "Common/Allocators.swift",
        "Common/DebugOnly.swift",
        "Common/ErrorMap.swift",
        "Common/EventLoop.swift",
        "Common/EventLoopBound.swift",
        "Common/IPAddress.swift",
        "TCP/AsyncTCPChannel.swift",
        "TCP/TCP.swift",
        "TCP/TCPChannel.swift",
        "TCP/TCPChannelContext.swift",
        "UDP/AsyncUDPChannel.swift",
        "UDP/UDP.swift",
        "UDP/UDPChannel.swift",
        "UDP/UDPChannelContext.swift",
        "Utilities/FileDescriptorLimit.swift",
        "Utilities/Lock.swift",
        "Utilities/NetworkUtils.swift",
        "Utilities/StringUtils.swift",
        "Utilities/SystemUtils.swift",
        "Utilities/Thread.swift",
        "WebSocket/WebSocketClient.swift",
        "WebSocket/WebSocketServer.swift"
      ],
      "target_dependencies" : [
        "CSebbuNetworking"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSebbuNetworking",
      "module_type" : "ClangTarget",
      "name" : "CSebbuNetworking",
      "path" : "Sources/CSebbuNetworking",
      "product_memberships" : [
        "SebbuNetworking"
      ],
      "sources" : [
        "shim.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 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/MarSe32m/sebbu-c-libuv.git
Fetching https://github.com/apple/swift-collections.git
[1/364] Fetching sebbu-c-libuv
[365/16955] Fetching sebbu-c-libuv, swift-collections
Fetched https://github.com/MarSe32m/sebbu-c-libuv.git from cache (0.33s)
[332/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.39s)
Computing version for https://github.com/MarSe32m/sebbu-c-libuv.git
Computed https://github.com/MarSe32m/sebbu-c-libuv.git at 1.48.0 (2.38s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.77s)
Creating working copy for https://github.com/MarSe32m/sebbu-c-libuv.git
Working copy of https://github.com/MarSe32m/sebbu-c-libuv.git resolved at 1.48.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Building for debugging...
[0/40] Compiling CSebbuNetworking shim.c
[0/40] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/inet.c:22:
In file included from /host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/include/uv.h:71:
/host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/include/unix.h:34:10: fatal error: 'netdb.h' file not found
   34 | #include <netdb.h>  /* MAXHOSTNAMELEN on Solaris */
      |          ^~~~~~~~~
1 error generated.
[2/40] Compiling inet.c
In file included from /host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/idna.c:20:
In file included from /host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/include/uv.h:71:
/host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/include/unix.h:34:10: fatal error: 'netdb.h' file not found
   34 | #include <netdb.h>  /* MAXHOSTNAMELEN on Solaris */
      |          ^~~~~~~~~
1 error generated.
[2/40] Compiling idna.c
[2/40] Compiling fs-poll.c
[2/40] Compiling version.c
In file included from /host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/random.c:22:
In file included from /host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/include/uv.h:71:
/host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/include/unix.h:34:10: fatal error: 'netdb.h' file not found
   34 | #include <netdb.h>  /* MAXHOSTNAMELEN on Solaris */
      |          ^~~~~~~~~
1 error generated.
[2/40] Compiling random.c
[2/40] Compiling procfs-exepath.c
In file included from /host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/strscpy.c:22:
In file included from /host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/strscpy.h:29:
In file included from /host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/include/uv.h:71:
/host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/include/unix.h:34:10: fatal error: 'netdb.h' file not found
   34 | #include <netdb.h>  /* MAXHOSTNAMELEN on Solaris */
      |          ^~~~~~~~~
1 error generated.
[2/40] Compiling strscpy.c
[2/40] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/sebbu-c-libuv/Sources/SebbuCLibUV/src/version.c:22:
In file included from /host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/include/uv.h:71:
/host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/include/unix.h:34:10: fatal error: 'netdb.h' file not found
   34 | #include <netdb.h>  /* MAXHOSTNAMELEN on Solaris */
      |          ^~~~~~~~~
1 error generated.
[0/38] Compiling version.c
In file included from /host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/unix/tty.c:22:
In file included from /host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/include/uv.h:71:
/host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/include/unix.h:34:10: fatal error: 'netdb.h' file not found
   34 | #include <netdb.h>  /* MAXHOSTNAMELEN on Solaris */
      |          ^~~~~~~~~
1 error generated.
[0/38] Compiling tty.c
In file included from /host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/unix/udp.c:22:
In file included from /host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/include/uv.h:71:
/host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/include/unix.h:34:10: fatal error: 'netdb.h' file not found
   34 | #include <netdb.h>  /* MAXHOSTNAMELEN on Solaris */
      |          ^~~~~~~~~
[0/38] Compiling udp.c
In file included from /host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/unix/tcp.c:22:
In file included from /host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/include/uv.h:71:
/host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/include/unix.h:34:10: fatal error: 'netdb.h' file not found
   34 | #include <netdb.h>  /* MAXHOSTNAMELEN on Solaris */
      |          ^~~~~~~~~
[0/38] Compiling tcp.c
In file included from /host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/uv-common.c:22:
In file included from /host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/include/uv.h:71:
/host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/include/unix.h:34:10: fatal error: 'netdb.h' file not found
   34 | #include <netdb.h>  /* MAXHOSTNAMELEN on Solaris */
      |          ^~~~~~~~~
[0/38] Compiling uv-common.c
In file included from /host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/unix/thread.c:22:
In file included from /host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/include/uv.h:71:
/host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/include/unix.h:34:10: fatal error: 'netdb.h' file not found
   34 | #include <netdb.h>  /* MAXHOSTNAMELEN on Solaris */
      |          ^~~~~~~~~
1 error generated.
[0/38] Compiling thread.c
In file included from /host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/uv-data-getter-setters.c:22:
In file included from /host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/include/uv.h:71:
/host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/include/unix.h:34:10: fatal error: 'netdb.h' file not found
   34 | #include <netdb.h>  /* MAXHOSTNAMELEN on Solaris */
      |          ^~~~~~~~~
1 error generated.
[0/38] Compiling uv-data-getter-setters.c
[0/38] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm