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

Successful build of MathLib, reference main (439fa7), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 10:39:06 UTC.

Swift 6 data race errors: 0

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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/forkercat/MathLib.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/forkercat/MathLib
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 439fa72 Add length
Cloned https://github.com/forkercat/MathLib.git
Revision (git rev-parse @):
439fa720cd73b285f9109dc12c4d781847e5f502
SUCCESS checkout https://github.com/forkercat/MathLib.git at main
========================================
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": "mathlib",
      "name": "MathLib",
      "url": "https://github.com/forkercat/MathLib.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MathLib",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/forkercat/MathLib.git
[1/120] Fetching mathlib
Fetched https://github.com/forkercat/MathLib.git from cache (0.64s)
Creating working copy for https://github.com/forkercat/MathLib.git
Working copy of https://github.com/forkercat/MathLib.git resolved at main (439fa72)
warning: '.resolve-product-dependencies': dependency 'mathlib' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/forkercat/MathLib.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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/7] Write sources
[1/7] Write MathLib-Demo-entitlement.plist
[3/7] Write swift-version--7754E27361AE5C74.txt
[5/17] Compiling MathLib Other.swift
[6/17] Compiling MathLib Vector.swift
[7/17] Compiling MathLib Scalar.swift
[8/17] Compiling MathLib Vector+Int.swift
[9/17] Compiling MathLib Quaternion.swift
[10/17] Compiling MathLib Matrix.swift
[11/17] Compiling MathLib Functions.swift
[12/17] Compiling MathLib Constants.swift
[13/17] Emitting module MathLib
[14/17] Compiling MathLib Vector+Float.swift
[15/19] Emitting module MathLib_Demo
[16/19] Compiling MathLib_Demo main.swift
[16/19] Write Objects.LinkFileList
[17/19] Linking MathLib-Demo
[18/19] Applying MathLib-Demo
Build complete! (12.00s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MathLib",
  "name" : "MathLib",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "MathLib",
      "targets" : [
        "MathLib"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MathLib-Demo",
      "targets" : [
        "MathLib-Demo"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MathLib_Demo",
      "module_type" : "SwiftTarget",
      "name" : "MathLib-Demo",
      "path" : "Sources/MathLib-Demo",
      "product_memberships" : [
        "MathLib-Demo"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "MathLib"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "MathLib",
      "module_type" : "SwiftTarget",
      "name" : "MathLib",
      "path" : "Sources/MathLib",
      "product_memberships" : [
        "MathLib",
        "MathLib-Demo"
      ],
      "sources" : [
        "Constants.swift",
        "Functions.swift",
        "Matrix.swift",
        "Other.swift",
        "Quaternion.swift",
        "Scalar.swift",
        "Vector+Float.swift",
        "Vector+Int.swift",
        "Vector.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.