Build Information
Successful build of app-store-reviews, reference 1.0.0 (1d0b23
), with Swift 6.0 for Linux on 1 Nov 2024 15:45:01 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/jcoynel/app-store-reviews-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-argument-parser
[1/3660] Fetching swift-log
[3661/16013] Fetching swift-log, swift-argument-parser
Fetched https://github.com/apple/swift-log.git from cache (0.38s)
[495/12353] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.73s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.49s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.43s)
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
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/20] Emitting module ArgumentParserToolInfo
[8/20] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/21] Wrapping AST for ArgumentParserToolInfo for debugging
[11/55] Compiling Logging Locks.swift
[12/55] Compiling Logging LogHandler.swift
[13/55] Emitting module Logging
[14/55] Compiling Logging MetadataProvider.swift
[15/55] Compiling Logging Logging.swift
[16/56] Wrapping AST for Logging for debugging
[18/70] Emitting module ArgumentParser
[19/74] Compiling AppStoreReviews FeedLoader.swift
[20/74] Compiling AppStoreReviews DecodableFeed.swift
[21/74] Compiling AppStoreReviews Feed.Links.swift
[22/74] Compiling AppStoreReviews Feed.swift
[23/74] Compiling AppStoreReviews Logging.swift
[24/74] Compiling ArgumentParser Option.swift
[25/74] Compiling ArgumentParser OptionGroup.swift
[26/74] Compiling ArgumentParser CommandConfiguration.swift
[27/74] Compiling ArgumentParser EnumerableFlag.swift
[28/74] Compiling ArgumentParser ExpressibleByArgument.swift
[29/74] Compiling ArgumentParser ArgumentHelp.swift
[30/74] Compiling ArgumentParser CompletionKind.swift
[31/74] Compiling ArgumentParser Errors.swift
[32/74] Compiling ArgumentParser Flag.swift
[33/74] Compiling ArgumentParser NameSpecification.swift
[34/74] Compiling ArgumentParser CollectionExtensions.swift
[35/74] Compiling ArgumentParser SequenceExtensions.swift
[36/74] Compiling ArgumentParser StringExtensions.swift
[37/74] Compiling ArgumentParser Tree.swift
[38/74] Compiling AppStoreReviews PageExtensions.swift
[39/74] Compiling AppStoreReviews ReviewsLoader.swift
[40/75] Compiling AppStoreReviews URLExtensions.swift
[41/75] Compiling AppStoreReviews Page.swift
[42/75] Compiling AppStoreReviews Territory.swift
[43/75] Compiling AppStoreReviews Version.swift
[44/75] Compiling AppStoreReviews Feed.Author.swift
[45/75] Compiling AppStoreReviews Feed.Entry.swift
[50/75] Compiling ArgumentParser SplitArguments.swift
[51/75] Compiling ArgumentParser DumpHelpGenerator.swift
[53/75] Compiling AppStoreReviews ModelsConversion.swift
/host/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 | }
/host/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)
/host/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 | }
/host/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)
[56/75] Emitting module AppStoreReviews
[62/76] Wrapping AST for AppStoreReviews for debugging
[64/76] Compiling ArgumentParser HelpCommand.swift
[65/76] Compiling ArgumentParser HelpGenerator.swift
[66/76] Compiling ArgumentParser MessageInfo.swift
[67/76] Compiling ArgumentParser UsageGenerator.swift
[68/76] Compiling ArgumentParser ArgumentSet.swift
[69/76] Compiling ArgumentParser CommandParser.swift
[70/76] Compiling ArgumentParser InputOrigin.swift
[71/76] Compiling ArgumentParser Name.swift
[72/76] Compiling ArgumentParser Parsed.swift
[73/77] Wrapping AST for ArgumentParser for debugging
[75/85] Compiling app_store_reviews VersionOptions.swift
[76/85] Compiling app_store_reviews Territories.swift
/host/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 | )
[77/85] Compiling app_store_reviews TerritoryExtensions.swift
/host/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 |
[78/85] Compiling app_store_reviews Output.swift
[79/85] Compiling app_store_reviews main.swift
/host/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.",
[80/85] Compiling app_store_reviews Page.swift
/host/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 | )
[81/85] Emitting module app_store_reviews
/host/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.",
/host/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 | )
/host/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 | )
/host/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 | )
/host/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 |
[82/85] Compiling app_store_reviews Reviews.swift
/host/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 | )
[83/86] Wrapping AST for app-store-reviews for debugging
[84/86] Write Objects.LinkFileList
[85/86] Linking app-store-reviews
Build complete! (20.73s)
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" : "/host/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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.