The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build WordpressReader, reference main (4f0062), with Swift 6.2 (beta) for macOS (SPM) on 23 Jun 2025 06:09:41 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
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:             6.2
Building package at path:  $PWD
https://github.com/ryanlintott/WordpressReader.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/26] Emitting module WordpressReader
[5/28] Compiling WordpressReader WordpressContent.swift
[6/28] Compiling WordpressReader WordpressItem.swift
[7/28] Compiling WordpressReader WordpressTaxonomy.swift
[8/28] Compiling WordpressReader WordpressTag.swift
[9/28] Compiling WordpressReader resource_bundle_accessor.swift
[10/28] Compiling WordpressReader WordpressPage.swift
[11/28] Compiling WordpressReader WordpressPost.swift
[12/28] Compiling WordpressReader WordpressRequest.swift
[13/28] Compiling WordpressReader WordpressSettings.swift
[14/28] 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
11 | ///
12 | /// Does not yet work for sites hosted outside Wordpress.com.
13 | public struct WordpressSite: Codable, Hashable, Sendable {
   |               `- note: add @available attribute to enclosing struct
14 |     /// Site domain excluding http or other prefix.
15 |     ///
   :
54 |
55 |     /// URL that will redirect from the site URL to a page with a specific id.
56 |     public func pageURL(id: Int) -> URL {
   |                 `- note: add @available attribute to enclosing instance method
57 |         let pageIDQueryItem = URLQueryItem(name: "page_id", value: "\(id)")
58 |         if #available(iOS 16.0, *) {
59 |             return siteURL.appending(queryItems: [pageIDQueryItem])
   |                            |- error: 'appending(queryItems:)' is only available in macOS 13.0 or newer
   |                            `- note: add 'if #available' version check
60 |         } else {
61 |             // Fallback on earlier versions
[15/28] 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
11 | ///
12 | /// Does not yet work for sites hosted outside Wordpress.com.
13 | public struct WordpressSite: Codable, Hashable, Sendable {
   |               `- note: add @available attribute to enclosing struct
14 |     /// Site domain excluding http or other prefix.
15 |     ///
   :
54 |
55 |     /// URL that will redirect from the site URL to a page with a specific id.
56 |     public func pageURL(id: Int) -> URL {
   |                 `- note: add @available attribute to enclosing instance method
57 |         let pageIDQueryItem = URLQueryItem(name: "page_id", value: "\(id)")
58 |         if #available(iOS 16.0, *) {
59 |             return siteURL.appending(queryItems: [pageIDQueryItem])
   |                            |- error: 'appending(queryItems:)' is only available in macOS 13.0 or newer
   |                            `- note: add 'if #available' version check
60 |         } else {
61 |             // Fallback on earlier versions
[16/28] Compiling WordpressReader RenderedContent.swift
[17/28] Compiling WordpressReader WordpressCategory.swift
[18/28] Compiling WordpressReader WordpressDate.swift
[19/28] Compiling WordpressReader ParameterLabels.swift
[20/28] Compiling WordpressReader URL-extension.swift
[21/28] Compiling WordpressReader URLSession+async.swift
[22/28] Compiling WordpressReader WordpressQueryItem.swift
[23/28] Compiling WordpressReader WordpressReaderError.swift
[24/28] Compiling WordpressReader WordpressSite+async-internal.swift
[25/28] Compiling WordpressReader WordpressSite+async-public.swift
[26/28] Compiling WordpressReader WordpressExamples.swift
[27/28] Compiling WordpressReader WordpressIcon.swift
[28/28] Compiling WordpressReader WordpressLogo.swift
BUILD FAILURE 6.2 macosSpm