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

Swift 6 data race errors: 1

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/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/alfianlosari/ITunesFeedGenerator.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/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/8] Compiling ITunesFeedGenerator Song.swift
[4/8] Compiling ITunesFeedGenerator Feed.swift
[5/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" }
[6/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" }
[7/8] Compiling ITunesFeedGenerator Book.swift
[8/8] Compiling ITunesFeedGenerator Application.swift
Build complete! (18.07s)
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.