Build Information
Successful build of app-store-reviews, reference main (1d0b23
), with Swift 6.0 for Linux on 1 Nov 2024 15:43:40 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: main
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
* 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: 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-4609320-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/12353] Fetching swift-argument-parser
[7166/16013] Fetching swift-argument-parser, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.69s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.69s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.44s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.38s)
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 MetadataProvider.swift
[12/55] Compiling Logging LogHandler.swift
[13/55] Compiling Logging Locks.swift
[14/55] Compiling Logging Logging.swift
[15/55] Emitting module Logging
[16/56] Wrapping AST for Logging for debugging
[18/70] Compiling AppStoreReviews URLExtensions.swift
[19/71] Compiling AppStoreReviews Version.swift
[20/71] Emitting module ArgumentParser
[21/75] Compiling AppStoreReviews PageExtensions.swift
[22/75] Compiling AppStoreReviews ReviewsLoader.swift
[23/75] Compiling ArgumentParser CommandConfiguration.swift
[24/75] Compiling ArgumentParser EnumerableFlag.swift
[25/75] Compiling ArgumentParser ExpressibleByArgument.swift
[26/75] Compiling AppStoreReviews Feed.Author.swift
[27/75] Compiling AppStoreReviews Feed.Entry.swift
[28/75] Compiling AppStoreReviews FeedLoader.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)
[29/75] Compiling AppStoreReviews DecodableFeed.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)
[30/75] Emitting module AppStoreReviews
[31/75] Compiling AppStoreReviews Logging.swift
[32/75] Compiling AppStoreReviews ModelsConversion.swift
[33/75] Compiling AppStoreReviews Page.swift
[34/75] Compiling AppStoreReviews Territory.swift
[35/75] Compiling AppStoreReviews Feed.Links.swift
[36/75] Compiling AppStoreReviews Feed.swift
[49/76] Wrapping AST for AppStoreReviews for debugging
[51/76] Compiling ArgumentParser CollectionExtensions.swift
[52/76] Compiling ArgumentParser SequenceExtensions.swift
[53/76] Compiling ArgumentParser StringExtensions.swift
[54/76] Compiling ArgumentParser Tree.swift
[55/76] Compiling ArgumentParser HelpCommand.swift
[56/76] Compiling ArgumentParser HelpGenerator.swift
[57/76] Compiling ArgumentParser MessageInfo.swift
[58/76] Compiling ArgumentParser UsageGenerator.swift
[59/76] Compiling ArgumentParser ArgumentSet.swift
[60/76] Compiling ArgumentParser CommandParser.swift
[61/76] Compiling ArgumentParser InputOrigin.swift
[62/76] Compiling ArgumentParser Name.swift
[63/76] Compiling ArgumentParser Parsed.swift
[64/76] Compiling ArgumentParser ParsableArguments.swift
[65/76] Compiling ArgumentParser ParsableArgumentsValidation.swift
[66/76] Compiling ArgumentParser ParsableCommand.swift
[67/76] Compiling ArgumentParser ArgumentDecoder.swift
[68/76] Compiling ArgumentParser ArgumentDefinition.swift
[69/76] Compiling ArgumentParser ParsedValues.swift
[70/76] Compiling ArgumentParser ParserError.swift
[71/76] Compiling ArgumentParser SplitArguments.swift
[72/76] Compiling ArgumentParser DumpHelpGenerator.swift
[73/77] Wrapping AST for ArgumentParser for debugging
[75/85] Compiling app_store_reviews Output.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 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 | )
[78/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.",
[79/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 |
[80/85] Compiling app_store_reviews VersionOptions.swift
[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 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 | )
[83/86] Wrapping AST for app-store-reviews for debugging
[84/86] Write Objects.LinkFileList
[85/86] Linking app-store-reviews
Build complete! (16.63s)
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.