Build Information
Failed to build DBus, reference master (d34567), with Swift 6.1 for Android on 13 Aug 2026 15:14:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pureswift/dbus.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/dbus
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d34567d Merge pull request #9 from PureSwift/c-abi
Cloned https://github.com/pureswift/dbus.git
Revision (git rev-parse @):
d34567d64bb553a35e5b263f344c6963a5170ca3
SUCCESS checkout https://github.com/pureswift/dbus.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/pureswift/dbus.git
https://github.com/pureswift/dbus.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:0cd0efb458d677a6de9b5e028d30e2aa1d1b247c2277202ba317a28ce9e867e0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Fetching https://github.com/PureSwift/Socket.git
[1/1671] Fetching socket
Fetched https://github.com/PureSwift/Socket.git from cache (0.44s)
Fetching https://github.com/apple/swift-system
[1/6840] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.67s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.0 (0.93s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.0
Creating working copy for https://github.com/PureSwift/Socket.git
Working copy of https://github.com/PureSwift/Socket.git resolved at main (87047ea)
Building for debugging...
[0/8] Write sources
[3/8] Compiling CSocket android.c
[4/8] Compiling CSocket shims.c
[5/8] Compiling CSocket ancillary.c
[6/8] Compiling CSystem shims.c
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/45] Emitting module SystemPackage
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[10/50] Compiling SystemPackage SystemString.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[11/50] Compiling SystemPackage Util+StringArray.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[12/50] Compiling SystemPackage Util.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[13/50] Compiling SystemPackage UtilConsumers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[14/50] Compiling SystemPackage WinSDK+Overlay.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[15/50] Compiling SystemPackage FilePathComponentView.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[16/50] Compiling SystemPackage FilePathComponents.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[17/50] Compiling SystemPackage FilePathParsing.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[18/50] Compiling SystemPackage FilePathString.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[19/50] Compiling SystemPackage FilePathSyntax.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[20/50] Compiling SystemPackage Errno.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[21/50] Compiling SystemPackage ErrnoWindows.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[22/50] Compiling SystemPackage FileDescriptor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[23/50] Compiling SystemPackage FileHelpers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[24/50] Compiling SystemPackage FileOperations.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[25/50] Compiling SystemPackage FilePath.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[26/50] Compiling SystemPackage IOCompletion.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[27/50] Compiling SystemPackage IORequest.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[28/50] Compiling SystemPackage IORing+Util.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[29/50] Compiling SystemPackage IORing.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[30/50] Compiling SystemPackage RawIORequest.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[31/50] Compiling SystemPackage Backcompat.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[32/50] Compiling SystemPackage CInterop.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[33/50] Compiling SystemPackage Constants.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[34/50] Compiling SystemPackage Exports.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[35/50] Compiling SystemPackage Mocking.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[36/50] Compiling SystemPackage FilePathTemp.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[37/50] Compiling SystemPackage FilePathTempPosix.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[38/50] Compiling SystemPackage FilePathTempWindows.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[39/50] Compiling SystemPackage FilePathWindows.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[40/50] Compiling SystemPackage FilePermissions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[41/50] Compiling SystemPackage FileFlags.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[42/50] Compiling SystemPackage FileMode.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[43/50] Compiling SystemPackage FileType.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[44/50] Compiling SystemPackage Identifiers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[45/50] Compiling SystemPackage Stat.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[46/50] Compiling SystemPackage RawBuffer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[47/50] Compiling SystemPackage Syscalls.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[48/50] Compiling SystemPackage WindowsSyscallAdapters.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[49/50] Compiling SystemPackage MachPort.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[50/50] Compiling SystemPackage PlatformString.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[52/97] Compiling Socket Errno.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[53/97] Compiling Socket FileChange.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[54/97] Compiling Socket FileEvent.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[55/97] Compiling Socket FileFlags.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[56/97] Compiling Socket IOControl.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[57/97] Compiling Socket IODirection.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[58/97] Compiling Socket IOOperations.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[59/103] Compiling Socket Poll.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[60/103] Compiling Socket SocketAddress.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[61/103] Compiling Socket IPv4SocketAddress.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[62/103] Compiling Socket IPv6SocketAddress.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[63/103] Compiling Socket LinkLayerSocketAddress.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[64/103] Compiling Socket UnixSocketAddress.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[65/103] Emitting module Socket
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[66/103] Compiling Socket SocketAddressFamily.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[67/103] Compiling Socket SocketDescriptor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[68/103] Compiling Socket SocketEvent.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[69/103] Compiling Socket SocketFlags.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[70/103] Compiling Socket SocketHelpers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[71/103] Compiling Socket SocketOperations.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[72/103] Compiling Socket EventQueue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[73/103] Compiling Socket KqueueEventQueue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[74/103] Compiling Socket PollEventQueue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[75/103] Compiling Socket CInternetAddress.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[76/103] Compiling Socket CInterop.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[77/103] Compiling Socket CSocketAddress.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[78/103] Compiling Socket Constants.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[79/103] Compiling Socket IOType.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[80/103] Compiling Socket InternetProtocol.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[81/103] Compiling Socket MessageFlags.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[82/103] Compiling Socket Mocking.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[83/103] Compiling Socket NetworkInterface.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[84/103] Compiling Socket NetworkOrder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[85/103] Compiling Socket SocketOption.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[86/103] Compiling Socket SocketOptionID.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[87/103] Compiling Socket SocketOptionLevel.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[88/103] Compiling Socket SocketProtocol.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[89/103] Compiling Socket IPv4Protocol.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[90/103] Compiling Socket IPv6Protocol.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[91/103] Compiling Socket LinkLayerProtocol.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[92/103] Compiling Socket UnixProtocol.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[93/103] Compiling Socket SocketType.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[94/103] Compiling Socket Syscalls.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[95/103] Compiling Socket TCPSocketOption.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[96/103] Compiling Socket Util.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[97/103] Compiling Socket AncillaryData.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[98/103] Compiling Socket Socket.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[99/103] Compiling Socket SocketContinuation.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[100/103] Compiling Socket SocketManager.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[101/103] Compiling Socket AsyncSocketManager.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[102/103] Compiling Socket CFSocketManager.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[103/103] Compiling Socket EpollEventQueue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[105/133] Compiling DBus DBusMatchRule.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[106/133] Compiling DBus Signals.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[107/133] Compiling DBus BusName.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[108/133] Compiling DBus BusType.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[109/137] Compiling DBus XMLParser.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:72:21: error: cannot find 'addrinfo' in scope
70 | family: Family? = nil) throws -> [DBusTCPEndpoint] {
71 |
72 | var hints = addrinfo()
| `- error: cannot find 'addrinfo' in scope
73 | // Glibc, Musl and Bionic declare the socket types as an enumeration; Darwin as Int32.
74 | #if canImport(Darwin)
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:77:35: error: cannot find 'SOCK_STREAM' in scope
75 | hints.ai_socktype = SOCK_STREAM
76 | #else
77 | hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
| `- error: cannot find 'SOCK_STREAM' in scope
78 | #endif
79 | hints.ai_protocol = Int32(IPPROTO_TCP)
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:79:35: error: cannot find 'IPPROTO_TCP' in scope
77 | hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
78 | #endif
79 | hints.ai_protocol = Int32(IPPROTO_TCP)
| `- error: cannot find 'IPPROTO_TCP' in scope
80 |
81 | switch family {
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:82:39: error: cannot find 'AF_INET' in scope
80 |
81 | switch family {
82 | case .ipv4: hints.ai_family = AF_INET
| `- error: cannot find 'AF_INET' in scope
83 | case .ipv6: hints.ai_family = AF_INET6
84 | case nil: hints.ai_family = AF_UNSPEC
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:83:39: error: cannot find 'AF_INET6' in scope
81 | switch family {
82 | case .ipv4: hints.ai_family = AF_INET
83 | case .ipv6: hints.ai_family = AF_INET6
| `- error: cannot find 'AF_INET6' in scope
84 | case nil: hints.ai_family = AF_UNSPEC
85 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:84:37: error: cannot find 'AF_UNSPEC' in scope
82 | case .ipv4: hints.ai_family = AF_INET
83 | case .ipv6: hints.ai_family = AF_INET6
84 | case nil: hints.ai_family = AF_UNSPEC
| `- error: cannot find 'AF_UNSPEC' in scope
85 | }
86 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:87:42: error: cannot find type 'addrinfo' in scope
85 | }
86 |
87 | var result: UnsafeMutablePointer<addrinfo>?
| `- error: cannot find type 'addrinfo' in scope
88 |
89 | let status = host.withCString { hostPointer in
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:91:17: error: cannot find 'getaddrinfo' in scope
89 | let status = host.withCString { hostPointer in
90 | String(port).withCString { portPointer in
91 | getaddrinfo(hostPointer, portPointer, &hints, &result)
| `- error: cannot find 'getaddrinfo' in scope
92 | }
93 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:97:73: error: cannot find 'gai_strerror' in scope
95 | guard status == 0, let first = result else {
96 |
97 | let reason = status == 0 ? "no addresses" : String(cString: gai_strerror(status))
| `- error: cannot find 'gai_strerror' in scope
98 | throw DBusProtocolError.invalidAddress("Could not resolve \(host):\(port): \(reason)")
99 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:101:17: error: cannot find 'freeaddrinfo' in scope
99 | }
100 |
101 | defer { freeaddrinfo(first) }
| `- error: cannot find 'freeaddrinfo' in scope
102 |
103 | var endpoints = [DBusTCPEndpoint]()
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:105:41: error: cannot find type 'addrinfo' in scope
103 | var endpoints = [DBusTCPEndpoint]()
104 |
105 | var entry: UnsafeMutablePointer<addrinfo>? = first
| `- error: cannot find type 'addrinfo' in scope
106 |
107 | while let current = entry {
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:116:18: error: cannot find 'AF_INET' in scope
114 | switch current.pointee.ai_family {
115 |
116 | case AF_INET:
| `- error: cannot find 'AF_INET' in scope
117 | let value = socketAddress.withMemoryRebound(to: sockaddr_in.self, capacity: 1) { $0.pointee }
118 | endpoints.append(.ipv4(IPv4SocketAddress(address: IPv4Address(value.sin_addr),
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:121:18: error: cannot find 'AF_INET6' in scope
119 | port: UInt16(bigEndian: value.sin_port))))
120 |
121 | case AF_INET6:
| `- error: cannot find 'AF_INET6' in scope
122 | let value = socketAddress.withMemoryRebound(to: sockaddr_in6.self, capacity: 1) { $0.pointee }
123 | endpoints.append(.ipv6(IPv6SocketAddress(address: IPv6Address(value.sin6_addr),
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:117:65: error: cannot find 'sockaddr_in' in scope
115 |
116 | case AF_INET:
117 | let value = socketAddress.withMemoryRebound(to: sockaddr_in.self, capacity: 1) { $0.pointee }
| `- error: cannot find 'sockaddr_in' in scope
118 | endpoints.append(.ipv4(IPv4SocketAddress(address: IPv4Address(value.sin_addr),
119 | port: UInt16(bigEndian: value.sin_port))))
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:122:65: error: cannot find 'sockaddr_in6' in scope
120 |
121 | case AF_INET6:
122 | let value = socketAddress.withMemoryRebound(to: sockaddr_in6.self, capacity: 1) { $0.pointee }
| `- error: cannot find 'sockaddr_in6' in scope
123 | endpoints.append(.ipv6(IPv6SocketAddress(address: IPv6Address(value.sin6_addr),
124 | port: UInt16(bigEndian: value.sin6_port))))
[110/137] Compiling DBus Signature.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:72:21: error: cannot find 'addrinfo' in scope
70 | family: Family? = nil) throws -> [DBusTCPEndpoint] {
71 |
72 | var hints = addrinfo()
| `- error: cannot find 'addrinfo' in scope
73 | // Glibc, Musl and Bionic declare the socket types as an enumeration; Darwin as Int32.
74 | #if canImport(Darwin)
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:77:35: error: cannot find 'SOCK_STREAM' in scope
75 | hints.ai_socktype = SOCK_STREAM
76 | #else
77 | hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
| `- error: cannot find 'SOCK_STREAM' in scope
78 | #endif
79 | hints.ai_protocol = Int32(IPPROTO_TCP)
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:79:35: error: cannot find 'IPPROTO_TCP' in scope
77 | hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
78 | #endif
79 | hints.ai_protocol = Int32(IPPROTO_TCP)
| `- error: cannot find 'IPPROTO_TCP' in scope
80 |
81 | switch family {
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:82:39: error: cannot find 'AF_INET' in scope
80 |
81 | switch family {
82 | case .ipv4: hints.ai_family = AF_INET
| `- error: cannot find 'AF_INET' in scope
83 | case .ipv6: hints.ai_family = AF_INET6
84 | case nil: hints.ai_family = AF_UNSPEC
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:83:39: error: cannot find 'AF_INET6' in scope
81 | switch family {
82 | case .ipv4: hints.ai_family = AF_INET
83 | case .ipv6: hints.ai_family = AF_INET6
| `- error: cannot find 'AF_INET6' in scope
84 | case nil: hints.ai_family = AF_UNSPEC
85 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:84:37: error: cannot find 'AF_UNSPEC' in scope
82 | case .ipv4: hints.ai_family = AF_INET
83 | case .ipv6: hints.ai_family = AF_INET6
84 | case nil: hints.ai_family = AF_UNSPEC
| `- error: cannot find 'AF_UNSPEC' in scope
85 | }
86 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:87:42: error: cannot find type 'addrinfo' in scope
85 | }
86 |
87 | var result: UnsafeMutablePointer<addrinfo>?
| `- error: cannot find type 'addrinfo' in scope
88 |
89 | let status = host.withCString { hostPointer in
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:91:17: error: cannot find 'getaddrinfo' in scope
89 | let status = host.withCString { hostPointer in
90 | String(port).withCString { portPointer in
91 | getaddrinfo(hostPointer, portPointer, &hints, &result)
| `- error: cannot find 'getaddrinfo' in scope
92 | }
93 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:97:73: error: cannot find 'gai_strerror' in scope
95 | guard status == 0, let first = result else {
96 |
97 | let reason = status == 0 ? "no addresses" : String(cString: gai_strerror(status))
| `- error: cannot find 'gai_strerror' in scope
98 | throw DBusProtocolError.invalidAddress("Could not resolve \(host):\(port): \(reason)")
99 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:101:17: error: cannot find 'freeaddrinfo' in scope
99 | }
100 |
101 | defer { freeaddrinfo(first) }
| `- error: cannot find 'freeaddrinfo' in scope
102 |
103 | var endpoints = [DBusTCPEndpoint]()
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:105:41: error: cannot find type 'addrinfo' in scope
103 | var endpoints = [DBusTCPEndpoint]()
104 |
105 | var entry: UnsafeMutablePointer<addrinfo>? = first
| `- error: cannot find type 'addrinfo' in scope
106 |
107 | while let current = entry {
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:116:18: error: cannot find 'AF_INET' in scope
114 | switch current.pointee.ai_family {
115 |
116 | case AF_INET:
| `- error: cannot find 'AF_INET' in scope
117 | let value = socketAddress.withMemoryRebound(to: sockaddr_in.self, capacity: 1) { $0.pointee }
118 | endpoints.append(.ipv4(IPv4SocketAddress(address: IPv4Address(value.sin_addr),
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:121:18: error: cannot find 'AF_INET6' in scope
119 | port: UInt16(bigEndian: value.sin_port))))
120 |
121 | case AF_INET6:
| `- error: cannot find 'AF_INET6' in scope
122 | let value = socketAddress.withMemoryRebound(to: sockaddr_in6.self, capacity: 1) { $0.pointee }
123 | endpoints.append(.ipv6(IPv6SocketAddress(address: IPv6Address(value.sin6_addr),
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:117:65: error: cannot find 'sockaddr_in' in scope
115 |
116 | case AF_INET:
117 | let value = socketAddress.withMemoryRebound(to: sockaddr_in.self, capacity: 1) { $0.pointee }
| `- error: cannot find 'sockaddr_in' in scope
118 | endpoints.append(.ipv4(IPv4SocketAddress(address: IPv4Address(value.sin_addr),
119 | port: UInt16(bigEndian: value.sin_port))))
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:122:65: error: cannot find 'sockaddr_in6' in scope
120 |
121 | case AF_INET6:
122 | let value = socketAddress.withMemoryRebound(to: sockaddr_in6.self, capacity: 1) { $0.pointee }
| `- error: cannot find 'sockaddr_in6' in scope
123 | endpoints.append(.ipv6(IPv6SocketAddress(address: IPv6Address(value.sin6_addr),
124 | port: UInt16(bigEndian: value.sin6_port))))
[111/137] Compiling DBus DBusAddress.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:72:21: error: cannot find 'addrinfo' in scope
70 | family: Family? = nil) throws -> [DBusTCPEndpoint] {
71 |
72 | var hints = addrinfo()
| `- error: cannot find 'addrinfo' in scope
73 | // Glibc, Musl and Bionic declare the socket types as an enumeration; Darwin as Int32.
74 | #if canImport(Darwin)
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:77:35: error: cannot find 'SOCK_STREAM' in scope
75 | hints.ai_socktype = SOCK_STREAM
76 | #else
77 | hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
| `- error: cannot find 'SOCK_STREAM' in scope
78 | #endif
79 | hints.ai_protocol = Int32(IPPROTO_TCP)
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:79:35: error: cannot find 'IPPROTO_TCP' in scope
77 | hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
78 | #endif
79 | hints.ai_protocol = Int32(IPPROTO_TCP)
| `- error: cannot find 'IPPROTO_TCP' in scope
80 |
81 | switch family {
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:82:39: error: cannot find 'AF_INET' in scope
80 |
81 | switch family {
82 | case .ipv4: hints.ai_family = AF_INET
| `- error: cannot find 'AF_INET' in scope
83 | case .ipv6: hints.ai_family = AF_INET6
84 | case nil: hints.ai_family = AF_UNSPEC
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:83:39: error: cannot find 'AF_INET6' in scope
81 | switch family {
82 | case .ipv4: hints.ai_family = AF_INET
83 | case .ipv6: hints.ai_family = AF_INET6
| `- error: cannot find 'AF_INET6' in scope
84 | case nil: hints.ai_family = AF_UNSPEC
85 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:84:37: error: cannot find 'AF_UNSPEC' in scope
82 | case .ipv4: hints.ai_family = AF_INET
83 | case .ipv6: hints.ai_family = AF_INET6
84 | case nil: hints.ai_family = AF_UNSPEC
| `- error: cannot find 'AF_UNSPEC' in scope
85 | }
86 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:87:42: error: cannot find type 'addrinfo' in scope
85 | }
86 |
87 | var result: UnsafeMutablePointer<addrinfo>?
| `- error: cannot find type 'addrinfo' in scope
88 |
89 | let status = host.withCString { hostPointer in
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:91:17: error: cannot find 'getaddrinfo' in scope
89 | let status = host.withCString { hostPointer in
90 | String(port).withCString { portPointer in
91 | getaddrinfo(hostPointer, portPointer, &hints, &result)
| `- error: cannot find 'getaddrinfo' in scope
92 | }
93 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:97:73: error: cannot find 'gai_strerror' in scope
95 | guard status == 0, let first = result else {
96 |
97 | let reason = status == 0 ? "no addresses" : String(cString: gai_strerror(status))
| `- error: cannot find 'gai_strerror' in scope
98 | throw DBusProtocolError.invalidAddress("Could not resolve \(host):\(port): \(reason)")
99 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:101:17: error: cannot find 'freeaddrinfo' in scope
99 | }
100 |
101 | defer { freeaddrinfo(first) }
| `- error: cannot find 'freeaddrinfo' in scope
102 |
103 | var endpoints = [DBusTCPEndpoint]()
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:105:41: error: cannot find type 'addrinfo' in scope
103 | var endpoints = [DBusTCPEndpoint]()
104 |
105 | var entry: UnsafeMutablePointer<addrinfo>? = first
| `- error: cannot find type 'addrinfo' in scope
106 |
107 | while let current = entry {
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:116:18: error: cannot find 'AF_INET' in scope
114 | switch current.pointee.ai_family {
115 |
116 | case AF_INET:
| `- error: cannot find 'AF_INET' in scope
117 | let value = socketAddress.withMemoryRebound(to: sockaddr_in.self, capacity: 1) { $0.pointee }
118 | endpoints.append(.ipv4(IPv4SocketAddress(address: IPv4Address(value.sin_addr),
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:121:18: error: cannot find 'AF_INET6' in scope
119 | port: UInt16(bigEndian: value.sin_port))))
120 |
121 | case AF_INET6:
| `- error: cannot find 'AF_INET6' in scope
122 | let value = socketAddress.withMemoryRebound(to: sockaddr_in6.self, capacity: 1) { $0.pointee }
123 | endpoints.append(.ipv6(IPv6SocketAddress(address: IPv6Address(value.sin6_addr),
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:117:65: error: cannot find 'sockaddr_in' in scope
115 |
116 | case AF_INET:
117 | let value = socketAddress.withMemoryRebound(to: sockaddr_in.self, capacity: 1) { $0.pointee }
| `- error: cannot find 'sockaddr_in' in scope
118 | endpoints.append(.ipv4(IPv4SocketAddress(address: IPv4Address(value.sin_addr),
119 | port: UInt16(bigEndian: value.sin_port))))
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:122:65: error: cannot find 'sockaddr_in6' in scope
120 |
121 | case AF_INET6:
122 | let value = socketAddress.withMemoryRebound(to: sockaddr_in6.self, capacity: 1) { $0.pointee }
| `- error: cannot find 'sockaddr_in6' in scope
123 | endpoints.append(.ipv6(IPv6SocketAddress(address: IPv6Address(value.sin6_addr),
124 | port: UInt16(bigEndian: value.sin6_port))))
[112/137] Compiling DBus DBusTCPAddress.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:72:21: error: cannot find 'addrinfo' in scope
70 | family: Family? = nil) throws -> [DBusTCPEndpoint] {
71 |
72 | var hints = addrinfo()
| `- error: cannot find 'addrinfo' in scope
73 | // Glibc, Musl and Bionic declare the socket types as an enumeration; Darwin as Int32.
74 | #if canImport(Darwin)
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:77:35: error: cannot find 'SOCK_STREAM' in scope
75 | hints.ai_socktype = SOCK_STREAM
76 | #else
77 | hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
| `- error: cannot find 'SOCK_STREAM' in scope
78 | #endif
79 | hints.ai_protocol = Int32(IPPROTO_TCP)
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:79:35: error: cannot find 'IPPROTO_TCP' in scope
77 | hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
78 | #endif
79 | hints.ai_protocol = Int32(IPPROTO_TCP)
| `- error: cannot find 'IPPROTO_TCP' in scope
80 |
81 | switch family {
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:82:39: error: cannot find 'AF_INET' in scope
80 |
81 | switch family {
82 | case .ipv4: hints.ai_family = AF_INET
| `- error: cannot find 'AF_INET' in scope
83 | case .ipv6: hints.ai_family = AF_INET6
84 | case nil: hints.ai_family = AF_UNSPEC
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:83:39: error: cannot find 'AF_INET6' in scope
81 | switch family {
82 | case .ipv4: hints.ai_family = AF_INET
83 | case .ipv6: hints.ai_family = AF_INET6
| `- error: cannot find 'AF_INET6' in scope
84 | case nil: hints.ai_family = AF_UNSPEC
85 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:84:37: error: cannot find 'AF_UNSPEC' in scope
82 | case .ipv4: hints.ai_family = AF_INET
83 | case .ipv6: hints.ai_family = AF_INET6
84 | case nil: hints.ai_family = AF_UNSPEC
| `- error: cannot find 'AF_UNSPEC' in scope
85 | }
86 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:87:42: error: cannot find type 'addrinfo' in scope
85 | }
86 |
87 | var result: UnsafeMutablePointer<addrinfo>?
| `- error: cannot find type 'addrinfo' in scope
88 |
89 | let status = host.withCString { hostPointer in
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:91:17: error: cannot find 'getaddrinfo' in scope
89 | let status = host.withCString { hostPointer in
90 | String(port).withCString { portPointer in
91 | getaddrinfo(hostPointer, portPointer, &hints, &result)
| `- error: cannot find 'getaddrinfo' in scope
92 | }
93 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:97:73: error: cannot find 'gai_strerror' in scope
95 | guard status == 0, let first = result else {
96 |
97 | let reason = status == 0 ? "no addresses" : String(cString: gai_strerror(status))
| `- error: cannot find 'gai_strerror' in scope
98 | throw DBusProtocolError.invalidAddress("Could not resolve \(host):\(port): \(reason)")
99 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:101:17: error: cannot find 'freeaddrinfo' in scope
99 | }
100 |
101 | defer { freeaddrinfo(first) }
| `- error: cannot find 'freeaddrinfo' in scope
102 |
103 | var endpoints = [DBusTCPEndpoint]()
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:105:41: error: cannot find type 'addrinfo' in scope
103 | var endpoints = [DBusTCPEndpoint]()
104 |
105 | var entry: UnsafeMutablePointer<addrinfo>? = first
| `- error: cannot find type 'addrinfo' in scope
106 |
107 | while let current = entry {
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:116:18: error: cannot find 'AF_INET' in scope
114 | switch current.pointee.ai_family {
115 |
116 | case AF_INET:
| `- error: cannot find 'AF_INET' in scope
117 | let value = socketAddress.withMemoryRebound(to: sockaddr_in.self, capacity: 1) { $0.pointee }
118 | endpoints.append(.ipv4(IPv4SocketAddress(address: IPv4Address(value.sin_addr),
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:121:18: error: cannot find 'AF_INET6' in scope
119 | port: UInt16(bigEndian: value.sin_port))))
120 |
121 | case AF_INET6:
| `- error: cannot find 'AF_INET6' in scope
122 | let value = socketAddress.withMemoryRebound(to: sockaddr_in6.self, capacity: 1) { $0.pointee }
123 | endpoints.append(.ipv6(IPv6SocketAddress(address: IPv6Address(value.sin6_addr),
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:117:65: error: cannot find 'sockaddr_in' in scope
115 |
116 | case AF_INET:
117 | let value = socketAddress.withMemoryRebound(to: sockaddr_in.self, capacity: 1) { $0.pointee }
| `- error: cannot find 'sockaddr_in' in scope
118 | endpoints.append(.ipv4(IPv4SocketAddress(address: IPv4Address(value.sin_addr),
119 | port: UInt16(bigEndian: value.sin_port))))
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:122:65: error: cannot find 'sockaddr_in6' in scope
120 |
121 | case AF_INET6:
122 | let value = socketAddress.withMemoryRebound(to: sockaddr_in6.self, capacity: 1) { $0.pointee }
| `- error: cannot find 'sockaddr_in6' in scope
123 | endpoints.append(.ipv6(IPv6SocketAddress(address: IPv6Address(value.sin6_addr),
124 | port: UInt16(bigEndian: value.sin6_port))))
[113/137] Compiling DBus DBusUnixSocketAddress.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:164:38: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
162 | }
163 |
164 | internal init(_ cValue: CInterop.UnixSocketAddress) {
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
165 |
166 | var value = cValue
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:77:52: error: type 'CInterop' has no member 'UnixSocketAddress'
75 | static var pathCapacity: Int {
76 |
77 | return MemoryLayout.size(ofValue: CInterop.UnixSocketAddress().sun_path)
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
78 | }
79 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:83:38: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
81 | static var pathOffset: Int {
82 |
83 | return MemoryLayout<CInterop.UnixSocketAddress>.size - pathCapacity
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
84 | }
85 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:127:38: error: type 'CInterop' has no member 'UnixSocketAddress'
125 | else { fatalError("Socket name exceeds sun_path capacity: '\(name)'") }
126 |
127 | var socketAddress = CInterop.UnixSocketAddress()
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
128 | socketAddress.sun_family = numericCast(Self.family.rawValue)
129 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:145:55: error: type 'CInterop' has no member 'UnixSocketAddress'
143 | ) -> Self {
144 |
145 | return pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) {
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
146 | Self.init($0.pointee)
147 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:146:23: error: missing argument label 'namespace:' in call
144 |
145 | return pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) {
146 | Self.init($0.pointee)
| `- error: missing argument label 'namespace:' in call
147 | }
148 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:146:33: error: missing argument for parameter 'name' in call
49 | public let name: String
50 |
51 | internal init(namespace: Namespace, name: String) {
| `- note: 'init(namespace:name:)' declared here
52 |
53 | self.namespace = namespace
:
144 |
145 | return pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) {
146 | Self.init($0.pointee)
| `- error: missing argument for parameter 'name' in call
147 | }
148 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:154:38: error: type 'CInterop' has no member 'UnixSocketAddress'
152 | ) rethrows -> Self {
153 |
154 | var socketAddress = CInterop.UnixSocketAddress()
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
155 |
156 | try withUnsafeMutableBytes(of: &socketAddress) { buffer in
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:158:66: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
156 | try withUnsafeMutableBytes(of: &socketAddress) { buffer in
157 | try body(buffer.baseAddress!.assumingMemoryBound(to: CInterop.SocketAddress.self),
158 | CInterop.SocketLength(MemoryLayout<CInterop.UnixSocketAddress>.size))
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
159 | }
160 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:161:26: error: missing argument label 'namespace:' in call
159 | }
160 |
161 | return Self.init(socketAddress)
| `- error: missing argument label 'namespace:' in call
162 | }
163 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:161:39: error: missing argument for parameter 'name' in call
49 | public let name: String
50 |
51 | internal init(namespace: Namespace, name: String) {
| `- note: 'init(namespace:name:)' declared here
52 |
53 | self.namespace = namespace
:
159 | }
160 |
161 | return Self.init(socketAddress)
| `- error: missing argument for parameter 'name' in call
162 | }
163 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:66:56: error: cannot find type 'passwd' in scope
64 |
65 | /// Read a field from the calling user's password database entry.
66 | private static func passwordEntry(_ field: KeyPath<passwd, UnsafeMutablePointer<CChar>?>) -> String? {
| `- error: cannot find type 'passwd' in scope
67 |
68 | var entry = passwd()
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:37:23: error: cannot find 'getuid' in scope
35 | static var userID: UInt32 {
36 |
37 | return UInt32(getuid())
| `- error: cannot find 'getuid' in scope
38 | }
39 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:46:37: error: cannot infer key path type from context; consider explicitly specifying a root type
44 | static var userName: String {
45 |
46 | if let name = passwordEntry(\.pw_name) {
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
47 | return name
48 | }
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:62:30: error: cannot infer key path type from context; consider explicitly specifying a root type
60 | }
61 |
62 | return passwordEntry(\.pw_dir)
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
63 | }
64 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:68:21: error: cannot find 'passwd' in scope
66 | private static func passwordEntry(_ field: KeyPath<passwd, UnsafeMutablePointer<CChar>?>) -> String? {
67 |
68 | var entry = passwd()
| `- error: cannot find 'passwd' in scope
69 | var result: UnsafeMutablePointer<passwd>?
70 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:69:42: error: cannot find type 'passwd' in scope
67 |
68 | var entry = passwd()
69 | var result: UnsafeMutablePointer<passwd>?
| `- error: cannot find type 'passwd' in scope
70 |
71 | // Sized generously; `getpwuid_r` fails with ERANGE if the buffer is too small.
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:75:13: error: cannot find 'getpwuid_r' in scope
73 |
74 | let status = buffer.withUnsafeMutableBufferPointer { pointer in
75 | getpwuid_r(getuid(), &entry, pointer.baseAddress!, pointer.count, &result)
| `- error: cannot find 'getpwuid_r' in scope
76 | }
77 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:75:24: error: cannot find 'getuid' in scope
73 |
74 | let status = buffer.withUnsafeMutableBufferPointer { pointer in
75 | getpwuid_r(getuid(), &entry, pointer.baseAddress!, pointer.count, &result)
| `- error: cannot find 'getuid' in scope
76 | }
77 |
[114/137] Compiling DBus ProcessEnvironment.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:164:38: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
162 | }
163 |
164 | internal init(_ cValue: CInterop.UnixSocketAddress) {
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
165 |
166 | var value = cValue
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:77:52: error: type 'CInterop' has no member 'UnixSocketAddress'
75 | static var pathCapacity: Int {
76 |
77 | return MemoryLayout.size(ofValue: CInterop.UnixSocketAddress().sun_path)
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
78 | }
79 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:83:38: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
81 | static var pathOffset: Int {
82 |
83 | return MemoryLayout<CInterop.UnixSocketAddress>.size - pathCapacity
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
84 | }
85 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:127:38: error: type 'CInterop' has no member 'UnixSocketAddress'
125 | else { fatalError("Socket name exceeds sun_path capacity: '\(name)'") }
126 |
127 | var socketAddress = CInterop.UnixSocketAddress()
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
128 | socketAddress.sun_family = numericCast(Self.family.rawValue)
129 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:145:55: error: type 'CInterop' has no member 'UnixSocketAddress'
143 | ) -> Self {
144 |
145 | return pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) {
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
146 | Self.init($0.pointee)
147 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:146:23: error: missing argument label 'namespace:' in call
144 |
145 | return pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) {
146 | Self.init($0.pointee)
| `- error: missing argument label 'namespace:' in call
147 | }
148 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:146:33: error: missing argument for parameter 'name' in call
49 | public let name: String
50 |
51 | internal init(namespace: Namespace, name: String) {
| `- note: 'init(namespace:name:)' declared here
52 |
53 | self.namespace = namespace
:
144 |
145 | return pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) {
146 | Self.init($0.pointee)
| `- error: missing argument for parameter 'name' in call
147 | }
148 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:154:38: error: type 'CInterop' has no member 'UnixSocketAddress'
152 | ) rethrows -> Self {
153 |
154 | var socketAddress = CInterop.UnixSocketAddress()
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
155 |
156 | try withUnsafeMutableBytes(of: &socketAddress) { buffer in
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:158:66: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
156 | try withUnsafeMutableBytes(of: &socketAddress) { buffer in
157 | try body(buffer.baseAddress!.assumingMemoryBound(to: CInterop.SocketAddress.self),
158 | CInterop.SocketLength(MemoryLayout<CInterop.UnixSocketAddress>.size))
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
159 | }
160 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:161:26: error: missing argument label 'namespace:' in call
159 | }
160 |
161 | return Self.init(socketAddress)
| `- error: missing argument label 'namespace:' in call
162 | }
163 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:161:39: error: missing argument for parameter 'name' in call
49 | public let name: String
50 |
51 | internal init(namespace: Namespace, name: String) {
| `- note: 'init(namespace:name:)' declared here
52 |
53 | self.namespace = namespace
:
159 | }
160 |
161 | return Self.init(socketAddress)
| `- error: missing argument for parameter 'name' in call
162 | }
163 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:66:56: error: cannot find type 'passwd' in scope
64 |
65 | /// Read a field from the calling user's password database entry.
66 | private static func passwordEntry(_ field: KeyPath<passwd, UnsafeMutablePointer<CChar>?>) -> String? {
| `- error: cannot find type 'passwd' in scope
67 |
68 | var entry = passwd()
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:37:23: error: cannot find 'getuid' in scope
35 | static var userID: UInt32 {
36 |
37 | return UInt32(getuid())
| `- error: cannot find 'getuid' in scope
38 | }
39 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:46:37: error: cannot infer key path type from context; consider explicitly specifying a root type
44 | static var userName: String {
45 |
46 | if let name = passwordEntry(\.pw_name) {
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
47 | return name
48 | }
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:62:30: error: cannot infer key path type from context; consider explicitly specifying a root type
60 | }
61 |
62 | return passwordEntry(\.pw_dir)
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
63 | }
64 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:68:21: error: cannot find 'passwd' in scope
66 | private static func passwordEntry(_ field: KeyPath<passwd, UnsafeMutablePointer<CChar>?>) -> String? {
67 |
68 | var entry = passwd()
| `- error: cannot find 'passwd' in scope
69 | var result: UnsafeMutablePointer<passwd>?
70 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:69:42: error: cannot find type 'passwd' in scope
67 |
68 | var entry = passwd()
69 | var result: UnsafeMutablePointer<passwd>?
| `- error: cannot find type 'passwd' in scope
70 |
71 | // Sized generously; `getpwuid_r` fails with ERANGE if the buffer is too small.
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:75:13: error: cannot find 'getpwuid_r' in scope
73 |
74 | let status = buffer.withUnsafeMutableBufferPointer { pointer in
75 | getpwuid_r(getuid(), &entry, pointer.baseAddress!, pointer.count, &result)
| `- error: cannot find 'getpwuid_r' in scope
76 | }
77 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:75:24: error: cannot find 'getuid' in scope
73 |
74 | let status = buffer.withUnsafeMutableBufferPointer { pointer in
75 | getpwuid_r(getuid(), &entry, pointer.baseAddress!, pointer.count, &result)
| `- error: cannot find 'getuid' in scope
76 | }
77 |
[115/137] Compiling DBus Type.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:164:38: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
162 | }
163 |
164 | internal init(_ cValue: CInterop.UnixSocketAddress) {
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
165 |
166 | var value = cValue
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:77:52: error: type 'CInterop' has no member 'UnixSocketAddress'
75 | static var pathCapacity: Int {
76 |
77 | return MemoryLayout.size(ofValue: CInterop.UnixSocketAddress().sun_path)
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
78 | }
79 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:83:38: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
81 | static var pathOffset: Int {
82 |
83 | return MemoryLayout<CInterop.UnixSocketAddress>.size - pathCapacity
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
84 | }
85 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:127:38: error: type 'CInterop' has no member 'UnixSocketAddress'
125 | else { fatalError("Socket name exceeds sun_path capacity: '\(name)'") }
126 |
127 | var socketAddress = CInterop.UnixSocketAddress()
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
128 | socketAddress.sun_family = numericCast(Self.family.rawValue)
129 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:145:55: error: type 'CInterop' has no member 'UnixSocketAddress'
143 | ) -> Self {
144 |
145 | return pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) {
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
146 | Self.init($0.pointee)
147 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:146:23: error: missing argument label 'namespace:' in call
144 |
145 | return pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) {
146 | Self.init($0.pointee)
| `- error: missing argument label 'namespace:' in call
147 | }
148 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:146:33: error: missing argument for parameter 'name' in call
49 | public let name: String
50 |
51 | internal init(namespace: Namespace, name: String) {
| `- note: 'init(namespace:name:)' declared here
52 |
53 | self.namespace = namespace
:
144 |
145 | return pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) {
146 | Self.init($0.pointee)
| `- error: missing argument for parameter 'name' in call
147 | }
148 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:154:38: error: type 'CInterop' has no member 'UnixSocketAddress'
152 | ) rethrows -> Self {
153 |
154 | var socketAddress = CInterop.UnixSocketAddress()
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
155 |
156 | try withUnsafeMutableBytes(of: &socketAddress) { buffer in
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:158:66: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
156 | try withUnsafeMutableBytes(of: &socketAddress) { buffer in
157 | try body(buffer.baseAddress!.assumingMemoryBound(to: CInterop.SocketAddress.self),
158 | CInterop.SocketLength(MemoryLayout<CInterop.UnixSocketAddress>.size))
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
159 | }
160 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:161:26: error: missing argument label 'namespace:' in call
159 | }
160 |
161 | return Self.init(socketAddress)
| `- error: missing argument label 'namespace:' in call
162 | }
163 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:161:39: error: missing argument for parameter 'name' in call
49 | public let name: String
50 |
51 | internal init(namespace: Namespace, name: String) {
| `- note: 'init(namespace:name:)' declared here
52 |
53 | self.namespace = namespace
:
159 | }
160 |
161 | return Self.init(socketAddress)
| `- error: missing argument for parameter 'name' in call
162 | }
163 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:66:56: error: cannot find type 'passwd' in scope
64 |
65 | /// Read a field from the calling user's password database entry.
66 | private static func passwordEntry(_ field: KeyPath<passwd, UnsafeMutablePointer<CChar>?>) -> String? {
| `- error: cannot find type 'passwd' in scope
67 |
68 | var entry = passwd()
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:37:23: error: cannot find 'getuid' in scope
35 | static var userID: UInt32 {
36 |
37 | return UInt32(getuid())
| `- error: cannot find 'getuid' in scope
38 | }
39 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:46:37: error: cannot infer key path type from context; consider explicitly specifying a root type
44 | static var userName: String {
45 |
46 | if let name = passwordEntry(\.pw_name) {
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
47 | return name
48 | }
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:62:30: error: cannot infer key path type from context; consider explicitly specifying a root type
60 | }
61 |
62 | return passwordEntry(\.pw_dir)
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
63 | }
64 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:68:21: error: cannot find 'passwd' in scope
66 | private static func passwordEntry(_ field: KeyPath<passwd, UnsafeMutablePointer<CChar>?>) -> String? {
67 |
68 | var entry = passwd()
| `- error: cannot find 'passwd' in scope
69 | var result: UnsafeMutablePointer<passwd>?
70 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:69:42: error: cannot find type 'passwd' in scope
67 |
68 | var entry = passwd()
69 | var result: UnsafeMutablePointer<passwd>?
| `- error: cannot find type 'passwd' in scope
70 |
71 | // Sized generously; `getpwuid_r` fails with ERANGE if the buffer is too small.
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:75:13: error: cannot find 'getpwuid_r' in scope
73 |
74 | let status = buffer.withUnsafeMutableBufferPointer { pointer in
75 | getpwuid_r(getuid(), &entry, pointer.baseAddress!, pointer.count, &result)
| `- error: cannot find 'getpwuid_r' in scope
76 | }
77 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:75:24: error: cannot find 'getuid' in scope
73 |
74 | let status = buffer.withUnsafeMutableBufferPointer { pointer in
75 | getpwuid_r(getuid(), &entry, pointer.baseAddress!, pointer.count, &result)
| `- error: cannot find 'getuid' in scope
76 | }
77 |
[116/137] Compiling DBus UTF8.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:164:38: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
162 | }
163 |
164 | internal init(_ cValue: CInterop.UnixSocketAddress) {
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
165 |
166 | var value = cValue
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:77:52: error: type 'CInterop' has no member 'UnixSocketAddress'
75 | static var pathCapacity: Int {
76 |
77 | return MemoryLayout.size(ofValue: CInterop.UnixSocketAddress().sun_path)
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
78 | }
79 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:83:38: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
81 | static var pathOffset: Int {
82 |
83 | return MemoryLayout<CInterop.UnixSocketAddress>.size - pathCapacity
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
84 | }
85 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:127:38: error: type 'CInterop' has no member 'UnixSocketAddress'
125 | else { fatalError("Socket name exceeds sun_path capacity: '\(name)'") }
126 |
127 | var socketAddress = CInterop.UnixSocketAddress()
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
128 | socketAddress.sun_family = numericCast(Self.family.rawValue)
129 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:145:55: error: type 'CInterop' has no member 'UnixSocketAddress'
143 | ) -> Self {
144 |
145 | return pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) {
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
146 | Self.init($0.pointee)
147 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:146:23: error: missing argument label 'namespace:' in call
144 |
145 | return pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) {
146 | Self.init($0.pointee)
| `- error: missing argument label 'namespace:' in call
147 | }
148 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:146:33: error: missing argument for parameter 'name' in call
49 | public let name: String
50 |
51 | internal init(namespace: Namespace, name: String) {
| `- note: 'init(namespace:name:)' declared here
52 |
53 | self.namespace = namespace
:
144 |
145 | return pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) {
146 | Self.init($0.pointee)
| `- error: missing argument for parameter 'name' in call
147 | }
148 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:154:38: error: type 'CInterop' has no member 'UnixSocketAddress'
152 | ) rethrows -> Self {
153 |
154 | var socketAddress = CInterop.UnixSocketAddress()
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
155 |
156 | try withUnsafeMutableBytes(of: &socketAddress) { buffer in
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:158:66: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
156 | try withUnsafeMutableBytes(of: &socketAddress) { buffer in
157 | try body(buffer.baseAddress!.assumingMemoryBound(to: CInterop.SocketAddress.self),
158 | CInterop.SocketLength(MemoryLayout<CInterop.UnixSocketAddress>.size))
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
159 | }
160 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:161:26: error: missing argument label 'namespace:' in call
159 | }
160 |
161 | return Self.init(socketAddress)
| `- error: missing argument label 'namespace:' in call
162 | }
163 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:161:39: error: missing argument for parameter 'name' in call
49 | public let name: String
50 |
51 | internal init(namespace: Namespace, name: String) {
| `- note: 'init(namespace:name:)' declared here
52 |
53 | self.namespace = namespace
:
159 | }
160 |
161 | return Self.init(socketAddress)
| `- error: missing argument for parameter 'name' in call
162 | }
163 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:66:56: error: cannot find type 'passwd' in scope
64 |
65 | /// Read a field from the calling user's password database entry.
66 | private static func passwordEntry(_ field: KeyPath<passwd, UnsafeMutablePointer<CChar>?>) -> String? {
| `- error: cannot find type 'passwd' in scope
67 |
68 | var entry = passwd()
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:37:23: error: cannot find 'getuid' in scope
35 | static var userID: UInt32 {
36 |
37 | return UInt32(getuid())
| `- error: cannot find 'getuid' in scope
38 | }
39 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:46:37: error: cannot infer key path type from context; consider explicitly specifying a root type
44 | static var userName: String {
45 |
46 | if let name = passwordEntry(\.pw_name) {
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
47 | return name
48 | }
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:62:30: error: cannot infer key path type from context; consider explicitly specifying a root type
60 | }
61 |
62 | return passwordEntry(\.pw_dir)
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
63 | }
64 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:68:21: error: cannot find 'passwd' in scope
66 | private static func passwordEntry(_ field: KeyPath<passwd, UnsafeMutablePointer<CChar>?>) -> String? {
67 |
68 | var entry = passwd()
| `- error: cannot find 'passwd' in scope
69 | var result: UnsafeMutablePointer<passwd>?
70 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:69:42: error: cannot find type 'passwd' in scope
67 |
68 | var entry = passwd()
69 | var result: UnsafeMutablePointer<passwd>?
| `- error: cannot find type 'passwd' in scope
70 |
71 | // Sized generously; `getpwuid_r` fails with ERANGE if the buffer is too small.
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:75:13: error: cannot find 'getpwuid_r' in scope
73 |
74 | let status = buffer.withUnsafeMutableBufferPointer { pointer in
75 | getpwuid_r(getuid(), &entry, pointer.baseAddress!, pointer.count, &result)
| `- error: cannot find 'getpwuid_r' in scope
76 | }
77 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:75:24: error: cannot find 'getuid' in scope
73 |
74 | let status = buffer.withUnsafeMutableBufferPointer { pointer in
75 | getpwuid_r(getuid(), &entry, pointer.baseAddress!, pointer.count, &result)
| `- error: cannot find 'getuid' in scope
76 | }
77 |
[117/137] Compiling DBus Marshaller.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[118/137] Compiling DBus MessageCodec.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[119/137] Compiling DBus Unmarshaller.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[120/137] Compiling DBus Member.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[121/137] Compiling DBus Message.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[122/137] Compiling DBus MessageArgument.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[123/137] Compiling DBus MessageType.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[124/137] Compiling DBus ObjectPath.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[125/137] Compiling DBus Connection.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[126/137] Compiling DBus Error.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[127/137] Compiling DBus Interface.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[128/137] Compiling DBus Endianness.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[129/137] Emitting module DBus
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:164:38: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
162 | }
163 |
164 | internal init(_ cValue: CInterop.UnixSocketAddress) {
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
165 |
166 | var value = cValue
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:66:56: error: cannot find type 'passwd' in scope
64 |
65 | /// Read a field from the calling user's password database entry.
66 | private static func passwordEntry(_ field: KeyPath<passwd, UnsafeMutablePointer<CChar>?>) -> String? {
| `- error: cannot find type 'passwd' in scope
67 |
68 | var entry = passwd()
[130/137] Compiling DBus DBusKeyring.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[131/137] Compiling DBus SASL.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[132/137] Compiling DBus SHA1.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[133/137] Compiling DBus BusAPI.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[134/137] Compiling DBus DBusExportedObject.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[135/137] Compiling DBus IntrospectionNode.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[136/137] Compiling DBus ObjectServer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[137/137] Compiling DBus StandardInterfaces.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:0cd0efb458d677a6de9b5e028d30e2aa1d1b247c2277202ba317a28ce9e867e0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/38] Compiling SystemPackage RawBuffer.swift
[3/38] Compiling SystemPackage Syscalls.swift
[4/38] Compiling SystemPackage WindowsSyscallAdapters.swift
[5/38] Compiling SystemPackage MachPort.swift
[6/38] Compiling SystemPackage PlatformString.swift
[7/43] Compiling SystemPackage Backcompat.swift
[8/43] Compiling SystemPackage CInterop.swift
[9/43] Compiling SystemPackage Constants.swift
[10/43] Compiling SystemPackage Exports.swift
[11/43] Compiling SystemPackage Mocking.swift
[12/43] Compiling SystemPackage FileFlags.swift
[13/43] Compiling SystemPackage FileMode.swift
[14/43] Compiling SystemPackage FileType.swift
[15/43] Compiling SystemPackage Identifiers.swift
[16/43] Compiling SystemPackage Stat.swift
[17/43] Emitting module SystemPackage
[18/43] Compiling SystemPackage FilePathTemp.swift
[19/43] Compiling SystemPackage FilePathTempPosix.swift
[20/43] Compiling SystemPackage FilePathTempWindows.swift
[21/43] Compiling SystemPackage FilePathWindows.swift
[22/43] Compiling SystemPackage FilePermissions.swift
[23/43] Compiling SystemPackage IOCompletion.swift
[24/43] Compiling SystemPackage IORequest.swift
[25/43] Compiling SystemPackage IORing+Util.swift
[26/43] Compiling SystemPackage IORing.swift
[27/43] Compiling SystemPackage RawIORequest.swift
[28/43] Compiling SystemPackage Errno.swift
[29/43] Compiling SystemPackage ErrnoWindows.swift
[30/43] Compiling SystemPackage FileDescriptor.swift
[31/43] Compiling SystemPackage FileHelpers.swift
[32/43] Compiling SystemPackage FileOperations.swift
[33/43] Compiling SystemPackage FilePath.swift
[34/43] Compiling SystemPackage SystemString.swift
[35/43] Compiling SystemPackage Util+StringArray.swift
[36/43] Compiling SystemPackage Util.swift
[37/43] Compiling SystemPackage UtilConsumers.swift
[38/43] Compiling SystemPackage WinSDK+Overlay.swift
[39/43] Compiling SystemPackage FilePathComponentView.swift
[40/43] Compiling SystemPackage FilePathComponents.swift
[41/43] Compiling SystemPackage FilePathParsing.swift
[42/43] Compiling SystemPackage FilePathString.swift
[43/43] Compiling SystemPackage FilePathSyntax.swift
[45/90] Compiling Socket SocketOption.swift
[46/90] Compiling Socket SocketOptionID.swift
[47/90] Compiling Socket SocketOptionLevel.swift
[48/90] Compiling Socket SocketProtocol.swift
[49/90] Compiling Socket IPv4Protocol.swift
[50/90] Compiling Socket IPv6Protocol.swift
[51/96] Compiling Socket Poll.swift
[52/96] Compiling Socket SocketAddress.swift
[53/96] Compiling Socket IPv4SocketAddress.swift
[54/96] Compiling Socket IPv6SocketAddress.swift
[55/96] Compiling Socket LinkLayerSocketAddress.swift
[56/96] Compiling Socket UnixSocketAddress.swift
[57/96] Compiling Socket Errno.swift
[58/96] Compiling Socket FileChange.swift
[59/96] Compiling Socket FileEvent.swift
[60/96] Compiling Socket FileFlags.swift
[61/96] Compiling Socket IOControl.swift
[62/96] Compiling Socket IODirection.swift
[63/96] Compiling Socket IOOperations.swift
[64/96] Compiling Socket SocketAddressFamily.swift
[65/96] Compiling Socket SocketDescriptor.swift
[66/96] Compiling Socket SocketEvent.swift
[67/96] Compiling Socket SocketFlags.swift
[68/96] Compiling Socket SocketHelpers.swift
[69/96] Compiling Socket SocketOperations.swift
[70/96] Compiling Socket IOType.swift
[71/96] Compiling Socket InternetProtocol.swift
[72/96] Compiling Socket MessageFlags.swift
[73/96] Compiling Socket Mocking.swift
[74/96] Compiling Socket NetworkInterface.swift
[75/96] Compiling Socket NetworkOrder.swift
[76/96] Emitting module Socket
[77/96] Compiling Socket EventQueue.swift
[78/96] Compiling Socket KqueueEventQueue.swift
[79/96] Compiling Socket PollEventQueue.swift
[80/96] Compiling Socket CInternetAddress.swift
[81/96] Compiling Socket CInterop.swift
[82/96] Compiling Socket CSocketAddress.swift
[83/96] Compiling Socket Constants.swift
[84/96] Compiling Socket LinkLayerProtocol.swift
[85/96] Compiling Socket UnixProtocol.swift
[86/96] Compiling Socket SocketType.swift
[87/96] Compiling Socket Syscalls.swift
[88/96] Compiling Socket TCPSocketOption.swift
[89/96] Compiling Socket Util.swift
[90/96] Compiling Socket AncillaryData.swift
[91/96] Compiling Socket Socket.swift
[92/96] Compiling Socket SocketContinuation.swift
[93/96] Compiling Socket SocketManager.swift
[94/96] Compiling Socket AsyncSocketManager.swift
[95/96] Compiling Socket CFSocketManager.swift
[96/96] Compiling Socket EpollEventQueue.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[98/126] Emitting module DBus
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:164:38: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
162 | }
163 |
164 | internal init(_ cValue: CInterop.UnixSocketAddress) {
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
165 |
166 | var value = cValue
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:66:56: error: cannot find type 'passwd' in scope
64 |
65 | /// Read a field from the calling user's password database entry.
66 | private static func passwordEntry(_ field: KeyPath<passwd, UnsafeMutablePointer<CChar>?>) -> String? {
| `- error: cannot find type 'passwd' in scope
67 |
68 | var entry = passwd()
[99/130] Compiling DBus Message.swift
[100/130] Compiling DBus MessageArgument.swift
[101/130] Compiling DBus MessageType.swift
[102/130] Compiling DBus ObjectPath.swift
[103/130] Compiling DBus Marshaller.swift
[104/130] Compiling DBus MessageCodec.swift
[105/130] Compiling DBus Unmarshaller.swift
[106/130] Compiling DBus Member.swift
[107/130] Compiling DBus Connection.swift
[108/130] Compiling DBus Error.swift
[109/130] Compiling DBus Interface.swift
[110/130] Compiling DBus Endianness.swift
[111/130] Compiling DBus DBusUnixSocketAddress.swift
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:164:38: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
162 | }
163 |
164 | internal init(_ cValue: CInterop.UnixSocketAddress) {
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
165 |
166 | var value = cValue
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:77:52: error: type 'CInterop' has no member 'UnixSocketAddress'
75 | static var pathCapacity: Int {
76 |
77 | return MemoryLayout.size(ofValue: CInterop.UnixSocketAddress().sun_path)
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
78 | }
79 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:83:38: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
81 | static var pathOffset: Int {
82 |
83 | return MemoryLayout<CInterop.UnixSocketAddress>.size - pathCapacity
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
84 | }
85 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:127:38: error: type 'CInterop' has no member 'UnixSocketAddress'
125 | else { fatalError("Socket name exceeds sun_path capacity: '\(name)'") }
126 |
127 | var socketAddress = CInterop.UnixSocketAddress()
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
128 | socketAddress.sun_family = numericCast(Self.family.rawValue)
129 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:145:55: error: type 'CInterop' has no member 'UnixSocketAddress'
143 | ) -> Self {
144 |
145 | return pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) {
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
146 | Self.init($0.pointee)
147 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:146:23: error: missing argument label 'namespace:' in call
144 |
145 | return pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) {
146 | Self.init($0.pointee)
| `- error: missing argument label 'namespace:' in call
147 | }
148 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:146:33: error: missing argument for parameter 'name' in call
49 | public let name: String
50 |
51 | internal init(namespace: Namespace, name: String) {
| `- note: 'init(namespace:name:)' declared here
52 |
53 | self.namespace = namespace
:
144 |
145 | return pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) {
146 | Self.init($0.pointee)
| `- error: missing argument for parameter 'name' in call
147 | }
148 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:154:38: error: type 'CInterop' has no member 'UnixSocketAddress'
152 | ) rethrows -> Self {
153 |
154 | var socketAddress = CInterop.UnixSocketAddress()
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
155 |
156 | try withUnsafeMutableBytes(of: &socketAddress) { buffer in
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:158:66: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
156 | try withUnsafeMutableBytes(of: &socketAddress) { buffer in
157 | try body(buffer.baseAddress!.assumingMemoryBound(to: CInterop.SocketAddress.self),
158 | CInterop.SocketLength(MemoryLayout<CInterop.UnixSocketAddress>.size))
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
159 | }
160 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:161:26: error: missing argument label 'namespace:' in call
159 | }
160 |
161 | return Self.init(socketAddress)
| `- error: missing argument label 'namespace:' in call
162 | }
163 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:161:39: error: missing argument for parameter 'name' in call
49 | public let name: String
50 |
51 | internal init(namespace: Namespace, name: String) {
| `- note: 'init(namespace:name:)' declared here
52 |
53 | self.namespace = namespace
:
159 | }
160 |
161 | return Self.init(socketAddress)
| `- error: missing argument for parameter 'name' in call
162 | }
163 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:66:56: error: cannot find type 'passwd' in scope
64 |
65 | /// Read a field from the calling user's password database entry.
66 | private static func passwordEntry(_ field: KeyPath<passwd, UnsafeMutablePointer<CChar>?>) -> String? {
| `- error: cannot find type 'passwd' in scope
67 |
68 | var entry = passwd()
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:37:23: error: cannot find 'getuid' in scope
35 | static var userID: UInt32 {
36 |
37 | return UInt32(getuid())
| `- error: cannot find 'getuid' in scope
38 | }
39 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:46:37: error: cannot infer key path type from context; consider explicitly specifying a root type
44 | static var userName: String {
45 |
46 | if let name = passwordEntry(\.pw_name) {
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
47 | return name
48 | }
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:62:30: error: cannot infer key path type from context; consider explicitly specifying a root type
60 | }
61 |
62 | return passwordEntry(\.pw_dir)
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
63 | }
64 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:68:21: error: cannot find 'passwd' in scope
66 | private static func passwordEntry(_ field: KeyPath<passwd, UnsafeMutablePointer<CChar>?>) -> String? {
67 |
68 | var entry = passwd()
| `- error: cannot find 'passwd' in scope
69 | var result: UnsafeMutablePointer<passwd>?
70 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:69:42: error: cannot find type 'passwd' in scope
67 |
68 | var entry = passwd()
69 | var result: UnsafeMutablePointer<passwd>?
| `- error: cannot find type 'passwd' in scope
70 |
71 | // Sized generously; `getpwuid_r` fails with ERANGE if the buffer is too small.
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:75:13: error: cannot find 'getpwuid_r' in scope
73 |
74 | let status = buffer.withUnsafeMutableBufferPointer { pointer in
75 | getpwuid_r(getuid(), &entry, pointer.baseAddress!, pointer.count, &result)
| `- error: cannot find 'getpwuid_r' in scope
76 | }
77 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:75:24: error: cannot find 'getuid' in scope
73 |
74 | let status = buffer.withUnsafeMutableBufferPointer { pointer in
75 | getpwuid_r(getuid(), &entry, pointer.baseAddress!, pointer.count, &result)
| `- error: cannot find 'getuid' in scope
76 | }
77 |
[112/130] Compiling DBus ProcessEnvironment.swift
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:164:38: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
162 | }
163 |
164 | internal init(_ cValue: CInterop.UnixSocketAddress) {
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
165 |
166 | var value = cValue
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:77:52: error: type 'CInterop' has no member 'UnixSocketAddress'
75 | static var pathCapacity: Int {
76 |
77 | return MemoryLayout.size(ofValue: CInterop.UnixSocketAddress().sun_path)
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
78 | }
79 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:83:38: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
81 | static var pathOffset: Int {
82 |
83 | return MemoryLayout<CInterop.UnixSocketAddress>.size - pathCapacity
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
84 | }
85 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:127:38: error: type 'CInterop' has no member 'UnixSocketAddress'
125 | else { fatalError("Socket name exceeds sun_path capacity: '\(name)'") }
126 |
127 | var socketAddress = CInterop.UnixSocketAddress()
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
128 | socketAddress.sun_family = numericCast(Self.family.rawValue)
129 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:145:55: error: type 'CInterop' has no member 'UnixSocketAddress'
143 | ) -> Self {
144 |
145 | return pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) {
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
146 | Self.init($0.pointee)
147 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:146:23: error: missing argument label 'namespace:' in call
144 |
145 | return pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) {
146 | Self.init($0.pointee)
| `- error: missing argument label 'namespace:' in call
147 | }
148 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:146:33: error: missing argument for parameter 'name' in call
49 | public let name: String
50 |
51 | internal init(namespace: Namespace, name: String) {
| `- note: 'init(namespace:name:)' declared here
52 |
53 | self.namespace = namespace
:
144 |
145 | return pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) {
146 | Self.init($0.pointee)
| `- error: missing argument for parameter 'name' in call
147 | }
148 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:154:38: error: type 'CInterop' has no member 'UnixSocketAddress'
152 | ) rethrows -> Self {
153 |
154 | var socketAddress = CInterop.UnixSocketAddress()
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
155 |
156 | try withUnsafeMutableBytes(of: &socketAddress) { buffer in
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:158:66: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
156 | try withUnsafeMutableBytes(of: &socketAddress) { buffer in
157 | try body(buffer.baseAddress!.assumingMemoryBound(to: CInterop.SocketAddress.self),
158 | CInterop.SocketLength(MemoryLayout<CInterop.UnixSocketAddress>.size))
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
159 | }
160 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:161:26: error: missing argument label 'namespace:' in call
159 | }
160 |
161 | return Self.init(socketAddress)
| `- error: missing argument label 'namespace:' in call
162 | }
163 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:161:39: error: missing argument for parameter 'name' in call
49 | public let name: String
50 |
51 | internal init(namespace: Namespace, name: String) {
| `- note: 'init(namespace:name:)' declared here
52 |
53 | self.namespace = namespace
:
159 | }
160 |
161 | return Self.init(socketAddress)
| `- error: missing argument for parameter 'name' in call
162 | }
163 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:66:56: error: cannot find type 'passwd' in scope
64 |
65 | /// Read a field from the calling user's password database entry.
66 | private static func passwordEntry(_ field: KeyPath<passwd, UnsafeMutablePointer<CChar>?>) -> String? {
| `- error: cannot find type 'passwd' in scope
67 |
68 | var entry = passwd()
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:37:23: error: cannot find 'getuid' in scope
35 | static var userID: UInt32 {
36 |
37 | return UInt32(getuid())
| `- error: cannot find 'getuid' in scope
38 | }
39 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:46:37: error: cannot infer key path type from context; consider explicitly specifying a root type
44 | static var userName: String {
45 |
46 | if let name = passwordEntry(\.pw_name) {
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
47 | return name
48 | }
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:62:30: error: cannot infer key path type from context; consider explicitly specifying a root type
60 | }
61 |
62 | return passwordEntry(\.pw_dir)
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
63 | }
64 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:68:21: error: cannot find 'passwd' in scope
66 | private static func passwordEntry(_ field: KeyPath<passwd, UnsafeMutablePointer<CChar>?>) -> String? {
67 |
68 | var entry = passwd()
| `- error: cannot find 'passwd' in scope
69 | var result: UnsafeMutablePointer<passwd>?
70 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:69:42: error: cannot find type 'passwd' in scope
67 |
68 | var entry = passwd()
69 | var result: UnsafeMutablePointer<passwd>?
| `- error: cannot find type 'passwd' in scope
70 |
71 | // Sized generously; `getpwuid_r` fails with ERANGE if the buffer is too small.
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:75:13: error: cannot find 'getpwuid_r' in scope
73 |
74 | let status = buffer.withUnsafeMutableBufferPointer { pointer in
75 | getpwuid_r(getuid(), &entry, pointer.baseAddress!, pointer.count, &result)
| `- error: cannot find 'getpwuid_r' in scope
76 | }
77 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:75:24: error: cannot find 'getuid' in scope
73 |
74 | let status = buffer.withUnsafeMutableBufferPointer { pointer in
75 | getpwuid_r(getuid(), &entry, pointer.baseAddress!, pointer.count, &result)
| `- error: cannot find 'getuid' in scope
76 | }
77 |
[113/130] Compiling DBus Type.swift
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:164:38: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
162 | }
163 |
164 | internal init(_ cValue: CInterop.UnixSocketAddress) {
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
165 |
166 | var value = cValue
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:77:52: error: type 'CInterop' has no member 'UnixSocketAddress'
75 | static var pathCapacity: Int {
76 |
77 | return MemoryLayout.size(ofValue: CInterop.UnixSocketAddress().sun_path)
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
78 | }
79 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:83:38: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
81 | static var pathOffset: Int {
82 |
83 | return MemoryLayout<CInterop.UnixSocketAddress>.size - pathCapacity
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
84 | }
85 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:127:38: error: type 'CInterop' has no member 'UnixSocketAddress'
125 | else { fatalError("Socket name exceeds sun_path capacity: '\(name)'") }
126 |
127 | var socketAddress = CInterop.UnixSocketAddress()
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
128 | socketAddress.sun_family = numericCast(Self.family.rawValue)
129 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:145:55: error: type 'CInterop' has no member 'UnixSocketAddress'
143 | ) -> Self {
144 |
145 | return pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) {
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
146 | Self.init($0.pointee)
147 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:146:23: error: missing argument label 'namespace:' in call
144 |
145 | return pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) {
146 | Self.init($0.pointee)
| `- error: missing argument label 'namespace:' in call
147 | }
148 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:146:33: error: missing argument for parameter 'name' in call
49 | public let name: String
50 |
51 | internal init(namespace: Namespace, name: String) {
| `- note: 'init(namespace:name:)' declared here
52 |
53 | self.namespace = namespace
:
144 |
145 | return pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) {
146 | Self.init($0.pointee)
| `- error: missing argument for parameter 'name' in call
147 | }
148 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:154:38: error: type 'CInterop' has no member 'UnixSocketAddress'
152 | ) rethrows -> Self {
153 |
154 | var socketAddress = CInterop.UnixSocketAddress()
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
155 |
156 | try withUnsafeMutableBytes(of: &socketAddress) { buffer in
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:158:66: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
156 | try withUnsafeMutableBytes(of: &socketAddress) { buffer in
157 | try body(buffer.baseAddress!.assumingMemoryBound(to: CInterop.SocketAddress.self),
158 | CInterop.SocketLength(MemoryLayout<CInterop.UnixSocketAddress>.size))
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
159 | }
160 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:161:26: error: missing argument label 'namespace:' in call
159 | }
160 |
161 | return Self.init(socketAddress)
| `- error: missing argument label 'namespace:' in call
162 | }
163 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:161:39: error: missing argument for parameter 'name' in call
49 | public let name: String
50 |
51 | internal init(namespace: Namespace, name: String) {
| `- note: 'init(namespace:name:)' declared here
52 |
53 | self.namespace = namespace
:
159 | }
160 |
161 | return Self.init(socketAddress)
| `- error: missing argument for parameter 'name' in call
162 | }
163 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:66:56: error: cannot find type 'passwd' in scope
64 |
65 | /// Read a field from the calling user's password database entry.
66 | private static func passwordEntry(_ field: KeyPath<passwd, UnsafeMutablePointer<CChar>?>) -> String? {
| `- error: cannot find type 'passwd' in scope
67 |
68 | var entry = passwd()
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:37:23: error: cannot find 'getuid' in scope
35 | static var userID: UInt32 {
36 |
37 | return UInt32(getuid())
| `- error: cannot find 'getuid' in scope
38 | }
39 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:46:37: error: cannot infer key path type from context; consider explicitly specifying a root type
44 | static var userName: String {
45 |
46 | if let name = passwordEntry(\.pw_name) {
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
47 | return name
48 | }
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:62:30: error: cannot infer key path type from context; consider explicitly specifying a root type
60 | }
61 |
62 | return passwordEntry(\.pw_dir)
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
63 | }
64 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:68:21: error: cannot find 'passwd' in scope
66 | private static func passwordEntry(_ field: KeyPath<passwd, UnsafeMutablePointer<CChar>?>) -> String? {
67 |
68 | var entry = passwd()
| `- error: cannot find 'passwd' in scope
69 | var result: UnsafeMutablePointer<passwd>?
70 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:69:42: error: cannot find type 'passwd' in scope
67 |
68 | var entry = passwd()
69 | var result: UnsafeMutablePointer<passwd>?
| `- error: cannot find type 'passwd' in scope
70 |
71 | // Sized generously; `getpwuid_r` fails with ERANGE if the buffer is too small.
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:75:13: error: cannot find 'getpwuid_r' in scope
73 |
74 | let status = buffer.withUnsafeMutableBufferPointer { pointer in
75 | getpwuid_r(getuid(), &entry, pointer.baseAddress!, pointer.count, &result)
| `- error: cannot find 'getpwuid_r' in scope
76 | }
77 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:75:24: error: cannot find 'getuid' in scope
73 |
74 | let status = buffer.withUnsafeMutableBufferPointer { pointer in
75 | getpwuid_r(getuid(), &entry, pointer.baseAddress!, pointer.count, &result)
| `- error: cannot find 'getuid' in scope
76 | }
77 |
[114/130] Compiling DBus UTF8.swift
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:164:38: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
162 | }
163 |
164 | internal init(_ cValue: CInterop.UnixSocketAddress) {
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
165 |
166 | var value = cValue
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:77:52: error: type 'CInterop' has no member 'UnixSocketAddress'
75 | static var pathCapacity: Int {
76 |
77 | return MemoryLayout.size(ofValue: CInterop.UnixSocketAddress().sun_path)
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
78 | }
79 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:83:38: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
81 | static var pathOffset: Int {
82 |
83 | return MemoryLayout<CInterop.UnixSocketAddress>.size - pathCapacity
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
84 | }
85 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:127:38: error: type 'CInterop' has no member 'UnixSocketAddress'
125 | else { fatalError("Socket name exceeds sun_path capacity: '\(name)'") }
126 |
127 | var socketAddress = CInterop.UnixSocketAddress()
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
128 | socketAddress.sun_family = numericCast(Self.family.rawValue)
129 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:145:55: error: type 'CInterop' has no member 'UnixSocketAddress'
143 | ) -> Self {
144 |
145 | return pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) {
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
146 | Self.init($0.pointee)
147 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:146:23: error: missing argument label 'namespace:' in call
144 |
145 | return pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) {
146 | Self.init($0.pointee)
| `- error: missing argument label 'namespace:' in call
147 | }
148 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:146:33: error: missing argument for parameter 'name' in call
49 | public let name: String
50 |
51 | internal init(namespace: Namespace, name: String) {
| `- note: 'init(namespace:name:)' declared here
52 |
53 | self.namespace = namespace
:
144 |
145 | return pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) {
146 | Self.init($0.pointee)
| `- error: missing argument for parameter 'name' in call
147 | }
148 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:154:38: error: type 'CInterop' has no member 'UnixSocketAddress'
152 | ) rethrows -> Self {
153 |
154 | var socketAddress = CInterop.UnixSocketAddress()
| `- error: type 'CInterop' has no member 'UnixSocketAddress'
155 |
156 | try withUnsafeMutableBytes(of: &socketAddress) { buffer in
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:158:66: error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
156 | try withUnsafeMutableBytes(of: &socketAddress) { buffer in
157 | try body(buffer.baseAddress!.assumingMemoryBound(to: CInterop.SocketAddress.self),
158 | CInterop.SocketLength(MemoryLayout<CInterop.UnixSocketAddress>.size))
| `- error: 'UnixSocketAddress' is not a member type of enum 'SystemPackage.CInterop'
159 | }
160 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:46:13: note: 'CInterop' declared here
44 | /// A namespace for C and platform types
45 | @available(System 0.0.2, *)
46 | public enum CInterop {
| `- note: 'CInterop' declared here
47 | #if os(Windows)
48 | public typealias Mode = CInt
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:161:26: error: missing argument label 'namespace:' in call
159 | }
160 |
161 | return Self.init(socketAddress)
| `- error: missing argument label 'namespace:' in call
162 | }
163 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusUnixSocketAddress.swift:161:39: error: missing argument for parameter 'name' in call
49 | public let name: String
50 |
51 | internal init(namespace: Namespace, name: String) {
| `- note: 'init(namespace:name:)' declared here
52 |
53 | self.namespace = namespace
:
159 | }
160 |
161 | return Self.init(socketAddress)
| `- error: missing argument for parameter 'name' in call
162 | }
163 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:66:56: error: cannot find type 'passwd' in scope
64 |
65 | /// Read a field from the calling user's password database entry.
66 | private static func passwordEntry(_ field: KeyPath<passwd, UnsafeMutablePointer<CChar>?>) -> String? {
| `- error: cannot find type 'passwd' in scope
67 |
68 | var entry = passwd()
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:37:23: error: cannot find 'getuid' in scope
35 | static var userID: UInt32 {
36 |
37 | return UInt32(getuid())
| `- error: cannot find 'getuid' in scope
38 | }
39 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:46:37: error: cannot infer key path type from context; consider explicitly specifying a root type
44 | static var userName: String {
45 |
46 | if let name = passwordEntry(\.pw_name) {
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
47 | return name
48 | }
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:62:30: error: cannot infer key path type from context; consider explicitly specifying a root type
60 | }
61 |
62 | return passwordEntry(\.pw_dir)
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
63 | }
64 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:68:21: error: cannot find 'passwd' in scope
66 | private static func passwordEntry(_ field: KeyPath<passwd, UnsafeMutablePointer<CChar>?>) -> String? {
67 |
68 | var entry = passwd()
| `- error: cannot find 'passwd' in scope
69 | var result: UnsafeMutablePointer<passwd>?
70 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:69:42: error: cannot find type 'passwd' in scope
67 |
68 | var entry = passwd()
69 | var result: UnsafeMutablePointer<passwd>?
| `- error: cannot find type 'passwd' in scope
70 |
71 | // Sized generously; `getpwuid_r` fails with ERANGE if the buffer is too small.
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:75:13: error: cannot find 'getpwuid_r' in scope
73 |
74 | let status = buffer.withUnsafeMutableBufferPointer { pointer in
75 | getpwuid_r(getuid(), &entry, pointer.baseAddress!, pointer.count, &result)
| `- error: cannot find 'getpwuid_r' in scope
76 | }
77 |
/host/spi-builder-workspace/Sources/DBus/Transport/ProcessEnvironment.swift:75:24: error: cannot find 'getuid' in scope
73 |
74 | let status = buffer.withUnsafeMutableBufferPointer { pointer in
75 | getpwuid_r(getuid(), &entry, pointer.baseAddress!, pointer.count, &result)
| `- error: cannot find 'getuid' in scope
76 | }
77 |
[115/130] Compiling DBus DBusKeyring.swift
[116/130] Compiling DBus SASL.swift
[117/130] Compiling DBus SHA1.swift
[118/130] Compiling DBus BusAPI.swift
[119/130] Compiling DBus DBusExportedObject.swift
[120/130] Compiling DBus IntrospectionNode.swift
[121/130] Compiling DBus ObjectServer.swift
[122/130] Compiling DBus StandardInterfaces.swift
[123/130] Compiling DBus DBusMatchRule.swift
[124/130] Compiling DBus Signals.swift
[125/130] Compiling DBus BusName.swift
[126/130] Compiling DBus BusType.swift
[127/130] Compiling DBus XMLParser.swift
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:72:21: error: cannot find 'addrinfo' in scope
70 | family: Family? = nil) throws -> [DBusTCPEndpoint] {
71 |
72 | var hints = addrinfo()
| `- error: cannot find 'addrinfo' in scope
73 | // Glibc, Musl and Bionic declare the socket types as an enumeration; Darwin as Int32.
74 | #if canImport(Darwin)
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:77:35: error: cannot find 'SOCK_STREAM' in scope
75 | hints.ai_socktype = SOCK_STREAM
76 | #else
77 | hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
| `- error: cannot find 'SOCK_STREAM' in scope
78 | #endif
79 | hints.ai_protocol = Int32(IPPROTO_TCP)
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:79:35: error: cannot find 'IPPROTO_TCP' in scope
77 | hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
78 | #endif
79 | hints.ai_protocol = Int32(IPPROTO_TCP)
| `- error: cannot find 'IPPROTO_TCP' in scope
80 |
81 | switch family {
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:82:39: error: cannot find 'AF_INET' in scope
80 |
81 | switch family {
82 | case .ipv4: hints.ai_family = AF_INET
| `- error: cannot find 'AF_INET' in scope
83 | case .ipv6: hints.ai_family = AF_INET6
84 | case nil: hints.ai_family = AF_UNSPEC
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:83:39: error: cannot find 'AF_INET6' in scope
81 | switch family {
82 | case .ipv4: hints.ai_family = AF_INET
83 | case .ipv6: hints.ai_family = AF_INET6
| `- error: cannot find 'AF_INET6' in scope
84 | case nil: hints.ai_family = AF_UNSPEC
85 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:84:37: error: cannot find 'AF_UNSPEC' in scope
82 | case .ipv4: hints.ai_family = AF_INET
83 | case .ipv6: hints.ai_family = AF_INET6
84 | case nil: hints.ai_family = AF_UNSPEC
| `- error: cannot find 'AF_UNSPEC' in scope
85 | }
86 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:87:42: error: cannot find type 'addrinfo' in scope
85 | }
86 |
87 | var result: UnsafeMutablePointer<addrinfo>?
| `- error: cannot find type 'addrinfo' in scope
88 |
89 | let status = host.withCString { hostPointer in
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:91:17: error: cannot find 'getaddrinfo' in scope
89 | let status = host.withCString { hostPointer in
90 | String(port).withCString { portPointer in
91 | getaddrinfo(hostPointer, portPointer, &hints, &result)
| `- error: cannot find 'getaddrinfo' in scope
92 | }
93 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:97:73: error: cannot find 'gai_strerror' in scope
95 | guard status == 0, let first = result else {
96 |
97 | let reason = status == 0 ? "no addresses" : String(cString: gai_strerror(status))
| `- error: cannot find 'gai_strerror' in scope
98 | throw DBusProtocolError.invalidAddress("Could not resolve \(host):\(port): \(reason)")
99 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:101:17: error: cannot find 'freeaddrinfo' in scope
99 | }
100 |
101 | defer { freeaddrinfo(first) }
| `- error: cannot find 'freeaddrinfo' in scope
102 |
103 | var endpoints = [DBusTCPEndpoint]()
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:105:41: error: cannot find type 'addrinfo' in scope
103 | var endpoints = [DBusTCPEndpoint]()
104 |
105 | var entry: UnsafeMutablePointer<addrinfo>? = first
| `- error: cannot find type 'addrinfo' in scope
106 |
107 | while let current = entry {
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:116:18: error: cannot find 'AF_INET' in scope
114 | switch current.pointee.ai_family {
115 |
116 | case AF_INET:
| `- error: cannot find 'AF_INET' in scope
117 | let value = socketAddress.withMemoryRebound(to: sockaddr_in.self, capacity: 1) { $0.pointee }
118 | endpoints.append(.ipv4(IPv4SocketAddress(address: IPv4Address(value.sin_addr),
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:121:18: error: cannot find 'AF_INET6' in scope
119 | port: UInt16(bigEndian: value.sin_port))))
120 |
121 | case AF_INET6:
| `- error: cannot find 'AF_INET6' in scope
122 | let value = socketAddress.withMemoryRebound(to: sockaddr_in6.self, capacity: 1) { $0.pointee }
123 | endpoints.append(.ipv6(IPv6SocketAddress(address: IPv6Address(value.sin6_addr),
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:117:65: error: cannot find 'sockaddr_in' in scope
115 |
116 | case AF_INET:
117 | let value = socketAddress.withMemoryRebound(to: sockaddr_in.self, capacity: 1) { $0.pointee }
| `- error: cannot find 'sockaddr_in' in scope
118 | endpoints.append(.ipv4(IPv4SocketAddress(address: IPv4Address(value.sin_addr),
119 | port: UInt16(bigEndian: value.sin_port))))
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:122:65: error: cannot find 'sockaddr_in6' in scope
120 |
121 | case AF_INET6:
122 | let value = socketAddress.withMemoryRebound(to: sockaddr_in6.self, capacity: 1) { $0.pointee }
| `- error: cannot find 'sockaddr_in6' in scope
123 | endpoints.append(.ipv6(IPv6SocketAddress(address: IPv6Address(value.sin6_addr),
124 | port: UInt16(bigEndian: value.sin6_port))))
[128/130] Compiling DBus Signature.swift
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:72:21: error: cannot find 'addrinfo' in scope
70 | family: Family? = nil) throws -> [DBusTCPEndpoint] {
71 |
72 | var hints = addrinfo()
| `- error: cannot find 'addrinfo' in scope
73 | // Glibc, Musl and Bionic declare the socket types as an enumeration; Darwin as Int32.
74 | #if canImport(Darwin)
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:77:35: error: cannot find 'SOCK_STREAM' in scope
75 | hints.ai_socktype = SOCK_STREAM
76 | #else
77 | hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
| `- error: cannot find 'SOCK_STREAM' in scope
78 | #endif
79 | hints.ai_protocol = Int32(IPPROTO_TCP)
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:79:35: error: cannot find 'IPPROTO_TCP' in scope
77 | hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
78 | #endif
79 | hints.ai_protocol = Int32(IPPROTO_TCP)
| `- error: cannot find 'IPPROTO_TCP' in scope
80 |
81 | switch family {
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:82:39: error: cannot find 'AF_INET' in scope
80 |
81 | switch family {
82 | case .ipv4: hints.ai_family = AF_INET
| `- error: cannot find 'AF_INET' in scope
83 | case .ipv6: hints.ai_family = AF_INET6
84 | case nil: hints.ai_family = AF_UNSPEC
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:83:39: error: cannot find 'AF_INET6' in scope
81 | switch family {
82 | case .ipv4: hints.ai_family = AF_INET
83 | case .ipv6: hints.ai_family = AF_INET6
| `- error: cannot find 'AF_INET6' in scope
84 | case nil: hints.ai_family = AF_UNSPEC
85 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:84:37: error: cannot find 'AF_UNSPEC' in scope
82 | case .ipv4: hints.ai_family = AF_INET
83 | case .ipv6: hints.ai_family = AF_INET6
84 | case nil: hints.ai_family = AF_UNSPEC
| `- error: cannot find 'AF_UNSPEC' in scope
85 | }
86 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:87:42: error: cannot find type 'addrinfo' in scope
85 | }
86 |
87 | var result: UnsafeMutablePointer<addrinfo>?
| `- error: cannot find type 'addrinfo' in scope
88 |
89 | let status = host.withCString { hostPointer in
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:91:17: error: cannot find 'getaddrinfo' in scope
89 | let status = host.withCString { hostPointer in
90 | String(port).withCString { portPointer in
91 | getaddrinfo(hostPointer, portPointer, &hints, &result)
| `- error: cannot find 'getaddrinfo' in scope
92 | }
93 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:97:73: error: cannot find 'gai_strerror' in scope
95 | guard status == 0, let first = result else {
96 |
97 | let reason = status == 0 ? "no addresses" : String(cString: gai_strerror(status))
| `- error: cannot find 'gai_strerror' in scope
98 | throw DBusProtocolError.invalidAddress("Could not resolve \(host):\(port): \(reason)")
99 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:101:17: error: cannot find 'freeaddrinfo' in scope
99 | }
100 |
101 | defer { freeaddrinfo(first) }
| `- error: cannot find 'freeaddrinfo' in scope
102 |
103 | var endpoints = [DBusTCPEndpoint]()
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:105:41: error: cannot find type 'addrinfo' in scope
103 | var endpoints = [DBusTCPEndpoint]()
104 |
105 | var entry: UnsafeMutablePointer<addrinfo>? = first
| `- error: cannot find type 'addrinfo' in scope
106 |
107 | while let current = entry {
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:116:18: error: cannot find 'AF_INET' in scope
114 | switch current.pointee.ai_family {
115 |
116 | case AF_INET:
| `- error: cannot find 'AF_INET' in scope
117 | let value = socketAddress.withMemoryRebound(to: sockaddr_in.self, capacity: 1) { $0.pointee }
118 | endpoints.append(.ipv4(IPv4SocketAddress(address: IPv4Address(value.sin_addr),
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:121:18: error: cannot find 'AF_INET6' in scope
119 | port: UInt16(bigEndian: value.sin_port))))
120 |
121 | case AF_INET6:
| `- error: cannot find 'AF_INET6' in scope
122 | let value = socketAddress.withMemoryRebound(to: sockaddr_in6.self, capacity: 1) { $0.pointee }
123 | endpoints.append(.ipv6(IPv6SocketAddress(address: IPv6Address(value.sin6_addr),
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:117:65: error: cannot find 'sockaddr_in' in scope
115 |
116 | case AF_INET:
117 | let value = socketAddress.withMemoryRebound(to: sockaddr_in.self, capacity: 1) { $0.pointee }
| `- error: cannot find 'sockaddr_in' in scope
118 | endpoints.append(.ipv4(IPv4SocketAddress(address: IPv4Address(value.sin_addr),
119 | port: UInt16(bigEndian: value.sin_port))))
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:122:65: error: cannot find 'sockaddr_in6' in scope
120 |
121 | case AF_INET6:
122 | let value = socketAddress.withMemoryRebound(to: sockaddr_in6.self, capacity: 1) { $0.pointee }
| `- error: cannot find 'sockaddr_in6' in scope
123 | endpoints.append(.ipv6(IPv6SocketAddress(address: IPv6Address(value.sin6_addr),
124 | port: UInt16(bigEndian: value.sin6_port))))
[129/130] Compiling DBus DBusAddress.swift
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:72:21: error: cannot find 'addrinfo' in scope
70 | family: Family? = nil) throws -> [DBusTCPEndpoint] {
71 |
72 | var hints = addrinfo()
| `- error: cannot find 'addrinfo' in scope
73 | // Glibc, Musl and Bionic declare the socket types as an enumeration; Darwin as Int32.
74 | #if canImport(Darwin)
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:77:35: error: cannot find 'SOCK_STREAM' in scope
75 | hints.ai_socktype = SOCK_STREAM
76 | #else
77 | hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
| `- error: cannot find 'SOCK_STREAM' in scope
78 | #endif
79 | hints.ai_protocol = Int32(IPPROTO_TCP)
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:79:35: error: cannot find 'IPPROTO_TCP' in scope
77 | hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
78 | #endif
79 | hints.ai_protocol = Int32(IPPROTO_TCP)
| `- error: cannot find 'IPPROTO_TCP' in scope
80 |
81 | switch family {
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:82:39: error: cannot find 'AF_INET' in scope
80 |
81 | switch family {
82 | case .ipv4: hints.ai_family = AF_INET
| `- error: cannot find 'AF_INET' in scope
83 | case .ipv6: hints.ai_family = AF_INET6
84 | case nil: hints.ai_family = AF_UNSPEC
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:83:39: error: cannot find 'AF_INET6' in scope
81 | switch family {
82 | case .ipv4: hints.ai_family = AF_INET
83 | case .ipv6: hints.ai_family = AF_INET6
| `- error: cannot find 'AF_INET6' in scope
84 | case nil: hints.ai_family = AF_UNSPEC
85 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:84:37: error: cannot find 'AF_UNSPEC' in scope
82 | case .ipv4: hints.ai_family = AF_INET
83 | case .ipv6: hints.ai_family = AF_INET6
84 | case nil: hints.ai_family = AF_UNSPEC
| `- error: cannot find 'AF_UNSPEC' in scope
85 | }
86 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:87:42: error: cannot find type 'addrinfo' in scope
85 | }
86 |
87 | var result: UnsafeMutablePointer<addrinfo>?
| `- error: cannot find type 'addrinfo' in scope
88 |
89 | let status = host.withCString { hostPointer in
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:91:17: error: cannot find 'getaddrinfo' in scope
89 | let status = host.withCString { hostPointer in
90 | String(port).withCString { portPointer in
91 | getaddrinfo(hostPointer, portPointer, &hints, &result)
| `- error: cannot find 'getaddrinfo' in scope
92 | }
93 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:97:73: error: cannot find 'gai_strerror' in scope
95 | guard status == 0, let first = result else {
96 |
97 | let reason = status == 0 ? "no addresses" : String(cString: gai_strerror(status))
| `- error: cannot find 'gai_strerror' in scope
98 | throw DBusProtocolError.invalidAddress("Could not resolve \(host):\(port): \(reason)")
99 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:101:17: error: cannot find 'freeaddrinfo' in scope
99 | }
100 |
101 | defer { freeaddrinfo(first) }
| `- error: cannot find 'freeaddrinfo' in scope
102 |
103 | var endpoints = [DBusTCPEndpoint]()
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:105:41: error: cannot find type 'addrinfo' in scope
103 | var endpoints = [DBusTCPEndpoint]()
104 |
105 | var entry: UnsafeMutablePointer<addrinfo>? = first
| `- error: cannot find type 'addrinfo' in scope
106 |
107 | while let current = entry {
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:116:18: error: cannot find 'AF_INET' in scope
114 | switch current.pointee.ai_family {
115 |
116 | case AF_INET:
| `- error: cannot find 'AF_INET' in scope
117 | let value = socketAddress.withMemoryRebound(to: sockaddr_in.self, capacity: 1) { $0.pointee }
118 | endpoints.append(.ipv4(IPv4SocketAddress(address: IPv4Address(value.sin_addr),
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:121:18: error: cannot find 'AF_INET6' in scope
119 | port: UInt16(bigEndian: value.sin_port))))
120 |
121 | case AF_INET6:
| `- error: cannot find 'AF_INET6' in scope
122 | let value = socketAddress.withMemoryRebound(to: sockaddr_in6.self, capacity: 1) { $0.pointee }
123 | endpoints.append(.ipv6(IPv6SocketAddress(address: IPv6Address(value.sin6_addr),
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:117:65: error: cannot find 'sockaddr_in' in scope
115 |
116 | case AF_INET:
117 | let value = socketAddress.withMemoryRebound(to: sockaddr_in.self, capacity: 1) { $0.pointee }
| `- error: cannot find 'sockaddr_in' in scope
118 | endpoints.append(.ipv4(IPv4SocketAddress(address: IPv4Address(value.sin_addr),
119 | port: UInt16(bigEndian: value.sin_port))))
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:122:65: error: cannot find 'sockaddr_in6' in scope
120 |
121 | case AF_INET6:
122 | let value = socketAddress.withMemoryRebound(to: sockaddr_in6.self, capacity: 1) { $0.pointee }
| `- error: cannot find 'sockaddr_in6' in scope
123 | endpoints.append(.ipv6(IPv6SocketAddress(address: IPv6Address(value.sin6_addr),
124 | port: UInt16(bigEndian: value.sin6_port))))
[130/130] Compiling DBus DBusTCPAddress.swift
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:72:21: error: cannot find 'addrinfo' in scope
70 | family: Family? = nil) throws -> [DBusTCPEndpoint] {
71 |
72 | var hints = addrinfo()
| `- error: cannot find 'addrinfo' in scope
73 | // Glibc, Musl and Bionic declare the socket types as an enumeration; Darwin as Int32.
74 | #if canImport(Darwin)
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:77:35: error: cannot find 'SOCK_STREAM' in scope
75 | hints.ai_socktype = SOCK_STREAM
76 | #else
77 | hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
| `- error: cannot find 'SOCK_STREAM' in scope
78 | #endif
79 | hints.ai_protocol = Int32(IPPROTO_TCP)
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:79:35: error: cannot find 'IPPROTO_TCP' in scope
77 | hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
78 | #endif
79 | hints.ai_protocol = Int32(IPPROTO_TCP)
| `- error: cannot find 'IPPROTO_TCP' in scope
80 |
81 | switch family {
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:82:39: error: cannot find 'AF_INET' in scope
80 |
81 | switch family {
82 | case .ipv4: hints.ai_family = AF_INET
| `- error: cannot find 'AF_INET' in scope
83 | case .ipv6: hints.ai_family = AF_INET6
84 | case nil: hints.ai_family = AF_UNSPEC
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:83:39: error: cannot find 'AF_INET6' in scope
81 | switch family {
82 | case .ipv4: hints.ai_family = AF_INET
83 | case .ipv6: hints.ai_family = AF_INET6
| `- error: cannot find 'AF_INET6' in scope
84 | case nil: hints.ai_family = AF_UNSPEC
85 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:84:37: error: cannot find 'AF_UNSPEC' in scope
82 | case .ipv4: hints.ai_family = AF_INET
83 | case .ipv6: hints.ai_family = AF_INET6
84 | case nil: hints.ai_family = AF_UNSPEC
| `- error: cannot find 'AF_UNSPEC' in scope
85 | }
86 |
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:87:42: error: cannot find type 'addrinfo' in scope
85 | }
86 |
87 | var result: UnsafeMutablePointer<addrinfo>?
| `- error: cannot find type 'addrinfo' in scope
88 |
89 | let status = host.withCString { hostPointer in
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:91:17: error: cannot find 'getaddrinfo' in scope
89 | let status = host.withCString { hostPointer in
90 | String(port).withCString { portPointer in
91 | getaddrinfo(hostPointer, portPointer, &hints, &result)
| `- error: cannot find 'getaddrinfo' in scope
92 | }
93 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:97:73: error: cannot find 'gai_strerror' in scope
95 | guard status == 0, let first = result else {
96 |
97 | let reason = status == 0 ? "no addresses" : String(cString: gai_strerror(status))
| `- error: cannot find 'gai_strerror' in scope
98 | throw DBusProtocolError.invalidAddress("Could not resolve \(host):\(port): \(reason)")
99 | }
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:101:17: error: cannot find 'freeaddrinfo' in scope
99 | }
100 |
101 | defer { freeaddrinfo(first) }
| `- error: cannot find 'freeaddrinfo' in scope
102 |
103 | var endpoints = [DBusTCPEndpoint]()
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:105:41: error: cannot find type 'addrinfo' in scope
103 | var endpoints = [DBusTCPEndpoint]()
104 |
105 | var entry: UnsafeMutablePointer<addrinfo>? = first
| `- error: cannot find type 'addrinfo' in scope
106 |
107 | while let current = entry {
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:116:18: error: cannot find 'AF_INET' in scope
114 | switch current.pointee.ai_family {
115 |
116 | case AF_INET:
| `- error: cannot find 'AF_INET' in scope
117 | let value = socketAddress.withMemoryRebound(to: sockaddr_in.self, capacity: 1) { $0.pointee }
118 | endpoints.append(.ipv4(IPv4SocketAddress(address: IPv4Address(value.sin_addr),
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:121:18: error: cannot find 'AF_INET6' in scope
119 | port: UInt16(bigEndian: value.sin_port))))
120 |
121 | case AF_INET6:
| `- error: cannot find 'AF_INET6' in scope
122 | let value = socketAddress.withMemoryRebound(to: sockaddr_in6.self, capacity: 1) { $0.pointee }
123 | endpoints.append(.ipv6(IPv6SocketAddress(address: IPv6Address(value.sin6_addr),
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:117:65: error: cannot find 'sockaddr_in' in scope
115 |
116 | case AF_INET:
117 | let value = socketAddress.withMemoryRebound(to: sockaddr_in.self, capacity: 1) { $0.pointee }
| `- error: cannot find 'sockaddr_in' in scope
118 | endpoints.append(.ipv4(IPv4SocketAddress(address: IPv4Address(value.sin_addr),
119 | port: UInt16(bigEndian: value.sin_port))))
/host/spi-builder-workspace/Sources/DBus/Transport/DBusTCPAddress.swift:122:65: error: cannot find 'sockaddr_in6' in scope
120 |
121 | case AF_INET6:
122 | let value = socketAddress.withMemoryRebound(to: sockaddr_in6.self, capacity: 1) { $0.pointee }
| `- error: cannot find 'sockaddr_in6' in scope
123 | endpoints.append(.ipv6(IPv6SocketAddress(address: IPv6Address(value.sin6_addr),
124 | port: UInt16(bigEndian: value.sin6_port))))
BUILD FAILURE 6.1 android