The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Archery, reference master (423523), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 01:41:25 UTC.

Swift 6 data race errors: 3

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/vknabel/archery.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vknabel/archery
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4235239 Merge pull request #14 from vknabel/dependabot/bundler/activesupport-7.0.4.3
Cloned https://github.com/vknabel/archery.git
Revision (git rev-parse @):
423523973f6a14c4c33632262be094a66d4a7b52
SUCCESS checkout https://github.com/vknabel/archery.git at master
Fetching https://github.com/jpsim/Yams.git
[1/9936] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.99s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.1 (0.58s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.1
========================================
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": "archery",
      "name": "Archery",
      "url": "https://github.com/vknabel/archery.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/archery",
      "dependencies": [
        {
          "identity": "yams",
          "name": "Yams",
          "url": "https://github.com/jpsim/Yams.git",
          "version": "5.1.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/vknabel/archery.git
[1/736] Fetching archery
Fetched https://github.com/vknabel/archery.git from cache (1.04s)
Fetching https://github.com/jpsim/Yams.git from cache
Fetched https://github.com/jpsim/Yams.git from cache (0.60s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (0.52s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.3
Creating working copy for https://github.com/vknabel/archery.git
Working copy of https://github.com/vknabel/archery.git resolved at master (4235239)
Found 1 product dependencies
  - Yams
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/vknabel/archery.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/15] Write sources
[2/15] Write archery-entitlement.plist
[2/15] Write sources
[5/15] Write swift-version--7754E27361AE5C74.txt
[6/15] Compiling writer.c
[7/15] Compiling parser.c
[8/15] Compiling api.c
[9/15] Compiling emitter.c
[10/15] Compiling scanner.c
[11/15] Compiling reader.c
[13/30] Compiling Yams Tag.swift
[14/30] Compiling Yams String+Yams.swift
[15/30] Compiling Yams Resolver.swift
[16/31] Compiling Yams Representer.swift
[17/31] Compiling Yams Node.Scalar.swift
[18/31] Compiling Yams Node.Sequence.swift
[19/31] Compiling Yams Mark.swift
[20/31] Compiling Yams Node.Mapping.swift
[21/31] Compiling Yams Node.swift
[22/31] Compiling Yams Parser.swift
[23/31] Compiling Yams Emitter.swift
[24/31] Compiling Yams Encoder.swift
[25/31] Emitting module Yams
[26/31] Compiling Yams Constructor.swift
[27/31] Compiling Yams Decoder.swift
[28/31] Compiling Yams YamlError.swift
[29/45] Compiling ArcheryKit LabeledScript.swift
[30/45] Compiling ArcheryKit LegacyScript.swift
[31/45] Compiling ArcheryKit Archerfile.swift
[32/45] Compiling ArcheryKit Archery.swift
[33/45] Emitting module ArcheryKit
/Users/admin/builder/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:13:24: warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | class ProcessScheduler {
13 |     private static var lock = NSLock()
   |                        |- warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'lock' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'lock' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |     static var scheduledProcesses: [ObjectIdentifier: Process] = [:]
15 |
/Users/admin/builder/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:14:16: warning: static property 'scheduledProcesses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | class ProcessScheduler {
13 |     private static var lock = NSLock()
14 |     static var scheduledProcesses: [ObjectIdentifier: Process] = [:]
   |                |- warning: static property 'scheduledProcesses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'scheduledProcesses' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'scheduledProcesses' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     static func run(_ process: Process) throws {
/Users/admin/builder/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:53:24: warning: static property 'hasBeenPrepared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | extension ProcessScheduler {
53 |     private static var hasBeenPrepared = false
   |                        |- warning: static property 'hasBeenPrepared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'hasBeenPrepared' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'hasBeenPrepared' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |     private static func prepare() {
55 |         if hasBeenPrepared { return }
[34/45] Compiling ArcheryKit Path.swift
[35/46] Compiling ArcheryKit ScriptExecution.swift
[36/46] Compiling ArcheryKit RawDataFormat.swift
[37/46] Compiling ArcheryKit ProcessScheduler.swift
/Users/admin/builder/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:13:24: warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | class ProcessScheduler {
13 |     private static var lock = NSLock()
   |                        |- warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'lock' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'lock' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |     static var scheduledProcesses: [ObjectIdentifier: Process] = [:]
15 |
/Users/admin/builder/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:14:16: warning: static property 'scheduledProcesses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | class ProcessScheduler {
13 |     private static var lock = NSLock()
14 |     static var scheduledProcesses: [ObjectIdentifier: Process] = [:]
   |                |- warning: static property 'scheduledProcesses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'scheduledProcesses' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'scheduledProcesses' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     static func run(_ process: Process) throws {
/Users/admin/builder/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:53:24: warning: static property 'hasBeenPrepared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | extension ProcessScheduler {
53 |     private static var hasBeenPrepared = false
   |                        |- warning: static property 'hasBeenPrepared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'hasBeenPrepared' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'hasBeenPrepared' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |     private static func prepare() {
55 |         if hasBeenPrepared { return }
[38/46] Compiling ArcheryKit Script.swift
[39/46] Compiling ArcheryKit Metadata.swift
[40/46] Compiling ArcheryKit OfferingMetadata.swift
[41/46] Compiling ArcheryKit ArcheryError.swift
[42/46] Compiling ArcheryKit ExecutionContext.swift
[43/46] Compiling ArcheryKit Version.generated.swift
[44/55] Compiling ArcheryInterface InitCommand+Contents.swift
[45/55] Compiling ArcheryInterface VersionCommand.swift
[46/55] Compiling ArcheryInterface ExecutionCommand.swift
[47/55] Compiling ArcheryInterface ApiLevelCommand.swift
[48/55] Compiling ArcheryInterface InitCommand.swift
[49/55] Compiling ArcheryInterface Command.swift
[50/55] Compiling ArcheryInterface HelpCommand.swift
[51/55] Emitting module ArcheryInterface
[52/55] Compiling ArcheryInterface ArcheryInterface.swift
[53/57] Emitting module Archery
[54/57] Compiling Archery main.swift
[54/57] Write Objects.LinkFileList
[55/57] Linking archery
[56/57] Applying archery
Build complete! (15.31s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.1",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "Archery",
  "name" : "Archery",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "archery",
      "targets" : [
        "Archery"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ArcheryKit",
      "targets" : [
        "ArcheryKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ArcheryInterface",
      "targets" : [
        "ArcheryInterface"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ArcheryKitTests",
      "module_type" : "SwiftTarget",
      "name" : "ArcheryKitTests",
      "path" : "Tests/ArcheryKitTests",
      "sources" : [
        "ArcherfileParsingTests.swift",
        "ArcheryKitTests.swift",
        "ArcheryTests.swift",
        "MetadataTests.swift",
        "ScriptParsingTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ArcheryKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ArcheryKit",
      "module_type" : "SwiftTarget",
      "name" : "ArcheryKit",
      "path" : "Sources/ArcheryKit",
      "product_dependencies" : [
        "Yams"
      ],
      "product_memberships" : [
        "archery",
        "ArcheryKit",
        "ArcheryInterface"
      ],
      "sources" : [
        "Archerfile.swift",
        "Archery.swift",
        "ArcheryError.swift",
        "ExecutionContext.swift",
        "LabeledScript.swift",
        "LegacyScript.swift",
        "Metadata.swift",
        "OfferingMetadata.swift",
        "Path.swift",
        "ProcessScheduler.swift",
        "RawDataFormat.swift",
        "Script.swift",
        "ScriptExecution.swift",
        "Version.generated.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ArcheryInterfaceTests",
      "module_type" : "SwiftTarget",
      "name" : "ArcheryInterfaceTests",
      "path" : "Tests/ArcheryInterfaceTests",
      "sources" : [
        "ArcheryInterfaceTests.swift",
        "InitCommandTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ArcheryInterface"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ArcheryInterface",
      "module_type" : "SwiftTarget",
      "name" : "ArcheryInterface",
      "path" : "Sources/ArcheryInterface",
      "product_memberships" : [
        "archery",
        "ArcheryInterface"
      ],
      "sources" : [
        "ArcheryInterface.swift",
        "Command.swift",
        "Commands/ApiLevelCommand.swift",
        "Commands/ExecutionCommand.swift",
        "Commands/HelpCommand.swift",
        "Commands/InitCommand.swift",
        "Commands/VersionCommand.swift",
        "InitCommand+Contents.swift"
      ],
      "target_dependencies" : [
        "ArcheryKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Archery",
      "module_type" : "SwiftTarget",
      "name" : "Archery",
      "path" : "Sources/Archery",
      "product_memberships" : [
        "archery"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ArcheryInterface"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.4"
}
Done.