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 1.1.1 (3d5d60), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 07:18:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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: 1.1.1
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
 * tag               1.1.1      -> FETCH_HEAD
HEAD is now at 3d5d60c Update Swift CI Versions to 5.1.5 and 5.2
Cloned https://github.com/kaiede/rpilight.git
Revision (git rev-parse @):
3d5d60cf7817d8311469b061a356c38989ab1739
SUCCESS checkout https://github.com/kaiede/rpilight.git at 1.1.1
========================================
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-1":/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/jpsim/Yams.git
Fetching https://github.com/Kaiede/MCP4725.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Kaiede/PCA9685.git
Fetching https://github.com/Kaiede/SingleBoard.git
Fetching https://github.com/Kaiede/Ephemeris.git
[1/210] Fetching ephemeris
[211/280] Fetching ephemeris, pca9685
[281/557] Fetching ephemeris, pca9685, singleboard
[558/4393] Fetching ephemeris, pca9685, singleboard, swift-log
[674/4421] Fetching ephemeris, pca9685, singleboard, swift-log, mcp4725
[2313/15280] Fetching ephemeris, pca9685, singleboard, swift-log, mcp4725, yams
Fetched https://github.com/Kaiede/MCP4725.git from cache (0.42s)
[3052/15252] Fetching ephemeris, pca9685, singleboard, swift-log, yams
Fetching https://github.com/kareman/Moderator.git
Fetched https://github.com/Kaiede/Ephemeris.git from cache (0.75s)
[7007/15042] Fetching pca9685, singleboard, swift-log, yams
[9831/15700] Fetching pca9685, singleboard, swift-log, yams, moderator
Fetched https://github.com/kareman/Moderator.git from cache (2.11s)
Fetched https://github.com/Kaiede/PCA9685.git from cache (2.90s)
Fetched https://github.com/Kaiede/SingleBoard.git from cache (2.90s)
Fetched https://github.com/apple/swift-log.git from cache (2.91s)
Fetched https://github.com/jpsim/Yams.git from cache (2.99s)
Computing version for https://github.com/Kaiede/SingleBoard.git
Computed https://github.com/Kaiede/SingleBoard.git at 1.0.0 (10.34s)
Computing version for https://github.com/Kaiede/MCP4725.git
Computed https://github.com/Kaiede/MCP4725.git at 0.1.0 (0.63s)
Computing version for https://github.com/Kaiede/PCA9685.git
Computed https://github.com/Kaiede/PCA9685.git at 3.0.0 (0.65s)
Computing version for https://github.com/Kaiede/Ephemeris.git
Computed https://github.com/Kaiede/Ephemeris.git at 1.0.2 (1.39s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (0.75s)
Computing version for https://github.com/kareman/Moderator.git
Computed https://github.com/kareman/Moderator.git at 0.5.1 (1.27s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.55s)
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/SingleBoard.git
Working copy of https://github.com/Kaiede/SingleBoard.git resolved at 1.0.0
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/Ephemeris.git
Working copy of https://github.com/Kaiede/Ephemeris.git resolved at 1.0.2
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/kareman/Moderator.git
Working copy of https://github.com/kareman/Moderator.git resolved at 0.5.1
Building for debugging...
[0/29] Write sources
[10/29] Compiling writer.c
[11/29] Compiling reader.c
[12/29] Write swift-version-24593BA9C3E375BF.txt
[13/29] Compiling parser.c
[14/52] Compiling api.c
[15/54] Compiling emitter.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/54] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/54] 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 |
[18/55] Compiling scanner.c
[20/70] Emitting module Logging
[21/70] 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 | //
[22/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.
[23/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.
[24/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 | //
[25/72] 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.
[26/72] 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.
[27/72] 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 |
[28/72] 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 |
[29/72] 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 {
[30/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 |
[31/72] 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.
[32/72] 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.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/72] Emitting module Yams
/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.
[34/72] Compiling Yams Constructor.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.
[35/72] Compiling Yams Decoder.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.
[36/72] Compiling Yams Emitter.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.
[37/72] Compiling Yams Encoder.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.
[38/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 |
[39/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 |
[40/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 | //
/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 |
/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 |
[43/72] Compiling Logging Locks.swift
[44/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 | //
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/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 | //
[46/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 | //
[47/72] 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 | //
[48/72] 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.
[49/72] 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.
[50/72] 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.
[51/72] 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.
[52/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 {
[53/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 {
[54/72] 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 |
[55/72] 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 |
[56/72] Compiling Yams YamlError.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.
[57/72] Compiling Yams shim.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.
[58/72] Compiling Logging LogHandler.swift
BUILD FAILURE 6.2 wasm