The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SenseHat, reference main (f9c93a), with Swift 6.1 for Wasm on 27 May 2025 21:57:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/valeriyvan/RaspberryPiSenseHat.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/valeriyvan/RaspberryPiSenseHat
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f9c93a6 Merge pull request #85 from valeriyvan/buymeacoffee
Cloned https://github.com/valeriyvan/RaspberryPiSenseHat.git
Revision (git rev-parse @):
f9c93a609e0d53e5a6af5da67574d18269d68f2a
SUCCESS checkout https://github.com/valeriyvan/RaspberryPiSenseHat.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/valeriyvan/RaspberryPiSenseHat.git
https://github.com/valeriyvan/RaspberryPiSenseHat.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SenseHat",
  "name" : "SenseHat",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SenseHat",
      "targets" : [
        "SenseHat"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Font8x8",
      "targets" : [
        "Font8x8"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Blink",
      "targets" : [
        "Blink"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Snake",
      "targets" : [
        "Snake"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Life",
      "targets" : [
        "Life"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Sensors",
      "targets" : [
        "Sensors"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Snake",
      "module_type" : "SwiftTarget",
      "name" : "Snake",
      "path" : "Sources/Snake",
      "product_memberships" : [
        "Snake"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SenseHat"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Sensors",
      "module_type" : "SwiftTarget",
      "name" : "Sensors",
      "path" : "Sources/Sensors",
      "product_memberships" : [
        "Sensors"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SenseHat"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SenseHatTests",
      "module_type" : "SwiftTarget",
      "name" : "SenseHatTests",
      "path" : "Tests/SenseHatTests",
      "sources" : [
        "SenseHatTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SenseHat"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SenseHat",
      "module_type" : "SwiftTarget",
      "name" : "SenseHat",
      "path" : "Sources/SenseHat",
      "product_memberships" : [
        "SenseHat",
        "Blink",
        "Snake",
        "Life",
        "Sensors"
      ],
      "sources" : [
        "SenseHat.swift",
        "Sensors.swift",
        "stderr.swift"
      ],
      "target_dependencies" : [
        "Font8x8"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Life",
      "module_type" : "SwiftTarget",
      "name" : "Life",
      "path" : "Sources/Life",
      "product_memberships" : [
        "Life"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SenseHat"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Font8x8",
      "module_type" : "ClangTarget",
      "name" : "Font8x8",
      "path" : "Sources/Font8x8",
      "product_memberships" : [
        "SenseHat",
        "Font8x8",
        "Blink",
        "Snake",
        "Life",
        "Sensors"
      ],
      "sources" : [
        "Font8x8.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Blink",
      "module_type" : "SwiftTarget",
      "name" : "Blink",
      "path" : "Sources/Blink",
      "product_memberships" : [
        "Blink"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SenseHat"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/20] Write sources
[5/20] Compiling Font8x8 Font8x8.c
[6/20] Write swift-version-24593BA9C3E375BF.txt
[8/24] Compiling SenseHat stderr.swift
/host/spi-builder-workspace/Sources/SenseHat/SenseHat.swift:10:12: error: no such module 'Darwin.C'
  8 |     import Glibc
  9 | #else
 10 |     import Darwin.C
    |            `- error: no such module 'Darwin.C'
 11 | #endif
 12 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/24] Emitting module SenseHat
/host/spi-builder-workspace/Sources/SenseHat/SenseHat.swift:10:12: error: no such module 'Darwin.C'
  8 |     import Glibc
  9 | #else
 10 |     import Darwin.C
    |            `- error: no such module 'Darwin.C'
 11 | #endif
 12 |
[10/24] Compiling SenseHat SenseHat.swift
/host/spi-builder-workspace/Sources/SenseHat/SenseHat.swift:10:12: error: no such module 'Darwin.C'
  8 |     import Glibc
  9 | #else
 10 |     import Darwin.C
    |            `- error: no such module 'Darwin.C'
 11 | #endif
 12 |
[11/24] Compiling SenseHat Sensors.swift
/host/spi-builder-workspace/Sources/SenseHat/SenseHat.swift:10:12: error: no such module 'Darwin.C'
  8 |     import Glibc
  9 | #else
 10 |     import Darwin.C
    |            `- error: no such module 'Darwin.C'
 11 | #endif
 12 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/14] Write swift-version-24593BA9C3E375BF.txt
[2/18] Compiling SenseHat stderr.swift
/host/spi-builder-workspace/Sources/SenseHat/SenseHat.swift:10:12: error: no such module 'Darwin.C'
  8 |     import Glibc
  9 | #else
 10 |     import Darwin.C
    |            `- error: no such module 'Darwin.C'
 11 | #endif
 12 |
[3/18] Compiling SenseHat Sensors.swift
/host/spi-builder-workspace/Sources/SenseHat/SenseHat.swift:10:12: error: no such module 'Darwin.C'
  8 |     import Glibc
  9 | #else
 10 |     import Darwin.C
    |            `- error: no such module 'Darwin.C'
 11 | #endif
 12 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/18] Emitting module SenseHat
/host/spi-builder-workspace/Sources/SenseHat/SenseHat.swift:10:12: error: no such module 'Darwin.C'
  8 |     import Glibc
  9 | #else
 10 |     import Darwin.C
    |            `- error: no such module 'Darwin.C'
 11 | #endif
 12 |
[5/18] Compiling SenseHat SenseHat.swift
/host/spi-builder-workspace/Sources/SenseHat/SenseHat.swift:10:12: error: no such module 'Darwin.C'
  8 |     import Glibc
  9 | #else
 10 |     import Darwin.C
    |            `- error: no such module 'Darwin.C'
 11 | #endif
 12 |
BUILD FAILURE 6.1 wasm