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 Scribe, reference main (e42d0f), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 11:19:04 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xLeif/Scribe.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xLeif/Scribe
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e42d0f1 Update docc.yml
Cloned https://github.com/0xLeif/Scribe.git
Revision (git rev-parse @):
e42d0f100cd08c7c04af26057b958b3ec4f6b76c
SUCCESS checkout https://github.com/0xLeif/Scribe.git at main
Fetching https://github.com/0xLeif/Plugin
Fetching https://github.com/apple/swift-log from cache
[1/153] Fetching plugin
Fetched https://github.com/0xLeif/Plugin from cache (0.69s)
Fetched https://github.com/apple/swift-log from cache (0.69s)
Computing version for https://github.com/0xLeif/Plugin
Computed https://github.com/0xLeif/Plugin at 2.0.2 (1.25s)
Fetching https://github.com/0xLeif/Fork
[1/484] Fetching fork
Fetched https://github.com/0xLeif/Fork from cache (0.73s)
Computing version for https://github.com/0xLeif/Fork
Computed https://github.com/0xLeif/Fork at 1.3.0 (1.29s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.44s)
Creating working copy for https://github.com/0xLeif/Fork
Working copy of https://github.com/0xLeif/Fork resolved at 1.3.0
Creating working copy for https://github.com/0xLeif/Plugin
Working copy of https://github.com/0xLeif/Plugin resolved at 2.0.2
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
========================================
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": "scribe",
      "name": "Scribe",
      "url": "https://github.com/0xLeif/Scribe.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Scribe",
      "dependencies": [
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log",
          "version": "1.6.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "dependencies": [
          ]
        },
        {
          "identity": "plugin",
          "name": "Plugin",
          "url": "https://github.com/0xLeif/Plugin",
          "version": "2.0.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Plugin",
          "dependencies": [
            {
              "identity": "fork",
              "name": "Fork",
              "url": "https://github.com/0xLeif/Fork",
              "version": "1.3.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Fork",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/0xLeif/Scribe.git
[1/126] Fetching scribe
Fetched https://github.com/0xLeif/Scribe.git from cache (0.57s)
Fetching https://github.com/0xLeif/Plugin from cache
Fetching https://github.com/apple/swift-log from cache
Fetched https://github.com/0xLeif/Plugin from cache (0.51s)
Fetched https://github.com/apple/swift-log from cache (0.51s)
Computing version for https://github.com/0xLeif/Plugin
Computed https://github.com/0xLeif/Plugin at 2.0.2 (0.56s)
Fetching https://github.com/0xLeif/Fork from cache
Fetched https://github.com/0xLeif/Fork from cache (0.46s)
Computing version for https://github.com/0xLeif/Fork
Computed https://github.com/0xLeif/Fork at 1.3.0 (0.51s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.03s)
Creating working copy for https://github.com/0xLeif/Plugin
Working copy of https://github.com/0xLeif/Plugin resolved at 2.0.2
Creating working copy for https://github.com/0xLeif/Fork
Working copy of https://github.com/0xLeif/Fork resolved at 1.3.0
Creating working copy for https://github.com/0xLeif/Scribe.git
Working copy of https://github.com/0xLeif/Scribe.git resolved at main (e42d0f1)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
warning: '.resolve-product-dependencies': dependency 'scribe' is not used by any target
Found 2 product dependencies
  - swift-log
  - Plugin
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/0xLeif/Scribe.git
https://github.com/0xLeif/Scribe.git
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log"
    },
    {
      "identity" : "plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/0xLeif/Plugin"
    }
  ],
  "manifest_display_name" : "Scribe",
  "name" : "Scribe",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "Scribe",
      "targets" : [
        "Scribe"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ScribeTests",
      "module_type" : "SwiftTarget",
      "name" : "ScribeTests",
      "path" : "Tests/ScribeTests",
      "sources" : [
        "ScribeTests.swift"
      ],
      "target_dependencies" : [
        "Scribe"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Scribe",
      "module_type" : "SwiftTarget",
      "name" : "Scribe",
      "path" : "Sources/Scribe",
      "product_dependencies" : [
        "Logging",
        "Plugin"
      ],
      "product_memberships" : [
        "Scribe"
      ],
      "sources" : [
        "Scribe.swift",
        "ScribePlugin.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/20] Compiling Fork Sequence+BatchedForkedArray.swift
[7/20] Emitting module Fork
[8/20] Compiling Fork BatchedForkedArray.swift
[9/20] Compiling Fork KeyPathActor.swift
[10/20] Compiling Fork Actor+ForkedActor.swift
[11/20] Compiling Fork ForkedActor.swift
[12/20] Compiling Fork Sequence+ForkedArray.swift
[13/20] Compiling Fork ForkedArray.swift
[14/20] Compiling Fork Task+Fork.swift
[15/20] Compiling Fork Fork.swift
[16/25] Compiling Plugin Plugin.swift
[17/25] Emitting module Plugin
[18/25] Compiling Plugin Pluginable.swift
[19/25] Compiling Plugin ImmutablePluginable.swift
[20/25] Compiling Plugin ImmutablePlugin.swift
[21/25] Compiling Logging MetadataProvider.swift
[22/25] Compiling Logging LogHandler.swift
[23/25] Compiling Logging Locks.swift
[24/25] Emitting module Logging
[25/25] Compiling Logging Logging.swift
[26/28] Emitting module Scribe
[27/28] Compiling Scribe ScribePlugin.swift
[28/28] Compiling Scribe Scribe.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scribe/Scribe.swift:111:21: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
109 |         )
110 |
111 |         return Task {
    |                     `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
112 |             try await handle(value: pluginPayload)
    |                       `- note: closure captures 'self' which is accessible to code in the current task
113 |         }
114 |     }
Build complete! (4.46s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log"
    },
    {
      "identity" : "plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/0xLeif/Plugin"
    }
  ],
  "manifest_display_name" : "Scribe",
  "name" : "Scribe",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "Scribe",
      "targets" : [
        "Scribe"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ScribeTests",
      "module_type" : "SwiftTarget",
      "name" : "ScribeTests",
      "path" : "Tests/ScribeTests",
      "sources" : [
        "ScribeTests.swift"
      ],
      "target_dependencies" : [
        "Scribe"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Scribe",
      "module_type" : "SwiftTarget",
      "name" : "Scribe",
      "path" : "Sources/Scribe",
      "product_dependencies" : [
        "Logging",
        "Plugin"
      ],
      "product_memberships" : [
        "Scribe"
      ],
      "sources" : [
        "Scribe.swift",
        "ScribePlugin.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.