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 Monarch, reference main (044d23), with Swift 6.0 for macOS (SPM) on 13 Nov 2024 08:12:08 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

Build Log

========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mergesort/Monarch.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mergesort/Monarch
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 044d233 Updating MigrationRunner to cache, avoiding issues where UserDefaults doesn't update fast enough
Cloned https://github.com/mergesort/Monarch.git
Revision (git rev-parse @):
044d233885ad564fc17b9f21eb7188bb6995a91d
SUCCESS checkout https://github.com/mergesort/Monarch.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": "monarch",
      "name": "Monarch",
      "url": "https://github.com/mergesort/Monarch.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Monarch",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/mergesort/Monarch.git
[1/35] Fetching monarch
Fetched https://github.com/mergesort/Monarch.git from cache (0.89s)
Creating working copy for https://github.com/mergesort/Monarch.git
Working copy of https://github.com/mergesort/Monarch.git resolved at main (044d233)
warning: '.resolve-product-dependencies': dependency 'monarch' 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/mergesort/Monarch.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/10] Compiling Monarch Migration.swift
[4/10] Compiling Monarch MigrationRunner.swift
[5/10] Compiling Monarch MigrationGroup.swift
[6/10] Emitting module Monarch
[7/10] Compiling Monarch MigrationContext.swift
[8/10] Compiling Monarch MigrationDependency.swift
[9/10] Compiling Monarch View+Migrations.swift
[10/10] Compiling Monarch MigrationBuilder.swift
Build complete! (13.53s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Monarch",
  "name" : "Monarch",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "Monarch",
      "targets" : [
        "Monarch"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MonarchTests",
      "module_type" : "SwiftTarget",
      "name" : "MonarchTests",
      "path" : "Tests/MonarchTests",
      "sources" : [
        "Migration.Tests.swift",
        "Monarch.Tests.swift"
      ],
      "target_dependencies" : [
        "Monarch"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Monarch",
      "module_type" : "SwiftTarget",
      "name" : "Monarch",
      "path" : "Sources/Monarch",
      "product_memberships" : [
        "Monarch"
      ],
      "sources" : [
        "Internal/MigrationContext.swift",
        "Migration.swift",
        "MigrationBuilder.swift",
        "MigrationDependency.swift",
        "MigrationGroup.swift",
        "MigrationRunner.swift",
        "View+Migrations.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.