The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-discovery, reference main (28650a), with Swift 6.2 for Linux on 30 Dec 2025 17:15:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/1amageek/swift-discovery.git
Reference: main
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/1amageek/swift-discovery
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 28650a2 Add repository guidelines and testing instructions
Cloned https://github.com/1amageek/swift-discovery.git
Revision (git rev-parse @):
28650a2634509b4ab241028371169d5176619feb
SUCCESS checkout https://github.com/1amageek/swift-discovery.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/1amageek/swift-discovery.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:e1f50347098d838026a020bb7d0f8bade3d7b84d6d497429b7cf821cdf4fc3d1
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/27] Compiling DiscoveryCore SemanticVersion.swift
[8/27] Compiling DiscoveryCore Transport.swift
[9/29] Compiling DiscoveryCore MessageType.swift
[10/29] Compiling DiscoveryCore PeerID.swift
[11/29] Compiling DiscoveryCore ResolvedPeer.swift
[12/29] Compiling DiscoveryCore MessageFlags.swift
[13/29] Compiling DiscoveryCore MessageHeader.swift
[14/29] Compiling DiscoveryCore MessagePayloads.swift
[15/29] Compiling DiscoveryCore LocalPeer.swift
[16/29] Compiling DiscoveryCore Message.swift
[17/29] Compiling DiscoveryCore MessageError.swift
[18/29] Compiling DiscoveryCore Capability.swift
[19/29] Compiling DiscoveryCore CapabilityError.swift
[20/29] Compiling DiscoveryCore CapabilityID.swift
[21/29] Emitting module DiscoveryCore
[22/29] Compiling DiscoveryCore CapabilitySchema.swift
[23/29] Compiling DiscoveryCore CapabilitySet.swift
[24/29] Compiling DiscoveryCore DiscoveredPeer.swift
[25/29] Compiling DiscoveryCore DiscoveryCore.swift
[26/29] Compiling DiscoveryCore DiscoveryErrorCode.swift
[27/29] Compiling DiscoveryCore InvocationResult.swift
[28/29] Compiling DiscoveryCore TransportCoordinator.swift
[29/29] Compiling DiscoveryCore TransportEvent.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/36] Emitting module RemoteNetworkTransport
/host/spi-builder-workspace/Sources/RemoteNetworkTransport/RemoteNetworkTransport.swift:6:8: error: no such module 'Network'
  4 |
  5 | import Foundation
  6 | import Network
    |        `- error: no such module 'Network'
  7 | import DiscoveryCore
  8 |
[32/36] Compiling RemoteNetworkTransport RemoteNetworkTransport.swift
/host/spi-builder-workspace/Sources/RemoteNetworkTransport/RemoteNetworkTransport.swift:6:8: error: no such module 'Network'
  4 |
  5 | import Foundation
  6 | import Network
    |        `- error: no such module 'Network'
  7 | import DiscoveryCore
  8 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/36] Emitting module LocalNetworkTransport
/host/spi-builder-workspace/Sources/LocalNetworkTransport/LocalNetworkTransport.swift:6:8: error: no such module 'Network'
  4 |
  5 | import Foundation
  6 | import Network
    |        `- error: no such module 'Network'
  7 | import DiscoveryCore
  8 |
[34/36] Emitting module NearbyTransport
BUILD FAILURE 6.2 linux