This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 app-store-reviews with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jcoynel/app-store-reviews-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jcoynel/app-store-reviews-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1d0b23a Set library version to 1.0.0
Cloned https://github.com/jcoynel/app-store-reviews-swift.git
Revision (git rev-parse @):
1d0b23a7e8f780d6534a0b6daa7e8076066dcd30
SUCCESS checkout https://github.com/jcoynel/app-store-reviews-swift.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/jcoynel/app-store-reviews-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/10] Write sources
[4/10] Write app-store-reviews-entitlement.plist
[4/10] Write sources
[6/10] Write swift-version-6F35C1178C84523A.txt
[8/17] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/17] Emitting module ArgumentParserToolInfo
[10/52] Compiling Logging MetadataProvider.swift
[11/52] Compiling Logging Locks.swift
[12/52] Emitting module Logging
[13/52] Compiling Logging Logging.swift
[14/52] Compiling Logging LogHandler.swift
[15/66] Emitting module ArgumentParser
[16/69] Compiling AppStoreReviews Logging.swift
[17/69] Compiling AppStoreReviews ModelsConversion.swift
[18/69] Compiling AppStoreReviews FeedLoader.swift
[19/69] Compiling AppStoreReviews DecodableFeed.swift
[20/69] Compiling ArgumentParser ArgumentSet.swift
[21/69] Compiling ArgumentParser CommandParser.swift
[22/69] Compiling ArgumentParser InputOrigin.swift
[23/69] Compiling ArgumentParser Name.swift
[24/69] Compiling ArgumentParser Parsed.swift
[25/69] Compiling ArgumentParser ParsedValues.swift
[26/69] Compiling ArgumentParser ParserError.swift
[27/69] Compiling ArgumentParser SplitArguments.swift
[28/69] Compiling ArgumentParser SequenceExtensions.swift
[29/69] Compiling ArgumentParser StringExtensions.swift
[30/69] Compiling ArgumentParser Tree.swift
[31/69] Compiling AppStoreReviews ReviewsLoader.swift
[32/69] Compiling AppStoreReviews URLExtensions.swift
[33/70] Compiling AppStoreReviews Territory.swift
[34/70] Compiling AppStoreReviews PageExtensions.swift
[35/70] Compiling ArgumentParser Argument.swift
[36/70] Compiling ArgumentParser ArgumentHelp.swift
[37/70] Compiling ArgumentParser CompletionKind.swift
[38/70] Compiling ArgumentParser Errors.swift
[39/70] Compiling ArgumentParser ParsableArgumentsValidation.swift
[40/70] Compiling ArgumentParser ParsableCommand.swift
[41/70] Compiling ArgumentParser ArgumentDecoder.swift
[42/70] Compiling ArgumentParser ArgumentDefinition.swift
[43/70] Compiling ArgumentParser DumpHelpGenerator.swift
[44/70] Compiling ArgumentParser HelpCommand.swift
[45/70] Compiling ArgumentParser HelpGenerator.swift
[46/70] Compiling ArgumentParser Flag.swift
[47/70] Compiling ArgumentParser NameSpecification.swift
[48/70] Compiling ArgumentParser Option.swift
[49/70] Compiling ArgumentParser OptionGroup.swift
[50/70] Compiling AppStoreReviews Page.swift
[51/70] Compiling ArgumentParser MessageInfo.swift
[52/70] Compiling ArgumentParser UsageGenerator.swift
[53/70] Compiling ArgumentParser CollectionExtensions.swift
[54/70] Compiling AppStoreReviews Feed.Links.swift
[55/70] Compiling AppStoreReviews Feed.swift
[56/70] Compiling AppStoreReviews Feed.Author.swift
[57/70] Compiling AppStoreReviews Feed.Entry.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:57:17: warning: capture of 'completion' with non-sendable type 'FeedLoader.Completion' (aka '(Result<Feed, FeedLoader.Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 55 |         let task = urlSession.dataTask(with: url) { (data, response, error) in
 56 |             if let error = error {
 57 |                 completion(.failure(.networkError(underlyingError: error)))
    |                 |- warning: capture of 'completion' with non-sendable type 'FeedLoader.Completion' (aka '(Result<Feed, FeedLoader.Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 58 |                 return
 59 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:61:21: warning: capture of 'self' with non-sendable type 'FeedLoader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 10 | /// - Note: Use `ReviewsLoader` instead of `FeedLoader` if you only need access to reviews and
 11 | /// do not need other elements of the feed.
 12 | public struct FeedLoader {
    |               `- note: consider making struct 'FeedLoader' conform to the 'Sendable' protocol
 13 |     public typealias Completion = (Result<Feed, FeedLoader.Error>) -> Void
 14 |
    :
 59 |             }
 60 |             do {
 61 |                 try validate(response: response)
    |                     `- warning: capture of 'self' with non-sendable type 'FeedLoader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 62 |
 63 |                 let feed = try decode(feedData: data)
/Users/admin/builder/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:57:17: warning: capture of 'completion' with non-sendable type 'FeedLoader.Completion' (aka '(Result<Feed, FeedLoader.Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 55 |         let task = urlSession.dataTask(with: url) { (data, response, error) in
 56 |             if let error = error {
 57 |                 completion(.failure(.networkError(underlyingError: error)))
    |                 |- warning: capture of 'completion' with non-sendable type 'FeedLoader.Completion' (aka '(Result<Feed, FeedLoader.Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 58 |                 return
 59 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:61:21: warning: capture of 'self' with non-sendable type 'FeedLoader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 10 | /// - Note: Use `ReviewsLoader` instead of `FeedLoader` if you only need access to reviews and
 11 | /// do not need other elements of the feed.
 12 | public struct FeedLoader {
    |               `- note: consider making struct 'FeedLoader' conform to the 'Sendable' protocol
 13 |     public typealias Completion = (Result<Feed, FeedLoader.Error>) -> Void
 14 |
    :
 59 |             }
 60 |             do {
 61 |                 try validate(response: response)
    |                     `- warning: capture of 'self' with non-sendable type 'FeedLoader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 62 |
 63 |                 let feed = try decode(feedData: data)
[64/70] Emitting module AppStoreReviews
[67/70] Compiling AppStoreReviews Version.swift
[68/78] Compiling app_store_reviews TerritoryExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/app-store-reviews/Utilities/TerritoryExtensions.swift:4:1: warning: extension declares a conformance of imported type 'Territory' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'AppStoreReviews' introduce this conformance in the future
2 | import AppStoreReviews
3 |
4 | extension Territory: ExpressibleByArgument {}
  | |- warning: extension declares a conformance of imported type 'Territory' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'AppStoreReviews' introduce this conformance in the future
  | `- note: add '@retroactive' to silence this warning
5 |
[69/78] Compiling app_store_reviews VersionOptions.swift
[70/78] Compiling app_store_reviews Output.swift
[71/78] Compiling app_store_reviews main.swift
/Users/admin/builder/spi-builder-workspace/Sources/app-store-reviews/main.swift:6:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 4 | /// appropriate subcommand.
 5 | struct AppStoreReviewsCommand: ParsableCommand {
 6 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |         commandName: "app-store-reviews",
 8 |         abstract: "Fetch user reviews from the Apple App Stores.",
[72/78] Compiling app_store_reviews Territories.swift
/Users/admin/builder/spi-builder-workspace/Sources/app-store-reviews/Subcommands/Territories.swift:7:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 5 | /// Encapsulates `territories` command behavior.
 6 | struct Territories: ParsableCommand {
 7 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |         abstract: "Print the list of territories reviews can be fetched for."
 9 |     )
[73/78] Compiling app_store_reviews Reviews.swift
/Users/admin/builder/spi-builder-workspace/Sources/app-store-reviews/Subcommands/Reviews.swift:7:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 5 | /// Encapsulates `reviews` command behavior.
 6 | struct Reviews: ParsableCommand {
 7 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |         abstract: "Fetch all the reviews from the App Store Reviews feed for the provided app ID and territory."
 9 |     )
[74/78] Emitting module app_store_reviews
/Users/admin/builder/spi-builder-workspace/Sources/app-store-reviews/main.swift:6:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 4 | /// appropriate subcommand.
 5 | struct AppStoreReviewsCommand: ParsableCommand {
 6 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |         commandName: "app-store-reviews",
 8 |         abstract: "Fetch user reviews from the Apple App Stores.",
/Users/admin/builder/spi-builder-workspace/Sources/app-store-reviews/Subcommands/Page.swift:7:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 5 | /// Encapsulates `page` command behavior.
 6 | struct Page: ParsableCommand {
 7 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |         abstract: "Fetch the App Store Reviews feed page for the provided app ID, territory and page number."
 9 |     )
/Users/admin/builder/spi-builder-workspace/Sources/app-store-reviews/Subcommands/Reviews.swift:7:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 5 | /// Encapsulates `reviews` command behavior.
 6 | struct Reviews: ParsableCommand {
 7 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |         abstract: "Fetch all the reviews from the App Store Reviews feed for the provided app ID and territory."
 9 |     )
/Users/admin/builder/spi-builder-workspace/Sources/app-store-reviews/Subcommands/Territories.swift:7:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 5 | /// Encapsulates `territories` command behavior.
 6 | struct Territories: ParsableCommand {
 7 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |         abstract: "Print the list of territories reviews can be fetched for."
 9 |     )
/Users/admin/builder/spi-builder-workspace/Sources/app-store-reviews/Utilities/TerritoryExtensions.swift:4:1: warning: extension declares a conformance of imported type 'Territory' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'AppStoreReviews' introduce this conformance in the future
2 | import AppStoreReviews
3 |
4 | extension Territory: ExpressibleByArgument {}
  | |- warning: extension declares a conformance of imported type 'Territory' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'AppStoreReviews' introduce this conformance in the future
  | `- note: add '@retroactive' to silence this warning
5 |
[75/78] Compiling app_store_reviews Page.swift
/Users/admin/builder/spi-builder-workspace/Sources/app-store-reviews/Subcommands/Page.swift:7:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 5 | /// Encapsulates `page` command behavior.
 6 | struct Page: ParsableCommand {
 7 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |         abstract: "Fetch the App Store Reviews feed page for the provided app ID, territory and page number."
 9 |     )
[75/78] Write Objects.LinkFileList
[76/78] Linking app-store-reviews
[77/78] Applying app-store-reviews
Build complete! (31.55s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-argument-parser
[1/3361] Fetching swift-log
[438/15040] Fetching swift-log, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.66s)
Fetched https://github.com/apple/swift-log.git from cache (1.66s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.74s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.71s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.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
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "app-store-reviews",
  "name" : "app-store-reviews",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "AppStoreReviews",
      "targets" : [
        "AppStoreReviews"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "app-store-reviews",
      "targets" : [
        "app-store-reviews"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "app_store_reviews",
      "module_type" : "SwiftTarget",
      "name" : "app-store-reviews",
      "path" : "Sources/app-store-reviews",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "app-store-reviews"
      ],
      "sources" : [
        "Subcommands/Page.swift",
        "Subcommands/Reviews.swift",
        "Subcommands/Territories.swift",
        "Utilities/Output.swift",
        "Utilities/TerritoryExtensions.swift",
        "VersionOptions.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "AppStoreReviews"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "AppStoreReviewsTests",
      "module_type" : "SwiftTarget",
      "name" : "AppStoreReviewsTests",
      "path" : "Tests/AppStoreReviewsTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/AppStoreReviewsTests/TestData",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "DecodableFeedTests.swift",
        "FeedLoaderTests.swift",
        "Internal/MockURLProtocol.swift",
        "Internal/TestData.swift",
        "Models/FeedTests.swift",
        "PageExtensionsTests.swift",
        "ReviewsLoaderTests.swift",
        "TerritoryTests.swift",
        "URLExtensionsTests.swift"
      ],
      "target_dependencies" : [
        "AppStoreReviews"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AppStoreReviews",
      "module_type" : "SwiftTarget",
      "name" : "AppStoreReviews",
      "path" : "Sources/AppStoreReviews",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "AppStoreReviews",
        "app-store-reviews"
      ],
      "sources" : [
        "FeedLoader.swift",
        "Internal/DecodableFeed.swift",
        "Internal/Logging.swift",
        "Internal/ModelsConversion.swift",
        "Models/Feed.Author.swift",
        "Models/Feed.Entry.swift",
        "Models/Feed.Links.swift",
        "Models/Feed.swift",
        "Models/Page.swift",
        "Models/Territory.swift",
        "PageExtensions.swift",
        "ReviewsLoader.swift",
        "URLExtensions.swift",
        "Version.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.