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-retry, reference main (df9d7b), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 04:13:48 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/fumoboy007/swift-retry.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fumoboy007/swift-retry
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at df9d7b1 Log the full error instead of only the error type.
Cloned https://github.com/fumoboy007/swift-retry.git
Revision (git rev-parse @):
df9d7b185d2e433147ec0083a73c257e665eea0d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/fumoboy007/swift-retry.git at main
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2038] Fetching swift-docc-plugin
[42/5698] Fetching swift-docc-plugin, swift-log
[2569/8851] Fetching swift-docc-plugin, swift-log, swift-docc-symbolkit
Fetched https://github.com/apple/swift-log.git from cache (1.42s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.42s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.42s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (3.43s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.3.0 (0.66s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.93s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
========================================
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-retry",
      "name": "swift-retry",
      "url": "https://github.com/fumoboy007/swift-retry.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-retry",
      "dependencies": [
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log.git",
          "version": "1.6.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/fumoboy007/swift-retry.git
[1/229] Fetching swift-retry
Fetched https://github.com/fumoboy007/swift-retry.git from cache (0.80s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.48s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.46s)
Creating working copy for https://github.com/fumoboy007/swift-retry.git
Working copy of https://github.com/fumoboy007/swift-retry.git resolved at main (df9d7b1)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
warning: '.resolve-product-dependencies': dependency 'swift-retry' is not used by any target
Found 1 product dependencies
  - swift-log
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/fumoboy007/swift-retry.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/32] Write sources
[13/32] Write swift-version--7754E27361AE5C74.txt
[15/37] Compiling Logging MetadataProvider.swift
[16/37] Emitting module Logging
[17/37] Compiling Logging LogHandler.swift
[18/37] Compiling Logging Locks.swift
[19/37] Compiling Logging Logging.swift
[20/52] Compiling Retry NotRetryable.swift
[21/52] Compiling Retry Retryable.swift
[22/53] Compiling Retry RetryableRequest.swift
[23/53] Compiling Retry Backoff.swift
[24/53] Compiling Retry BackoffAlgorithm.swift
[25/53] Emitting module Retry
[26/53] Compiling Retry Retry.swift
[27/53] Compiling Retry RetryConfiguration.swift
[28/53] Compiling Retry Logger+RetryMetadataKey.swift
[29/53] Compiling Retry RecoveryAction.swift
[30/53] Compiling Retry Error+OriginalError.swift
[31/53] Compiling Retry RandomNumberGenerator.swift
[32/53] Compiling Retry StandardRandomNumberGenerator.swift
[33/53] Compiling Retry ConstantBackoff.swift
[34/53] Compiling Retry FullJitterExponentialBackoff.swift
[35/53] Compiling Retry RetryableRequest+SafeRetry.swift
[36/71] Emitting module RetryableRequest
[37/71] Compiling RetryableRequest RetryableRequest.swift
[37/71] Write Objects.LinkFileList
[39/71] Emitting module EnableOrDisableRetriesForSpecificErrorCases
[40/71] Compiling EnableOrDisableRetriesForSpecificErrorCases EnableOrDisableRetriesForSpecificErrorCases.swift
[40/71] Write Objects.LinkFileList
[42/71] Compiling BasicUsage BasicUsage.swift
[43/71] Compiling CustomBackoffAlgorithm CustomBackoffAlgorithm.swift
[44/71] Emitting module CustomBackoffAlgorithm
[45/71] Compiling ConfigureRetryBehavior ConfigureRetryBehavior.swift
[45/71] Write Objects.LinkFileList
[47/71] Emitting module ConfigureRetryBehavior
[48/71] Emitting module BasicUsage
[48/71] Write Objects.LinkFileList
[51/71] Emitting module EnforceMinDelay
[52/71] Compiling EnforceMinDelay EnforceMinDelay.swift
[52/71] Write Objects.LinkFileList
[54/71] Emitting module EnableOrDisableRetriesForSpecificCodePaths
[55/71] Compiling EnableOrDisableRetriesForSpecificCodePaths EnableOrDisableRetriesForSpecificCodePaths.swift
[55/71] Write Objects.LinkFileList
[57/71] Emitting module ReuseRetryConfiguration
[58/71] Compiling ReuseRetryConfiguration ReuseRetryConfiguration.swift
[58/71] Write Objects.LinkFileList
[59/71] Linking RetryableRequest
[60/71] Linking EnableOrDisableRetriesForSpecificErrorCases
[61/71] Linking ConfigureRetryBehavior
[62/71] Linking BasicUsage
[63/71] Linking EnforceMinDelay
[64/71] Linking CustomBackoffAlgorithm
[65/71] Linking ReuseRetryConfiguration
[66/71] Linking EnableOrDisableRetriesForSpecificCodePaths
[68/71] Emitting module UseFakeClockType
[69/71] Compiling UseFakeClockType UseFakeClockType.swift
[69/71] Write Objects.LinkFileList
[70/71] Linking UseFakeClockType
Build complete! (33.78s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "swift-retry",
  "name" : "swift-retry",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "16.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "DMRetry",
      "targets" : [
        "Retry"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "EnableOrDisableRetriesForSpecificCodePaths",
      "targets" : [
        "EnableOrDisableRetriesForSpecificCodePaths"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "EnableOrDisableRetriesForSpecificErrorCases",
      "targets" : [
        "EnableOrDisableRetriesForSpecificErrorCases"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "ConfigureRetryBehavior",
      "targets" : [
        "ConfigureRetryBehavior"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "ReuseRetryConfiguration",
      "targets" : [
        "ReuseRetryConfiguration"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "BasicUsage",
      "targets" : [
        "BasicUsage"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "CustomBackoffAlgorithm",
      "targets" : [
        "CustomBackoffAlgorithm"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "RetryableRequest",
      "targets" : [
        "RetryableRequest"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "EnforceMinDelay",
      "targets" : [
        "EnforceMinDelay"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "UseFakeClockType",
      "targets" : [
        "UseFakeClockType"
      ],
      "type" : {
        "snippet" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RetryTests",
      "module_type" : "SwiftTarget",
      "name" : "RetryTests",
      "path" : "Tests/RetryTests",
      "sources" : [
        "ConstantBackoffTests.swift",
        "Fakes/BackoffAlgorithmFake.swift",
        "Fakes/ClockFake.swift",
        "Fakes/ErrorFake.swift",
        "Fakes/RandomNumberGeneratorFake.swift",
        "FullJitterExponentialBackoffTests.swift",
        "RetryTests.swift"
      ],
      "target_dependencies" : [
        "Retry"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Retry",
      "module_type" : "SwiftTarget",
      "name" : "Retry",
      "path" : "Sources/Retry",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "DMRetry",
        "EnableOrDisableRetriesForSpecificCodePaths",
        "EnableOrDisableRetriesForSpecificErrorCases",
        "ConfigureRetryBehavior",
        "ReuseRetryConfiguration",
        "BasicUsage",
        "CustomBackoffAlgorithm",
        "RetryableRequest",
        "EnforceMinDelay",
        "UseFakeClockType"
      ],
      "sources" : [
        "Backoff/Algorithms/ConstantBackoff.swift",
        "Backoff/Algorithms/FullJitterExponentialBackoff.swift",
        "Backoff/Algorithms/Random Number Generator/RandomNumberGenerator.swift",
        "Backoff/Algorithms/Random Number Generator/StandardRandomNumberGenerator.swift",
        "Backoff/Backoff.swift",
        "Backoff/BackoffAlgorithm.swift",
        "Logger+RetryMetadataKey.swift",
        "RecoveryAction.swift",
        "Retry.swift",
        "RetryConfiguration.swift",
        "Retryable/Error+OriginalError.swift",
        "Retryable/NotRetryable.swift",
        "Retryable/Retryable.swift",
        "RetryableRequest/RetryableRequest+SafeRetry.swift",
        "RetryableRequest/RetryableRequest.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "EnableOrDisableRetriesForSpecificCodePaths",
      "module_type" : "SwiftTarget",
      "name" : "EnableOrDisableRetriesForSpecificCodePaths",
      "path" : "Snippets/Common Use Cases",
      "product_memberships" : [
        "EnableOrDisableRetriesForSpecificCodePaths"
      ],
      "sources" : [
        "EnableOrDisableRetriesForSpecificCodePaths.swift"
      ],
      "target_dependencies" : [
        "Retry"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "EnableOrDisableRetriesForSpecificErrorCases",
      "module_type" : "SwiftTarget",
      "name" : "EnableOrDisableRetriesForSpecificErrorCases",
      "path" : "Snippets/Common Use Cases",
      "product_memberships" : [
        "EnableOrDisableRetriesForSpecificErrorCases"
      ],
      "sources" : [
        "EnableOrDisableRetriesForSpecificErrorCases.swift"
      ],
      "target_dependencies" : [
        "Retry"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "ConfigureRetryBehavior",
      "module_type" : "SwiftTarget",
      "name" : "ConfigureRetryBehavior",
      "path" : "Snippets/Common Use Cases",
      "product_memberships" : [
        "ConfigureRetryBehavior"
      ],
      "sources" : [
        "ConfigureRetryBehavior.swift"
      ],
      "target_dependencies" : [
        "Retry"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "ReuseRetryConfiguration",
      "module_type" : "SwiftTarget",
      "name" : "ReuseRetryConfiguration",
      "path" : "Snippets/Common Use Cases",
      "product_memberships" : [
        "ReuseRetryConfiguration"
      ],
      "sources" : [
        "ReuseRetryConfiguration.swift"
      ],
      "target_dependencies" : [
        "Retry"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "BasicUsage",
      "module_type" : "SwiftTarget",
      "name" : "BasicUsage",
      "path" : "Snippets/Common Use Cases",
      "product_memberships" : [
        "BasicUsage"
      ],
      "sources" : [
        "BasicUsage.swift"
      ],
      "target_dependencies" : [
        "Retry"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "CustomBackoffAlgorithm",
      "module_type" : "SwiftTarget",
      "name" : "CustomBackoffAlgorithm",
      "path" : "Snippets/Advanced Use Cases",
      "product_memberships" : [
        "CustomBackoffAlgorithm"
      ],
      "sources" : [
        "CustomBackoffAlgorithm.swift"
      ],
      "target_dependencies" : [
        "Retry"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "RetryableRequest",
      "module_type" : "SwiftTarget",
      "name" : "RetryableRequest",
      "path" : "Snippets/Advanced Use Cases",
      "product_memberships" : [
        "RetryableRequest"
      ],
      "sources" : [
        "RetryableRequest.swift"
      ],
      "target_dependencies" : [
        "Retry"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "EnforceMinDelay",
      "module_type" : "SwiftTarget",
      "name" : "EnforceMinDelay",
      "path" : "Snippets/Advanced Use Cases",
      "product_memberships" : [
        "EnforceMinDelay"
      ],
      "sources" : [
        "EnforceMinDelay.swift"
      ],
      "target_dependencies" : [
        "Retry"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "UseFakeClockType",
      "module_type" : "SwiftTarget",
      "name" : "UseFakeClockType",
      "path" : "Snippets/Advanced Use Cases",
      "product_memberships" : [
        "UseFakeClockType"
      ],
      "sources" : [
        "UseFakeClockType.swift"
      ],
      "target_dependencies" : [
        "Retry"
      ],
      "type" : "snippet"
    }
  ],
  "tools_version" : "5.9"
}
Done.