The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SeoWebChecker, reference v1.0.5 (c88785), with Swift 6.1 for Android on 9 Oct 2026 04:10:35 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jaiganesh6999/seowebchecker-seoaudit-sdk.git
Reference: v1.0.5
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/jaiganesh6999/seowebchecker-seoaudit-sdk
 * tag               v1.0.5     -> FETCH_HEAD
HEAD is now at c887853 feat(ocaml): add OCaml SDK, dune-project, opam manifest, and dune-release workflow
Cloned https://github.com/jaiganesh6999/seowebchecker-seoaudit-sdk.git
Revision (git rev-parse @):
c8878531845a82238b41a74a42488f7e792e4357
SUCCESS checkout https://github.com/jaiganesh6999/seowebchecker-seoaudit-sdk.git at v1.0.5
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jaiganesh6999/seowebchecker-seoaudit-sdk.git
https://github.com/jaiganesh6999/seowebchecker-seoaudit-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:396310cef4466ceb116ed5462b0b92d4deb353c0dad749b406b7fd226f6db9af
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module SeoWebChecker
/host/spi-builder-workspace/swift/Sources/SeoWebChecker/Auditor.swift:6:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  4 | public final class Auditor: @unchecked Sendable {
  5 |     public var userAgent: String
  6 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  7 |
  8 |     public init(
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/swift/Sources/SeoWebChecker/Auditor.swift:10:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 |     public init(
  9 |         userAgent: String = "SEOWebChecker-SwiftBot/1.0 (+https://seowebchecker.com/)",
 10 |         urlSession: URLSession = .shared
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |     ) {
 12 |         self.userAgent = userAgent
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/swift/Sources/SeoWebChecker/Auditor.swift:10:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  8 |     public init(
  9 |         userAgent: String = "SEOWebChecker-SwiftBot/1.0 (+https://seowebchecker.com/)",
 10 |         urlSession: URLSession = .shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 11 |     ) {
 12 |         self.userAgent = userAgent
[4/6] Compiling SeoWebChecker Models.swift
[5/6] Compiling SeoWebChecker SeoWebChecker.swift
/host/spi-builder-workspace/swift/Sources/SeoWebChecker/Auditor.swift:10:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  8 |     public init(
  9 |         userAgent: String = "SEOWebChecker-SwiftBot/1.0 (+https://seowebchecker.com/)",
 10 |         urlSession: URLSession = .shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 11 |     ) {
 12 |         self.userAgent = userAgent
[6/6] Compiling SeoWebChecker Auditor.swift
/host/spi-builder-workspace/swift/Sources/SeoWebChecker/Auditor.swift:6:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  4 | public final class Auditor: @unchecked Sendable {
  5 |     public var userAgent: String
  6 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  7 |
  8 |     public init(
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/swift/Sources/SeoWebChecker/Auditor.swift:10:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 |     public init(
  9 |         userAgent: String = "SEOWebChecker-SwiftBot/1.0 (+https://seowebchecker.com/)",
 10 |         urlSession: URLSession = .shared
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |     ) {
 12 |         self.userAgent = userAgent
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/swift/Sources/SeoWebChecker/Auditor.swift:10:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  8 |     public init(
  9 |         userAgent: String = "SEOWebChecker-SwiftBot/1.0 (+https://seowebchecker.com/)",
 10 |         urlSession: URLSession = .shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 11 |     ) {
 12 |         self.userAgent = userAgent
/host/spi-builder-workspace/swift/Sources/SeoWebChecker/Auditor.swift:305:23: error: cannot find 'URLRequest' in scope
303 |     @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *)
304 |     public func auditURL(_ url: URL) async throws -> AuditResult {
305 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
306 |         request.setValue(userAgent, forHTTPHeaderField: "User-Agent")
307 |
/host/spi-builder-workspace/swift/Sources/SeoWebChecker/Auditor.swift:308:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
306 |         request.setValue(userAgent, forHTTPHeaderField: "User-Agent")
307 |
308 |         let (data, response) = try await urlSession.data(for: request)
    |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
309 |         guard let httpResponse = response as? HTTPURLResponse, (200...299).contains(httpResponse.statusCode) else {
310 |             throw URLError(.badServerResponse)
/host/spi-builder-workspace/swift/Sources/SeoWebChecker/Auditor.swift:327:23: error: cannot find 'URLRequest' in scope
325 |         }
326 |
327 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
328 |         request.setValue(userAgent, forHTTPHeaderField: "User-Agent")
329 |
/host/spi-builder-workspace/swift/Sources/SeoWebChecker/Auditor.swift:330:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
328 |         request.setValue(userAgent, forHTTPHeaderField: "User-Agent")
329 |
330 |         let task = urlSession.dataTask(with: request) { [weak self] data, response, error in
    |                               `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
331 |             if let error = error {
332 |                 completion(.failure(error))
/host/spi-builder-workspace/swift/Sources/SeoWebChecker/Auditor.swift:330:69: error: cannot infer type of closure parameter 'data' without a type annotation
328 |         request.setValue(userAgent, forHTTPHeaderField: "User-Agent")
329 |
330 |         let task = urlSession.dataTask(with: request) { [weak self] data, response, error in
    |                                                                     `- error: cannot infer type of closure parameter 'data' without a type annotation
331 |             if let error = error {
332 |                 completion(.failure(error))
/host/spi-builder-workspace/swift/Sources/SeoWebChecker/Auditor.swift:330:75: error: cannot infer type of closure parameter 'response' without a type annotation
328 |         request.setValue(userAgent, forHTTPHeaderField: "User-Agent")
329 |
330 |         let task = urlSession.dataTask(with: request) { [weak self] data, response, error in
    |                                                                           `- error: cannot infer type of closure parameter 'response' without a type annotation
331 |             if let error = error {
332 |                 completion(.failure(error))
/host/spi-builder-workspace/swift/Sources/SeoWebChecker/Auditor.swift:330:85: error: cannot infer type of closure parameter 'error' without a type annotation
328 |         request.setValue(userAgent, forHTTPHeaderField: "User-Agent")
329 |
330 |         let task = urlSession.dataTask(with: request) { [weak self] data, response, error in
    |                                                                                     `- error: cannot infer type of closure parameter 'error' without a type annotation
331 |             if let error = error {
332 |                 completion(.failure(error))
/host/spi-builder-workspace/swift/Sources/SeoWebChecker/Auditor.swift:338:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
336 |             guard let self = self, let data = data,
337 |                   let httpResponse = response as? HTTPURLResponse,
338 |                   (200...299).contains(httpResponse.statusCode),
    |                                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
339 |                   let html = String(data: data, encoding: .utf8) ?? String(data: data, encoding: .isoLatin1) else {
340 |                 completion(.failure(URLError(.badServerResponse)))
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:396310cef4466ceb116ed5462b0b92d4deb353c0dad749b406b7fd226f6db9af
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Compiling SeoWebChecker Models.swift
[3/5] Emitting module SeoWebChecker
/host/spi-builder-workspace/swift/Sources/SeoWebChecker/Auditor.swift:6:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  4 | public final class Auditor: @unchecked Sendable {
  5 |     public var userAgent: String
  6 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  7 |
  8 |     public init(
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/swift/Sources/SeoWebChecker/Auditor.swift:10:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 |     public init(
  9 |         userAgent: String = "SEOWebChecker-SwiftBot/1.0 (+https://seowebchecker.com/)",
 10 |         urlSession: URLSession = .shared
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |     ) {
 12 |         self.userAgent = userAgent
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/swift/Sources/SeoWebChecker/Auditor.swift:10:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  8 |     public init(
  9 |         userAgent: String = "SEOWebChecker-SwiftBot/1.0 (+https://seowebchecker.com/)",
 10 |         urlSession: URLSession = .shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 11 |     ) {
 12 |         self.userAgent = userAgent
[4/5] Compiling SeoWebChecker SeoWebChecker.swift
/host/spi-builder-workspace/swift/Sources/SeoWebChecker/Auditor.swift:10:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  8 |     public init(
  9 |         userAgent: String = "SEOWebChecker-SwiftBot/1.0 (+https://seowebchecker.com/)",
 10 |         urlSession: URLSession = .shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 11 |     ) {
 12 |         self.userAgent = userAgent
[5/5] Compiling SeoWebChecker Auditor.swift
/host/spi-builder-workspace/swift/Sources/SeoWebChecker/Auditor.swift:6:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  4 | public final class Auditor: @unchecked Sendable {
  5 |     public var userAgent: String
  6 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  7 |
  8 |     public init(
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/swift/Sources/SeoWebChecker/Auditor.swift:10:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 |     public init(
  9 |         userAgent: String = "SEOWebChecker-SwiftBot/1.0 (+https://seowebchecker.com/)",
 10 |         urlSession: URLSession = .shared
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |     ) {
 12 |         self.userAgent = userAgent
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/swift/Sources/SeoWebChecker/Auditor.swift:10:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  8 |     public init(
  9 |         userAgent: String = "SEOWebChecker-SwiftBot/1.0 (+https://seowebchecker.com/)",
 10 |         urlSession: URLSession = .shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 11 |     ) {
 12 |         self.userAgent = userAgent
/host/spi-builder-workspace/swift/Sources/SeoWebChecker/Auditor.swift:305:23: error: cannot find 'URLRequest' in scope
303 |     @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *)
304 |     public func auditURL(_ url: URL) async throws -> AuditResult {
305 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
306 |         request.setValue(userAgent, forHTTPHeaderField: "User-Agent")
307 |
/host/spi-builder-workspace/swift/Sources/SeoWebChecker/Auditor.swift:308:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
306 |         request.setValue(userAgent, forHTTPHeaderField: "User-Agent")
307 |
308 |         let (data, response) = try await urlSession.data(for: request)
    |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
309 |         guard let httpResponse = response as? HTTPURLResponse, (200...299).contains(httpResponse.statusCode) else {
310 |             throw URLError(.badServerResponse)
/host/spi-builder-workspace/swift/Sources/SeoWebChecker/Auditor.swift:327:23: error: cannot find 'URLRequest' in scope
325 |         }
326 |
327 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
328 |         request.setValue(userAgent, forHTTPHeaderField: "User-Agent")
329 |
/host/spi-builder-workspace/swift/Sources/SeoWebChecker/Auditor.swift:330:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
328 |         request.setValue(userAgent, forHTTPHeaderField: "User-Agent")
329 |
330 |         let task = urlSession.dataTask(with: request) { [weak self] data, response, error in
    |                               `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
331 |             if let error = error {
332 |                 completion(.failure(error))
/host/spi-builder-workspace/swift/Sources/SeoWebChecker/Auditor.swift:330:69: error: cannot infer type of closure parameter 'data' without a type annotation
328 |         request.setValue(userAgent, forHTTPHeaderField: "User-Agent")
329 |
330 |         let task = urlSession.dataTask(with: request) { [weak self] data, response, error in
    |                                                                     `- error: cannot infer type of closure parameter 'data' without a type annotation
331 |             if let error = error {
332 |                 completion(.failure(error))
/host/spi-builder-workspace/swift/Sources/SeoWebChecker/Auditor.swift:330:75: error: cannot infer type of closure parameter 'response' without a type annotation
328 |         request.setValue(userAgent, forHTTPHeaderField: "User-Agent")
329 |
330 |         let task = urlSession.dataTask(with: request) { [weak self] data, response, error in
    |                                                                           `- error: cannot infer type of closure parameter 'response' without a type annotation
331 |             if let error = error {
332 |                 completion(.failure(error))
/host/spi-builder-workspace/swift/Sources/SeoWebChecker/Auditor.swift:330:85: error: cannot infer type of closure parameter 'error' without a type annotation
328 |         request.setValue(userAgent, forHTTPHeaderField: "User-Agent")
329 |
330 |         let task = urlSession.dataTask(with: request) { [weak self] data, response, error in
    |                                                                                     `- error: cannot infer type of closure parameter 'error' without a type annotation
331 |             if let error = error {
332 |                 completion(.failure(error))
/host/spi-builder-workspace/swift/Sources/SeoWebChecker/Auditor.swift:338:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
336 |             guard let self = self, let data = data,
337 |                   let httpResponse = response as? HTTPURLResponse,
338 |                   (200...299).contains(httpResponse.statusCode),
    |                                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
339 |                   let html = String(data: data, encoding: .utf8) ?? String(data: data, encoding: .isoLatin1) else {
340 |                 completion(.failure(URLError(.badServerResponse)))
BUILD FAILURE 6.1 android