Build Information
Failed to build MadDrivers, reference main (131b70), with Swift 6.2 for Linux on 28 Jan 2026 11:39:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build 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.2
Building package at path: $PWD
https://github.com/madmachineio/MadDrivers.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:257b0ae9749b4eea8553a58f7bf60a672611c061e9b845ccfee371e7c1138ce8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/madmachineio/SwiftIO.git
[1/5098] Fetching swiftio
Fetched https://github.com/madmachineio/SwiftIO.git from cache (0.67s)
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] Compiling SwiftIO AnalogIn.swift
[48/63] Compiling SwiftIO BoardId.swift
[49/63] Compiling SwiftIO Counter.swift
[50/65] Compiling SwiftIO PWMOut.swift
[51/65] Compiling SwiftIO SPI.swift
[52/65] Compiling SwiftIO FileDescriptor.swift
[53/65] Compiling SwiftIO I2C.swift
[54/65] Compiling SwiftIO Errno.swift
[55/65] Compiling SwiftIO Ethernet.swift
[56/65] Compiling SwiftIO DigitalIn.swift
[57/65] Compiling SwiftIO DigitalInOut.swift
[58/65] Compiling SwiftIO DigitalOut.swift
[59/65] Emitting module SwiftIO
[60/65] Compiling SwiftIO Thread.swift
[61/65] Compiling SwiftIO Timer.swift
[62/65] Compiling SwiftIO I2S.swift
[63/65] Compiling SwiftIO KernelTiming.swift
[64/65] Compiling SwiftIO UART.swift
[65/65] Compiling SwiftIO Utils.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] Emitting module VEML6040
[71/84] Compiling TMP102 Configuration.swift
[72/84] Emitting module ST7796
[73/84] Emitting module TMP102
[74/84] Emitting module VEML6070
[75/84] Emitting module TSL2591
BUILD FAILURE 6.2 linux