Build Information
Failed to build RPiLight, reference 1.1.1 (3d5d60
), with Swift 6.1 for Wasm on 28 May 2025 04:04:11 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path: $PWD
https://github.com/kaiede/rpilight.git
https://github.com/kaiede/rpilight.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "moderator",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kareman/Moderator.git"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "ephemeris",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kaiede/Ephemeris.git"
},
{
"identity" : "pca9685",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kaiede/PCA9685.git"
},
{
"identity" : "mcp4725",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kaiede/MCP4725.git"
},
{
"identity" : "singleboard",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kaiede/SingleBoard.git"
}
],
"manifest_display_name" : "RPiLight",
"name" : "RPiLight",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "RPiLight",
"targets" : [
"RPiLight"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "ServiceTests",
"module_type" : "SwiftTarget",
"name" : "ServiceTests",
"path" : "Tests/ServiceTests",
"sources" : [
"BehaviorTests.swift",
"ChannelControllerTests.swift",
"DayTimeTests.swift",
"EventTests.swift",
"LayerTests.swift",
"LightControllerTests.swift",
"ScheduleDescriptionTests.swift",
"ServiceDescriptionTests.swift",
"SwiftExtensionsTests.swift"
],
"target_dependencies" : [
"Service"
],
"type" : "test"
},
{
"c99name" : "Service",
"module_type" : "SwiftTarget",
"name" : "Service",
"path" : "Sources/Service",
"product_dependencies" : [
"Logging",
"Ephemeris",
"Yams"
],
"product_memberships" : [
"RPiLight"
],
"sources" : [
"Behavior.swift",
"ChannelController.swift",
"ChannelPoint.swift",
"DayTime.swift",
"Event.swift",
"Layer.swift",
"LightController.swift",
"LogUtilities.swift",
"ScheduleDescription.swift",
"ServiceDescription.swift",
"SwiftExtensions.swift",
"Timers.swift"
],
"target_dependencies" : [
"LED"
],
"type" : "library"
},
{
"c99name" : "RPiLight",
"module_type" : "SwiftTarget",
"name" : "RPiLight",
"path" : "Sources/RPiLight",
"product_dependencies" : [
"Moderator"
],
"product_memberships" : [
"RPiLight"
],
"sources" : [
"LightService.swift",
"ServiceGlue.swift",
"ServiceLogHandler.swift",
"main.swift"
],
"target_dependencies" : [
"Service"
],
"type" : "executable"
},
{
"c99name" : "LEDTests",
"module_type" : "SwiftTarget",
"name" : "LEDTests",
"path" : "Tests/LEDTests",
"sources" : [
"ChannelTests.swift",
"ModuleTests.swift",
"TypeTests.swift"
],
"target_dependencies" : [
"LED"
],
"type" : "test"
},
{
"c99name" : "LED",
"module_type" : "SwiftTarget",
"name" : "LED",
"path" : "Sources/LED",
"product_dependencies" : [
"Logging",
"MCP4725",
"PCA9685",
"SingleBoard"
],
"product_memberships" : [
"RPiLight"
],
"sources" : [
"LEDModule.swift",
"LEDModule_Internal.swift",
"MCP4725.swift",
"PCA9685.swift",
"RaspberryPi.swift",
"Simulated.swift",
"Types.swift",
"Utilities.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Kaiede/SingleBoard.git
Fetching https://github.com/Kaiede/Ephemeris.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/jpsim/Yams.git
[1/70] Fetching pca9685
[41/347] Fetching pca9685, singleboard
[318/4183] Fetching pca9685, singleboard, swift-log
[1316/4211] Fetching pca9685, singleboard, swift-log, mcp4725
[1382/4421] Fetching pca9685, singleboard, swift-log, mcp4725, ephemeris
[3740/15078] Fetching pca9685, singleboard, swift-log, mcp4725, ephemeris, yams
Fetched https://github.com/Kaiede/MCP4725.git from cache (0.39s)
Fetched https://github.com/Kaiede/SingleBoard.git from cache (0.40s)
[4939/14773] Fetching pca9685, swift-log, ephemeris, yams
Fetching https://github.com/kareman/Moderator.git
Fetched https://github.com/Kaiede/PCA9685.git from cache (0.44s)
[6817/14703] Fetching swift-log, ephemeris, yams
Fetched https://github.com/apple/swift-log.git from cache (0.45s)
[3194/10867] Fetching ephemeris, yams
[6179/11525] Fetching ephemeris, yams, moderator
Fetched https://github.com/Kaiede/Ephemeris.git from cache (1.47s)
Fetched https://github.com/jpsim/Yams.git from cache (1.50s)
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 (4.19s)
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.64s)
Computing version for https://github.com/Kaiede/Ephemeris.git
Computed https://github.com/Kaiede/Ephemeris.git at 1.0.2 (0.60s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (0.64s)
Computing version for https://github.com/kareman/Moderator.git
Computed https://github.com/kareman/Moderator.git at 0.5.1 (0.63s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (9.88s)
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
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/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/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/MCP4725.git
Working copy of https://github.com/Kaiede/MCP4725.git resolved at 0.1.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
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] Write swift-version-24593BA9C3E375BF.txt
[16/29] Compiling scanner.c
[18/69] Emitting module Ephemeris
[19/69] Compiling Moderator SwiftCompat.swift
[20/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 |
[21/69] 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 |
[22/69] 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 |
[23/70] Compiling Moderator Parsers.swift
[24/70] Compiling Yams Mark.swift
[25/70] Compiling Yams Node.Mapping.swift
[26/72] Emitting module Logging
[27/72] Compiling Logging Locks.swift
[28/72] Compiling Logging MetadataProvider.swift
[29/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 |
[30/72] Compiling Logging LogHandler.swift
[31/72] Compiling Logging Logging.swift
[32/72] Compiling Yams YamlError.swift
[33/72] Compiling Yams shim.swift
[34/73] Emitting module Moderator
[35/73] Compiling Moderator Moderator.swift
[36/74] Emitting module Yams
[37/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.
[38/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.
[39/74] Compiling Yams String+Yams.swift
[40/74] Compiling Yams Tag.swift
[41/74] Compiling Yams Node.Scalar.swift
[42/74] Compiling Yams Node.Sequence.swift
[43/74] Compiling Yams Node.swift
[44/74] Compiling Yams Parser.swift
[45/74] 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 |
[46/74] Compiling Ephemeris Body.swift
[47/74] Compiling Ephemeris Coordinates.swift
[48/74] Compiling Yams Constructor.swift
[49/74] Compiling Yams Decoder.swift
[50/74] Compiling Yams Emitter.swift
[51/74] Compiling Yams Encoder.swift
[52/74] 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 |
/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/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 |
[57/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 |
[58/74] Wrapping AST for Moderator for debugging
[59/74] Compiling Ephemeris Matrix.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/13] Write swift-version-24593BA9C3E375BF.txt
[2/53] 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 |
[3/53] 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 |
[4/54] Compiling Moderator SwiftCompat.swift
[5/54] 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 |
[6/54] Compiling Logging MetadataProvider.swift
[7/54] 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 |
[8/54] 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 |
[9/54] 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 |
[10/54] 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)
[11/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 |
[12/54] 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 |
[13/54] 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 |
[14/54] Compiling Ephemeris Solar.swift
[15/54] Compiling Ephemeris Lunar.swift
[16/54] Compiling Ephemeris Date.swift
[17/54] Compiling Ephemeris Coordinates.swift
[18/54] Compiling Ephemeris Body.swift
[19/54] Emitting module Ephemeris
[20/54] Compiling Ephemeris Matrix.swift
[21/55] Emitting module Yams
[22/55] Compiling Moderator Moderator.swift
[23/57] Compiling Yams String+Yams.swift
[24/57] Compiling Yams Tag.swift
[25/57] 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.
[26/57] 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.
[27/57] Emitting module Moderator
[28/57] Compiling Moderator Parsers.swift
[31/58] Compiling Yams Mark.swift
[32/58] Compiling Yams Node.Mapping.swift
[32/58] Wrapping AST for Moderator for debugging
BUILD FAILURE 6.1 wasm