Build Information
Failed to build RPiLight, reference main (c546e2
), with Swift 6.1 for Android on 28 May 2025 04:04:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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: android
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-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/Kaiede/Ephemeris.git
Fetching https://github.com/Kaiede/MCP4725.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Kaiede/SingleBoard.git
Fetching https://github.com/Kaiede/PCA9685.git
[1/28] Fetching mcp4725
[29/238] Fetching mcp4725, ephemeris
[229/515] Fetching mcp4725, ephemeris, singleboard
[506/585] Fetching mcp4725, ephemeris, singleboard, pca9685
[570/4421] Fetching mcp4725, ephemeris, singleboard, pca9685, swift-log
[4406/15078] Fetching mcp4725, ephemeris, singleboard, pca9685, swift-log, yams
Fetched https://github.com/Kaiede/PCA9685.git from cache (0.39s)
Fetched https://github.com/Kaiede/SingleBoard.git from cache (0.39s)
[4384/14731] Fetching mcp4725, ephemeris, swift-log, yams
Fetching https://github.com/kareman/Moderator.git
[6303/15389] Fetching mcp4725, ephemeris, swift-log, yams, moderator
Fetched https://github.com/Kaiede/Ephemeris.git from cache (1.51s)
Fetched https://github.com/Kaiede/MCP4725.git from cache (1.51s)
Fetched https://github.com/apple/swift-log.git from cache (1.51s)
Fetched https://github.com/jpsim/Yams.git from cache (1.55s)
Fetched https://github.com/kareman/Moderator.git from cache (1.36s)
Computing version for https://github.com/Kaiede/SingleBoard.git
Computed https://github.com/Kaiede/SingleBoard.git at 1.0.0 (4.08s)
Computing version for https://github.com/Kaiede/MCP4725.git
Computed https://github.com/Kaiede/MCP4725.git at 0.1.0 (0.61s)
Computing version for https://github.com/Kaiede/PCA9685.git
Computed https://github.com/Kaiede/PCA9685.git at 3.0.0 (10.21s)
Computing version for https://github.com/Kaiede/Ephemeris.git
Computed https://github.com/Kaiede/Ephemeris.git at 1.0.2 (0.76s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (0.90s)
Computing version for https://github.com/kareman/Moderator.git
Computed https://github.com/kareman/Moderator.git at 0.5.1 (1.30s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.20s)
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/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/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/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] Write swift-version-24593BA9C3E375BF.txt
[15/29] Compiling emitter.c
[16/29] Compiling scanner.c
[18/69] Emitting module Ephemeris
[19/69] Compiling Logging LogHandler.swift
[20/69] Compiling Moderator SwiftCompat.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/69] 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 |
[22/70] Compiling Moderator Parsers.swift
[23/70] Emitting module Logging
[24/70] Compiling Logging Locks.swift
[25/70] Compiling Logging Logging.swift
[26/70] Compiling Logging MetadataProvider.swift
[28/71] Emitting module Moderator
[29/71] Compiling Moderator Moderator.swift
[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 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 |
[32/72] Compiling Ephemeris Body.swift
[33/72] Compiling Ephemeris Coordinates.swift
[34/72] Compiling Ephemeris Date.swift
[35/72] Wrapping AST for Logging for debugging
[37/72] Compiling Yams Mark.swift
[38/72] Compiling Yams Node.Mapping.swift
[39/72] Compiling Yams Node.Scalar.swift
[40/72] Compiling Yams Node.Sequence.swift
[41/74] Compiling Ephemeris Solar.swift
[42/74] Compiling Yams String+Yams.swift
[43/74] Compiling Yams Tag.swift
[44/74] Compiling Yams Representer.swift
[45/74] Compiling Yams Resolver.swift
[46/74] Compiling Yams Node.swift
[47/74] Compiling Yams Parser.swift
[48/74] Compiling Ephemeris Lunar.swift
[49/74] Compiling Ephemeris Matrix.swift
[50/75] Compiling Yams Constructor.swift
[51/75] Compiling Yams Decoder.swift
[52/75] Emitting module Yams
[53/75] Compiling Yams Emitter.swift
[54/75] Compiling Yams Encoder.swift
[55/75] 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 |
[56/75] 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 |
[57/75] 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 |
/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 |
[60/75] 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 |
[61/75] 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 |
[62/75] Wrapping AST for Moderator for debugging
[64/75] Compiling Yams YamlError.swift
[65/75] Compiling Yams shim.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/13] Write swift-version-24593BA9C3E375BF.txt
[2/53] 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 |
[3/54] Compiling Moderator SwiftCompat.swift
[4/54] Compiling Yams Constructor.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 |
[5/54] Compiling Yams Decoder.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 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 |
[7/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 |
[8/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 |
[9/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/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 |
[11/54] Compiling Ephemeris Solar.swift
[12/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 |
[13/54] Compiling Ephemeris Coordinates.swift
[14/54] Emitting module Logging
[15/54] Compiling Ephemeris Body.swift
[16/54] Emitting module Ephemeris
[17/54] Compiling Ephemeris Lunar.swift
[18/54] Compiling Ephemeris Matrix.swift
[19/54] Compiling Ephemeris Date.swift
[20/55] Compiling Yams String+Yams.swift
[21/55] Compiling Yams Tag.swift
[23/57] Compiling Moderator Moderator.swift
[24/57] Emitting module Moderator
[25/57] 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 |
[26/57] Compiling Moderator Parsers.swift
[26/58] Wrapping AST for Ephemeris for debugging
BUILD FAILURE 6.1 android