The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build RPiLight, reference main (c546e2), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 07:17:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/kaiede/rpilight.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/kaiede/rpilight
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c546e24 Fix Bootstrap Script for Development Only Use
Cloned https://github.com/kaiede/rpilight.git
Revision (git rev-parse @):
c546e24b00bd0c9bfe9c2f3dc4467f2d388f8b38
SUCCESS checkout https://github.com/kaiede/rpilight.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/kaiede/rpilight.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/Kaiede/PCA9685.git
Fetching https://github.com/Kaiede/SingleBoard.git
Fetching https://github.com/Kaiede/MCP4725.git
Fetching https://github.com/Kaiede/Ephemeris.git
[1/28] Fetching mcp4725
[26/98] Fetching mcp4725, pca9685
[80/308] Fetching mcp4725, pca9685, ephemeris
[274/585] Fetching mcp4725, pca9685, ephemeris, singleboard
Fetching https://github.com/jpsim/Yams.git
Fetched https://github.com/Kaiede/MCP4725.git from cache (0.30s)
Fetched https://github.com/Kaiede/SingleBoard.git from cache (0.30s)
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/Kaiede/PCA9685.git from cache (0.31s)
Fetched https://github.com/Kaiede/Ephemeris.git from cache (0.30s)
[1/10859] Fetching yams
[5757/14695] Fetching yams, swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.40s)
Fetching https://github.com/kareman/Moderator.git
Fetched https://github.com/jpsim/Yams.git from cache (1.72s)
[1/658] Fetching moderator
Fetched https://github.com/kareman/Moderator.git from cache (1.29s)
Computing version for https://github.com/Kaiede/SingleBoard.git
Computed https://github.com/Kaiede/SingleBoard.git at 1.0.0 (5.90s)
Computing version for https://github.com/Kaiede/MCP4725.git
Computed https://github.com/Kaiede/MCP4725.git at 0.1.0 (0.43s)
Computing version for https://github.com/Kaiede/PCA9685.git
Computed https://github.com/Kaiede/PCA9685.git at 3.0.0 (0.45s)
Computing version for https://github.com/Kaiede/Ephemeris.git
Computed https://github.com/Kaiede/Ephemeris.git at 1.0.2 (0.46s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (0.47s)
Computing version for https://github.com/kareman/Moderator.git
Computed https://github.com/kareman/Moderator.git at 0.5.1 (0.46s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.51s)
Creating working copy for https://github.com/Kaiede/PCA9685.git
Working copy of https://github.com/Kaiede/PCA9685.git resolved at 3.0.0
Creating working copy for https://github.com/Kaiede/Ephemeris.git
Working copy of https://github.com/Kaiede/Ephemeris.git resolved at 1.0.2
Creating working copy for https://github.com/kareman/Moderator.git
Working copy of https://github.com/kareman/Moderator.git resolved at 0.5.1
Creating working copy for https://github.com/Kaiede/MCP4725.git
Working copy of https://github.com/Kaiede/MCP4725.git resolved at 0.1.0
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
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
Creating working copy for https://github.com/Kaiede/SingleBoard.git
Working copy of https://github.com/Kaiede/SingleBoard.git resolved at 1.0.0
Building for debugging...
[0/29] Write sources
[10/29] Compiling writer.c
[11/29] Compiling reader.c
[12/29] Compiling parser.c
[13/29] Compiling api.c
[14/29] Compiling emitter.c
[15/29] Compiling scanner.c
[16/29] Write swift-version-24593BA9C3E375BF.txt
[18/69] Compiling SingleBoard Extensions.swift
/host/spi-builder-workspace/.build/checkouts/SingleBoard/Sources/SingleBoard/Boards/Raspberry_Board.swift:31:12: error: no such module 'Darwin'
 29 |     import Glibc
 30 | #else
 31 |     import Darwin
    |            `- error: no such module 'Darwin'
 32 | #endif
 33 |
[19/70] Compiling Ephemeris Solar.swift
/host/spi-builder-workspace/.build/checkouts/Ephemeris/Sources/Body.swift:26:8: error: no such module 'Foundation'
 24 |  */
 25 |
 26 | import Foundation
    |        `- error: no such module 'Foundation'
 27 |
 28 | //
