Build Information
Failed to build RPiLight, reference 1.1.1 (3d5d60), with Swift 6.3 for Wasm on 12 Apr 2026 18:08:31 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.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.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/Kaiede/MCP4725.git
Fetching https://github.com/Kaiede/SingleBoard.git
Fetching https://github.com/Kaiede/PCA9685.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/Kaiede/Ephemeris.git
Fetching https://github.com/apple/swift-log.git
[1/70] Fetching pca9685
[71/347] Fetching pca9685, singleboard
[188/375] Fetching pca9685, singleboard, mcp4725
[254/585] Fetching pca9685, singleboard, mcp4725, ephemeris
Fetched https://github.com/Kaiede/MCP4725.git from cache (0.33s)
Fetched https://github.com/Kaiede/SingleBoard.git from cache (0.33s)
Fetching https://github.com/kareman/Moderator.git
[1/6521] Fetching swift-log
[523/18072] Fetching swift-log, yams
[11143/18730] Fetching swift-log, yams, moderator
Fetched https://github.com/apple/swift-log.git from cache (0.63s)
[6340/12209] Fetching yams, moderator
Fetched https://github.com/Kaiede/PCA9685.git from cache (1.55s)
Fetched https://github.com/Kaiede/Ephemeris.git from cache (1.55s)
Fetched https://github.com/jpsim/Yams.git from cache (1.60s)
Fetched https://github.com/kareman/Moderator.git from cache (1.40s)
Computing version for https://github.com/Kaiede/SingleBoard.git
Computed https://github.com/Kaiede/SingleBoard.git at 1.0.0 (4.14s)
Computing version for https://github.com/Kaiede/MCP4725.git
Computed https://github.com/Kaiede/MCP4725.git at 0.1.0 (1.20s)
Computing version for https://github.com/Kaiede/PCA9685.git
Computed https://github.com/Kaiede/PCA9685.git at 3.0.0 (0.48s)
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.48s)
Computing version for https://github.com/kareman/Moderator.git
Computed https://github.com/kareman/Moderator.git at 0.5.1 (0.43s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.44s)
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/MCP4725.git
Working copy of https://github.com/Kaiede/MCP4725.git resolved at 0.1.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/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/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/Ephemeris.git
Working copy of https://github.com/Kaiede/Ephemeris.git resolved at 1.0.2
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] Compiling emitter.c
[14/29] Compiling api.c
[15/29] Compiling scanner.c
[16/29] Write swift-version-24593BA9C3E375BF.txt
[18/70] Emitting module Ephemeris
[19/70] Compiling Yams Mark.swift
[20/70] Compiling Yams Node.Mapping.swift
[21/72] Compiling Moderator SwiftCompat.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/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 |
[23/73] 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 |
[24/73] 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 |
[25/73] Compiling Moderator Parsers.swift
[26/73] Compiling Yams YamlError.swift
[27/73] Compiling Yams shim.swift
[28/73] Compiling Logging MetadataProvider.swift
[29/73] Emitting module Logging
[30/73] Compiling Logging Locks.swift
[31/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 |
[32/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 |
[33/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 |
[34/73] 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 |
[35/73] 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 |
[36/73] 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/73] 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/73] Compiling Logging LogHandler.swift
[39/73] 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.
[40/73] 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.
[41/73] Compiling Yams String+Yams.swift
[42/73] Compiling Yams Tag.swift
[43/73] Compiling Yams Node.Scalar.swift
[44/73] Compiling Logging LogEvent.swift
[45/73] Compiling Yams Node.Sequence.swift
[46/73] Emitting module Yams
BUILD FAILURE 6.3 wasm