The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build DiasporaNodeInfo, reference main (48bfb6), with Swift 6.1 for Android on 29 May 2025 10:58:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/shadone/DiasporaNodeInfo.git
https://github.com/shadone/DiasporaNodeInfo.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "DiasporaNodeInfo",
  "name" : "DiasporaNodeInfo",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "DiasporaNodeInfo",
      "targets" : [
        "DiasporaNodeInfo"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "nodeinfo-cli",
      "targets" : [
        "nodeinfo-cli"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "nodeinfo_cli",
      "module_type" : "SwiftTarget",
      "name" : "nodeinfo-cli",
      "path" : "Sources/nodeinfo-cli",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "nodeinfo-cli"
      ],
      "sources" : [
        "nodeinfo-cli.swift"
      ],
      "target_dependencies" : [
        "DiasporaNodeInfo"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "DiasporaNodeInfoTests",
      "module_type" : "SwiftTarget",
      "name" : "DiasporaNodeInfoTests",
      "path" : "Tests/DiasporaNodeInfoTests",
      "sources" : [
        "LenientIntTests.swift",
        "NodeInfo-v2.0-Tests.swift",
        "NodeInfo-v2.1-Tests.swift"
      ],
      "target_dependencies" : [
        "DiasporaNodeInfo"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DiasporaNodeInfo",
      "module_type" : "SwiftTarget",
      "name" : "DiasporaNodeInfo",
      "path" : "Sources/DiasporaNodeInfo",
      "product_memberships" : [
        "DiasporaNodeInfo",
        "nodeinfo-cli"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/DiasporaNodeInfo/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "2.0/2.0-InboundSite.swift",
        "2.0/2.0-NodeInfo.swift",
        "2.0/2.0-OutboundSite.swift",
        "2.0/2.0-Protocol.swift",
        "2.0/2.0-Services.swift",
        "2.0/2.0-Software.swift",
        "2.0/2.0-Usage.swift",
        "2.0/2.0-Users.swift",
        "2.0/2.0.swift",
        "2.1/2.1-InboundSite.swift",
        "2.1/2.1-NodeInfo.swift",
        "2.1/2.1-OutboundSite.swift",
        "2.1/2.1-Protocol.swift",
        "2.1/2.1-Services.swift",
        "2.1/2.1-Software.swift",
        "2.1/2.1-Usage.swift",
        "2.1/2.1-Users.swift",
        "2.1/2.1.swift",
        "DiasporaNodeInfo.swift",
        "NodeInfo.swift",
        "NodeInfoManager.swift",
        "Utils/File.swift",
        "Utils/JSON.swift",
        "Utils/ValueOrUnknown.swift",
        "WellKnownNodeInfo.swift",
        "WellKnownNodeInfoSchema.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
[1/15379] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.96s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (1.50s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/13] Write sources
[5/13] Copying PrivacyInfo.xcprivacy
[6/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/40] 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 |     }
[9/40] Emitting module ArgumentParserToolInfo
[10/40] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/44] Wrapping AST for ArgumentParserToolInfo for debugging
[13/82] Emitting module ArgumentParser
[14/82] Compiling ArgumentParser BashCompletionsGenerator.swift
[15/82] Compiling ArgumentParser CompletionsGenerator.swift
[16/82] Compiling ArgumentParser FishCompletionsGenerator.swift
[17/82] Compiling ArgumentParser ZshCompletionsGenerator.swift
[18/82] Compiling ArgumentParser Argument.swift
[19/82] Compiling ArgumentParser ArgumentHelp.swift
[20/87] Compiling ArgumentParser ArgumentVisibility.swift
[21/87] Compiling ArgumentParser CompletionKind.swift
[22/87] Compiling ArgumentParser Errors.swift
[23/87] Compiling ArgumentParser Flag.swift
[24/87] Compiling ArgumentParser NameSpecification.swift
[25/87] Compiling ArgumentParser Option.swift
[26/87] Compiling ArgumentParser ExpressibleByArgument.swift
[27/87] Compiling ArgumentParser ParsableArguments.swift
[28/87] Compiling ArgumentParser ParsableArgumentsValidation.swift
[29/87] Compiling ArgumentParser ParsableCommand.swift
[30/87] Compiling ArgumentParser ArgumentDecoder.swift
[31/87] Compiling ArgumentParser OptionGroup.swift
[32/87] Compiling ArgumentParser AsyncParsableCommand.swift
[33/87] Compiling ArgumentParser CommandConfiguration.swift
[34/87] Compiling ArgumentParser CommandGroup.swift
[35/87] Compiling ArgumentParser EnumerableFlag.swift
[36/87] Compiling ArgumentParser ArgumentDefinition.swift
[37/87] Compiling ArgumentParser ArgumentSet.swift
[38/87] Compiling ArgumentParser CommandParser.swift
[39/87] Compiling ArgumentParser InputKey.swift
[40/87] Compiling ArgumentParser InputOrigin.swift
[41/87] Compiling ArgumentParser CollectionExtensions.swift
[42/87] Compiling ArgumentParser Platform.swift
[43/87] Compiling ArgumentParser SequenceExtensions.swift
[44/87] Compiling ArgumentParser StringExtensions.swift
[45/87] Compiling ArgumentParser Tree.swift
[64/87] Compiling ArgumentParser Name.swift
[65/87] Compiling ArgumentParser Parsed.swift
[66/87] Compiling ArgumentParser ParsedValues.swift
[67/87] Compiling ArgumentParser ParserError.swift
[68/87] Compiling ArgumentParser SplitArguments.swift
[69/87] Compiling ArgumentParser DumpHelpGenerator.swift
[70/87] Compiling ArgumentParser HelpCommand.swift
[71/87] Compiling ArgumentParser HelpGenerator.swift
[72/87] Compiling ArgumentParser MessageInfo.swift
[73/87] Compiling ArgumentParser UsageGenerator.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: 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")
/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: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")
/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: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")
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/8] Write swift-version-24593BA9C3E375BF.txt
[3/35] Compiling DiasporaNodeInfo 2.0.swift
[4/35] Compiling DiasporaNodeInfo 2.1-InboundSite.swift
[5/35] Compiling DiasporaNodeInfo 2.1-NodeInfo.swift
[6/35] Compiling DiasporaNodeInfo 2.1-OutboundSite.swift
[7/38] Compiling DiasporaNodeInfo File.swift
[8/38] Compiling DiasporaNodeInfo JSON.swift
[9/38] Compiling DiasporaNodeInfo ValueOrUnknown.swift
[10/38] Compiling DiasporaNodeInfo 2.1-Usage.swift
[11/38] Compiling DiasporaNodeInfo 2.1-Users.swift
[12/38] Compiling DiasporaNodeInfo 2.1.swift
[13/38] Compiling DiasporaNodeInfo DiasporaNodeInfo.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: 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")
[14/38] Compiling DiasporaNodeInfo NodeInfo.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: 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")
[15/38] Compiling DiasporaNodeInfo NodeInfoManager.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: 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")
[16/38] Compiling DiasporaNodeInfo 2.1-Protocol.swift
[17/38] Compiling DiasporaNodeInfo 2.1-Services.swift
[18/38] Compiling DiasporaNodeInfo 2.1-Software.swift
[19/38] Compiling DiasporaNodeInfo 2.0-Services.swift
[20/38] Compiling DiasporaNodeInfo 2.0-Software.swift
[21/38] Compiling DiasporaNodeInfo 2.0-Usage.swift
[22/38] Compiling DiasporaNodeInfo 2.0-Users.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/38] 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 |     }
[24/38] Compiling DiasporaNodeInfo 2.0-InboundSite.swift
[25/38] Compiling DiasporaNodeInfo 2.0-NodeInfo.swift
[26/38] Compiling DiasporaNodeInfo 2.0-OutboundSite.swift
[27/38] Compiling DiasporaNodeInfo 2.0-Protocol.swift
[28/38] Compiling DiasporaNodeInfo WellKnownNodeInfo.swift
[29/38] Compiling DiasporaNodeInfo WellKnownNodeInfoSchema.swift
[30/38] Compiling DiasporaNodeInfo resource_bundle_accessor.swift
[31/38] Compiling ArgumentParserToolInfo ToolInfo.swift
[32/38] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 android