The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RPiLight, reference main (c546e2), with Swift 6.3 for Wasm on 12 Apr 2026 18:07:41 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/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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.3
Building package at path:  $PWD
https://github.com/kaiede/rpilight.git
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/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/kareman/Moderator.git
Fetching https://github.com/Kaiede/Ephemeris.git
Fetching https://github.com/Kaiede/PCA9685.git
Fetching https://github.com/Kaiede/SingleBoard.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Kaiede/MCP4725.git
[1/70] Fetching pca9685
[39/98] Fetching pca9685, mcp4725
[58/756] Fetching pca9685, mcp4725, moderator
[159/966] Fetching pca9685, mcp4725, moderator, ephemeris
[757/1243] Fetching pca9685, mcp4725, moderator, ephemeris, singleboard
[1034/7764] Fetching pca9685, mcp4725, moderator, ephemeris, singleboard, swift-log
Fetched https://github.com/Kaiede/Ephemeris.git from cache (0.79s)
[3961/7554] Fetching pca9685, mcp4725, moderator, singleboard, swift-log
Fetching https://github.com/jpsim/Yams.git
Fetched https://github.com/Kaiede/SingleBoard.git from cache (0.82s)
[7074/7277] Fetching pca9685, mcp4725, moderator, swift-log
Fetched https://github.com/Kaiede/MCP4725.git from cache (1.09s)
Fetched https://github.com/Kaiede/PCA9685.git from cache (1.09s)
Fetched https://github.com/apple/swift-log.git from cache (1.10s)
[468/658] Fetching moderator
[475/12209] Fetching moderator, yams
Fetched https://github.com/kareman/Moderator.git from cache (1.44s)
[1387/11551] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.88s)
Computing version for https://github.com/Kaiede/SingleBoard.git
Computed https://github.com/Kaiede/SingleBoard.git at 1.0.0 (5.61s)
Computing version for https://github.com/Kaiede/MCP4725.git
Computed https://github.com/Kaiede/MCP4725.git at 0.1.0 (0.46s)
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.43s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (0.50s)
Computing version for https://github.com/kareman/Moderator.git
Computed https://github.com/kareman/Moderator.git at 0.5.1 (0.55s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.56s)
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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
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/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/SingleBoard.git
Working copy of https://github.com/Kaiede/SingleBoard.git resolved at 1.0.0
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.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] Write swift-version-24593BA9C3E375BF.txt
[14/29] Compiling api.c
[15/55] Compiling scanner.c
[16/55] Compiling emitter.c
[18/70] Emitting module Moderator
[19/70] 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 |
[20/71] Compiling Moderator SwiftCompat.swift
[21/71] 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 |
[22/71] Compiling Yams Mark.swift
[23/71] Compiling Yams Node.Mapping.swift
[24/73] Compiling Logging LogEvent.swift
[25/73] Compiling Logging MetadataProvider.swift
[26/73] Compiling Logging Locks.swift
[27/73] Emitting module Logging
[28/73] Compiling Moderator Parsers.swift
[29/73] Compiling Yams YamlError.swift
[30/73] Compiling Yams shim.swift
[31/73] Emitting module Ephemeris
[32/73] Compiling Ephemeris Solar.swift
[33/73] Compiling Ephemeris Body.swift
[34/73] 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 |
[35/73] Compiling Ephemeris Lunar.swift
[36/73] Compiling Ephemeris Matrix.swift
[37/73] Compiling Yams Emitter.swift
[38/73] Compiling Yams Encoder.swift
[39/73] Compiling Ephemeris Date.swift
[40/73] Compiling Ephemeris Coordinates.swift
[41/73] 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 |
[42/73] 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 |
[43/74] Emitting module Yams
[44/74] Compiling Yams Constructor.swift
[45/74] Compiling Yams Decoder.swift
[46/74] 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 |
/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 |
[49/74] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/74] 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 |
[51/74] Compiling Yams String+Yams.swift
[52/74] Compiling Yams Tag.swift
[53/74] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:297:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
295 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
296 |         // it uses with `String(format:...)`
297 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
298 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
299 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[54/74] Compiling Yams Resolver.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:297:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
295 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
296 |         // it uses with `String(format:...)`
297 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
298 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
299 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[55/74] Compiling Yams Node.Scalar.swift
[56/74] Compiling Yams Node.Sequence.swift
[57/74] Compiling Yams Node.swift
[58/74] Compiling Yams Parser.swift
[59/74] Compiling Logging LogHandler.swift
BUILD FAILURE 6.3 wasm