The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DiasporaNodeInfo, reference main (48bfb6), with Swift 6.3 for Wasm on 14 Apr 2026 16:16:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shadone/DiasporaNodeInfo.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/shadone/DiasporaNodeInfo
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 48bfb66 Updated changelog
Cloned https://github.com/shadone/DiasporaNodeInfo.git
Revision (git rev-parse @):
48bfb66429fa4db7dbab033e1cdfbfeedecc0d4e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/shadone/DiasporaNodeInfo.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/shadone/DiasporaNodeInfo.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-argument-parser
[1/17523] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.26s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (2.04s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/14] Copying PrivacyInfo.xcprivacy
[3/14] Write sources
[7/14] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/41] Emitting module DiasporaNodeInfo
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:38:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |     // MARK: Private
 37 |
 38 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     private let jsonDecoder = JSONDecoder()
 40 |
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/DiasporaNodeInfo/NodeInfoManager.swift:45:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |     /// Create a manager for fetching node info using the given network session.
 44 |     /// - Parameter session: optional ``URLSession`` that will be used for fetching node info.
 45 |     public init(session: URLSession = .shared) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |         self.session = session
 47 |     }
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/DiasporaNodeInfo/NodeInfoManager.swift:45:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 43 |     /// Create a manager for fetching node info using the given network session.
 44 |     /// - Parameter session: optional ``URLSession`` that will be used for fetching node info.
 45 |     public init(session: URLSession = .shared) {
    |                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 46 |         self.session = session
 47 |     }
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:45:40: error: value of type '_' expected to be instance of class or class-constrained type
 43 |     /// Create a manager for fetching node info using the given network session.
 44 |     /// - Parameter session: optional ``URLSession`` that will be used for fetching node info.
 45 |     public init(session: URLSession = .shared) {
    |                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 46 |         self.session = session
 47 |     }
[10/44] Emitting module ArgumentParserToolInfo
[11/44] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/46] Wrapping AST for ArgumentParserToolInfo for debugging
[14/91] Compiling ArgumentParser CompletionKind.swift
[15/91] Compiling ArgumentParser Errors.swift
[16/91] Compiling ArgumentParser Flag.swift
[17/91] Compiling ArgumentParser NameSpecification.swift
[18/91] Compiling ArgumentParser Mutex.swift
[19/91] Compiling ArgumentParser Platform.swift
[20/91] Compiling ArgumentParser SequenceExtensions.swift
[21/91] Compiling ArgumentParser Argument.swift
[22/91] Compiling ArgumentParser ArgumentDiscussion.swift
[23/91] Compiling ArgumentParser ArgumentHelp.swift
[24/91] Compiling ArgumentParser ParsableCommand.swift
[25/91] Compiling ArgumentParser CommandParser.swift
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:38:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |     // MARK: Private
 37 |
 38 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     private let jsonDecoder = JSONDecoder()
 40 |
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/DiasporaNodeInfo/NodeInfoManager.swift:45:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |     /// Create a manager for fetching node info using the given network session.
 44 |     /// - Parameter session: optional ``URLSession`` that will be used for fetching node info.
 45 |     public init(session: URLSession = .shared) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |         self.session = session
 47 |     }
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/DiasporaNodeInfo/NodeInfoManager.swift:45:40: error: value of type '_' expected to be instance of class or class-constrained type
 43 |     /// Create a manager for fetching node info using the given network session.
 44 |     /// - Parameter session: optional ``URLSession`` that will be used for fetching node info.
 45 |     public init(session: URLSession = .shared) {
    |                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 46 |         self.session = session
 47 |     }
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:45:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 43 |     /// Create a manager for fetching node info using the given network session.
 44 |     /// - Parameter session: optional ``URLSession`` that will be used for fetching node info.
 45 |     public init(session: URLSession = .shared) {
    |                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 46 |         self.session = session
 47 |     }
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:59:23: error: cannot find 'URLRequest' in scope
 57 |         }
 58 |
 59 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 60 |         request.allHTTPHeaderFields = [
 61 |             "Accept": "application/json",
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:64:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 62 |         ]
 63 |         do {
 64 |             let (data, urlResponse) = try await session.data(for: request)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 65 |             guard let httpUrlResponse = urlResponse as? HTTPURLResponse else {
 66 |                 fatalError("Huh")
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:116:67: error: cannot infer key path type from context; consider explicitly specifying a root type
114 |             }
115 |
116 |             let allSupportedSchemas = wellKnownNodeInfo.links.map(\.rel)
    |                                                                   `- error: cannot infer key path type from context; consider explicitly specifying a root type
117 |             throw Error.supportedNodeInfoSchemaNotFound(schemas: allSupportedSchemas)
118 |         } catch {
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:131:23: error: cannot find 'URLRequest' in scope
129 |         let nodeInfoUrl = try await discoverNodeInfoUrlFromWellKnownNodeInfo(for: domain)
130 |
131 |         var request = URLRequest(url: nodeInfoUrl)
    |                       `- error: cannot find 'URLRequest' in scope
132 |
133 |         /// The spec: http://nodeinfo.diaspora.software/protocol.html
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:141:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
139 |         ]
140 |
141 |         let (data, urlResponse) = try await session.data(for: request)
    |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
