The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-readability, reference 0.3.0 (961453), with Swift 6.0 for macOS (SPM) on 25 Oct 2025 13:03:30 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Ryu0118/swift-readability.git
Reference: 0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Ryu0118/swift-readability
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at 961453a Merge pull request #6 from Ryu0118/issue-5
Cloned https://github.com/Ryu0118/swift-readability.git
Revision (git rev-parse @):
961453ade5b0fecdc5f3b0d562071cfc4b0603ea
SUCCESS checkout https://github.com/Ryu0118/swift-readability.git at 0.3.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Ryu0118/swift-readability.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/11] Write sources
[0/11] Copying AtDocumentStart.js.LICENSE.txt
[0/11] Write sources
[0/11] Copying AtDocumentStart.js
[4/11] Copying ReadabilityBasic.js
[4/11] Copying ReadabilitySanitized.js
[4/11] Copying ReadabilitySanitized.js.LICENSE.txt
[5/11] Copying AtDocumentEnd.js
[9/11] Copying Reader.html
[10/11] Write swift-version-5BDAB9E9C0126B9D.txt
[12/19] Compiling ReadabilityCore ReaderContentGeneratable.swift
[13/19] Compiling ReadabilityCore ScriptLoader.swift
[14/19] Compiling ReadabilityCore ReaderAvailability.swift
[15/19] Compiling ReadabilityCore ReaderStyle.swift
[16/19] Compiling ReadabilityCore ReadabilityMessageType.swift
[17/19] Compiling ReadabilityCore ReadabilityResult.swift
[18/19] Compiling ReadabilityCore ReadabilityMessageHandler.swift
[19/19] Emitting module ReadabilityCore
[20/32] Compiling ReadabilityUI exported.swift
[21/32] Compiling ReadabilityUI resource_bundle_accessor.swift
[22/32] Compiling ReadabilityUI ReaderControllable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ReadabilityUI/ReaderControllable.swift:117:1: error: type 'WKWebView' does not conform to protocol 'ReaderControllable'
 12 |     /// - Returns: The result of the JavaScript evaluation.
 13 |     /// - Throws: An error if the evaluation fails.
 14 |     func evaluateJavaScript(_ javascriptString: String) async throws -> Any?
    |          `- note: protocol requires function 'evaluateJavaScript' with type '(String) async throws -> Any?'; add a stub for conformance
 15 | }
 16 |
    :
115 | }
116 |
117 | extension WKWebView: ReaderControllable {}
    | `- error: type 'WKWebView' does not conform to protocol 'ReaderControllable'
118 |
WebKit.WKWebView:47:15: note: candidate has non-matching type '(String) async throws -> Any'
 45 |     open func stopLoading()
 46 |     open func evaluateJavaScript(_ javaScriptString: String, completionHandler: (@MainActor @Sendable (Any?, (any Error)?) -> Void)? = nil)
 47 |     open func evaluateJavaScript(_ javaScriptString: String) async throws -> Any
    |               `- note: candidate has non-matching type '(String) async throws -> Any'
 48 |     @available(macOS 11.0, *)
 49 |     open func __evaluateJavaScript(_ javaScriptString: String, inFrame frame: WKFrameInfo?, in contentWorld: WKContentWorld, completionHandler: (@MainActor @Sendable (Any?, (any Error)?) -> Void)? = nil)
[23/32] Compiling Readability resource_bundle_accessor.swift
[24/32] Compiling Readability Readability.swift
[25/32] Compiling Readability Options.swift
[26/32] Compiling Readability exported.swift
[27/32] Compiling Readability HTMLFetcher.swift
[28/32] Compiling Readability ReadabilityRunner.swift
[29/32] Emitting module Readability
[30/32] Compiling ReadabilityUI ReadabilityWebCoordinator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/32] Compiling ReadabilityUI ReaderContentGenerator.swift
[32/32] Emitting module ReadabilityUI
/Users/admin/builder/spi-builder-workspace/Sources/ReadabilityUI/ReaderControllable.swift:117:1: error: type 'WKWebView' does not conform to protocol 'ReaderControllable'
 12 |     /// - Returns: The result of the JavaScript evaluation.
 13 |     /// - Throws: An error if the evaluation fails.
 14 |     func evaluateJavaScript(_ javascriptString: String) async throws -> Any?
    |          `- note: protocol requires function 'evaluateJavaScript' with type '(String) async throws -> Any?'; add a stub for conformance
 15 | }
 16 |
    :
115 | }
116 |
117 | extension WKWebView: ReaderControllable {}
    | `- error: type 'WKWebView' does not conform to protocol 'ReaderControllable'
118 |
WebKit.WKWebView:47:15: note: candidate has non-matching type '(String) async throws -> Any'
 45 |     open func stopLoading()
 46 |     open func evaluateJavaScript(_ javaScriptString: String, completionHandler: (@MainActor @Sendable (Any?, (any Error)?) -> Void)? = nil)
 47 |     open func evaluateJavaScript(_ javaScriptString: String) async throws -> Any
    |               `- note: candidate has non-matching type '(String) async throws -> Any'
 48 |     @available(macOS 11.0, *)
 49 |     open func __evaluateJavaScript(_ javaScriptString: String, inFrame frame: WKFrameInfo?, in contentWorld: WKContentWorld, completionHandler: (@MainActor @Sendable (Any?, (any Error)?) -> Void)? = nil)
BUILD FAILURE 6.0 macosSpm