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 BQ25703A, reference main (c82efb), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 14:50:44 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CmST0us/BQ25703A.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CmST0us/BQ25703A
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c82efb6 package: add peripherykit for tester register: rename ChargerOption0 to ChargeOption0 register: fix r/w tester: add get charging status and start charging test action
Cloned https://github.com/CmST0us/BQ25703A.git
Revision (git rev-parse @):
c82efb6a0e8a42287ebc8c602c259dd4f204b6c5
SUCCESS checkout https://github.com/CmST0us/BQ25703A.git at main
Fetching https://github.com/rensbreur/SwiftTUI.git
[1/2407] Fetching swifttui
Fetched https://github.com/rensbreur/SwiftTUI.git from cache (1.92s)
Fetching https://github.com/CmST0us/PeripheryKit.git
[1/163] Fetching peripherykit
Fetched https://github.com/CmST0us/PeripheryKit.git from cache (0.69s)
Fetching https://github.com/apple/swift-mmio.git
Fetching https://github.com/apple/swift-syntax.git
[1/3454] Fetching swift-mmio
[3455/73699] Fetching swift-mmio, swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.12s)
Fetched https://github.com/apple/swift-mmio.git from cache (3.12s)
Computing version for https://github.com/apple/swift-mmio.git
Computed https://github.com/apple/swift-mmio.git at 0.0.2 (3.86s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.70s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Creating working copy for https://github.com/rensbreur/SwiftTUI.git
Working copy of https://github.com/rensbreur/SwiftTUI.git resolved at main (9ae1ac9)
Creating working copy for https://github.com/CmST0us/PeripheryKit.git
Working copy of https://github.com/CmST0us/PeripheryKit.git resolved at main (3dc804a)
Creating working copy for https://github.com/apple/swift-mmio.git
Working copy of https://github.com/apple/swift-mmio.git resolved at 0.0.2
========================================
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": "bq25703a",
      "name": "BQ25703A",
      "url": "https://github.com/CmST0us/BQ25703A.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BQ25703A",
      "dependencies": [
        {
          "identity": "swift-mmio",
          "name": "swift-mmio",
          "url": "https://github.com/apple/swift-mmio.git",
          "version": "0.0.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-mmio",
          "dependencies": [
            {
              "identity": "swift-syntax",
              "name": "swift-syntax",
              "url": "https://github.com/apple/swift-syntax.git",
              "version": "509.1.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/CmST0us/BQ25703A.git
[1/68] Fetching bq25703a
Fetched https://github.com/CmST0us/BQ25703A.git from cache (0.58s)
Fetching https://github.com/apple/swift-mmio.git from cache
Fetched https://github.com/apple/swift-mmio.git from cache (0.49s)
Computing version for https://github.com/apple/swift-mmio.git
Computed https://github.com/apple/swift-mmio.git at 0.0.2 (0.55s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.88s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.94s)
Creating working copy for https://github.com/apple/swift-mmio.git
Working copy of https://github.com/apple/swift-mmio.git resolved at 0.0.2
Creating working copy for https://github.com/CmST0us/BQ25703A.git
Working copy of https://github.com/CmST0us/BQ25703A.git resolved at main (c82efb6)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
warning: '.resolve-product-dependencies': dependency 'bq25703a' is not used by any target
Found 1 product dependencies
  - swift-mmio
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/CmST0us/BQ25703A.git
https://github.com/CmST0us/BQ25703A.git
{
  "dependencies" : [
    {
      "identity" : "swift-mmio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-mmio.git"
    },
    {
      "identity" : "swifttui",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/rensbreur/SwiftTUI.git"
    },
    {
      "identity" : "peripherykit",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/CmST0us/PeripheryKit.git"
    }
  ],
  "manifest_display_name" : "BQ25703A",
  "name" : "BQ25703A",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "BQ25703A",
      "targets" : [
        "BQ25703A"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Tester",
      "targets" : [
        "Tester"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Tester",
      "module_type" : "SwiftTarget",
      "name" : "Tester",
      "path" : "Sources/Tester",
      "product_dependencies" : [
        "SwiftTUI",
        "PeripheryKit"
      ],
      "product_memberships" : [
        "Tester"
      ],
      "sources" : [
        "Data+Hex.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "BQ25703A"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "BQ25703A",
      "module_type" : "SwiftTarget",
      "name" : "BQ25703A",
      "path" : "Sources/BQ25703A",
      "product_dependencies" : [
        "MMIO"
      ],
      "product_memberships" : [
        "BQ25703A",
        "Tester"
      ],
      "sources" : [
        "ADCIBAT.swift",
        "ADCIINCMPIN.swift",
        "ADCOption.swift",
        "ADCVBUS_PSYS.swift",
        "ADCVSYSVBAT.swift",
        "ChargeOption0.swift",
        "ChargeOption1.swift",
        "ChargeOption2.swift",
        "ChargeOption3.swift",
        "ChargerCurrent.swift",
        "ChargerStatus.swift",
        "DeviceID.swift",
        "IIN_DPM.swift",
        "IIN_HOST.swift",
        "InputVoltage.swift",
        "MMIO+Projectable.swift",
        "ManufacturerID.swift",
        "MaxChargeVoltage.swift",
        "MinSystemVoltage.swift",
        "OTGCurrent.swift",
        "OTGVoltage.swift",
        "ProchotOption0.swift",
        "ProchotOption1.swift",
        "ProchotStatus.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
error: failed: PrebuildCommand(configuration: SPMBuildCore.BuildToolPluginInvocationResult.CommandConfiguration(displayName: Optional("CopySysrootHeader"), executable: <AbsolutePath:"/bin/cp">, arguments: ["-rvf", "/Library/Developer/Runtimes/swift-5.9-runtime-aarch64-none-linux-gnu/toolchain/aarch64-none-linux-gnu/libc/usr/include", "/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/peripherykit/Cperiphery/destination/PeripheryKitCopySysrootHeader"], environment: [], workingDirectory: nil), outputFilesDirectory: <AbsolutePath:"/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/peripherykit/Cperiphery/destination/PeripheryKitCopySysrootHeader">)
cp: /Library/Developer/Runtimes/swift-5.9-runtime-aarch64-none-linux-gnu/toolchain/aarch64-none-linux-gnu/libc/usr/include: No such file or directory
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
error: failed: PrebuildCommand(configuration: SPMBuildCore.BuildToolPluginInvocationResult.CommandConfiguration(displayName: Optional("CopySysrootHeader"), executable: <AbsolutePath:"/bin/cp">, arguments: ["-rvf", "/Library/Developer/Runtimes/swift-5.9-runtime-aarch64-none-linux-gnu/toolchain/aarch64-none-linux-gnu/libc/usr/include", "/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/peripherykit/Cperiphery/destination/PeripheryKitCopySysrootHeader"], environment: [], workingDirectory: nil), outputFilesDirectory: <AbsolutePath:"/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/peripherykit/Cperiphery/destination/PeripheryKitCopySysrootHeader">)
cp: /Library/Developer/Runtimes/swift-5.9-runtime-aarch64-none-linux-gnu/toolchain/aarch64-none-linux-gnu/libc/usr/include: No such file or directory
BUILD FAILURE 6.1 macosSpm