142 |         guard let httpUrlResponse = urlResponse as? HTTPURLResponse else {
143 |             fatalError("Huh")
[26/91] Compiling ArgumentParser InputKey.swift
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:38:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |     // MARK: Private
 37 |
 38 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     private let jsonDecoder = JSONDecoder()
 40 |
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/DiasporaNodeInfo/NodeInfoManager.swift:45:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |     /// Create a manager for fetching node info using the given network session.
 44 |     /// - Parameter session: optional ``URLSession`` that will be used for fetching node info.
 45 |     public init(session: URLSession = .shared) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |         self.session = session
 47 |     }
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/DiasporaNodeInfo/NodeInfoManager.swift:45:40: error: value of type '_' expected to be instance of class or class-constrained type
 43 |     /// Create a manager for fetching node info using the given network session.
 44 |     /// - Parameter session: optional ``URLSession`` that will be used for fetching node info.
 45 |     public init(session: URLSession = .shared) {
    |                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 46 |         self.session = session
 47 |     }
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:45:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 43 |     /// Create a manager for fetching node info using the given network session.
 44 |     /// - Parameter session: optional ``URLSession`` that will be used for fetching node info.
 45 |     public init(session: URLSession = .shared) {
    |                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 46 |         self.session = session
 47 |     }
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:59:23: error: cannot find 'URLRequest' in scope
 57 |         }
 58 |
 59 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 60 |         request.allHTTPHeaderFields = [
 61 |             "Accept": "application/json",
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:64:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 62 |         ]
 63 |         do {
 64 |             let (data, urlResponse) = try await session.data(for: request)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 65 |             guard let httpUrlResponse = urlResponse as? HTTPURLResponse else {
 66 |                 fatalError("Huh")
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:116:67: error: cannot infer key path type from context; consider explicitly specifying a root type
114 |             }
115 |
116 |             let allSupportedSchemas = wellKnownNodeInfo.links.map(\.rel)
    |                                                                   `- error: cannot infer key path type from context; consider explicitly specifying a root type
117 |             throw Error.supportedNodeInfoSchemaNotFound(schemas: allSupportedSchemas)
118 |         } catch {
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:131:23: error: cannot find 'URLRequest' in scope
129 |         let nodeInfoUrl = try await discoverNodeInfoUrlFromWellKnownNodeInfo(for: domain)
130 |
131 |         var request = URLRequest(url: nodeInfoUrl)
    |                       `- error: cannot find 'URLRequest' in scope
132 |
133 |         /// The spec: http://nodeinfo.diaspora.software/protocol.html
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:141:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
139 |         ]
140 |
141 |         let (data, urlResponse) = try await session.data(for: request)
    |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
