The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SingleBoard, reference main (6866fb), with Swift 6.1 for Wasm on 28 May 2025 05:10:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/SingleBoard.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/SingleBoard
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6866fb3 Update README.md
Cloned https://github.com/Kaiede/SingleBoard.git
Revision (git rev-parse @):
6866fb3ddc9c76c1875279c7981ba489c98f7ff1
SUCCESS checkout https://github.com/Kaiede/SingleBoard.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Kaiede/SingleBoard.git
https://github.com/Kaiede/SingleBoard.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SingleBoard",
  "name" : "SingleBoard",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SingleBoard",
      "targets" : [
        "SingleBoard"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PCA9685",
      "targets" : [
        "PCA9685"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MCP4725",
      "targets" : [
        "MCP4725"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SingleBoardTests",
      "module_type" : "SwiftTarget",
      "name" : "SingleBoardTests",
      "path" : "Tests/SingleBoardTests",
      "sources" : [
        "RaspberryPi/RegisterTests.swift",
        "SingleBoardTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SingleBoard"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SingleBoard",
      "module_type" : "SwiftTarget",
      "name" : "SingleBoard",
      "path" : "Sources/SingleBoard",
      "product_memberships" : [
        "SingleBoard",
        "PCA9685",
        "MCP4725"
      ],
      "sources" : [
        "Boards/Chip_Board.swift",
        "Boards/Pine_Board.swift",
        "Boards/Raspberry_Board.swift",
        "Boards/Raspberry_PWM.swift",
        "Boards/Raspberry_Registers.swift",
        "Common/Extensions.swift",
        "Common/GPIO.swift",
        "Common/I2C.swift",
        "SingleBoard.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PCA9685",
      "module_type" : "SwiftTarget",
      "name" : "PCA9685",
      "path" : "Sources/PCA9685",
      "product_memberships" : [
        "PCA9685"
      ],
      "sources" : [
        "PCA9685.swift"
      ],
      "target_dependencies" : [
        "SingleBoard"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MCP4725",
      "module_type" : "SwiftTarget",
      "name" : "MCP4725",
      "path" : "Sources/MCP4725",
      "product_memberships" : [
        "MCP4725"
      ],
      "sources" : [
        "MCP4725.swift"
      ],
      "target_dependencies" : [
        "SingleBoard"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/13] Compiling SingleBoard Extensions.swift
/host/spi-builder-workspace/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/14] Compiling SingleBoard SingleBoard.swift
/host/spi-builder-workspace/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/14] Compiling SingleBoard I2C.swift
/host/spi-builder-workspace/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/14] Compiling SingleBoard GPIO.swift
/host/spi-builder-workspace/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/14] Compiling SingleBoard Raspberry_Registers.swift
/host/spi-builder-workspace/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/14] Emitting module SingleBoard
/host/spi-builder-workspace/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/14] Compiling SingleBoard Chip_Board.swift
/host/spi-builder-workspace/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/14] Compiling SingleBoard Pine_Board.swift
/host/spi-builder-workspace/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/14] Compiling SingleBoard Raspberry_Board.swift
/host/spi-builder-workspace/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/14] Compiling SingleBoard Raspberry_PWM.swift
/host/spi-builder-workspace/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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/1] Write swift-version-24593BA9C3E375BF.txt
[2/10] Compiling SingleBoard Raspberry_PWM.swift
/host/spi-builder-workspace/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/10] Compiling SingleBoard Raspberry_Registers.swift
/host/spi-builder-workspace/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)
[4/11] Emitting module SingleBoard
/host/spi-builder-workspace/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/11] Compiling SingleBoard Raspberry_Board.swift
/host/spi-builder-workspace/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/11] Compiling SingleBoard Chip_Board.swift
/host/spi-builder-workspace/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/11] Compiling SingleBoard Pine_Board.swift
/host/spi-builder-workspace/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/11] Compiling SingleBoard Extensions.swift
/host/spi-builder-workspace/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/11] Compiling SingleBoard I2C.swift
/host/spi-builder-workspace/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/11] Compiling SingleBoard GPIO.swift
/host/spi-builder-workspace/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/11] Compiling SingleBoard SingleBoard.swift
/host/spi-builder-workspace/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 |
BUILD FAILURE 6.1 wasm