The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Feedi, reference main (2e83c2), with Swift 6.3 for Linux on 23 Oct 2026 19:18:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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:linux-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/getfeedi/feedi-ios-sdk.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/getfeedi/feedi-ios-sdk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2e83c2b feat: add built-in metadata opt-out for SDK 1.1.0
Cloned https://github.com/getfeedi/feedi-ios-sdk.git
Revision (git rev-parse @):
2e83c2b86e525a0c4f56e907d042f0ddb076d5cb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/getfeedi/feedi-ios-sdk.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/getfeedi/feedi-ios-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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:linux-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:caade26a8dd5b9e237c5c17486feb4a843d699145c768feadca9f1b811831234
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.3-latest
Building for debugging...
[0/3] Copying PrivacyInfo.xcprivacy
[1/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/15] Compiling Feedi FeediReceipt.swift
[5/15] Compiling Feedi HTTPTransport.swift
[6/16] Compiling Feedi MetadataProvider.swift
[7/16] Compiling Feedi resource_bundle_accessor.swift
[8/16] Compiling Feedi URL+StaticString.swift
[9/16] Compiling Feedi URLSessionHTTPTransport.swift
/host/spi-builder-workspace/Sources/Feedi/URLSessionHTTPTransport.swift:22:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |     private static let requestTimeout: TimeInterval = 15
21 |
22 |     private let session: URLSession
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     private let feedbackEndpoint: URL
24 |     private let encoder: JSONEncoder
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/Feedi/URLSessionHTTPTransport.swift:27:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     internal init(
27 |         session: URLSession = .shared,
   |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         feedbackEndpoint: URL? = nil
29 |     ) {
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/Feedi/URLSessionHTTPTransport.swift:27:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
25 |
26 |     internal init(
27 |         session: URLSession = .shared,
   |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
28 |         feedbackEndpoint: URL? = nil
29 |     ) {
/host/spi-builder-workspace/Sources/Feedi/URLSessionHTTPTransport.swift:27:32: error: value of type '_' expected to be instance of class or class-constrained type
25 |
26 |     internal init(
27 |         session: URLSession = .shared,
   |                                `- error: value of type '_' expected to be instance of class or class-constrained type
28 |         feedbackEndpoint: URL? = nil
29 |     ) {
/host/spi-builder-workspace/Sources/Feedi/URLSessionHTTPTransport.swift:39:26: error: cannot find 'URLRequest' in scope
37 |
38 |     internal func submitFeedback(_ request: HTTPTransportRequest) async throws -> HTTPTransportResponse {
39 |         var urlRequest = URLRequest(url: feedbackEndpoint)
   |                          `- error: cannot find 'URLRequest' in scope
40 |         urlRequest.httpMethod = "POST"
41 |         urlRequest.timeoutInterval = Self.requestTimeout
/host/spi-builder-workspace/Sources/Feedi/URLSessionHTTPTransport.swift:55:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
53 |         )
54 |
55 |         let (body, response) = try await session.data(for: urlRequest)
   |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
56 |         let statusCode = (response as? HTTPURLResponse)?.statusCode ?? 0
57 |
/host/spi-builder-workspace/Sources/Feedi/URLSessionHTTPTransport.swift:56:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
54 |
55 |         let (body, response) = try await session.data(for: urlRequest)
56 |         let statusCode = (response as? HTTPURLResponse)?.statusCode ?? 0
   |                                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
57 |
58 |         return HTTPTransportResponse(statusCode: statusCode, body: body)
[10/16] Compiling Feedi FeediError.swift
[11/16] Compiling Feedi FeediFeedbackSubmitting.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/16] Emitting module Feedi
/host/spi-builder-workspace/Sources/Feedi/URLSessionHTTPTransport.swift:27:32: error: value of type '_' expected to be instance of class or class-constrained type
25 |
26 |     internal init(
27 |         session: URLSession = .shared,
   |                                `- error: value of type '_' expected to be instance of class or class-constrained type
28 |         feedbackEndpoint: URL? = nil
29 |     ) {
/host/spi-builder-workspace/Sources/Feedi/URLSessionHTTPTransport.swift:27:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
25 |
26 |     internal init(
27 |         session: URLSession = .shared,
   |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
28 |         feedbackEndpoint: URL? = nil
29 |     ) {
/host/spi-builder-workspace/Sources/Feedi/URLSessionHTTPTransport.swift:22:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |     private static let requestTimeout: TimeInterval = 15
21 |
22 |     private let session: URLSession
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     private let feedbackEndpoint: URL
24 |     private let encoder: JSONEncoder
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/Feedi/URLSessionHTTPTransport.swift:27:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     internal init(
27 |         session: URLSession = .shared,
   |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         feedbackEndpoint: URL? = nil
29 |     ) {
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
[13/16] Compiling Feedi FeedbackPayload.swift
/host/spi-builder-workspace/Sources/Feedi/URLSessionHTTPTransport.swift:27:32: error: value of type '_' expected to be instance of class or class-constrained type
25 |
26 |     internal init(
27 |         session: URLSession = .shared,
   |                                `- error: value of type '_' expected to be instance of class or class-constrained type
28 |         feedbackEndpoint: URL? = nil
29 |     ) {
/host/spi-builder-workspace/Sources/Feedi/URLSessionHTTPTransport.swift:27:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
25 |
26 |     internal init(
27 |         session: URLSession = .shared,
   |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
28 |         feedbackEndpoint: URL? = nil
29 |     ) {
[14/16] Compiling Feedi Feedi.swift
/host/spi-builder-workspace/Sources/Feedi/URLSessionHTTPTransport.swift:27:32: error: value of type '_' expected to be instance of class or class-constrained type
25 |
26 |     internal init(
27 |         session: URLSession = .shared,
   |                                `- error: value of type '_' expected to be instance of class or class-constrained type
28 |         feedbackEndpoint: URL? = nil
29 |     ) {
/host/spi-builder-workspace/Sources/Feedi/URLSessionHTTPTransport.swift:27:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
25 |
26 |     internal init(
27 |         session: URLSession = .shared,
   |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
28 |         feedbackEndpoint: URL? = nil
29 |     ) {
[15/16] Compiling Feedi FeediClient.swift
/host/spi-builder-workspace/Sources/Feedi/URLSessionHTTPTransport.swift:27:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
25 |
26 |     internal init(
27 |         session: URLSession = .shared,
   |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
28 |         feedbackEndpoint: URL? = nil
29 |     ) {
/host/spi-builder-workspace/Sources/Feedi/URLSessionHTTPTransport.swift:27:32: error: value of type '_' expected to be instance of class or class-constrained type
25 |
26 |     internal init(
27 |         session: URLSession = .shared,
   |                                `- error: value of type '_' expected to be instance of class or class-constrained type
28 |         feedbackEndpoint: URL? = nil
29 |     ) {
[16/16] Compiling Feedi FeediConfiguration.swift
/host/spi-builder-workspace/Sources/Feedi/URLSessionHTTPTransport.swift:27:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
25 |
26 |     internal init(
27 |         session: URLSession = .shared,
   |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
28 |         feedbackEndpoint: URL? = nil
29 |     ) {
/host/spi-builder-workspace/Sources/Feedi/URLSessionHTTPTransport.swift:27:32: error: value of type '_' expected to be instance of class or class-constrained type
25 |
26 |     internal init(
27 |         session: URLSession = .shared,
   |                                `- error: value of type '_' expected to be instance of class or class-constrained type
28 |         feedbackEndpoint: URL? = nil
29 |     ) {
BUILD FAILURE 6.3 linux