142 |         guard let httpUrlResponse = urlResponse as? HTTPURLResponse else {
143 |             fatalError("Huh")
[27/91] Compiling ArgumentParser ArgumentVisibility.swift
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:38:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |     // MARK: Private
 37 |
 38 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     private let jsonDecoder = JSONDecoder()
 40 |
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/DiasporaNodeInfo/NodeInfoManager.swift:45:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |     /// Create a manager for fetching node info using the given network session.
 44 |     /// - Parameter session: optional ``URLSession`` that will be used for fetching node info.
 45 |     public init(session: URLSession = .shared) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |         self.session = session
 47 |     }
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/DiasporaNodeInfo/NodeInfoManager.swift:45:40: error: value of type '_' expected to be instance of class or class-constrained type
 43 |     /// Create a manager for fetching node info using the given network session.
 44 |     /// - Parameter session: optional ``URLSession`` that will be used for fetching node info.
 45 |     public init(session: URLSession = .shared) {
    |                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 46 |         self.session = session
 47 |     }
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:45:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 43 |     /// Create a manager for fetching node info using the given network session.
 44 |     /// - Parameter session: optional ``URLSession`` that will be used for fetching node info.
 45 |     public init(session: URLSession = .shared) {
    |                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 46 |         self.session = session
 47 |     }
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:59:23: error: cannot find 'URLRequest' in scope
 57 |         }
 58 |
 59 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 60 |         request.allHTTPHeaderFields = [
 61 |             "Accept": "application/json",
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:64:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 62 |         ]
 63 |         do {
 64 |             let (data, urlResponse) = try await session.data(for: request)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 65 |             guard let httpUrlResponse = urlResponse as? HTTPURLResponse else {
 66 |                 fatalError("Huh")
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:116:67: error: cannot infer key path type from context; consider explicitly specifying a root type
114 |             }
115 |
116 |             let allSupportedSchemas = wellKnownNodeInfo.links.map(\.rel)
    |                                                                   `- error: cannot infer key path type from context; consider explicitly specifying a root type
117 |             throw Error.supportedNodeInfoSchemaNotFound(schemas: allSupportedSchemas)
118 |         } catch {
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:131:23: error: cannot find 'URLRequest' in scope
129 |         let nodeInfoUrl = try await discoverNodeInfoUrlFromWellKnownNodeInfo(for: domain)
130 |
131 |         var request = URLRequest(url: nodeInfoUrl)
    |                       `- error: cannot find 'URLRequest' in scope
132 |
133 |         /// The spec: http://nodeinfo.diaspora.software/protocol.html
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:141:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
139 |         ]
140 |
141 |         let (data, urlResponse) = try await session.data(for: request)
    |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
142 |         guard let httpUrlResponse = urlResponse as? HTTPURLResponse else {
143 |             fatalError("Huh")
[28/91] Compiling ArgumentParser Option.swift
[29/91] Compiling ArgumentParser OptionGroup.swift
[30/91] Compiling ArgumentParser Foundation.swift
[31/91] Compiling ArgumentParser ArgumentDecoder.swift
[32/91] Compiling ArgumentParser ArgumentDefinition.swift
[33/91] Compiling ArgumentParser ArgumentSet.swift
[34/91] Compiling ArgumentParser BashCompletionsGenerator.swift
[35/91] Compiling ArgumentParser CompletionsGenerator.swift
[36/91] Compiling ArgumentParser FishCompletionsGenerator.swift
[37/91] Compiling ArgumentParser ZshCompletionsGenerator.swift
[38/91] Compiling ArgumentParser StringExtensions.swift
[39/91] Compiling ArgumentParser SwiftExtensions.swift
[40/91] Compiling ArgumentParser InputOrigin.swift
BUILD FAILURE 6.3 wasm