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 macOS (SPM) on 3 Nov 2024 17:43:40 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

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 /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/madmachineio/SwiftIO.git
[1/4475] Fetching swiftio
Fetched https://github.com/madmachineio/SwiftIO.git from cache (1.63s)
Creating working copy for https://github.com/madmachineio/SwiftIO.git
Working copy of https://github.com/madmachineio/SwiftIO.git resolved at main (92d5ccc)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "maddrivers",
      "name": "MadDrivers",
      "url": "https://github.com/madmachineio/MadDrivers.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MadDrivers",
      "dependencies": [
        {
          "identity": "swiftio",
          "name": "SwiftIO",
          "url": "https://github.com/madmachineio/SwiftIO.git",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftIO",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/madmachineio/MadDrivers.git
[1/3738] Fetching maddrivers
Fetched https://github.com/madmachineio/MadDrivers.git from cache (1.40s)
Fetching https://github.com/madmachineio/SwiftIO.git from cache
Fetched https://github.com/madmachineio/SwiftIO.git from cache (0.46s)
Creating working copy for https://github.com/madmachineio/MadDrivers.git
Working copy of https://github.com/madmachineio/MadDrivers.git resolved at main (b730cc0)
Creating working copy for https://github.com/madmachineio/SwiftIO.git
Working copy of https://github.com/madmachineio/SwiftIO.git resolved at main (92d5ccc)
warning: '.resolve-product-dependencies': dependency 'maddrivers' is not used by any target
Found 1 product dependencies
  - SwiftIO
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/madmachineio/MadDrivers.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/44] Write sources
[42/44] Write swift-version--7754E27361AE5C74.txt
[43/44] Compiling CSwiftIO empty.c
[45/62] Compiling SwiftIO Counter.swift
[46/62] Compiling SwiftIO DigitalIn.swift
[47/63] Compiling SwiftIO DigitalInOut.swift
[48/63] Compiling SwiftIO DigitalOut.swift
[49/63] Compiling SwiftIO Errno.swift
[50/63] Compiling SwiftIO Ethernet.swift
[51/63] Compiling SwiftIO FileDescriptor.swift
[52/63] Compiling SwiftIO I2C.swift
[53/63] Compiling SwiftIO Thread.swift
[54/63] Compiling SwiftIO Timer.swift
[55/63] Emitting module SwiftIO
[56/63] Compiling SwiftIO AnalogIn.swift
[57/63] Compiling SwiftIO BoardId.swift
[58/63] Compiling SwiftIO Utils.swift
[59/63] Compiling SwiftIO UART.swift
[60/63] Compiling SwiftIO I2S.swift
[61/63] Compiling SwiftIO KernelTiming.swift
[62/63] Compiling SwiftIO PWMOut.swift
[63/63] Compiling SwiftIO SPI.swift
[64/85] Emitting module VEML7700
[65/85] Compiling VEML7700 VEML7700.swift
[66/85] Emitting module SHT3x
[67/85] Compiling SHT3x SHT3x.swift
[68/85] Emitting module VEML6070
[69/85] Compiling VEML6070 VEML6070.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[70/85] Emitting module TCS34725
/Users/admin/builder/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 |
[71/85] Compiling TCS34725 TCS34725.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 {
[72/85] Emitting module ST7789
[73/85] Emitting module ST7796
[74/85] Emitting module VEML6040
[75/85] Emitting module TSL2591
[76/85] Emitting module VL53L0x
[77/85] Compiling TMP102 Configuration.swift
[78/85] Emitting module TMP102
[79/85] Compiling TMP102 Enums.swift
BUILD FAILURE 6.0 macosSpm