The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OpenGraphReader, reference main (06ae34), with Swift 6.3 for Android on 13 Apr 2026 19:18:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pzmudzinski/OpenGraphReader.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/pzmudzinski/OpenGraphReader
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 06ae34b Exclude HTML seeds from language statistics
Cloned https://github.com/pzmudzinski/OpenGraphReader.git
Revision (git rev-parse @):
06ae34bda2bd42fe116b947111d5d1902df2244f
SUCCESS checkout https://github.com/pzmudzinski/OpenGraphReader.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/pzmudzinski/OpenGraphReader.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/scinfu/SwiftSoup.git
[1/5929] Fetching swiftsoup
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.66s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.13.4 (1.14s)
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.13.4
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--4F562202D5529B1.txt
[4/57] Emitting module SwiftSoup
[5/64] Compiling SwiftSoup ParseErrorList.swift
[6/64] Compiling SwiftSoup ParseSettings.swift
[7/64] Compiling SwiftSoup Parser.swift
[8/64] Compiling SwiftSoup ParsingStrings.swift
[9/64] Compiling SwiftSoup Pattern.swift
[10/64] Compiling SwiftSoup Profiler.swift
[11/64] Compiling SwiftSoup QueryParser.swift
[12/64] Compiling SwiftSoup HtmlTreeBuilderState.swift
[13/64] Compiling SwiftSoup LRUCache.swift
[14/64] Compiling SwiftSoup Mutex.swift
[15/64] Compiling SwiftSoup Node.swift
[16/64] Compiling SwiftSoup NodeTraversor.swift
[17/64] Compiling SwiftSoup NodeVisitor.swift
[18/64] Compiling SwiftSoup OrderedSet.swift
[19/64] Compiling SwiftSoup ParseError.swift
[20/64] Compiling SwiftSoup Collector.swift
[21/64] Compiling SwiftSoup CombiningEvaluator.swift
[22/64] Compiling SwiftSoup Comment.swift
[23/64] Compiling SwiftSoup CssSelector.swift
[24/64] Compiling SwiftSoup DataNode.swift
[25/64] Compiling SwiftSoup DebugTrace.swift
[26/64] Compiling SwiftSoup Document.swift
[27/64] Compiling SwiftSoup DocumentType.swift
[28/64] Compiling SwiftSoup Attribute.swift
[29/64] Compiling SwiftSoup Attributes.swift
[30/64] Compiling SwiftSoup BinarySearch.swift
[31/64] Compiling SwiftSoup BooleanAttribute.swift
[32/64] Compiling SwiftSoup ByteSlice.swift
[33/64] Compiling SwiftSoup CharacterExt.swift
[34/64] Compiling SwiftSoup CharacterReader.swift
[35/64] Compiling SwiftSoup Cleaner.swift
[36/64] Compiling SwiftSoup TreeBuilder.swift
[37/64] Compiling SwiftSoup UTF8Arrays.swift
[38/64] Compiling SwiftSoup UnicodeScalar.swift
[39/64] Compiling SwiftSoup Validate.swift
[40/64] Compiling SwiftSoup Whitelist.swift
[41/64] Compiling SwiftSoup XmlDeclaration.swift
[42/64] Compiling SwiftSoup XmlTreeBuilder.swift
[43/64] Compiling SwiftSoup QueryParserCache.swift
[44/64] Compiling SwiftSoup SourceRange.swift
[45/64] Compiling SwiftSoup StreamReader.swift
[46/64] Compiling SwiftSoup String.swift
[47/64] Compiling SwiftSoup StringBuilder.swift
[48/64] Compiling SwiftSoup StringUtil.swift
[49/64] Compiling SwiftSoup StructuralEvaluator.swift
[50/64] Compiling SwiftSoup Element.swift
[51/64] Compiling SwiftSoup ElementQuery.swift
[52/64] Compiling SwiftSoup Elements.swift
[53/64] Compiling SwiftSoup Entities.swift
[54/64] Compiling SwiftSoup Evaluator.swift
[55/64] Compiling SwiftSoup Exception.swift
[56/64] Compiling SwiftSoup FormElement.swift
[57/64] Compiling SwiftSoup HtmlTreeBuilder.swift
[58/64] Compiling SwiftSoup SwiftSoup.swift
[59/64] Compiling SwiftSoup Tag.swift
[60/64] Compiling SwiftSoup TextNode.swift
[61/64] Compiling SwiftSoup Token.swift
[62/64] Compiling SwiftSoup TokenQueue.swift
[63/64] Compiling SwiftSoup Tokeniser.swift
[64/64] Compiling SwiftSoup TokeniserState.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[66/68] Compiling OpenGraphReader OpenGraphResponse.swift
[67/68] Emitting module OpenGraphReader
/host/spi-builder-workspace/Sources/OpenGraphReader/OpenGraphReader.swift:14:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 | /// A utility class for reading OpenGraph data from a URL.
13 | public class OpenGraphReader {
14 |     private let urlSession: URLSession
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 |     /// Initializes an instance of `OpenGraphReader`.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/OpenGraphReader/OpenGraphReader.swift:18:39: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     /// Initializes an instance of `OpenGraphReader`.
17 |     /// - Parameter sessionConfiguration: The session configuration for URL requests.
18 |     public init(sessionConfiguration: URLSessionConfiguration = .default) {
   |                                       `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |         urlSession = URLSession(configuration: sessionConfiguration)
20 |     }
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/OpenGraphReader/OpenGraphReader.swift:18:66: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
16 |     /// Initializes an instance of `OpenGraphReader`.
17 |     /// - Parameter sessionConfiguration: The session configuration for URL requests.
18 |     public init(sessionConfiguration: URLSessionConfiguration = .default) {
   |                                                                  `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
19 |         urlSession = URLSession(configuration: sessionConfiguration)
20 |     }
/host/spi-builder-workspace/Sources/OpenGraphReader/OpenGraphReader.swift:18:66: error: value of type '_' expected to be instance of class or class-constrained type
16 |     /// Initializes an instance of `OpenGraphReader`.
17 |     /// - Parameter sessionConfiguration: The session configuration for URL requests.
18 |     public init(sessionConfiguration: URLSessionConfiguration = .default) {
   |                                                                  `- error: value of type '_' expected to be instance of class or class-constrained type
19 |         urlSession = URLSession(configuration: sessionConfiguration)
20 |     }
/host/spi-builder-workspace/Sources/OpenGraphReader/OpenGraphReader.swift:25:32: error: cannot find type 'URLRequest' in scope
23 |     /// - Parameter request: The URL request to fetch OpenGraph data from.
24 |     /// - Returns: An `OpenGraphResponse` containing the fetched data.
25 |     public func fetch(request: URLRequest) async throws -> OpenGraphResponse {
   |                                `- error: cannot find type 'URLRequest' in scope
26 |         let (data, response) = try await urlSession.data(for: request)
27 |
/host/spi-builder-workspace/Sources/OpenGraphReader/OpenGraphReader.swift:77:9: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
75 | }
76 |
77 | private extension HTTPURLResponse {
   |         `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
78 |     var ok: Bool {
79 |         (200...299).contains(statusCode)
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[68/68] Compiling OpenGraphReader OpenGraphReader.swift
/host/spi-builder-workspace/Sources/OpenGraphReader/OpenGraphReader.swift:14:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 | /// A utility class for reading OpenGraph data from a URL.
13 | public class OpenGraphReader {
14 |     private let urlSession: URLSession
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 |     /// Initializes an instance of `OpenGraphReader`.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/OpenGraphReader/OpenGraphReader.swift:18:39: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     /// Initializes an instance of `OpenGraphReader`.
17 |     /// - Parameter sessionConfiguration: The session configuration for URL requests.
18 |     public init(sessionConfiguration: URLSessionConfiguration = .default) {
   |                                       `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |         urlSession = URLSession(configuration: sessionConfiguration)
20 |     }
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/OpenGraphReader/OpenGraphReader.swift:18:66: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
16 |     /// Initializes an instance of `OpenGraphReader`.
17 |     /// - Parameter sessionConfiguration: The session configuration for URL requests.
18 |     public init(sessionConfiguration: URLSessionConfiguration = .default) {
   |                                                                  `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
19 |         urlSession = URLSession(configuration: sessionConfiguration)
20 |     }
/host/spi-builder-workspace/Sources/OpenGraphReader/OpenGraphReader.swift:18:66: error: value of type '_' expected to be instance of class or class-constrained type
16 |     /// Initializes an instance of `OpenGraphReader`.
17 |     /// - Parameter sessionConfiguration: The session configuration for URL requests.
18 |     public init(sessionConfiguration: URLSessionConfiguration = .default) {
   |                                                                  `- error: value of type '_' expected to be instance of class or class-constrained type
19 |         urlSession = URLSession(configuration: sessionConfiguration)
20 |     }
/host/spi-builder-workspace/Sources/OpenGraphReader/OpenGraphReader.swift:25:32: error: cannot find type 'URLRequest' in scope
23 |     /// - Parameter request: The URL request to fetch OpenGraph data from.
24 |     /// - Returns: An `OpenGraphResponse` containing the fetched data.
25 |     public func fetch(request: URLRequest) async throws -> OpenGraphResponse {
   |                                `- error: cannot find type 'URLRequest' in scope
26 |         let (data, response) = try await urlSession.data(for: request)
27 |
/host/spi-builder-workspace/Sources/OpenGraphReader/OpenGraphReader.swift:77:9: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
75 | }
76 |
77 | private extension HTTPURLResponse {
   |         `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
78 |     var ok: Bool {
79 |         (200...299).contains(statusCode)
/host/spi-builder-workspace/Sources/OpenGraphReader/OpenGraphReader.swift:19:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
17 |     /// - Parameter sessionConfiguration: The session configuration for URL requests.
18 |     public init(sessionConfiguration: URLSessionConfiguration = .default) {
19 |         urlSession = URLSession(configuration: sessionConfiguration)
   |                      `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
20 |     }
21 |
/host/spi-builder-workspace/Sources/OpenGraphReader/OpenGraphReader.swift:26:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
24 |     /// - Returns: An `OpenGraphResponse` containing the fetched data.
25 |     public func fetch(request: URLRequest) async throws -> OpenGraphResponse {
26 |         let (data, response) = try await urlSession.data(for: request)
   |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
27 |
28 |         guard let htmlResponse = response as? HTTPURLResponse, htmlResponse.ok else {
/host/spi-builder-workspace/Sources/OpenGraphReader/OpenGraphReader.swift:43:35: error: no exact matches in call to initializer
41 |     /// - Returns: An `OpenGraphResponse` containing the fetched data.
42 |     public func fetch(url: URL) async throws -> OpenGraphResponse {
43 |         try await fetch(request: .init(url: url))
   |                                   |- error: no exact matches in call to initializer
   |                                   |- note: candidate expects value of type 'String' for parameter #1 (got 'URL')
   |                                   |- note: candidate expects value of type 'any Decoder' for parameter #1 (got 'URL')
   |                                   `- note: candidate expects value of type 'String' for parameter #1 (got 'URL')
44 |     }
45 |
/host/spi-builder-workspace/Sources/OpenGraphReader/OpenGraphReader.swift:43:24: error: incorrect argument label in call (have 'request:', expected 'url:')
41 |     /// - Returns: An `OpenGraphResponse` containing the fetched data.
42 |     public func fetch(url: URL) async throws -> OpenGraphResponse {
43 |         try await fetch(request: .init(url: url))
   |                        `- error: incorrect argument label in call (have 'request:', expected 'url:')
44 |     }
45 |
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
BUILD FAILURE 6.3 android