The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BluetoothLinux, reference master (93efd3), with Swift 6.4 for Wasm on 30 Oct 2026 20:19:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pureswift/bluetoothlinux.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/pureswift/bluetoothlinux
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 93efd3f Merge pull request #65 from PureSwift/fix/hci-request-timeout
Cloned https://github.com/pureswift/bluetoothlinux.git
Revision (git rev-parse @):
93efd3f038f33d3e200599439b78422279547740
SUCCESS checkout https://github.com/pureswift/bluetoothlinux.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/pureswift/bluetoothlinux.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:0ad19d16955074ecc72bbe910025b19c4e4614184c1a48afc82660d4c7620121
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/PureSwift/Bluetooth.git
[1/25878] Fetching bluetooth
Fetched https://github.com/PureSwift/Bluetooth.git (1.08s)
Fetching https://github.com/PureSwift/Socket.git
[1/1671] Fetching socket
Fetched https://github.com/PureSwift/Socket.git (0.42s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-system
[1/19320] Fetching swift-argument-parser
[2/26714] Fetching swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-system (0.73s)
[17195/19320] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (0.92s)
[1/81369] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (5.80s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (7.54s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.31s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.37s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/PureSwift/Socket.git
Working copy of https://github.com/PureSwift/Socket.git resolved at main (87047ea)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Creating working copy for https://github.com/PureSwift/Bluetooth.git
Working copy of https://github.com/PureSwift/Bluetooth.git resolved at master (6da6787)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.35s)
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 714]
[Planning deferred tasks]
[127 / 234] BluetoothMacros
[133 / 248] SystemPackage
[145 / 248] SystemPackage
[145 / 248] BluetoothMetadata
[149 / 248] BluetoothMetadata
[153 / 248] SystemPackage-product
[154 / 249] SystemPackage-product
[157 / 249] SystemPackage
[157 / 249] Socket
[159 / 249] GenerateBluetooth-product
[162 / 250] SystemPackage
[168 / 251] Socket
[170 / 260] Socket
[174 / 261] Socket
[176 / 261] Socket
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile NetworkInterface.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:91:36: error: cannot find type 'if_nameindex' in scope
 89 |
 90 |     /// The C `if_nameindex` type
 91 |     typealias InterfaceNameIndex = if_nameindex
    |                                    `- error: cannot find type 'if_nameindex' in scope
 92 |
 93 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:104:59: error: missing argument label 'index:' in call
102 |             }
103 |             // get interfaces
104 |             return (0 ..< count).map { NetworkInterfaceID(pointer[$0]) }
    |                                                           `- error: missing argument label 'index:' in call
105 |         }
106 |     }
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:104:70: error: missing argument for parameter 'name' in call
 78 | // MARK: - Supporting Types
 79 |
 80 | public struct NetworkInterfaceID: Equatable, Hashable, Sendable {
    |               `- note: 'init(index:name:)' declared here
 81 |
 82 |     /// Interface index.
    :
102 |             }
103 |             // get interfaces
104 |             return (0 ..< count).map { NetworkInterfaceID(pointer[$0]) }
    |                                                                      `- error: missing argument for parameter 'name' in call
105 |         }
106 |     }
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/AncillaryData.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/Socket.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/SocketContinuation.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/SocketManager.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/SocketManager/AsyncSocketManager.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/SocketManager/CFSocketManager.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/SocketManager/EpollEventQueue.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/SocketManager/EventQueue.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/SocketManager/KqueueEventQueue.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/SocketManager/PollEventQueue.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInternetAddress.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CSocketAddress.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Errno.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/FileChange.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/FileEvent.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/FileFlags.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/InputOutput/IOControl.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/InputOutput/IODirection.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/InputOutput/IOOperations.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/InputOutput/IOType.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/InternetProtocol.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/MessageFlags.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Mocking.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkOrder.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Poll.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddressFamily.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketDescriptor.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketEvent.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketFlags.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketHelpers.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketOperations.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketOption.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketOptionID.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketOptionLevel.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketProtocol.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketProtocol/IPv4Protocol.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketProtocol/IPv6Protocol.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketProtocol/LinkLayerProtocol.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketProtocol/UnixProtocol.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketType.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/TCPSocketOption.swift /host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Util.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/Socket.build/Debug-webassembly-wasm32/Socket-t.build/Objects-normal/wasm32/supplementaryOutputs-12 -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D ENABLE_MOCKING -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/CSystem/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/Socket/Sources/CSocket/include/module.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/CSystem/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/Socket/Sources/CSocket/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Socket.build/Debug-webassembly-wasm32/Socket-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Socket.build/Debug-webassembly-wasm32/Socket-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Socket.build/Debug-webassembly-wasm32/Socket-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Socket -package-name socket -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Socket.build/Debug-webassembly-wasm32/Socket-t.build/Objects-normal/wasm32/Socket_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Socket.build/Debug-webassembly-wasm32/Socket-t.build/Objects-normal/wasm32/IOType.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Socket.build/Debug-webassembly-wasm32/Socket-t.build/Objects-normal/wasm32/InternetProtocol.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Socket.build/Debug-webassembly-wasm32/Socket-t.build/Objects-normal/wasm32/MessageFlags.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Socket.build/Debug-webassembly-wasm32/Socket-t.build/Objects-normal/wasm32/Mocking.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Socket.build/Debug-webassembly-wasm32/Socket-t.build/Objects-normal/wasm32/NetworkInterface.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Socket.build/Debug-webassembly-wasm32/Socket-t.build/Objects-normal/wasm32/NetworkOrder.o -index-unit-output-path /Socket.build/Debug-webassembly-wasm32/Socket-t.build/Objects-normal/wasm32/IOType.o -index-unit-output-path /Socket.build/Debug-webassembly-wasm32/Socket-t.build/Objects-normal/wasm32/InternetProtocol.o -index-unit-output-path /Socket.build/Debug-webassembly-wasm32/Socket-t.build/Objects-normal/wasm32/MessageFlags.o -index-unit-output-path /Socket.build/Debug-webassembly-wasm32/Socket-t.build/Objects-normal/wasm32/Mocking.o -index-unit-output-path /Socket.build/Debug-webassembly-wasm32/Socket-t.build/Objects-normal/wasm32/NetworkInterface.o -index-unit-output-path /Socket.build/Debug-webassembly-wasm32/Socket-t.build/Objects-normal/wasm32/NetworkOrder.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
[177 / 262] Socket
error: Build failed
BUILD FAILURE 6.4 wasm