The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Playwright, reference main (27fd48), with Swift 6.1 for macOS (SPM) on 13 Apr 2026 21:08:57 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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/m1guelpf/swift-playwright.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/m1guelpf/swift-playwright
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 27fd489 Add PlaywrightDriverPlugin to products
Cloned https://github.com/m1guelpf/swift-playwright.git
Revision (git rev-parse @):
27fd489d01a4ca5f68350774f253f82c6afd5cc7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/m1guelpf/swift-playwright.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/m1guelpf/swift-playwright.git
https://github.com/m1guelpf/swift-playwright.git
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "Playwright",
  "name" : "Playwright",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Playwright",
      "targets" : [
        "Playwright"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PlaywrightTesting",
      "targets" : [
        "PlaywrightTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PlaywrightDriverPlugin",
      "targets" : [
        "PlaywrightDriverPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "DownloadDriver",
      "targets" : [
        "DownloadDriver"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "PlaywrightTests",
      "module_type" : "SwiftTarget",
      "name" : "PlaywrightTests",
      "path" : "tests",
      "sources" : [
        "AssertionResultTests.swift",
        "BrowserContextTests.swift",
        "BrowserNewPageTests.swift",
        "BrowserTests.swift",
        "ConcurrencyTests.swift",
        "ConnectOverCDPTests.swift",
        "ConnectionTests.swift",
        "ConsoleMessageTests.swift",
        "CrossBrowserTests.swift",
        "DialogTests.swift",
        "DownloadTests.swift",
        "DriverTests.swift",
        "ElementHandleTests.swift",
        "ErrorClassificationTests.swift",
        "EvaluateTests.swift",
        "GlobTests.swift",
        "HelpersTests.swift",
        "KeyboardMouseTests.swift",
        "LifecycleTests.swift",
        "LocatorAssertionTests.swift",
        "LocatorEvaluateTests.swift",
        "LocatorTests.swift",
        "NavigationTests.swift",
        "PageAssertionTests.swift",
        "PageTests.swift",
        "PersistentContextTests.swift",
        "PlaywrightTests.swift",
        "QuerySelectorTests.swift",
        "RouteTests.swift",
        "ScreenshotTests.swift",
        "SelectorBuilderTests.swift",
        "ServerLifecycleTests.swift",
        "TestHelpers.swift",
        "TransportTests.swift"
      ],
      "target_dependencies" : [
        "Playwright",
        "PlaywrightTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PlaywrightTesting",
      "module_type" : "SwiftTarget",
      "name" : "PlaywrightTesting",
      "path" : "src/testing",
      "product_memberships" : [
        "PlaywrightTesting"
      ],
      "sources" : [
        "Expect.swift",
        "Internal/AssertionResult.swift",
        "Internal/ExpectedTextValue.swift",
        "LocatorAssertions.swift",
        "PageAssertions.swift",
        "PlaywrightTrait.swift"
      ],
      "target_dependencies" : [
        "Playwright"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PlaywrightDriverPlugin",
      "module_type" : "PluginTarget",
      "name" : "PlaywrightDriverPlugin",
      "path" : "plugin",
      "plugin_capability" : {
        "intent" : {
          "description" : "Download the Playwright driver for browser automation",
          "type" : "custom",
          "verb" : "install-playwright"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "Downloads the Playwright driver",
            "type" : "writeToPackageDirectory"
          },
          {
            "network_scope" : {
              "all" : {
                "ports" : [
                  443
                ]
              }
            },
            "reason" : "Downloads the Playwright driver from cdn.playwright.dev",
            "type" : "allowNetworkConnections"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "PlaywrightDriverPlugin"
      ],
      "sources" : [
        "PlaywrightDriverPlugin.swift"
      ],
      "target_dependencies" : [
        "DownloadDriver"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "Playwright",
      "module_type" : "SwiftTarget",
      "name" : "Playwright",
      "path" : "src/core",
      "product_memberships" : [
        "Playwright",
        "PlaywrightTesting"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/src/core/drivers",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "API/ActionOptions.swift",
        "API/Artifact.swift",
        "API/Browser.swift",
        "API/BrowserContext.swift",
        "API/BrowserContextOptions.swift",
        "API/BrowserType.swift",
        "API/ConsoleMessage.swift",
        "API/Dialog.swift",
        "API/Download.swift",
        "API/ElementHandle.swift",
        "API/EvaluateSerializer.swift",
        "API/Frame.swift",
        "API/Keyboard.swift",
        "API/Locator.swift",
        "API/LocatorFactory.swift",
        "API/Mouse.swift",
        "API/NavigationOptions.swift",
        "API/Page.swift",
        "API/Request.swift",
        "API/Response.swift",
        "API/Route.swift",
        "API/Selectors.swift",
        "Error.swift",
        "Extensions/Array+RemoveByIdentity.swift",
        "Extensions/Duration+milliseconds.swift",
        "Playwright.swift",
        "Protocol/ChannelOwner.swift",
        "Protocol/CloseGuard.swift",
        "Protocol/Connection.swift",
        "Protocol/Driver.swift",
        "Protocol/ObjectFactory.swift",
        "Protocol/PlaywrightServer.swift",
        "Protocol/Transport.swift",
        "Support/helpers.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DownloadDriver",
      "module_type" : "SwiftTarget",
      "name" : "DownloadDriver",
      "path" : "cli",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "PlaywrightDriverPlugin",
        "DownloadDriver"
      ],
      "sources" : [
        "DownloadDriver.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.1"
}
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
[1/1] Compiling plugin PlaywrightDriverPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/21] Write sources
[4/21] Write DownloadDriver-tool-entitlement.plist
[4/21] Write sources
[11/21] Write DownloadDriver-entitlement.plist
[11/21] Write sources
[13/21] Copying drivers
[14/21] Write swift-version-2F0A5646E1D333AE.txt
[16/58] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/58] Emitting module ArgumentParserToolInfo
[19/58] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/152] Emitting module Playwright
[21/155] Emitting module ArgumentParser
[22/160] Compiling ArgumentParser Platform.swift
[23/160] Compiling ArgumentParser SequenceExtensions.swift
[24/160] Compiling ArgumentParser StringExtensions.swift
[25/160] Compiling ArgumentParser SwiftExtensions.swift
[26/160] Compiling ArgumentParser Tree.swift
[27/165] Compiling ArgumentParser NameSpecification.swift
[28/165] Compiling ArgumentParser Option.swift
[29/165] Compiling ArgumentParser OptionGroup.swift
[30/165] Compiling ArgumentParser ParentCommand.swift
[31/165] Compiling ArgumentParser AsyncParsableCommand.swift
[32/165] Compiling ArgumentParser Platform.swift
[33/165] Compiling ArgumentParser SequenceExtensions.swift
[34/165] Compiling ArgumentParser StringExtensions.swift
[35/165] Compiling ArgumentParser SwiftExtensions.swift
[36/165] Compiling ArgumentParser Tree.swift
[37/165] Compiling ArgumentParser CodingKeyValidator.swift
[38/165] Compiling ArgumentParser NonsenseFlagsValidator.swift
[39/165] Compiling ArgumentParser ParsableArgumentsValidation.swift
[40/165] Compiling ArgumentParser PositionalArgumentsValidator.swift
[41/165] Compiling ArgumentParser UniqueNamesValidator.swift
[42/165] Compiling ArgumentParser BashCompletionsGenerator.swift
[43/165] Compiling ArgumentParser CompletionsGenerator.swift
[44/165] Compiling ArgumentParser FishCompletionsGenerator.swift
[45/165] Compiling ArgumentParser ZshCompletionsGenerator.swift
[46/165] Compiling ArgumentParser Argument.swift
[47/165] Compiling ArgumentParser ArgumentDiscussion.swift
[64/165] Compiling ArgumentParser ParsableCommand.swift
[65/165] Compiling ArgumentParser ArgumentDecoder.swift
[66/165] Compiling ArgumentParser ArgumentDefinition.swift
[67/165] Compiling ArgumentParser ArgumentSet.swift
[68/165] Compiling ArgumentParser CommandParser.swift
[69/165] Compiling ArgumentParser ArgumentHelp.swift
[70/165] Compiling Playwright Transport.swift
[71/165] Compiling Playwright helpers.swift
[72/165] Compiling Playwright resource_bundle_accessor.swift
[73/165] Compiling ArgumentParser Flag.swift
[79/165] Emitting module ArgumentParser
[83/165] Compiling ArgumentParser ParsableCommand.swift
[84/165] Compiling ArgumentParser ArgumentDecoder.swift
[85/165] Compiling ArgumentParser ArgumentDefinition.swift
[86/165] Compiling ArgumentParser SplitArguments.swift
[87/165] Compiling ArgumentParser DumpHelpGenerator.swift
[88/165] Compiling ArgumentParser HelpCommand.swift
[89/165] Compiling ArgumentParser HelpGenerator.swift
[90/165] Compiling ArgumentParser ArgumentSet.swift
[91/165] Compiling ArgumentParser CommandParser.swift
[95/165] Compiling ArgumentParser ParserError.swift
[140/172] Compiling ArgumentParser MessageInfo.swift
[141/172] Compiling ArgumentParser InputOrigin.swift
[142/172] Compiling ArgumentParser Name.swift
[143/172] Compiling ArgumentParser Foundation.swift
[144/172] Compiling ArgumentParser Mutex.swift
[160/176] Compiling DownloadDriver DownloadDriver.swift
[161/176] Emitting module DownloadDriver
[163/176] Compiling DownloadDriver DownloadDriver.swift
[163/176] Write Objects.LinkFileList
[165/176] Linking DownloadDriver
[166/176] Linking DownloadDriver-tool
[167/176] Applying DownloadDriver
[168/176] Applying DownloadDriver-tool
[170/176] Emitting module PlaywrightTesting
[171/176] Compiling PlaywrightTesting AssertionResult.swift
[172/176] Compiling PlaywrightTesting PageAssertions.swift
[173/176] Compiling PlaywrightTesting PlaywrightTrait.swift
[174/176] Compiling PlaywrightTesting LocatorAssertions.swift
[175/176] Compiling PlaywrightTesting ExpectedTextValue.swift
[176/176] Compiling PlaywrightTesting Expect.swift
Build complete! (17.72s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (1.48s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (2.05s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "Playwright",
  "name" : "Playwright",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Playwright",
      "targets" : [
        "Playwright"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PlaywrightTesting",
      "targets" : [
        "PlaywrightTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PlaywrightDriverPlugin",
      "targets" : [
        "PlaywrightDriverPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "DownloadDriver",
      "targets" : [
        "DownloadDriver"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "PlaywrightTests",
      "module_type" : "SwiftTarget",
      "name" : "PlaywrightTests",
      "path" : "tests",
      "sources" : [
        "AssertionResultTests.swift",
        "BrowserContextTests.swift",
        "BrowserNewPageTests.swift",
        "BrowserTests.swift",
        "ConcurrencyTests.swift",
        "ConnectOverCDPTests.swift",
        "ConnectionTests.swift",
        "ConsoleMessageTests.swift",
        "CrossBrowserTests.swift",
        "DialogTests.swift",
        "DownloadTests.swift",
        "DriverTests.swift",
        "ElementHandleTests.swift",
        "ErrorClassificationTests.swift",
        "EvaluateTests.swift",
        "GlobTests.swift",
        "HelpersTests.swift",
        "KeyboardMouseTests.swift",
        "LifecycleTests.swift",
        "LocatorAssertionTests.swift",
        "LocatorEvaluateTests.swift",
        "LocatorTests.swift",
        "NavigationTests.swift",
        "PageAssertionTests.swift",
        "PageTests.swift",
        "PersistentContextTests.swift",
        "PlaywrightTests.swift",
        "QuerySelectorTests.swift",
        "RouteTests.swift",
        "ScreenshotTests.swift",
        "SelectorBuilderTests.swift",
        "ServerLifecycleTests.swift",
        "TestHelpers.swift",
        "TransportTests.swift"
      ],
      "target_dependencies" : [
        "Playwright",
        "PlaywrightTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PlaywrightTesting",
      "module_type" : "SwiftTarget",
      "name" : "PlaywrightTesting",
      "path" : "src/testing",
      "product_memberships" : [
        "PlaywrightTesting"
      ],
      "sources" : [
        "Expect.swift",
        "Internal/AssertionResult.swift",
        "Internal/ExpectedTextValue.swift",
        "LocatorAssertions.swift",
        "PageAssertions.swift",
        "PlaywrightTrait.swift"
      ],
      "target_dependencies" : [
        "Playwright"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PlaywrightDriverPlugin",
      "module_type" : "PluginTarget",
      "name" : "PlaywrightDriverPlugin",
      "path" : "plugin",
      "plugin_capability" : {
        "intent" : {
          "description" : "Download the Playwright driver for browser automation",
          "type" : "custom",
          "verb" : "install-playwright"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "Downloads the Playwright driver",
            "type" : "writeToPackageDirectory"
          },
          {
            "network_scope" : {
              "all" : {
                "ports" : [
                  443
                ]
              }
            },
            "reason" : "Downloads the Playwright driver from cdn.playwright.dev",
            "type" : "allowNetworkConnections"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "PlaywrightDriverPlugin"
      ],
      "sources" : [
        "PlaywrightDriverPlugin.swift"
      ],
      "target_dependencies" : [
        "DownloadDriver"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "Playwright",
      "module_type" : "SwiftTarget",
      "name" : "Playwright",
      "path" : "src/core",
      "product_memberships" : [
        "Playwright",
        "PlaywrightTesting"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/src/core/drivers",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "API/ActionOptions.swift",
        "API/Artifact.swift",
        "API/Browser.swift",
        "API/BrowserContext.swift",
        "API/BrowserContextOptions.swift",
        "API/BrowserType.swift",
        "API/ConsoleMessage.swift",
        "API/Dialog.swift",
        "API/Download.swift",
        "API/ElementHandle.swift",
        "API/EvaluateSerializer.swift",
        "API/Frame.swift",
        "API/Keyboard.swift",
        "API/Locator.swift",
        "API/LocatorFactory.swift",
        "API/Mouse.swift",
        "API/NavigationOptions.swift",
        "API/Page.swift",
        "API/Request.swift",
        "API/Response.swift",
        "API/Route.swift",
        "API/Selectors.swift",
        "Error.swift",
        "Extensions/Array+RemoveByIdentity.swift",
        "Extensions/Duration+milliseconds.swift",
        "Playwright.swift",
        "Protocol/ChannelOwner.swift",
        "Protocol/CloseGuard.swift",
        "Protocol/Connection.swift",
        "Protocol/Driver.swift",
        "Protocol/ObjectFactory.swift",
        "Protocol/PlaywrightServer.swift",
        "Protocol/Transport.swift",
        "Support/helpers.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DownloadDriver",
      "module_type" : "SwiftTarget",
      "name" : "DownloadDriver",
      "path" : "cli",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "PlaywrightDriverPlugin",
        "DownloadDriver"
      ],
      "sources" : [
        "DownloadDriver.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.1"
}
Done.