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 swift-log, reference main (81d3d0), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 22:39:27 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.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-log.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apple/swift-log
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 81d3d07 Enable Swift 6.1 jobs in CI (#359)
Cloned https://github.com/apple/swift-log.git
Revision (git rev-parse @):
81d3d07f1439ddcf3df61b2128857ab7532a5804
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-log.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": "swift-log",
      "name": "swift-log",
      "url": "https://github.com/apple/swift-log.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.59s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at main (81d3d07)
warning: '.resolve-product-dependencies': dependency 'swift-log' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/apple/swift-log.git
https://github.com/apple/swift-log.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-log",
  "name" : "swift-log",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Logging",
      "targets" : [
        "Logging"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LoggingTests",
      "module_type" : "SwiftTarget",
      "name" : "LoggingTests",
      "path" : "Tests/LoggingTests",
      "sources" : [
        "CompatibilityTest.swift",
        "GlobalLoggingTest.swift",
        "LocalLoggingTest.swift",
        "LoggingTest.swift",
        "MDCTest.swift",
        "MetadataProviderTest.swift",
        "SubDirectoryOfLoggingTests/EmitALogFromSubDirectory.swift",
        "TestLogger.swift",
        "TestSendable.swift"
      ],
      "target_dependencies" : [
        "Logging"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Logging",
      "module_type" : "SwiftTarget",
      "name" : "Logging",
      "path" : "Sources/Logging",
      "product_memberships" : [
        "Logging"
      ],
      "sources" : [
        "Locks.swift",
        "LogHandler.swift",
        "Logging.swift",
        "MetadataProvider.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/7] Compiling Logging LogHandler.swift
[4/7] Compiling Logging Locks.swift
[5/7] Compiling Logging MetadataProvider.swift
[6/7] Compiling Logging Logging.swift
[7/7] Emitting module Logging
Build complete! (2.31s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-log",
  "name" : "swift-log",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Logging",
      "targets" : [
        "Logging"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LoggingTests",
      "module_type" : "SwiftTarget",
      "name" : "LoggingTests",
      "path" : "Tests/LoggingTests",
      "sources" : [
        "CompatibilityTest.swift",
        "GlobalLoggingTest.swift",
        "LocalLoggingTest.swift",
        "LoggingTest.swift",
        "MDCTest.swift",
        "MetadataProviderTest.swift",
        "SubDirectoryOfLoggingTests/EmitALogFromSubDirectory.swift",
        "TestLogger.swift",
        "TestSendable.swift"
      ],
      "target_dependencies" : [
        "Logging"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Logging",
      "module_type" : "SwiftTarget",
      "name" : "Logging",
      "path" : "Sources/Logging",
      "product_memberships" : [
        "Logging"
      ],
      "sources" : [
        "Locks.swift",
        "LogHandler.swift",
        "Logging.swift",
        "MetadataProvider.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/apple/swift-log/main
Repository:               apple/swift-log
Swift version used:       6.1
Target:                   Logging
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
 * branch            release/6.2 -> FETCH_HEAD
 * [new branch]      release/6.2 -> origin/release/6.2
HEAD is now at 8799b69 Update the artifact
Cloned https://github.com/swiftlang/swift-docc-render-artifact
Extracting symbol information for 'Logging'...
Finished extracting symbol information for 'Logging'. (1.65s)
Building documentation for 'Logging'...
Finished building documentation for 'Logging' (0.18s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/apple/swift-log/main
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.49s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (1.24s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.97s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.60s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit SourceRange.swift
[8/57] Compiling SymbolKit Metadata.swift
[9/57] Compiling SymbolKit Module.swift
[10/57] Compiling SymbolKit OperatingSystem.swift
[11/57] Compiling SymbolKit Platform.swift
[12/57] Compiling SymbolKit Identifier.swift
[13/57] Compiling SymbolKit KindIdentifier.swift
[14/57] Compiling SymbolKit Location.swift
[15/57] Compiling SymbolKit Mutability.swift
[16/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[17/57] Compiling SymbolKit UnifiedSymbol.swift
[18/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[19/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[20/57] Compiling SymbolKit Relationship.swift
[21/57] Compiling SymbolKit RelationshipKind.swift
[22/57] Compiling SymbolKit SourceOrigin.swift
[23/57] Compiling SymbolKit GenericConstraints.swift
[24/57] Compiling SymbolKit Swift.swift
[25/57] Compiling SymbolKit Mixin+Equals.swift
[26/57] Compiling SymbolKit Mixin+Hash.swift
[27/57] Compiling SymbolKit Mixin.swift
[28/57] Compiling SymbolKit LineList.swift
[29/57] Compiling SymbolKit Position.swift
[30/57] Compiling SymbolKit GenericConstraint.swift
[31/57] Compiling SymbolKit GenericParameter.swift
[32/57] Compiling SymbolKit Generics.swift
[33/57] Compiling SymbolKit Namespace.swift
[34/57] Compiling SymbolKit Symbol.swift
[35/57] Compiling SymbolKit SymbolKind.swift
[36/57] Compiling SymbolKit SymbolGraph.swift
[37/57] Compiling SymbolKit GraphCollector.swift
[38/57] Compiling SymbolKit SemanticVersion.swift
[39/57] Compiling SymbolKit AccessControl.swift
[40/57] Compiling SymbolKit Availability.swift
[41/57] Compiling SymbolKit AvailabilityItem.swift
[42/57] Compiling SymbolKit Domain.swift
[43/57] Compiling SymbolKit Names.swift
[44/57] Compiling SymbolKit SPI.swift
[45/57] Compiling SymbolKit Snippet.swift
[46/57] Compiling SymbolKit Extension.swift
[47/57] Compiling SymbolKit DeclarationFragments.swift
[48/57] Compiling SymbolKit Fragment.swift
[49/57] Compiling SymbolKit FragmentKind.swift
[50/57] Compiling SymbolKit FunctionParameter.swift
[51/57] Compiling SymbolKit FunctionSignature.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Emitting module Snippets
[54/57] Compiling Snippets Snippet.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.97s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/6] Compiling Logging Logging.swift
[3/6] Compiling Logging Locks.swift
[4/6] Compiling Logging LogHandler.swift
[5/6] Compiling Logging MetadataProvider.swift
[6/6] Emitting module Logging
Build of target: 'Logging' complete! (0.76s)
     334
4	/Users/admin/builder/spi-builder-workspace/.docs/apple/swift-log/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/apple/swift-log/main
File count: 334
Doc size:   4.0MB
Preparing doc bundle ...
Uploading prod-apple-swift-log-main-9d9efaf0.zip to s3://spi-docs-inbox/prod-apple-swift-log-main-9d9efaf0.zip
Copying... [19%]
Copying... [28%]
Copying... [37%]
Copying... [46%]
Copying... [56%]
Copying... [65%]
Copying... [74%]
Copying... [84%]
Copying... [93%]
Copying... [100%]
Done.