The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-readability, reference main (4504bf), with Swift 6.0 for macOS (SPM) on 26 Oct 2025 14:57:43 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Ryu0118/swift-readability
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4504bf5 Update README.md
Cloned https://github.com/Ryu0118/swift-readability.git
Revision (git rev-parse @):
4504bf5bdf1d4004b03cc51c25ba02485579c9a6
SUCCESS checkout https://github.com/Ryu0118/swift-readability.git at main
========================================
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
[2/11] Copying ReadabilitySanitized.js.LICENSE.txt
[2/11] Copying Reader.html
[3/11] Copying ReadabilitySanitized.js
[3/11] Copying AtDocumentStart.js.LICENSE.txt
[3/11] Copying AtDocumentStart.js
[3/11] Write sources
[3/11] Copying ReadabilityBasic.js
[6/11] Copying AtDocumentEnd.js
[10/11] Write swift-version-5BDAB9E9C0126B9D.txt
[12/19] Compiling ReadabilityCore ScriptLoader.swift
[13/19] Compiling ReadabilityCore ReaderAvailability.swift
[14/19] Compiling ReadabilityCore ReaderStyle.swift
[15/19] Compiling ReadabilityCore ReaderContentGeneratable.swift
[16/19] Compiling ReadabilityCore ReadabilityResult.swift
[17/19] Emitting module ReadabilityCore
[18/19] Compiling ReadabilityCore ReadabilityMessageHandler.swift
[19/19] Compiling ReadabilityCore ReadabilityMessageType.swift
[20/32] Compiling ReadabilityUI resource_bundle_accessor.swift
[21/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)
[22/32] Compiling Readability exported.swift
[23/32] Compiling Readability Readability.swift
[24/32] Compiling Readability resource_bundle_accessor.swift
[25/32] Compiling Readability Options.swift
[26/32] Compiling Readability HTMLFetcher.swift
[27/32] Emitting module Readability
[28/32] Compiling Readability ReadabilityRunner.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/32] Compiling ReadabilityUI exported.swift
[30/32] Compiling ReadabilityUI ReadabilityWebCoordinator.swift
[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