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

Successful build of SenseHat, reference main (f9c93a), with Swift 6.2 (beta) for Linux on 18 Jun 2025 20:17:04 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
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:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/valeriyvan/RaspberryPiSenseHat.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/20] Write sources
[5/20] Compiling Font8x8 Font8x8.c
[6/20] Write swift-version-24593BA9C3E375BF.txt
[8/24] Emitting module SenseHat
/host/spi-builder-workspace/Sources/SenseHat/stderr.swift:11:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
 9 | public var standardError = FileHandle.standardError
10 |
11 | extension FileHandle : TextOutputStream {
   | |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
12 |   public func write(_ string: String) {
13 |     guard let data = string.data(using: .utf8) else { return }
[9/24] Compiling SenseHat stderr.swift
/host/spi-builder-workspace/Sources/SenseHat/stderr.swift:11:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
 9 | public var standardError = FileHandle.standardError
10 |
11 | extension FileHandle : TextOutputStream {
   | |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
12 |   public func write(_ string: String) {
13 |     guard let data = string.data(using: .utf8) else { return }
[10/24] Compiling SenseHat Sensors.swift
[11/24] Compiling SenseHat SenseHat.swift
[12/28] Wrapping AST for SenseHat for debugging
[14/33] Emitting module Sensors
[15/33] Emitting module Life
[16/33] Compiling Life main.swift
[17/33] Compiling Sensors main.swift
[20/35] Emitting module Blink
/host/spi-builder-workspace/Sources/Blink/main.swift:60:14: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)' [#DeprecatedDeclaration]
 58 |             .advanced(by: x * senseHat.indices.count * 2)
 59 |             .assumingMemoryBound(to: SenseHat.Rgb565.self)
 60 |             .assign(repeating: sequence[x], count: senseHat.indices.count)
    |              |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)' [#DeprecatedDeclaration]
    |              `- note: use 'update(repeating:count:)' instead
 61 |     }
 62 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[21/35] Compiling Blink main.swift
/host/spi-builder-workspace/Sources/Blink/main.swift:60:14: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)' [#DeprecatedDeclaration]
 58 |             .advanced(by: x * senseHat.indices.count * 2)
 59 |             .assumingMemoryBound(to: SenseHat.Rgb565.self)
 60 |             .assign(repeating: sequence[x], count: senseHat.indices.count)
    |              |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)' [#DeprecatedDeclaration]
    |              `- note: use 'update(repeating:count:)' instead
 61 |     }
 62 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[23/36] Emitting module Snake
[24/36] Compiling Snake main.swift
[24/37] Wrapping AST for Life for debugging
[25/37] Write Objects.LinkFileList
[27/37] Wrapping AST for Sensors for debugging
[28/37] Write Objects.LinkFileList
[29/37] Wrapping AST for Blink for debugging
[30/37] Write Objects.LinkFileList
[31/37] Wrapping AST for Snake for debugging
[32/37] Write Objects.LinkFileList
[33/37] Linking Life
[34/37] Linking Sensors
[35/37] Linking Blink
[36/37] Linking Snake
Build complete! (11.33s)
Build complete.
{
  "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"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.