The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MadDrivers, reference main (131b70), with Swift 6.0 for Linux on 28 Jan 2026 11:39:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/madmachineio/MadDrivers.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/madmachineio/MadDrivers
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 131b701 Add LCD driver for NV3007 (#85)
Cloned https://github.com/madmachineio/MadDrivers.git
Revision (git rev-parse @):
131b7011aae6cc76bb2ea1ca5fcd15bbba91135e
SUCCESS checkout https://github.com/madmachineio/MadDrivers.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/madmachineio/MadDrivers.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:5920b6fc7f526808de8dcf4e65806a8aca248ef5a9160d25a6b9c7489c0b8a3f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/madmachineio/SwiftIO.git
[1/5098] Fetching swiftio
Fetched https://github.com/madmachineio/SwiftIO.git from cache (0.64s)
Creating working copy for https://github.com/madmachineio/SwiftIO.git
Working copy of https://github.com/madmachineio/SwiftIO.git resolved at main (d3be5f3)
Building for debugging...
[0/46] Write sources
[44/46] Compiling CSwiftIO empty.c
[45/46] Write swift-version-24593BA9C3E375BF.txt
[47/63] Emitting module SwiftIO
[48/65] Compiling SwiftIO UART.swift
[49/65] Compiling SwiftIO Utils.swift
[50/65] Compiling SwiftIO Errno.swift
[51/65] Compiling SwiftIO Ethernet.swift
[52/65] Compiling SwiftIO FileDescriptor.swift
[53/65] Compiling SwiftIO I2C.swift
[54/65] Compiling SwiftIO DigitalIn.swift
[55/65] Compiling SwiftIO DigitalInOut.swift
[56/65] Compiling SwiftIO DigitalOut.swift
[57/65] Compiling SwiftIO PWMOut.swift
[58/65] Compiling SwiftIO SPI.swift
[59/65] Compiling SwiftIO AnalogIn.swift
[60/65] Compiling SwiftIO BoardId.swift
[61/65] Compiling SwiftIO Counter.swift
[62/65] Compiling SwiftIO I2S.swift
[63/65] Compiling SwiftIO KernelTiming.swift
[64/65] Compiling SwiftIO Thread.swift
[65/65] Compiling SwiftIO Timer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[67/84] Emitting module TCS34725
/host/spi-builder-workspace/Sources/TCS34725/TCS34725.swift:351:2: error: @_extern requires '-enable-experimental-feature Extern'
349 | }
350 |
351 | @_extern(c, "powf")
    |  `- error: @_extern requires '-enable-experimental-feature Extern'
352 | func powf(_: Float, _ : Float) -> Float
353 |
[68/84] Compiling TCS34725 TCS34725.swift
/host/spi-builder-workspace/Sources/TCS34725/TCS34725.swift:351:2: error: @_extern requires '-enable-experimental-feature Extern'
349 | }
350 |
351 | @_extern(c, "powf")
    |  `- error: @_extern requires '-enable-experimental-feature Extern'
352 | func powf(_: Float, _ : Float) -> Float
353 |
/host/spi-builder-workspace/Sources/TCS34725/TCS34725.swift:352:6: error: expected '{' in body of function declaration
350 |
351 | @_extern(c, "powf")
352 | func powf(_: Float, _ : Float) -> Float
    |      `- error: expected '{' in body of function declaration
353 |
354 | private extension Float {
[69/84] Emitting module VEML7700
[70/84] Compiling VEML7700 VEML7700.swift
[71/85] Emitting module VEML6040
[72/85] Compiling VEML6040 VEML6040.swift
[73/86] Emitting module TSL2591
[74/86] Compiling TSL2591 TSL2591.swift
[75/86] Compiling TMP102 Enums.swift
[76/86] Emitting module TMP102
[77/86] Compiling TMP102 TMP102.swift
[78/86] Compiling TMP102 Configuration.swift
[79/88] Emitting module ST7796
[80/88] Compiling ST7796 ST7796.swift
[81/88] Compiling VEML6070 VEML6070.swift
[82/88] Emitting module VEML6070
[84/90] Emitting module VL53L0x
BUILD FAILURE 6.0 linux