Build Information
Successful build of ITunesFeedGenerator, reference main (cf55dc
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 11:56:57 UTC.
Swift 6 data race errors: 1
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/alfianlosari/ITunesFeedGenerator.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alfianlosari/ITunesFeedGenerator
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at cf55dc0 Make releaseDate field as optional
Cloned https://github.com/alfianlosari/ITunesFeedGenerator.git
Revision (git rev-parse @):
cf55dc0eca850c32e0111899633b00cce488d224
SUCCESS checkout https://github.com/alfianlosari/ITunesFeedGenerator.git at main
========================================
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": "itunesfeedgenerator",
"name": "ITunesFeedGenerator",
"url": "https://github.com/alfianlosari/ITunesFeedGenerator.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ITunesFeedGenerator",
"dependencies": [
]
}
]
}
Fetching https://github.com/alfianlosari/ITunesFeedGenerator.git
[1/50] Fetching itunesfeedgenerator
Fetched https://github.com/alfianlosari/ITunesFeedGenerator.git from cache (0.68s)
Creating working copy for https://github.com/alfianlosari/ITunesFeedGenerator.git
Working copy of https://github.com/alfianlosari/ITunesFeedGenerator.git resolved at main (cf55dc0)
warning: '.resolve-product-dependencies': dependency 'itunesfeedgenerator' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/alfianlosari/ITunesFeedGenerator.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/8] Compiling ITunesFeedGenerator Song.swift
[4/8] Compiling ITunesFeedGenerator Feed.swift
[5/8] Compiling ITunesFeedGenerator Book.swift
[6/8] Compiling ITunesFeedGenerator Application.swift
[7/8] Emitting module ITunesFeedGenerator
/Users/admin/builder/spi-builder-workspace/Sources/ITunesFeedGenerator/FeedRepository.swift:80:10: warning: associated value 'httpStatusCodeFailed(statusCode:error:)' of 'Sendable'-conforming enum 'StoreAPIRepositoryError' has non-sendable type 'ErrorResponse'; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ErrorResponse: Codable {
| `- note: consider making struct 'ErrorResponse' conform to the 'Sendable' protocol
72 | let status: String
73 | let error: String
:
78 | case invalidURL
79 | case invalidResponseType
80 | case httpStatusCodeFailed(statusCode: Int, error: ErrorResponse?)
| `- warning: associated value 'httpStatusCodeFailed(statusCode:error:)' of 'Sendable'-conforming enum 'StoreAPIRepositoryError' has non-sendable type 'ErrorResponse'; this is an error in the Swift 6 language mode
81 |
82 | public static var errorDomain: String { "iTunesFeedGenerator" }
[8/8] Compiling ITunesFeedGenerator FeedRepository.swift
/Users/admin/builder/spi-builder-workspace/Sources/ITunesFeedGenerator/FeedRepository.swift:80:10: warning: associated value 'httpStatusCodeFailed(statusCode:error:)' of 'Sendable'-conforming enum 'StoreAPIRepositoryError' has non-sendable type 'ErrorResponse'; this is an error in the Swift 6 language mode
69 | }
70 |
71 | public struct ErrorResponse: Codable {
| `- note: consider making struct 'ErrorResponse' conform to the 'Sendable' protocol
72 | let status: String
73 | let error: String
:
78 | case invalidURL
79 | case invalidResponseType
80 | case httpStatusCodeFailed(statusCode: Int, error: ErrorResponse?)
| `- warning: associated value 'httpStatusCodeFailed(statusCode:error:)' of 'Sendable'-conforming enum 'StoreAPIRepositoryError' has non-sendable type 'ErrorResponse'; this is an error in the Swift 6 language mode
81 |
82 | public static var errorDomain: String { "iTunesFeedGenerator" }
Build complete! (8.28s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ITunesFeedGenerator",
"name" : "ITunesFeedGenerator",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
}
],
"products" : [
{
"name" : "ITunesFeedGenerator",
"targets" : [
"ITunesFeedGenerator"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ITunesFeedGeneratorTests",
"module_type" : "SwiftTarget",
"name" : "ITunesFeedGeneratorTests",
"path" : "Tests/ITunesFeedGeneratorTests",
"sources" : [
"ITunesFeedGeneratorTests.swift"
],
"target_dependencies" : [
"ITunesFeedGenerator"
],
"type" : "test"
},
{
"c99name" : "ITunesFeedGenerator",
"module_type" : "SwiftTarget",
"name" : "ITunesFeedGenerator",
"path" : "Sources/ITunesFeedGenerator",
"product_memberships" : [
"ITunesFeedGenerator"
],
"sources" : [
"FeedRepository.swift",
"Models/Application.swift",
"Models/Book.swift",
"Models/Feed.swift",
"Models/Song.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.