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 PopTimer, reference 1.0.1 (866789), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 14:13:28 UTC.

Swift 6 data race errors: 0

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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ptsochantaris/pop-timer.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ptsochantaris/pop-timer
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 866789b Corrections for callbacks
Cloned https://github.com/ptsochantaris/pop-timer.git
Revision (git rev-parse @):
866789ba524adc477ad3eb0ad41c929f7092dac7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ptsochantaris/pop-timer.git at 1.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": "pop-timer",
      "name": "PopTimer",
      "url": "https://github.com/ptsochantaris/pop-timer.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/pop-timer",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ptsochantaris/pop-timer.git
[1/65] Fetching pop-timer
Fetched https://github.com/ptsochantaris/pop-timer.git from cache (0.66s)
Creating working copy for https://github.com/ptsochantaris/pop-timer.git
Working copy of https://github.com/ptsochantaris/pop-timer.git resolved at 1.0.1 (866789b)
warning: '.resolve-product-dependencies': dependency 'pop-timer' 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/ptsochantaris/pop-timer.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/4] Emitting module PopTimer
[4/4] Compiling PopTimer PopTimer.swift
/Users/admin/builder/spi-builder-workspace/Sources/PopTimer/PopTimer.swift:34:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
32 |             .sink {
33 |                 if $0 {
34 |                     Task {
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
35 |                         await callback()
   |                               `- note: closure captures 'callback' which is accessible to code in the current task
36 |                     }
37 |                 }
Build complete! (6.39s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PopTimer",
  "name" : "PopTimer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "PopTimer",
      "targets" : [
        "PopTimer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PopTimerTests",
      "module_type" : "SwiftTarget",
      "name" : "PopTimerTests",
      "path" : "Tests/PopTimerTests",
      "sources" : [
        "PopTimerTests.swift"
      ],
      "target_dependencies" : [
        "PopTimer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PopTimer",
      "module_type" : "SwiftTarget",
      "name" : "PopTimer",
      "path" : "Sources/PopTimer",
      "product_memberships" : [
        "PopTimer"
      ],
      "sources" : [
        "PopTimer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/ptsochantaris/pop-timer/1.0.1
Repository:               ptsochantaris/pop-timer
Swift version used:       6.0
Target:                   PopTimer
Extracting symbol information for 'PopTimer'...
Finished extracting symbol information for 'PopTimer'. (2.51s)
Building documentation for 'PopTimer'...
Finished building documentation for 'PopTimer' (0.11s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/ptsochantaris/pop-timer/1.0.1
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.29s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (2.51s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.43s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.67s)
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
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
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling Snippets Snippet.swift
[7/53] Compiling SymbolKit Relationship.swift
[8/53] Compiling SymbolKit RelationshipKind.swift
[9/53] Compiling SymbolKit SourceOrigin.swift
[10/53] Compiling SymbolKit GenericConstraints.swift
[11/53] Compiling SymbolKit Swift.swift
[12/57] Compiling SymbolKit Mixin+Equals.swift
[13/57] Compiling SymbolKit Mixin+Hash.swift
[14/57] Compiling SymbolKit Mixin.swift
[15/57] Compiling SymbolKit LineList.swift
[16/57] Compiling SymbolKit Position.swift
[17/57] Compiling SymbolKit SemanticVersion.swift
[18/57] Compiling SymbolKit AccessControl.swift
[19/57] Compiling SymbolKit Availability.swift
[20/57] Compiling SymbolKit AvailabilityItem.swift
[21/57] Compiling SymbolKit Domain.swift
[22/57] Emitting module SymbolKit
[23/57] Emitting module Snippets
[24/57] Compiling Snippets SnippetParser.swift
[25/57] Compiling SymbolKit DeclarationFragments.swift
[26/57] Compiling SymbolKit Fragment.swift
[27/57] Compiling SymbolKit FragmentKind.swift
[28/57] Compiling SymbolKit FunctionParameter.swift
[29/57] Compiling SymbolKit FunctionSignature.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 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 Names.swift
[44/57] Compiling SymbolKit SPI.swift
[45/57] Compiling SymbolKit Snippet.swift
[46/57] Compiling SymbolKit Extension.swift
[47/57] Compiling SymbolKit Identifier.swift
[48/57] Compiling SymbolKit KindIdentifier.swift
[49/57] Compiling SymbolKit Location.swift
[50/57] Compiling SymbolKit Mutability.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.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.95s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/3] Compiling PopTimer PopTimer.swift
[3/3] Emitting module PopTimer
Build of target: 'PopTimer' complete! (0.48s)
      64
2	/Users/admin/builder/spi-builder-workspace/.docs/ptsochantaris/pop-timer/1.0.1
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/ptsochantaris/pop-timer/1.0.1
File count: 64
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-ptsochantaris-pop-timer-1.0.1-e12d4b3b.zip to s3://spi-docs-inbox/prod-ptsochantaris-pop-timer-1.0.1-e12d4b3b.zip
Copying... [20%]
Copying... [40%]
Copying... [60%]
Copying... [80%]
Copying... [100%]
Copying... [100%]
Done.