The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwByeDPI, reference master (e5828a), with Swift 6.2 for Android on 22 Apr 2026 01:27:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
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 e5828a4 feat: Single strategy debugger, shortened test domains (ig,fb,wa,twitter,video)
Cloned https://github.com/mIwr/SwByeDPI.git
Revision (git rev-parse @):
e5828a4904d57bc0b45c542fa8df4a1bc442b96c
SUCCESS checkout https://github.com/mIwr/SwByeDPI.git at master
========================================
Build
========================================
Selected platform:         android
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-4606859-1":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-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] Write sources
[0/17] Copying PrivacyInfo.xcprivacy
[0/17] Copying LICENSE
[4/17] Write sources
[4/17] Copying PrivacyInfo.xcprivacy
/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)) = {
      |                                   ^~~~~~~~~
1 warning generated.
[6/17] Compiling packets.c
[7/17] Compiling ByeDPIC ciadpi_bridge.c
[8/17] Write swift-version--11D90AFD9DD3AB2.txt
[9/17] Compiling extend.c
[10/17] Compiling desync.c
[11/17] Compiling conev.c
[12/17] Compiling mpool.c
[13/17] Compiling proxy.c
[14/17] Compiling ciadpi_main.c
[15/17] Write Objects.LinkFileList
[16/17] Archiving libByeDPIC.a
[18/21] Compiling ByeDPIKit resource_bundle_accessor.swift
[19/21] Compiling ByeDPIKit BDError.swift
[20/21] Emitting module ByeDPIKit
[21/21] Compiling ByeDPIKit ByeDPI.swift
/host/spi-builder-workspace/Sources/ByeDPIKit/ByeDPI.swift:171:9: error: cannot find 'sleep' in scope
169 | #endif
170 |         thread.start()
171 |         sleep(1)
    |         `- error: cannot find 'sleep' in scope
172 |         return err
173 |     }
BUILD FAILURE 6.2 android