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.1 for Android on 28 May 2025 04:04:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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: 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:         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-0":/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/SingleBoard.git
Fetching https://github.com/Kaiede/MCP4725.git
Fetching https://github.com/Kaiede/Ephemeris.git
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
[78/3864] Fetching swift-log, mcp4725
[194/4074] Fetching swift-log, mcp4725, ephemeris
[357/4351] Fetching swift-log, mcp4725, ephemeris, singleboard
Fetched https://github.com/Kaiede/SingleBoard.git from cache (0.65s)
Fetching https://github.com/kareman/Moderator.git
Fetching https://github.com/Kaiede/PCA9685.git
Fetched https://github.com/Kaiede/MCP4725.git from cache (0.68s)
Fetching https://github.com/jpsim/Yams.git
Fetched https://github.com/Kaiede/Ephemeris.git from cache (0.95s)
Fetched https://github.com/apple/swift-log.git from cache (0.95s)
[1/658] Fetching moderator
[449/728] Fetching moderator, pca9685
[526/11385] Fetching moderator, pca9685, yams
Fetched https://github.com/Kaiede/PCA9685.git from cache (1.60s)
[1207/11315] Fetching moderator, yams
Fetched https://github.com/kareman/Moderator.git from cache (2.78s)
Fetched https://github.com/jpsim/Yams.git from cache (2.70s)
Computing version for https://github.com/Kaiede/SingleBoard.git
Computed https://github.com/Kaiede/SingleBoard.git at 1.0.0 (6.94s)
Computing version for https://github.com/Kaiede/MCP4725.git
Computed https://github.com/Kaiede/MCP4725.git at 0.1.0 (0.67s)
Computing version for https://github.com/Kaiede/PCA9685.git
Computed https://github.com/Kaiede/PCA9685.git at 3.0.0 (1.19s)
Computing version for https://github.com/Kaiede/Ephemeris.git
Computed https://github.com/Kaiede/Ephemeris.git at 1.0.2 (1.01s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (2.69s)
Computing version for https://github.com/kareman/Moderator.git
Computed https://github.com/kareman/Moderator.git at 0.5.1 (0.95s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.83s)
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
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/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/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.6.3
Building for debugging...
[0/29] Write sources
[10/29] Compiling writer.c
[11/29] Compiling reader.c
[12/29] Compiling api.c
[13/29] Compiling parser.c
[14/29] Compiling emitter.c
[15/29] Write swift-version-24593BA9C3E375BF.txt
[16/29] Compiling scanner.c
[18/69] Compiling Moderator Parsers.swift
[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 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/69] Compiling Yams Node.Scalar.swift
[23/69] Compiling Yams Node.Sequence.swift
[24/72] Compiling Yams Mark.swift
[25/72] Compiling Yams Node.Mapping.swift
[26/72] Compiling Yams YamlError.swift
[27/72] Compiling Yams shim.swift
[28/72] Compiling Logging LogHandler.swift
[29/72] Emitting module Logging
[30/72] Compiling Logging Locks.swift
[31/72] Compiling Logging Logging.swift
[32/72] Compiling Logging MetadataProvider.swift
[33/73] Wrapping AST for Logging for debugging
[35/73] Compiling Yams String+Yams.swift
[36/73] Compiling Yams Tag.swift
[37/73] Compiling Yams Representer.swift
[38/73] Compiling Yams Resolver.swift
[39/73] Compiling Yams Emitter.swift
[40/73] Compiling Yams Encoder.swift
[41/73] Compiling Yams Node.swift
[42/73] Compiling Yams Parser.swift
[43/73] Compiling Yams Constructor.swift
[44/73] Compiling Yams Decoder.swift
[45/73] Emitting module Yams
[46/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/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 |
[48/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 |
[50/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 |
[53/74] Compiling Ephemeris Solar.swift
[54/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 |
[55/74] 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 |
[56/74] Compiling Ephemeris Matrix.swift
[57/74] Emitting module Moderator
[58/74] Compiling Moderator Moderator.swift
[59/75] Compiling Ephemeris Coordinates.swift
[60/75] Compiling Ephemeris Date.swift
[61/75] Compiling Ephemeris Lunar.swift
[62/75] Compiling Ephemeris Body.swift
[63/75] Emitting module Ephemeris
[63/76] Wrapping AST for Yams for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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] Emitting module Ephemeris
[3/53] 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 |
[4/54] Compiling Moderator SwiftCompat.swift
[5/54] Compiling Ephemeris Lunar.swift
[6/54] Compiling Ephemeris Date.swift
[7/54] Compiling Logging MetadataProvider.swift
[8/54] Emitting module Moderator
[9/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 |
[10/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 |
[11/54] Compiling Logging LogHandler.swift
[12/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 |
[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 Logging Locks.swift
[15/54] Emitting module Logging
[16/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 |
[17/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/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 |
[19/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 |
[20/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 |
[21/54] Compiling Ephemeris Solar.swift
[22/54] Compiling Ephemeris Coordinates.swift
[23/54] Compiling Ephemeris Body.swift
[24/54] Compiling Yams String+Yams.swift
[25/54] Compiling Yams Tag.swift
[26/54] Compiling Ephemeris Matrix.swift
[27/57] Compiling Moderator Moderator.swift
BUILD FAILURE 6.1 android