Build Information
Failed to build SwByeDPI, reference master (4b1ca8), with Swift 6.2 for Wasm on 17 Jul 2026 23:01:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mIwr/SwByeDPI.git
Reference: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 4b1ca87 fix: DoH/DoT IP update from settings, NE exclude for SOCKS 0.0.0.0, typos
Cloned https://github.com/mIwr/SwByeDPI.git
Revision (git rev-parse @):
4b1ca8744630327dfb955ddd1ae0d3c5f2c1abdc
SUCCESS checkout https://github.com/mIwr/SwByeDPI.git at master
========================================
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-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/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 PrivacyInfo.xcprivacy
[0/17] Write sources
[1/17] Copying PrivacyInfo.xcprivacy
[2/17] Copying LICENSE
[5/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/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);
| ^
[6/17] Compiling desync.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>
| ^~~~~~~~~
/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 proxy.c
[6/17] Compiling packets.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>
| ^
[6/17] Compiling conev.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>
| ^
[6/17] Compiling extend.c
[6/17] Compiling mpool.c
[6/17] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm