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-service-context, reference main (de5e3c), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 12:09:56 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/apple/swift-service-context.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apple/swift-service-context
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at de5e3c3 Update README.md (#62)
Cloned https://github.com/apple/swift-service-context.git
Revision (git rev-parse @):
de5e3c35f30fc3f446e4c5f6f3caf2505ef3298b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-service-context.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-service-context",
      "name": "swift-service-context",
      "url": "https://github.com/apple/swift-service-context.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-service-context",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/apple/swift-service-context.git
[1/1063] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.84s)
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at main (de5e3c3)
warning: '.resolve-product-dependencies': dependency 'swift-service-context' 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-service-context.git
https://github.com/apple/swift-service-context.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-service-context",
  "name" : "swift-service-context",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ServiceContextModule",
      "targets" : [
        "ServiceContextModule"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "InstrumentationBaggage",
      "targets" : [
        "InstrumentationBaggage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ServiceContextTests",
      "module_type" : "SwiftTarget",
      "name" : "ServiceContextTests",
      "path" : "Tests/ServiceContextTests",
      "sources" : [
        "ServiceContextTests.swift"
      ],
      "target_dependencies" : [
        "ServiceContextModule"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ServiceContextModule",
      "module_type" : "SwiftTarget",
      "name" : "ServiceContextModule",
      "path" : "Sources/ServiceContextModule",
      "product_memberships" : [
        "ServiceContextModule",
        "InstrumentationBaggage"
      ],
      "sources" : [
        "ServiceContext.swift",
        "ServiceContextKey.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "InstrumentationBaggage",
      "module_type" : "SwiftTarget",
      "name" : "InstrumentationBaggage",
      "path" : "Sources/InstrumentationBaggage",
      "product_memberships" : [
        "InstrumentationBaggage"
      ],
      "sources" : [
        "CompatibilityShims.swift"
      ],
      "target_dependencies" : [
        "ServiceContextModule"
      ],
      "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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/6] Compiling ServiceContextModule ServiceContextKey.swift
[5/6] Compiling ServiceContextModule ServiceContext.swift
[6/6] Emitting module ServiceContextModule
[7/8] Emitting module InstrumentationBaggage
[8/8] Compiling InstrumentationBaggage CompatibilityShims.swift
Build complete! (1.05s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-service-context",
  "name" : "swift-service-context",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ServiceContextModule",
      "targets" : [
        "ServiceContextModule"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "InstrumentationBaggage",
      "targets" : [
        "InstrumentationBaggage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ServiceContextTests",
      "module_type" : "SwiftTarget",
      "name" : "ServiceContextTests",
      "path" : "Tests/ServiceContextTests",
      "sources" : [
        "ServiceContextTests.swift"
      ],
      "target_dependencies" : [
        "ServiceContextModule"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ServiceContextModule",
      "module_type" : "SwiftTarget",
      "name" : "ServiceContextModule",
      "path" : "Sources/ServiceContextModule",
      "product_memberships" : [
        "ServiceContextModule",
        "InstrumentationBaggage"
      ],
      "sources" : [
        "ServiceContext.swift",
        "ServiceContextKey.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "InstrumentationBaggage",
      "module_type" : "SwiftTarget",
      "name" : "InstrumentationBaggage",
      "path" : "Sources/InstrumentationBaggage",
      "product_memberships" : [
        "InstrumentationBaggage"
      ],
      "sources" : [
        "CompatibilityShims.swift"
      ],
      "target_dependencies" : [
        "ServiceContextModule"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/apple/swift-service-context/main
Repository:               apple/swift-service-context
Swift version used:       6.1
Target:                   ServiceContextModule
Extracting symbol information for 'ServiceContextModule'...
Finished extracting symbol information for 'ServiceContextModule'. (0.51s)
Building documentation for 'ServiceContextModule'...
Finished building documentation for 'ServiceContextModule' (0.11s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/apple/swift-service-context/main
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.44s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (1.47s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.89s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.54s)
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
[1/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit SemanticVersion.swift
[8/57] Compiling SymbolKit AccessControl.swift
[9/57] Compiling SymbolKit Availability.swift
[10/57] Compiling SymbolKit AvailabilityItem.swift
[11/57] Compiling SymbolKit Domain.swift
[12/57] Compiling SymbolKit DeclarationFragments.swift
[13/57] Compiling SymbolKit Fragment.swift
[14/57] Compiling SymbolKit FragmentKind.swift
[15/57] Compiling SymbolKit FunctionParameter.swift
[16/57] Compiling SymbolKit FunctionSignature.swift
[17/57] Compiling SymbolKit Names.swift
[18/57] Compiling SymbolKit SPI.swift
[19/57] Compiling SymbolKit Snippet.swift
[20/57] Compiling SymbolKit Extension.swift
[21/57] Compiling SymbolKit GenericConstraint.swift
[22/57] Compiling SymbolKit GenericParameter.swift
[23/57] Compiling SymbolKit Generics.swift
[24/57] Compiling SymbolKit Namespace.swift
[25/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[26/57] Compiling SymbolKit UnifiedSymbol.swift
[27/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[28/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[29/57] Compiling SymbolKit Relationship.swift
[30/57] Compiling SymbolKit RelationshipKind.swift
[31/57] Compiling SymbolKit SourceOrigin.swift
[32/57] Compiling SymbolKit GenericConstraints.swift
[33/57] Compiling SymbolKit Swift.swift
[34/57] Compiling SymbolKit SourceRange.swift
[35/57] Compiling SymbolKit Metadata.swift
[36/57] Compiling SymbolKit Module.swift
[37/57] Compiling SymbolKit OperatingSystem.swift
[38/57] Compiling SymbolKit Platform.swift
[39/57] Compiling SymbolKit Symbol.swift
[40/57] Compiling SymbolKit SymbolKind.swift
[41/57] Compiling SymbolKit SymbolGraph.swift
[42/57] Compiling SymbolKit GraphCollector.swift
[43/57] Compiling SymbolKit Mixin+Equals.swift
[44/57] Compiling SymbolKit Mixin+Hash.swift
[45/57] Compiling SymbolKit Mixin.swift
[46/57] Compiling SymbolKit LineList.swift
[47/57] Compiling SymbolKit Position.swift
[48/57] Compiling SymbolKit Identifier.swift
[49/57] Compiling SymbolKit KindIdentifier.swift
[50/57] Compiling SymbolKit Location.swift
[51/57] Compiling SymbolKit Mutability.swift
[52/57] Compiling Snippets Snippet.swift
[53/57] Compiling Snippets SnippetParser.swift
[54/57] Emitting module Snippets
[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! (6.10s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/4] Emitting module ServiceContextModule
[3/4] Compiling ServiceContextModule ServiceContextKey.swift
[4/4] Compiling ServiceContextModule ServiceContext.swift
Build of target: 'ServiceContextModule' complete! (0.43s)
     108
2	/Users/admin/builder/spi-builder-workspace/.docs/apple/swift-service-context/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/apple/swift-service-context/main
File count: 108
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-apple-swift-service-context-main-73bf96e5.zip to s3://spi-docs-inbox/prod-apple-swift-service-context-main-73bf96e5.zip
Copying... [16%]
Copying... [33%]
Copying... [49%]
Copying... [66%]
Copying... [82%]
Copying... [98%]
Copying... [100%]
Done.