Build Information
Failed to build OpenGraphReader, reference main (06ae34), with Swift 6.2 for Linux on 20 Jun 2025 09:25:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.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: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/pzmudzinski/OpenGraphReader.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/scinfu/SwiftSoup.git
[1/3916] Fetching swiftsoup
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.76s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.8.8 (1.15s)
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.8.8
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/57] Emitting module SwiftSoup
[5/64] Compiling SwiftSoup SimpleDictionary.swift
[6/64] Compiling SwiftSoup StreamReader.swift
[7/64] Compiling SwiftSoup String.swift
[8/64] Compiling SwiftSoup StringBuilder.swift
[9/64] Compiling SwiftSoup StringUtil.swift
[10/64] Compiling SwiftSoup StructuralEvaluator.swift
[11/64] Compiling SwiftSoup SwiftSoup.swift
[12/64] Compiling SwiftSoup UTF8Arrays.swift
[13/64] Compiling SwiftSoup UnfairLock.swift
[14/64] Compiling SwiftSoup UnicodeScalar.swift
[15/64] Compiling SwiftSoup Validate.swift
[16/64] Compiling SwiftSoup Whitelist.swift
[17/64] Compiling SwiftSoup XmlDeclaration.swift
[18/64] Compiling SwiftSoup XmlTreeBuilder.swift
[19/64] Compiling SwiftSoup ParseErrorList.swift
[20/64] Compiling SwiftSoup ParseSettings.swift
[21/64] Compiling SwiftSoup Parser.swift
[22/64] Compiling SwiftSoup ParsingStrings.swift
[23/64] Compiling SwiftSoup Pattern.swift
[24/64] Compiling SwiftSoup QueryParser.swift
[25/64] Compiling SwiftSoup SerializationException.swift
[26/64] Compiling SwiftSoup Tag.swift
[27/64] Compiling SwiftSoup TextNode.swift
[28/64] Compiling SwiftSoup Token.swift
[29/64] Compiling SwiftSoup TokenQueue.swift
[30/64] Compiling SwiftSoup Tokeniser.swift
[31/64] Compiling SwiftSoup TokeniserState.swift
[32/64] Compiling SwiftSoup TreeBuilder.swift
[33/64] Compiling SwiftSoup HtmlTreeBuilderState.swift
[34/64] Compiling SwiftSoup HttpStatusException.swift
[35/64] Compiling SwiftSoup Mutex.swift
[36/64] Compiling SwiftSoup Node.swift
[37/64] Compiling SwiftSoup NodeTraversor.swift
[38/64] Compiling SwiftSoup NodeVisitor.swift
[39/64] Compiling SwiftSoup OrderedSet.swift
[40/64] Compiling SwiftSoup ParseError.swift
[41/64] Compiling SwiftSoup Collector.swift
[42/64] Compiling SwiftSoup CombiningEvaluator.swift
[43/64] Compiling SwiftSoup Comment.swift
[44/64] Compiling SwiftSoup Connection.swift
[45/64] Compiling SwiftSoup CssSelector.swift
[46/64] Compiling SwiftSoup DataNode.swift
[47/64] Compiling SwiftSoup DataUtil.swift
[48/64] Compiling SwiftSoup Document.swift
[49/64] Compiling SwiftSoup ArrayExt.swift
[50/64] Compiling SwiftSoup Attribute.swift
[51/64] Compiling SwiftSoup Attributes.swift
[52/64] Compiling SwiftSoup BinarySearch.swift
[53/64] Compiling SwiftSoup BooleanAttribute.swift
[54/64] Compiling SwiftSoup CharacterExt.swift
[55/64] Compiling SwiftSoup CharacterReader.swift
[56/64] Compiling SwiftSoup Cleaner.swift
[57/64] Compiling SwiftSoup DocumentType.swift
[58/64] Compiling SwiftSoup Element.swift
[59/64] Compiling SwiftSoup Elements.swift
[60/64] Compiling SwiftSoup Entities.swift
[61/64] Compiling SwiftSoup Evaluator.swift
[62/64] Compiling SwiftSoup Exception.swift
[63/64] Compiling SwiftSoup FormElement.swift
[64/64] Compiling SwiftSoup HtmlTreeBuilder.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: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: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.2 linux