[20/70] Compiling Logging Locks.swift
[21/70] Compiling Moderator SwiftCompat.swift
/host/spi-builder-workspace/.build/checkouts/Moderator/Sources/Moderator.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | public final class Moderator {
[22/70] Compiling SingleBoard Raspberry_Board.swift
/host/spi-builder-workspace/.build/checkouts/SingleBoard/Sources/SingleBoard/Boards/Raspberry_Board.swift:31:12: error: no such module 'Darwin'
 29 |     import Glibc
 30 | #else
 31 |     import Darwin
    |            `- error: no such module 'Darwin'
 32 | #endif
 33 |
[23/70] Compiling Yams Mark.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[24/70] Compiling Yams Node.Mapping.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[25/70] Compiling Yams String+Yams.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[26/70] Compiling Yams Tag.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[27/70] Compiling Yams Node.Scalar.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[28/70] Compiling Yams Node.Sequence.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[29/70] Compiling Yams Node.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[30/70] Compiling Yams Parser.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[31/70] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[32/70] Compiling Yams Resolver.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[33/70] Compiling SingleBoard I2C.swift
/host/spi-builder-workspace/.build/checkouts/SingleBoard/Sources/SingleBoard/Boards/Raspberry_Board.swift:31:12: error: no such module 'Darwin'
 29 |     import Glibc
 30 | #else
 31 |     import Darwin
    |            `- error: no such module 'Darwin'
 32 | #endif
 33 |
[34/70] Compiling SingleBoard GPIO.swift
/host/spi-builder-workspace/.build/checkouts/SingleBoard/Sources/SingleBoard/Boards/Raspberry_Board.swift:31:12: error: no such module 'Darwin'
 29 |     import Glibc
 30 | #else
 31 |     import Darwin
    |            `- error: no such module 'Darwin'
 32 | #endif
 33 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/72] Emitting module SingleBoard
/host/spi-builder-workspace/.build/checkouts/SingleBoard/Sources/SingleBoard/Boards/Raspberry_Board.swift:31:12: error: no such module 'Darwin'
 29 |     import Glibc
 30 | #else
 31 |     import Darwin
    |            `- error: no such module 'Darwin'
 32 | #endif
 33 |
[36/72] Compiling Yams Emitter.swift
/host/spi-builder-workspace/.build/checkouts/SingleBoard/Sources/SingleBoard/Boards/Raspberry_Board.swift:31:12: error: no such module 'Darwin'
 29 |     import Glibc
 30 | #else
 31 |     import Darwin
    |            `- error: no such module 'Darwin'
 32 | #endif
 33 |
[37/72] Compiling Yams Encoder.swift
/host/spi-builder-workspace/.build/checkouts/SingleBoard/Sources/SingleBoard/Boards/Raspberry_Board.swift:31:12: error: no such module 'Darwin'
 29 |     import Glibc
 30 | #else
 31 |     import Darwin
    |            `- error: no such module 'Darwin'
 32 | #endif
 33 |
[38/72] Compiling Moderator Moderator.swift
/host/spi-builder-workspace/.build/checkouts/Moderator/Sources/Moderator.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | public final class Moderator {
[39/72] Compiling SingleBoard SingleBoard.swift
/host/spi-builder-workspace/.build/checkouts/SingleBoard/Sources/SingleBoard/Boards/Raspberry_Board.swift:31:12: error: no such module 'Darwin'
 29 |     import Glibc
 30 | #else
 31 |     import Darwin
    |            `- error: no such module 'Darwin'
 32 | #endif
 33 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/72] Emitting module Moderator
/host/spi-builder-workspace/.build/checkouts/Moderator/Sources/Moderator.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | public final class Moderator {
[41/72] Compiling Moderator Parsers.swift
/host/spi-builder-workspace/.build/checkouts/Moderator/Sources/Moderator.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | public final class Moderator {
[42/72] Compiling Ephemeris Date.swift
/host/spi-builder-workspace/.build/checkouts/Ephemeris/Sources/Body.swift:26:8: error: no such module 'Foundation'
 24 |  */
 25 |
 26 | import Foundation
    |        `- error: no such module 'Foundation'
 27 |
 28 | //
[43/72] Compiling Ephemeris Body.swift
/host/spi-builder-workspace/.build/checkouts/Ephemeris/Sources/Body.swift:26:8: error: no such module 'Foundation'
 24 |  */
 25 |
 26 | import Foundation
    |        `- error: no such module 'Foundation'
 27 |
 28 | //
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/72] Emitting module Ephemeris
/host/spi-builder-workspace/.build/checkouts/Ephemeris/Sources/Body.swift:26:8: error: no such module 'Foundation'
 24 |  */
 25 |
 26 | import Foundation
    |        `- error: no such module 'Foundation'
 27 |
 28 | //
[45/72] Compiling Ephemeris Matrix.swift
/host/spi-builder-workspace/.build/checkouts/Ephemeris/Sources/Body.swift:26:8: error: no such module 'Foundation'
 24 |  */
 25 |
 26 | import Foundation
    |        `- error: no such module 'Foundation'
 27 |
 28 | //
[46/72] Compiling Ephemeris Coordinates.swift
/host/spi-builder-workspace/.build/checkouts/Ephemeris/Sources/Body.swift:26:8: error: no such module 'Foundation'
 24 |  */
 25 |
 26 | import Foundation
    |        `- error: no such module 'Foundation'
 27 |
 28 | //
[47/72] Compiling Ephemeris Lunar.swift
/host/spi-builder-workspace/.build/checkouts/Ephemeris/Sources/Body.swift:26:8: error: no such module 'Foundation'
 24 |  */
 25 |
 26 | import Foundation
    |        `- error: no such module 'Foundation'
 27 |
 28 | //
[48/72] Compiling SingleBoard Raspberry_PWM.swift
/host/spi-builder-workspace/.build/checkouts/SingleBoard/Sources/SingleBoard/Boards/Raspberry_Board.swift:31:12: error: no such module 'Darwin'
 29 |     import Glibc
 30 | #else
 31 |     import Darwin
    |            `- error: no such module 'Darwin'
 32 | #endif
 33 |
[49/72] Compiling SingleBoard Raspberry_Registers.swift
/host/spi-builder-workspace/.build/checkouts/SingleBoard/Sources/SingleBoard/Boards/Raspberry_Board.swift:31:12: error: no such module 'Darwin'
 29 |     import Glibc
 30 | #else
 31 |     import Darwin
    |            `- error: no such module 'Darwin'
 32 | #endif
 33 |
BUILD FAILURE 6.2 wasm