The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WledLib, reference main (35dffc), with Swift 6.2 for Wasm on 20 Jun 2025 19:06:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sqrt0b1000/WledLib.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/sqrt0b1000/WledLib
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 35dffc2 Add ip-address frield to info struct
Cloned https://github.com/sqrt0b1000/WledLib.git
Revision (git rev-parse @):
35dffc22f913f4341a83f9dd76de650813d93316
SUCCESS checkout https://github.com/sqrt0b1000/WledLib.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/sqrt0b1000/WledLib.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.47s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.91s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/8] Emitting module Logging
[5/8] Compiling Logging MetadataProvider.swift
[6/8] Compiling Logging Locks.swift
[7/8] Compiling Logging LogHandler.swift
[8/8] Compiling Logging Logging.swift
[10/33] Compiling WledLib Connection.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
[11/33] Compiling WledLib ConnectionSheme.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
[12/33] Compiling WledLib WledHost.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
[13/36] Compiling WledLib State.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
[14/36] Compiling WledLib SuccessMessage.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
[15/36] Compiling WledLib Wifi.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
[16/36] Compiling WledLib Device.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
[17/36] Compiling WledLib FileSystem.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
[18/36] Compiling WledLib Info.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
[19/36] Compiling WledLib Leds.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
[20/36] Compiling WledLib SuccessMessageExtension.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
[21/36] Compiling WledLib WledStateExtension.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
[22/36] Compiling WledLib WledHTTPGet.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
[23/36] Compiling WledLib WledHTTPPost.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
[24/36] Compiling WledLib WledHTTPResponse.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
[25/36] Compiling WledLib WledWebSocketData.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
[26/36] Compiling WledLib DiscoveryService.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
[27/36] Compiling WledLib DeviceExtension.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
[28/36] Compiling WledLib PresetsExtension.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
[29/36] Compiling WledLib Nightlight.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
[30/36] Compiling WledLib Preset.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
[31/36] Compiling WledLib Presets.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
[32/36] Compiling WledLib Segment.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/36] Emitting module WledLib
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
[34/36] Compiling WledLib WledHostHTTP.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
[35/36] Compiling WledLib WledHostURL.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
[36/36] Compiling WledLib WledHostWebSocket.swift
/host/spi-builder-workspace/Sources/WledLib/Discovery/DiscoveryService.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import Network
 10 | import Logging
BUILD FAILURE 6.2 wasm