The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build MadDrivers, reference main (b730cc), with Swift 6.0 for Linux on 3 Nov 2024 17:33:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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 b730cc0 Fix/update package api (#75)
Cloned https://github.com/madmachineio/MadDrivers.git
Revision (git rev-parse @):
b730cc042e7632c62431903cc93d0be70341b1d0
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-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
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/4475] Fetching swiftio
Fetched https://github.com/madmachineio/SwiftIO.git from cache (0.52s)
Creating working copy for https://github.com/madmachineio/SwiftIO.git
Working copy of https://github.com/madmachineio/SwiftIO.git resolved at main (92d5ccc)
Building for debugging...
[0/44] Write sources
[42/44] Compiling CSwiftIO empty.c
[43/44] Write swift-version-24593BA9C3E375BF.txt
[45/61] Emitting module SwiftIO
[46/63] Compiling SwiftIO DigitalIn.swift
[47/63] Compiling SwiftIO DigitalInOut.swift
[48/63] Compiling SwiftIO DigitalOut.swift
[49/63] Compiling SwiftIO I2S.swift
[50/63] Compiling SwiftIO KernelTiming.swift
[51/63] Compiling SwiftIO FileDescriptor.swift
[52/63] Compiling SwiftIO I2C.swift
[53/63] Compiling SwiftIO UART.swift
[54/63] Compiling SwiftIO Utils.swift
[55/63] Compiling SwiftIO AnalogIn.swift
[56/63] Compiling SwiftIO BoardId.swift
[57/63] Compiling SwiftIO Counter.swift
[58/63] Compiling SwiftIO Thread.swift
[59/63] Compiling SwiftIO Timer.swift
[60/63] Compiling SwiftIO PWMOut.swift
[61/63] Compiling SwiftIO SPI.swift
[62/63] Compiling SwiftIO Errno.swift
[63/63] Compiling SwiftIO Ethernet.swift
[65/82] Emitting module ST7796
[66/82] Compiling TMP102 Enums.swift
[67/82] Compiling TMP102 Configuration.swift
[68/82] Emitting module TMP102
[69/82] Compiling TMP102 TMP102.swift
[70/83] Emitting module VEML6040
[71/83] Compiling VEML6040 VEML6040.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[72/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, "pow")
    |  `- error: @_extern requires '-enable-experimental-feature Extern'
352 | func powf(_: Float, _ : Float) -> Float
353 |
[73/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, "pow")
    |  `- 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, "pow")
352 | func powf(_: Float, _ : Float) -> Float
    |      `- error: expected '{' in body of function declaration
353 |
354 | extension Float {
[74/84] Emitting module VEML7700
[75/84] Emitting module VL53L0x
[76/84] Emitting module TSL2591
[77/84] Emitting module VEML6070
BUILD FAILURE 6.0 linux