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 2.0.2 (9d3c97), with Swift 6.0 for Linux on 29 Nov 2024 08:51:01 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xLeif/Scribe.git
Reference: 2.0.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/0xLeif/Scribe
 * tag               2.0.2      -> FETCH_HEAD
HEAD is now at 9d3c974 Remove sneaky import
Cloned https://github.com/0xLeif/Scribe.git
Revision (git rev-parse @):
9d3c974f5290105adeea36767af4bce349a1f4a4
SUCCESS checkout https://github.com/0xLeif/Scribe.git at 2.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/0xLeif/Scribe.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-log
[1/3709] Fetching swift-log
Fetching https://github.com/0xLeif/Plugin
Fetched https://github.com/apple/swift-log from cache (0.64s)
[1/153] Fetching plugin
Fetched https://github.com/0xLeif/Plugin from cache (0.42s)
Computing version for https://github.com/0xLeif/Plugin
Computed https://github.com/0xLeif/Plugin at 2.0.2 (1.05s)
Fetching https://github.com/0xLeif/Fork
[1/484] Fetching fork
Fetched https://github.com/0xLeif/Fork from cache (0.34s)
Computing version for https://github.com/0xLeif/Fork
Computed https://github.com/0xLeif/Fork at 1.3.0 (1.00s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.2 (0.86s)
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.2
Creating working copy for https://github.com/0xLeif/Fork
Working copy of https://github.com/0xLeif/Fork resolved at 1.3.0
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/19] Compiling Fork Fork.swift
[7/20] Compiling Fork Sequence+ForkedArray.swift
[8/20] Compiling Fork Task+Fork.swift
[9/20] Compiling Fork Sequence+BatchedForkedArray.swift
[10/20] Emitting module Fork
[11/20] Compiling Fork KeyPathActor.swift
[12/20] Compiling Fork BatchedForkedArray.swift
[13/20] Compiling Fork Actor+ForkedActor.swift
[14/20] Compiling Fork ForkedActor.swift
[15/20] Compiling Fork ForkedArray.swift
[17/21] Compiling Logging MetadataProvider.swift
[18/21] Compiling Logging LogHandler.swift
[19/21] Compiling Logging Logging.swift
[20/21] Compiling Logging Locks.swift
[21/21] Emitting module Logging
[23/27] Emitting module Plugin
[24/27] Compiling Plugin ImmutablePluginable.swift
[25/27] Compiling Plugin Plugin.swift
[26/27] Compiling Plugin ImmutablePlugin.swift
[27/27] Compiling Plugin Pluginable.swift
[29/31] Compiling Scribe ScribePlugin.swift
[30/31] Emitting module Scribe
[31/31] Compiling Scribe Scribe.swift
/host/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! (23.69s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.