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 1.1.0 (0c62c5), with Swift 6.0 for macOS (SPM) on 8 Nov 2024 17:47:17 UTC.

Swift 6 data race errors: 1

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

Build Log

========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-service-context.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apple/swift-service-context
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 0c62c5b Update package to support Swift 6.0; Drop older than 5.7 (#44)
Cloned https://github.com/apple/swift-service-context.git
Revision (git rev-parse @):
0c62c5b4601d6c125050b5c3a97f20cce881d32b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-service-context.git at 1.1.0
Fetching https://github.com/apple/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.28s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.65s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3168] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.27s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.70s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/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
========================================
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/979] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.93s)
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 1.1.0 (0c62c5b)
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.0
Building package at path:  $PWD
https://github.com/apple/swift-service-context.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
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/8] Compiling ServiceContextModule ServiceContextKey.swift
[7/8] Emitting module ServiceContextModule
/Users/admin/builder/spi-builder-workspace/Sources/ServiceContextModule/ServiceContext.swift:259:24: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
257 |     @_disfavoredOverload
258 |     @_unsafeInheritExecutor // Deprecated trick to avoid executor hop here; 6.0 introduces the proper replacement: #isolation
259 |     public static func withValue<T>(_ value: ServiceContext?, operation: () async throws -> T) async rethrows -> T {
    |                        `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
260 |         try await ServiceContext.$current.withValue(value, operation: operation)
261 |     }
[8/8] Compiling ServiceContextModule ServiceContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/ServiceContextModule/ServiceContext.swift:259:24: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
257 |     @_disfavoredOverload
258 |     @_unsafeInheritExecutor // Deprecated trick to avoid executor hop here; 6.0 introduces the proper replacement: #isolation
259 |     public static func withValue<T>(_ value: ServiceContext?, operation: () async throws -> T) async rethrows -> T {
    |                        `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
260 |         try await ServiceContext.$current.withValue(value, operation: operation)
261 |     }
[9/10] Emitting module InstrumentationBaggage
[10/10] Compiling InstrumentationBaggage CompatibilityShims.swift
Build complete! (15.05s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "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.7"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/apple/swift-service-context/1.1.0
Repository:               apple/swift-service-context
Swift version used:       6.0
        .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
Target:                   ServiceContextModule
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            88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'ServiceContextModule'...
Finished extracting symbol information for 'ServiceContextModule'. (0.51s)
Building documentation for 'ServiceContextModule'...
warning: Parameter 'file' is missing documentation
   --> ../ServiceContext.swift:127:117-127:117
125 |     ///
126 |     /// - Parameters:
127 +     ///   - reason: Informational reason for developers, why a placeholder context was used instead of a proper one,
    |                                                                                                                     ╰─suggestion: Document 'file' parameter
128 |     /// - Returns: Empty "to-do" baggage which should be eventually replaced with a carried through one, or `topLevel`.
129 |     public static func TODO(
warning: Parameter 'line' is missing documentation
   --> ../ServiceContext.swift:127:117-127:117
125 |     ///
126 |     /// - Parameters:
127 +     ///   - reason: Informational reason for developers, why a placeholder context was used instead of a proper one,
    |                                                                                                                     ╰─suggestion: Document 'line' parameter
128 |     /// - Returns: Empty "to-do" baggage which should be eventually replaced with a carried through one, or `topLevel`.
129 |     public static func TODO(
warning: Parameter 'function' is missing documentation
   --> ../ServiceContext.swift:127:117-127:117
125 |     ///
126 |     /// - Parameters:
127 +     ///   - reason: Informational reason for developers, why a placeholder context was used instead of a proper one,
    |                                                                                                                     ╰─suggestion: Document 'function' parameter
128 |     /// - Returns: Empty "to-do" baggage which should be eventually replaced with a carried through one, or `topLevel`.
129 |     public static func TODO(Finished building documentation for 'ServiceContextModule' (0.13s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/apple/swift-service-context/1.1.0
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit Names.swift
[8/57] Compiling SymbolKit SPI.swift
[9/57] Compiling SymbolKit Snippet.swift
[10/57] Compiling SymbolKit Extension.swift
[11/57] Compiling SymbolKit GenericConstraint.swift
[12/57] Compiling SymbolKit GenericParameter.swift
[13/57] Compiling SymbolKit Generics.swift
[14/57] Compiling SymbolKit Namespace.swift
[15/57] Compiling SymbolKit SourceRange.swift
[16/57] Compiling SymbolKit Metadata.swift
[17/57] Compiling SymbolKit Module.swift
[18/57] Compiling SymbolKit OperatingSystem.swift
[19/57] Compiling SymbolKit Platform.swift
[20/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[21/57] Compiling SymbolKit UnifiedSymbol.swift
[22/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[23/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[24/57] Compiling SymbolKit Identifier.swift
[25/57] Compiling SymbolKit KindIdentifier.swift
[26/57] Compiling SymbolKit Location.swift
[27/57] Compiling SymbolKit Mutability.swift
[28/57] Compiling SymbolKit Relationship.swift
[29/57] Compiling SymbolKit RelationshipKind.swift
[30/57] Compiling SymbolKit SourceOrigin.swift
[31/57] Compiling SymbolKit GenericConstraints.swift
[32/57] Compiling SymbolKit Swift.swift
[33/57] Compiling SymbolKit Mixin+Equals.swift
[34/57] Compiling SymbolKit Mixin+Hash.swift
[35/57] Compiling SymbolKit Mixin.swift
[36/57] Compiling SymbolKit LineList.swift
[37/57] Compiling SymbolKit Position.swift
[38/57] Compiling SymbolKit DeclarationFragments.swift
[39/57] Compiling SymbolKit Fragment.swift
[40/57] Compiling SymbolKit FragmentKind.swift
[41/57] Compiling SymbolKit FunctionParameter.swift
[42/57] Compiling SymbolKit FunctionSignature.swift
[43/57] Compiling SymbolKit SemanticVersion.swift
[44/57] Compiling SymbolKit AccessControl.swift
[45/57] Compiling SymbolKit Availability.swift
[46/57] Compiling SymbolKit AvailabilityItem.swift
[47/57] Compiling SymbolKit Domain.swift
[48/57] Compiling SymbolKit Symbol.swift
[49/57] Compiling SymbolKit SymbolKind.swift
[50/57] Compiling SymbolKit SymbolGraph.swift
[51/57] Compiling SymbolKit GraphCollector.swift
[52/57] Emitting module Snippets
[53/57] Compiling Snippets Snippet.swift
[54/57] Compiling Snippets SnippetParser.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! (6.31s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/4] Compiling ServiceContextModule ServiceContextKey.swift
[3/4] Emitting module ServiceContextModule
/Users/admin/builder/spi-builder-workspace/Sources/ServiceContextModule/ServiceContext.swift:259:24: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
257 |     @_disfavoredOverload
258 |     @_unsafeInheritExecutor // Deprecated trick to avoid executor hop here; 6.0 introduces the proper replacement: #isolation
259 |     public static func withValue<T>(_ value: ServiceContext?, operation: () async throws -> T) async rethrows -> T {
    |                        `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
260 |         try await ServiceContext.$current.withValue(value, operation: operation)
261 |     }
[4/4] Compiling ServiceContextModule ServiceContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/ServiceContextModule/ServiceContext.swift:259:24: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
257 |     @_disfavoredOverload
258 |     @_unsafeInheritExecutor // Deprecated trick to avoid executor hop here; 6.0 introduces the proper replacement: #isolation
259 |     public static func withValue<T>(_ value: ServiceContext?, operation: () async throws -> T) async rethrows -> T {
    |                        `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
260 |         try await ServiceContext.$current.withValue(value, operation: operation)
261 |     }
Build of target: 'ServiceContextModule' complete! (0.41s)
     106
2	/Users/admin/builder/spi-builder-workspace/.docs/apple/swift-service-context/1.1.0
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/apple/swift-service-context/1.1.0
File count: 106
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-apple-swift-service-context-1.1.0-4aabf0f4.zip to s3://spi-docs-inbox/prod-apple-swift-service-context-1.1.0-4aabf0f4.zip
Copying... [16%]
Copying... [33%]
Copying... [49%]
Copying... [66%]
Copying... [82%]
Copying... [99%]
Copying... [100%]
Done.