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 PCD8544, reference 3.0.2 (5e9fd9), with Swift 6.1 for Linux on 25 Apr 2025 14:32:14 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/uraimo/5110lcd_pcd8544.swift.git
Reference: 3.0.2
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/uraimo/5110lcd_pcd8544.swift
 * tag               3.0.2      -> FETCH_HEAD
HEAD is now at 5e9fd9e Updated SwiftyGPIO dependency
Cloned https://github.com/uraimo/5110lcd_pcd8544.swift.git
Revision (git rev-parse @):
5e9fd9ec3675bb7884b8c5ad492cf0ff35b83e8c
SUCCESS checkout https://github.com/uraimo/5110lcd_pcd8544.swift.git at 3.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/uraimo/5110lcd_pcd8544.swift.git
https://github.com/uraimo/5110lcd_pcd8544.swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftygpio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/uraimo/SwiftyGPIO.git"
    }
  ],
  "manifest_display_name" : "PCD8544",
  "name" : "PCD8544",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PCD8544",
      "targets" : [
        "PCD8544"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PCD8544",
      "module_type" : "SwiftTarget",
      "name" : "PCD8544",
      "path" : ".",
      "product_dependencies" : [
        "SwiftyGPIO"
      ],
      "product_memberships" : [
        "PCD8544"
      ],
      "sources" : [
        "Sources/5110lcd_pcd8544.swift",
        "Sources/font.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/uraimo/SwiftyGPIO.git
[1/2388] Fetching swiftygpio
Fetched https://github.com/uraimo/SwiftyGPIO.git from cache (0.33s)
Computing version for https://github.com/uraimo/SwiftyGPIO.git
Computed https://github.com/uraimo/SwiftyGPIO.git at 1.4.4 (2.73s)
Creating working copy for https://github.com/uraimo/SwiftyGPIO.git
Working copy of https://github.com/uraimo/SwiftyGPIO.git resolved at 1.4.4
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/13] Compiling SwiftyGPIO Presets.swift
[5/14] Compiling SwiftyGPIO UART.swift
[6/14] Compiling SwiftyGPIO I2C.swift
[7/14] Compiling SwiftyGPIO Mailbox.swift
[8/14] Emitting module SwiftyGPIO
[9/14] Compiling SwiftyGPIO 1Wire.swift
[10/14] Compiling SwiftyGPIO ADC.swift
[11/14] Compiling SwiftyGPIO PWM.swift
[12/14] Compiling SwiftyGPIO SPI.swift
[13/14] Compiling SwiftyGPIO SwiftyGPIO.swift
[14/14] Compiling SwiftyGPIO SunXi.swift
[16/18] Compiling PCD8544 font.swift
/host/spi-builder-workspace/Sources/5110lcd_pcd8544.swift:66:12: error: no such module 'Darwin'
 64 |     import Glibc
 65 | #else
 66 |     import Darwin //Needed for TravisCI
    |            `- error: no such module 'Darwin'
 67 | #endif
 68 | import SwiftyGPIO  //Comment this when not using the package manager
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/18] Emitting module PCD8544
/host/spi-builder-workspace/Sources/5110lcd_pcd8544.swift:66:12: error: no such module 'Darwin'
 64 |     import Glibc
 65 | #else
 66 |     import Darwin //Needed for TravisCI
    |            `- error: no such module 'Darwin'
 67 | #endif
 68 | import SwiftyGPIO  //Comment this when not using the package manager
[18/18] Compiling PCD8544 5110lcd_pcd8544.swift
/host/spi-builder-workspace/Sources/5110lcd_pcd8544.swift:66:12: error: no such module 'Darwin'
 64 |     import Glibc
 65 | #else
 66 |     import Darwin //Needed for TravisCI
    |            `- error: no such module 'Darwin'
 67 | #endif
 68 | import SwiftyGPIO  //Comment this when not using the package manager
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling SwiftyGPIO SunXi.swift
[3/12] Compiling SwiftyGPIO Presets.swift
[4/12] Compiling SwiftyGPIO SPI.swift
[5/12] Compiling SwiftyGPIO UART.swift
[6/12] Compiling SwiftyGPIO SwiftyGPIO.swift
[7/12] Compiling SwiftyGPIO 1Wire.swift
[8/12] Compiling SwiftyGPIO ADC.swift
[9/12] Compiling SwiftyGPIO I2C.swift
[10/12] Compiling SwiftyGPIO Mailbox.swift
[11/12] Compiling SwiftyGPIO PWM.swift
[12/12] Emitting module SwiftyGPIO
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/16] Emitting module PCD8544
/host/spi-builder-workspace/Sources/5110lcd_pcd8544.swift:66:12: error: no such module 'Darwin'
 64 |     import Glibc
 65 | #else
 66 |     import Darwin //Needed for TravisCI
    |            `- error: no such module 'Darwin'
 67 | #endif
 68 | import SwiftyGPIO  //Comment this when not using the package manager
[15/16] Compiling PCD8544 font.swift
/host/spi-builder-workspace/Sources/5110lcd_pcd8544.swift:66:12: error: no such module 'Darwin'
 64 |     import Glibc
 65 | #else
 66 |     import Darwin //Needed for TravisCI
    |            `- error: no such module 'Darwin'
 67 | #endif
 68 | import SwiftyGPIO  //Comment this when not using the package manager
[16/16] Compiling PCD8544 5110lcd_pcd8544.swift
/host/spi-builder-workspace/Sources/5110lcd_pcd8544.swift:66:12: error: no such module 'Darwin'
 64 |     import Glibc
 65 | #else
 66 |     import Darwin //Needed for TravisCI
    |            `- error: no such module 'Darwin'
 67 | #endif
 68 | import SwiftyGPIO  //Comment this when not using the package manager
BUILD FAILURE 6.1 linux