Build Information
Successful build of app-store-reviews, reference 1.0.0 (1d0b23
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 15:49:15 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/jcoynel/app-store-reviews-swift.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jcoynel/app-store-reviews-swift
* tag 1.0.0 -> FETCH_HEAD
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 1.0.0
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-argument-parser
[1/12353] Fetching swift-argument-parser
[2/16013] Fetching swift-argument-parser, swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.55s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.55s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.66s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.50s)
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.6.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": "app-store-reviews-swift",
"name": "app-store-reviews",
"url": "https://github.com/jcoynel/app-store-reviews-swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/app-store-reviews-swift",
"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": [
]
},
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser",
"version": "0.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/jcoynel/app-store-reviews-swift.git
[1/402] Fetching app-store-reviews-swift
Fetched https://github.com/jcoynel/app-store-reviews-swift.git from cache (0.83s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.46s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.58s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.03s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.03s)
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.6.1
Creating working copy for https://github.com/jcoynel/app-store-reviews-swift.git
Working copy of https://github.com/jcoynel/app-store-reviews-swift.git resolved at 1.0.0 (1d0b23a)
Found 2 product dependencies
- swift-log
- swift-argument-parser
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/jcoynel/app-store-reviews-swift.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/10] Write sources
[4/10] Write app-store-reviews-entitlement.plist
[6/10] Write swift-version--7754E27361AE5C74.txt
[8/17] Emitting module ArgumentParserToolInfo
[9/17] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/52] Compiling Logging MetadataProvider.swift
[11/52] Compiling Logging Logging.swift
[12/52] Compiling Logging LogHandler.swift
[13/52] Compiling Logging Locks.swift
[14/52] Emitting module Logging
[15/66] Emitting module ArgumentParser
[16/69] Compiling ArgumentParser Flag.swift
[17/69] Compiling ArgumentParser NameSpecification.swift
[18/69] Compiling ArgumentParser Option.swift
[19/69] Compiling ArgumentParser OptionGroup.swift
[20/69] Compiling ArgumentParser Argument.swift
[21/69] Compiling ArgumentParser ArgumentHelp.swift
[22/69] Compiling ArgumentParser CompletionKind.swift
[23/69] Compiling ArgumentParser Errors.swift
[24/69] Compiling ArgumentParser ArgumentSet.swift
[25/69] Compiling ArgumentParser CommandParser.swift
[26/69] Compiling ArgumentParser InputOrigin.swift
[27/69] Compiling ArgumentParser Name.swift
[28/69] Compiling ArgumentParser Parsed.swift
[29/69] Compiling ArgumentParser ParsedValues.swift
[30/69] Compiling ArgumentParser ParserError.swift
[31/69] Compiling ArgumentParser SplitArguments.swift
[32/69] Compiling ArgumentParser ParsableArgumentsValidation.swift
[33/69] Compiling ArgumentParser ParsableCommand.swift
[34/69] Compiling ArgumentParser ArgumentDecoder.swift
[35/69] Compiling ArgumentParser ArgumentDefinition.swift
[36/69] Compiling ArgumentParser SequenceExtensions.swift
[37/69] Compiling ArgumentParser StringExtensions.swift
[38/69] Compiling ArgumentParser Tree.swift
[39/69] Compiling AppStoreReviews Feed.Author.swift
[40/69] Compiling AppStoreReviews Feed.Entry.swift
[41/69] Compiling AppStoreReviews Logging.swift
[42/69] Compiling AppStoreReviews ModelsConversion.swift
[43/69] Compiling AppStoreReviews Feed.Links.swift
[44/69] Compiling AppStoreReviews Feed.swift
[45/69] Compiling AppStoreReviews FeedLoader.swift
[46/69] Compiling AppStoreReviews DecodableFeed.swift
[47/69] Compiling ArgumentParser MessageInfo.swift
[48/69] Compiling ArgumentParser UsageGenerator.swift
[49/69] Compiling ArgumentParser CollectionExtensions.swift
[50/69] Compiling ArgumentParser DumpHelpGenerator.swift
[51/69] Compiling ArgumentParser HelpCommand.swift
[52/69] Compiling ArgumentParser HelpGenerator.swift
[53/69] Compiling AppStoreReviews URLExtensions.swift
[54/69] Compiling AppStoreReviews ReviewsLoader.swift
[57/70] Compiling AppStoreReviews Page.swift
[58/70] Compiling AppStoreReviews PageExtensions.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)
[63/70] Compiling AppStoreReviews Territory.swift
[64/70] Emitting module AppStoreReviews
[67/70] Compiling AppStoreReviews Version.swift
[68/78] Compiling app_store_reviews VersionOptions.swift
[69/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 |
[70/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 nonisolated 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 nonisolated 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 | )
[71/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 nonisolated 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 nonisolated 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 | )
[72/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 nonisolated 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 nonisolated 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.",
[73/78] Compiling app_store_reviews Output.swift
[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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 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 nonisolated 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 nonisolated 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 | )
[75/78] Write Objects.LinkFileList
[76/78] Linking app-store-reviews
[77/78] Applying app-store-reviews
Build complete! (15.85s)
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.