The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwByeDPI, reference 0.17.3 (613b27), with Swift 6.2 for Wasm on 22 Apr 2026 01:34:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mIwr/SwByeDPI.git
Reference: 0.17.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/mIwr/SwByeDPI
 * tag               0.17.3     -> FETCH_HEAD
HEAD is now at 613b270 feat: ByeDPIC, ByeDPIKit Xcode static lib targets for distribution nested frameworks fix; upd: use id view modifier for list views; ref: Swift concurrency centralized #if condition
Cloned https://github.com/mIwr/SwByeDPI.git
Revision (git rev-parse @):
613b270e32b15881f4550a258dc2e76db78ec23e
SUCCESS checkout https://github.com/mIwr/SwByeDPI.git at 0.17.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mIwr/SwByeDPI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:36:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
34 | ]
35 |
36 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
37 |     name: "SwByeDPI",
38 |     platforms: [
/host/spi-builder-workspace/Package.swift:39:17: warning: 'v10_12' is deprecated: macOS 10.13 is the oldest supported version [#DeprecatedDeclaration]
37 |     name: "SwByeDPI",
38 |     platforms: [
39 |         .macOS(.v10_12), .iOS(.v10), .tvOS(.v10), .watchOS(.v3), .visionOS(.v1)
   |                 `- warning: 'v10_12' is deprecated: macOS 10.13 is the oldest supported version [#DeprecatedDeclaration]
40 |     ],
41 |     products: [
/host/spi-builder-workspace/Package.swift:39:32: warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
37 |     name: "SwByeDPI",
38 |     platforms: [
39 |         .macOS(.v10_12), .iOS(.v10), .tvOS(.v10), .watchOS(.v3), .visionOS(.v1)
   |                                `- warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
40 |     ],
41 |     products: [
/host/spi-builder-workspace/Package.swift:39:45: warning: 'v10' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
37 |     name: "SwByeDPI",
38 |     platforms: [
39 |         .macOS(.v10_12), .iOS(.v10), .tvOS(.v10), .watchOS(.v3), .visionOS(.v1)
   |                                             `- warning: 'v10' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
40 |     ],
41 |     products: [
/host/spi-builder-workspace/Package.swift:39:61: warning: 'v3' is deprecated: watchOS 4.0 is the oldest supported version [#DeprecatedDeclaration]
37 |     name: "SwByeDPI",
38 |     platforms: [
39 |         .macOS(.v10_12), .iOS(.v10), .tvOS(.v10), .watchOS(.v3), .visionOS(.v1)
   |                                                             `- warning: 'v3' is deprecated: watchOS 4.0 is the oldest supported version [#DeprecatedDeclaration]
40 |     ],
41 |     products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Building for debugging...
[0/17] Copying LICENSE
[0/17] Copying PrivacyInfo.xcprivacy
[0/17] Write sources
[0/17] Copying PrivacyInfo.xcprivacy
[0/17] Write sources
/host/spi-builder-workspace/Sources/ByeDPIC/ciadpi_bridge.c:77:34: error: use of undeclared identifier 'SO_SNDTIMEO'
   77 |     setsockopt(sock, SOL_SOCKET, SO_SNDTIMEO, &timeout, sizeof(timeout));
      |                                  ^
1 error generated.
[6/17] Compiling ByeDPIC ciadpi_bridge.c
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/extend.c:1:
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/extend.h:6:
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/proxy.h:13:
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/conev.h:22:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
    2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
      |  ^
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/extend.c:1:
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/extend.h:6:
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/proxy.h:13:
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/conev.h:32:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/poll.h:1:2: warning: redirecting incorrect #include <sys/poll.h> to <poll.h> [-W#warnings]
    1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
      |  ^
/host/spi-builder-workspace/Sources/ByeDPIC/byedpi/extend.c:411:13: error: use of undeclared identifier 'SO_LINGER'
  411 |             SO_LINGER, (char *)&l, sizeof(l)) < 0) {
      |             ^
1 warning and 2 errors generated.
[6/17] Compiling extend.c
[6/17] Compiling mpool.c
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/desync.c:3:
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/desync.h:9:
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/conev.h:22:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
    2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
      |  ^
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/desync.c:3:
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/desync.h:9:
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/conev.h:32:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/poll.h:1:2: warning: redirecting incorrect #include <sys/poll.h> to <poll.h> [-W#warnings]
    1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
      |  ^
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/desync.c:13:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
    2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
      |  ^
/host/spi-builder-workspace/Sources/ByeDPIC/byedpi/desync.c:407:46: error: use of undeclared identifier 'MSG_OOB'
  407 |     ssize_t len = send(sfd, buffer, pos + 1, MSG_OOB);
      |                                              ^
1 warning and 3 errors generated.
[6/17] Compiling desync.c
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/conev.c:1:
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/conev.h:22:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
    2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
      |  ^
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/conev.c:1:
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/conev.h:32:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/poll.h:1:2: warning: redirecting incorrect #include <sys/poll.h> to <poll.h> [-W#warnings]
    1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
      |  ^
1[6/17] Compiling conev.c
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/proxy.c:1:
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/proxy.h:13:
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/conev.h:22:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
    2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
      |  ^
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/proxy.c:1:
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/proxy.h:13:
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/conev.h:32:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/poll.h:1:2: warning: redirecting incorrect #include <sys/poll.h> to <poll.h> [-W#warnings]
    1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
      |  ^
In file included from /host/spi-builder-workspace/Sources/ByeDPIC/byedpi/proxy.c:7:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
    2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
      |  ^
/host/spi-builder-workspace/Sources/ByeDPIC/byedpi/proxy.c:30:14: fatal error: 'netdb.h' file not found
   30 |     #include <netdb.h>
      |              ^~~~~~~~~
1 warning and 3 errors generated.
[6/17] Compiling proxy.c
/host/spi-builder-workspace/Sources/ByeDPIC/byedpi/packets.c:48:35: warning: unknown attribute 'nonstring' ignored [-Wunknown-attributes]
   48 | char http_data[43] __attribute__((nonstring)) = {
      |                                   ^~~~~~~~~
[6/17] Compiling packets.c
[6/17] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm