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

Failed to build WordpressReader, reference main (4f0062), with Swift 5.9 for macOS (SPM) on 4 Mar 2025 15:28:12 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ryanlintott/WordpressReader.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ryanlintott/WordpressReader
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4f00626 Added option to set a max number of concurrent tasks when streaming or fetching content. Clamped the per page number between 1 and 100 to prevent errors
Cloned https://github.com/ryanlintott/WordpressReader.git
Revision (git rev-parse @):
4f00626c8d5b9c47ab4109bc307821cccaf0030b
SUCCESS checkout https://github.com/ryanlintott/WordpressReader.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/ryanlintott/WordpressReader.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/1] Copying PrivacyInfo.xcprivacy
[2/24] Emitting module WordpressReader
[3/26] Compiling WordpressReader WordpressTag.swift
[4/26] Compiling WordpressReader resource_bundle_accessor.swift
[5/26] Compiling WordpressReader WordpressPage.swift
[6/26] Compiling WordpressReader WordpressPost.swift
[7/26] Compiling WordpressReader WordpressSite+closures.swift
/Users/admin/builder/spi-builder-workspace/Sources/WordpressReader/WordpressSite.swift:59:28: error: 'appending(queryItems:)' is only available in macOS 13.0 or newer
            return siteURL.appending(queryItems: [pageIDQueryItem])
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/WordpressReader/WordpressSite.swift:59:28: note: add 'if #available' version check
            return siteURL.appending(queryItems: [pageIDQueryItem])
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/WordpressReader/WordpressSite.swift:56:17: note: add @available attribute to enclosing instance method
    public func pageURL(id: Int) -> URL {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/WordpressReader/WordpressSite.swift:13:15: note: add @available attribute to enclosing struct
public struct WordpressSite: Codable, Hashable, Sendable {
              ^
[8/26] Compiling WordpressReader WordpressSite.swift
/Users/admin/builder/spi-builder-workspace/Sources/WordpressReader/WordpressSite.swift:59:28: error: 'appending(queryItems:)' is only available in macOS 13.0 or newer
            return siteURL.appending(queryItems: [pageIDQueryItem])
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/WordpressReader/WordpressSite.swift:59:28: note: add 'if #available' version check
            return siteURL.appending(queryItems: [pageIDQueryItem])
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/WordpressReader/WordpressSite.swift:56:17: note: add @available attribute to enclosing instance method
    public func pageURL(id: Int) -> URL {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/WordpressReader/WordpressSite.swift:13:15: note: add @available attribute to enclosing struct
public struct WordpressSite: Codable, Hashable, Sendable {
              ^
[9/26] Compiling WordpressReader WordpressContent.swift
[10/26] Compiling WordpressReader WordpressItem.swift
[11/26] Compiling WordpressReader WordpressTaxonomy.swift
[12/26] Compiling WordpressReader WordpressSite+async-internal.swift
[13/26] Compiling WordpressReader WordpressSite+async-public.swift
[14/26] Compiling WordpressReader ParameterLabels.swift
[15/26] Compiling WordpressReader URL-extension.swift
[16/26] Compiling WordpressReader URLSession+async.swift
[17/26] Compiling WordpressReader WordpressExamples.swift
[18/26] Compiling WordpressReader WordpressIcon.swift
[19/26] Compiling WordpressReader WordpressLogo.swift
[20/26] Compiling WordpressReader WordpressRequest.swift
[21/26] Compiling WordpressReader WordpressSettings.swift
[22/26] Compiling WordpressReader RenderedContent.swift
[23/26] Compiling WordpressReader WordpressCategory.swift
[24/26] Compiling WordpressReader WordpressDate.swift
[25/26] Compiling WordpressReader WordpressQueryItem.swift
[26/26] Compiling WordpressReader WordpressReaderError.swift
error: fatalError
BUILD FAILURE 5.9 macosSpm