The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Disco, reference main (eedb27), with Swift 6.1 for Wasm on 16 Oct 2025 17:36:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dvkch/Disco.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/dvkch/Disco
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at eedb279 Add dumb UDP request to trigger local network access
Cloned https://github.com/dvkch/Disco.git
Revision (git rev-parse @):
eedb27938c34741a9d2b84f35ccfd4e86193107d
SUCCESS checkout https://github.com/dvkch/Disco.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dvkch/Disco.git
https://github.com/dvkch/Disco.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftyping",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/samiyr/SwiftyPing"
    }
  ],
  "manifest_display_name" : "Disco",
  "name" : "Disco",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "Disco",
      "targets" : [
        "Disco"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "DiscoTests",
      "module_type" : "SwiftTarget",
      "name" : "DiscoTests",
      "path" : "Tests/DiscoTests",
      "product_dependencies" : [
        "SwiftyPing"
      ],
      "sources" : [
        "DiscoTests.swift"
      ],
      "target_dependencies" : [
        "Disco"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Disco",
      "module_type" : "SwiftTarget",
      "name" : "Disco",
      "path" : "Sources/Disco",
      "product_dependencies" : [
        "SwiftyPing"
      ],
      "product_memberships" : [
        "Disco"
      ],
      "sources" : [
        "HostStatusManager.swift",
        "HostnameResolver.swift",
        "HostsFinder.swift",
        "IPInterface.swift",
        "IPv4Interface.swift",
        "IPv6Interface.swift",
        "NetService+Disco.swift",
        "Network+Disco.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/samiyr/SwiftyPing
[1/511] Fetching swiftyping
Fetched https://github.com/samiyr/SwiftyPing from cache (0.85s)
Computing version for https://github.com/samiyr/SwiftyPing
Computed https://github.com/samiyr/SwiftyPing at 1.2.1 (3.95s)
Creating working copy for https://github.com/samiyr/SwiftyPing
Working copy of https://github.com/samiyr/SwiftyPing resolved at 1.2.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module SwiftyPing
/host/spi-builder-workspace/.build/checkouts/SwiftyPing/Sources/SwiftyPing/SwiftyPing.swift:10:8: error: no such module 'Darwin'
  8 |
  9 | import Foundation
 10 | import Darwin
    |        `- error: no such module 'Darwin'
 11 |
 12 | #if os(iOS)
[5/5] Compiling SwiftyPing SwiftyPing.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyPing/Sources/SwiftyPing/SwiftyPing.swift:10:8: error: no such module 'Darwin'
  8 |
  9 | import Foundation
 10 | import Darwin
    |        `- error: no such module 'Darwin'
 11 |
 12 | #if os(iOS)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module SwiftyPing
/host/spi-builder-workspace/.build/checkouts/SwiftyPing/Sources/SwiftyPing/SwiftyPing.swift:10:8: error: no such module 'Darwin'
  8 |
  9 | import Foundation
 10 | import Darwin
    |        `- error: no such module 'Darwin'
 11 |
 12 | #if os(iOS)
[3/3] Compiling SwiftyPing SwiftyPing.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyPing/Sources/SwiftyPing/SwiftyPing.swift:10:8: error: no such module 'Darwin'
  8 |
  9 | import Foundation
 10 | import Darwin
    |        `- error: no such module 'Darwin'
 11 |
 12 | #if os(iOS)
BUILD FAILURE 6.1 wasm