Build Information
Failed to build Mariposa, reference main (6bcc0a), with Swift 6.2 for Android on 6 Nov 2025 08:20:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jessesquires/mariposa.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/jessesquires/mariposa
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6bcc0aa update readme
Cloned https://github.com/jessesquires/mariposa.git
Revision (git rev-parse @):
6bcc0aae0091a9797a17ac1433cc8f32a0b1df62
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/jessesquires/mariposa.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/jessesquires/mariposa.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:d70d83f328e9f1ae04a4e17e63e2d335ae10639f90ee796a5fe3bfb139eab948
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser
[1/16686] Fetching swift-argument-parser
[669/27941] Fetching swift-argument-parser, yams
Fetched https://github.com/apple/swift-argument-parser from cache (0.86s)
[7429/11255] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.76s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.0 (2.50s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.70s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.2.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/19] Write sources
[6/19] Compiling reader.c
[7/19] Compiling writer.c
[7/19] Write swift-version--11D90AFD9DD3AB2.txt
[9/19] Compiling parser.c
[10/19] Compiling api.c
[11/21] Compiling scanner.c
[12/21] Compiling emitter.c
[14/41] Emitting module Yams
[15/43] Compiling Yams Tag.swift
[16/43] Compiling Yams YamlAnchorProviding.swift
[17/43] Emitting module ArgumentParserToolInfo
[18/43] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/44] Wrapping AST for ArgumentParserToolInfo for debugging
[21/88] Compiling ArgumentParser ArgumentDecoder.swift
[22/88] Compiling ArgumentParser ArgumentDefinition.swift
[23/88] Compiling ArgumentParser ExpressibleByArgument.swift
[24/88] Compiling ArgumentParser ParsableArguments.swift
[25/88] Compiling ArgumentParser ParsableCommand.swift
[26/88] Compiling ArgumentParser CommandConfiguration.swift
[27/88] Compiling ArgumentParser CommandGroup.swift
[28/88] Compiling ArgumentParser EnumerableFlag.swift
[29/88] Compiling ArgumentParser ArgumentVisibility.swift
[30/88] Compiling ArgumentParser CompletionKind.swift
[31/88] Compiling ArgumentParser ArgumentHelp.swift
[32/88] Compiling ArgumentParser OptionGroup.swift
[33/88] Compiling ArgumentParser AsyncParsableCommand.swift
[34/88] Compiling ArgumentParser ZshCompletionsGenerator.swift
[35/88] Compiling ArgumentParser Argument.swift
[36/88] Compiling ArgumentParser ArgumentDiscussion.swift
[37/88] Compiling ArgumentParser BashCompletionsGenerator.swift
[38/88] Compiling ArgumentParser CompletionsGenerator.swift
[39/88] Compiling ArgumentParser FishCompletionsGenerator.swift
[40/89] Wrapping AST for Yams for debugging
[42/89] Emitting module ArgumentParser
[43/95] Compiling ArgumentParser CollectionExtensions.swift
[44/95] Compiling ArgumentParser Mutex.swift
[45/95] Compiling ArgumentParser Platform.swift
[46/95] Compiling ArgumentParser SequenceExtensions.swift
[47/95] Compiling ArgumentParser StringExtensions.swift
[48/95] Compiling ArgumentParser SwiftExtensions.swift
[49/95] Compiling ArgumentParser InputKey.swift
[50/95] Compiling ArgumentParser InputOrigin.swift
[51/95] Compiling ArgumentParser Name.swift
[52/95] Compiling ArgumentParser Parsed.swift
[53/95] Compiling ArgumentParser ParsedValues.swift
[54/95] Compiling ArgumentParser ParserError.swift
[55/95] Compiling ArgumentParser Tree.swift
[56/95] Compiling ArgumentParser CodingKeyValidator.swift
[57/95] Compiling ArgumentParser NonsenseFlagsValidator.swift
[58/95] Compiling ArgumentParser ParsableArgumentsValidation.swift
[59/95] Compiling ArgumentParser PositionalArgumentsValidator.swift
[60/95] Compiling ArgumentParser UniqueNamesValidator.swift
[68/95] Compiling ArgumentParser SplitArguments.swift
[69/95] Compiling ArgumentParser DumpHelpGenerator.swift
[70/95] Compiling ArgumentParser HelpCommand.swift
[71/95] Compiling ArgumentParser HelpGenerator.swift
[72/95] Compiling ArgumentParser MessageInfo.swift
[73/95] Compiling ArgumentParser UsageGenerator.swift
[84/95] Compiling ArgumentParser ArgumentSet.swift
[85/95] Compiling ArgumentParser CommandParser.swift
[88/95] Compiling ArgumentParser Errors.swift
[89/95] Compiling ArgumentParser Flag.swift
[90/95] Compiling ArgumentParser NameSpecification.swift
[91/95] Compiling ArgumentParser Option.swift
[92/96] Wrapping AST for ArgumentParser for debugging
[94/120] Compiling Mariposa MastodonResult.swift
/host/spi-builder-workspace/Sources/Mastodon/URLRequest+Mastodon.swift:13:11: error: cannot find type 'URLRequest' in scope
11 | import Foundation
12 |
13 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
14 | public static func mastodonCreatePost(credentials: MastodonCredentials, status: MastodonStatus) throws -> Self {
15 | var request = URLRequest(url: credentials.statusesURL)
[95/120] Compiling Mariposa MastodonStatus.swift
/host/spi-builder-workspace/Sources/Mastodon/URLRequest+Mastodon.swift:13:11: error: cannot find type 'URLRequest' in scope
11 | import Foundation
12 |
13 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
14 | public static func mastodonCreatePost(credentials: MastodonCredentials, status: MastodonStatus) throws -> Self {
15 | var request = URLRequest(url: credentials.statusesURL)
[96/120] Compiling Mariposa URLRequest+Mastodon.swift
/host/spi-builder-workspace/Sources/Mastodon/URLRequest+Mastodon.swift:13:11: error: cannot find type 'URLRequest' in scope
11 | import Foundation
12 |
13 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
14 | public static func mastodonCreatePost(credentials: MastodonCredentials, status: MastodonStatus) throws -> Self {
15 | var request = URLRequest(url: credentials.statusesURL)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[97/123] Emitting module Mariposa
/host/spi-builder-workspace/Sources/Bluesky/URLRequest+Bluesky.swift:13:11: error: cannot find type 'URLRequest' in scope
11 | import Foundation
12 |
13 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
14 | public static func blueskyCreateSession(credentials: BlueskyCredentials) throws -> Self {
15 | let url = URL(string: "https://bsky.social/xrpc/com.atproto.server.createSession")!
/host/spi-builder-workspace/Sources/Mastodon/URLRequest+Mastodon.swift:13:11: error: cannot find type 'URLRequest' in scope
11 | import Foundation
12 |
13 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
14 | public static func mastodonCreatePost(credentials: MastodonCredentials, status: MastodonStatus) throws -> Self {
15 | var request = URLRequest(url: credentials.statusesURL)
/host/spi-builder-workspace/Sources/Utils/URLResponse+Extensions.swift:13:1: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
11 | import Foundation
12 |
13 | extension URLResponse {
| `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
14 | var isSuccess: Bool {
15 | (self as? HTTPURLResponse)?.statusCode == 200
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[98/123] Compiling Mariposa Print.swift
/host/spi-builder-workspace/Sources/Utils/URLResponse+Extensions.swift:13:1: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
11 | import Foundation
12 |
13 | extension URLResponse {
| `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
14 | var isSuccess: Bool {
15 | (self as? HTTPURLResponse)?.statusCode == 200
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[99/123] Compiling Mariposa String+Extensions.swift
/host/spi-builder-workspace/Sources/Utils/URLResponse+Extensions.swift:13:1: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
11 | import Foundation
12 |
13 | extension URLResponse {
| `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
14 | var isSuccess: Bool {
15 | (self as? HTTPURLResponse)?.statusCode == 200
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[100/123] Compiling Mariposa URLResponse+Extensions.swift
/host/spi-builder-workspace/Sources/Utils/URLResponse+Extensions.swift:13:1: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
11 | import Foundation
12 |
13 | extension URLResponse {
| `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
14 | var isSuccess: Bool {
15 | (self as? HTTPURLResponse)?.statusCode == 200
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[101/123] Compiling Mariposa BlueskyFacet.swift
[102/123] Compiling Mariposa BlueskyFacetFeature.swift
[103/123] Compiling Mariposa BlueskyIndex.swift
[104/123] Compiling Mariposa BlueskyPost.swift
[105/123] Compiling Mariposa BlueskyRecord.swift
[106/123] Compiling Mariposa BlueskyRecordCreated.swift
[107/123] Compiling Mariposa BlueskyResult.swift
[108/123] Compiling Mariposa BlueskySession.swift
/host/spi-builder-workspace/Sources/Bluesky/URLRequest+Bluesky.swift:13:11: error: cannot find type 'URLRequest' in scope
11 | import Foundation
12 |
13 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
14 | public static func blueskyCreateSession(credentials: BlueskyCredentials) throws -> Self {
15 | let url = URL(string: "https://bsky.social/xrpc/com.atproto.server.createSession")!
[109/123] Compiling Mariposa URLRequest+Bluesky.swift
/host/spi-builder-workspace/Sources/Bluesky/URLRequest+Bluesky.swift:13:11: error: cannot find type 'URLRequest' in scope
11 | import Foundation
12 |
13 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
14 | public static func blueskyCreateSession(credentials: BlueskyCredentials) throws -> Self {
15 | let url = URL(string: "https://bsky.social/xrpc/com.atproto.server.createSession")!
[110/123] Compiling Mariposa JSONFeed.swift
/host/spi-builder-workspace/Sources/Bluesky/URLRequest+Bluesky.swift:13:11: error: cannot find type 'URLRequest' in scope
11 | import Foundation
12 |
13 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
14 | public static func blueskyCreateSession(credentials: BlueskyCredentials) throws -> Self {
15 | let url = URL(string: "https://bsky.social/xrpc/com.atproto.server.createSession")!
[111/123] Compiling Mariposa MastodonAccount.swift
/host/spi-builder-workspace/Sources/Mastodon/MastodonClient.swift:18:27: error: cannot find 'URLRequest' in scope
16 | public func share(feedItem: JSONFeedItem) async throws -> MastodonResult? {
17 | let status = MastodonStatus(jsonFeedItem: feedItem)
18 | let request = try URLRequest.mastodonCreatePost(credentials: self.credentials, status: status)
| `- error: cannot find 'URLRequest' in scope
19 | let (data, response) = try await URLSession.shared.data(for: request)
20 | if !response.isSuccess {
/host/spi-builder-workspace/Sources/Mastodon/MastodonClient.swift:19:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 | let status = MastodonStatus(jsonFeedItem: feedItem)
18 | let request = try URLRequest.mastodonCreatePost(credentials: self.credentials, status: status)
19 | let (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 | if !response.isSuccess {
21 | return nil
[112/123] Compiling Mariposa MastodonClient.swift
/host/spi-builder-workspace/Sources/Mastodon/MastodonClient.swift:18:27: error: cannot find 'URLRequest' in scope
16 | public func share(feedItem: JSONFeedItem) async throws -> MastodonResult? {
17 | let status = MastodonStatus(jsonFeedItem: feedItem)
18 | let request = try URLRequest.mastodonCreatePost(credentials: self.credentials, status: status)
| `- error: cannot find 'URLRequest' in scope
19 | let (data, response) = try await URLSession.shared.data(for: request)
20 | if !response.isSuccess {
/host/spi-builder-workspace/Sources/Mastodon/MastodonClient.swift:19:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 | let status = MastodonStatus(jsonFeedItem: feedItem)
18 | let request = try URLRequest.mastodonCreatePost(credentials: self.credentials, status: status)
19 | let (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 | if !response.isSuccess {
21 | return nil
[113/123] Compiling Mariposa MastodonCredentials.swift
/host/spi-builder-workspace/Sources/Mastodon/MastodonClient.swift:18:27: error: cannot find 'URLRequest' in scope
16 | public func share(feedItem: JSONFeedItem) async throws -> MastodonResult? {
17 | let status = MastodonStatus(jsonFeedItem: feedItem)
18 | let request = try URLRequest.mastodonCreatePost(credentials: self.credentials, status: status)
| `- error: cannot find 'URLRequest' in scope
19 | let (data, response) = try await URLSession.shared.data(for: request)
20 | if !response.isSuccess {
/host/spi-builder-workspace/Sources/Mastodon/MastodonClient.swift:19:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 | let status = MastodonStatus(jsonFeedItem: feedItem)
18 | let request = try URLRequest.mastodonCreatePost(credentials: self.credentials, status: status)
19 | let (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 | if !response.isSuccess {
21 | return nil
[114/123] Compiling Mariposa JSONFeedItem.swift
[115/123] Compiling Mariposa Mariposa.swift
[116/123] Compiling Mariposa MariposaConfig.swift
[117/123] Compiling Mariposa BlueskyClient.swift
/host/spi-builder-workspace/Sources/Bluesky/BlueskyClient.swift:17:40: error: cannot find 'URLRequest' in scope
15 |
16 | public func share(feedItem: JSONFeedItem) async throws -> BlueskyResult? {
17 | let createSessionRequest = try URLRequest.blueskyCreateSession(credentials: self.credentials)
| `- error: cannot find 'URLRequest' in scope
18 | let (sessionData, sessionResponse) = try await URLSession.shared.data(for: createSessionRequest)
19 | if !sessionResponse.isSuccess {
/host/spi-builder-workspace/Sources/Bluesky/BlueskyClient.swift:18:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
16 | public func share(feedItem: JSONFeedItem) async throws -> BlueskyResult? {
17 | let createSessionRequest = try URLRequest.blueskyCreateSession(credentials: self.credentials)
18 | let (sessionData, sessionResponse) = try await URLSession.shared.data(for: createSessionRequest)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 | if !sessionResponse.isSuccess {
20 | return nil
/host/spi-builder-workspace/Sources/Bluesky/BlueskyClient.swift:25:37: error: cannot find 'URLRequest' in scope
23 |
24 | let post = BlueskyRecord(jsonFeedItem: feedItem)
25 | let createPostRequest = try URLRequest.blueskyCreatePost(session: session, record: post)
| `- error: cannot find 'URLRequest' in scope
26 | let (postData, postResponse) = try await URLSession.shared.data(for: createPostRequest)
27 | if !postResponse.isSuccess {
/host/spi-builder-workspace/Sources/Bluesky/BlueskyClient.swift:26:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
24 | let post = BlueskyRecord(jsonFeedItem: feedItem)
25 | let createPostRequest = try URLRequest.blueskyCreatePost(session: session, record: post)
26 | let (postData, postResponse) = try await URLSession.shared.data(for: createPostRequest)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
27 | if !postResponse.isSuccess {
28 | return nil
[118/123] Compiling Mariposa BlueskyCommit.swift
/host/spi-builder-workspace/Sources/Bluesky/BlueskyClient.swift:17:40: error: cannot find 'URLRequest' in scope
15 |
16 | public func share(feedItem: JSONFeedItem) async throws -> BlueskyResult? {
17 | let createSessionRequest = try URLRequest.blueskyCreateSession(credentials: self.credentials)
| `- error: cannot find 'URLRequest' in scope
18 | let (sessionData, sessionResponse) = try await URLSession.shared.data(for: createSessionRequest)
19 | if !sessionResponse.isSuccess {
/host/spi-builder-workspace/Sources/Bluesky/BlueskyClient.swift:18:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
16 | public func share(feedItem: JSONFeedItem) async throws -> BlueskyResult? {
17 | let createSessionRequest = try URLRequest.blueskyCreateSession(credentials: self.credentials)
18 | let (sessionData, sessionResponse) = try await URLSession.shared.data(for: createSessionRequest)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 | if !sessionResponse.isSuccess {
20 | return nil
/host/spi-builder-workspace/Sources/Bluesky/BlueskyClient.swift:25:37: error: cannot find 'URLRequest' in scope
23 |
24 | let post = BlueskyRecord(jsonFeedItem: feedItem)
25 | let createPostRequest = try URLRequest.blueskyCreatePost(session: session, record: post)
| `- error: cannot find 'URLRequest' in scope
26 | let (postData, postResponse) = try await URLSession.shared.data(for: createPostRequest)
27 | if !postResponse.isSuccess {
/host/spi-builder-workspace/Sources/Bluesky/BlueskyClient.swift:26:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
24 | let post = BlueskyRecord(jsonFeedItem: feedItem)
25 | let createPostRequest = try URLRequest.blueskyCreatePost(session: session, record: post)
26 | let (postData, postResponse) = try await URLSession.shared.data(for: createPostRequest)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
27 | if !postResponse.isSuccess {
28 | return nil
[119/123] Compiling Mariposa BlueskyCreateSession.swift
/host/spi-builder-workspace/Sources/Bluesky/BlueskyClient.swift:17:40: error: cannot find 'URLRequest' in scope
15 |
16 | public func share(feedItem: JSONFeedItem) async throws -> BlueskyResult? {
17 | let createSessionRequest = try URLRequest.blueskyCreateSession(credentials: self.credentials)
| `- error: cannot find 'URLRequest' in scope
18 | let (sessionData, sessionResponse) = try await URLSession.shared.data(for: createSessionRequest)
19 | if !sessionResponse.isSuccess {
/host/spi-builder-workspace/Sources/Bluesky/BlueskyClient.swift:18:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
16 | public func share(feedItem: JSONFeedItem) async throws -> BlueskyResult? {
17 | let createSessionRequest = try URLRequest.blueskyCreateSession(credentials: self.credentials)
18 | let (sessionData, sessionResponse) = try await URLSession.shared.data(for: createSessionRequest)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 | if !sessionResponse.isSuccess {
20 | return nil
/host/spi-builder-workspace/Sources/Bluesky/BlueskyClient.swift:25:37: error: cannot find 'URLRequest' in scope
23 |
24 | let post = BlueskyRecord(jsonFeedItem: feedItem)
25 | let createPostRequest = try URLRequest.blueskyCreatePost(session: session, record: post)
| `- error: cannot find 'URLRequest' in scope
26 | let (postData, postResponse) = try await URLSession.shared.data(for: createPostRequest)
27 | if !postResponse.isSuccess {
/host/spi-builder-workspace/Sources/Bluesky/BlueskyClient.swift:26:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
24 | let post = BlueskyRecord(jsonFeedItem: feedItem)
25 | let createPostRequest = try URLRequest.blueskyCreatePost(session: session, record: post)
26 | let (postData, postResponse) = try await URLSession.shared.data(for: createPostRequest)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
27 | if !postResponse.isSuccess {
28 | return nil
[120/123] Compiling Mariposa BlueskyCredentials.swift
/host/spi-builder-workspace/Sources/Bluesky/BlueskyClient.swift:17:40: error: cannot find 'URLRequest' in scope
15 |
16 | public func share(feedItem: JSONFeedItem) async throws -> BlueskyResult? {
17 | let createSessionRequest = try URLRequest.blueskyCreateSession(credentials: self.credentials)
| `- error: cannot find 'URLRequest' in scope
18 | let (sessionData, sessionResponse) = try await URLSession.shared.data(for: createSessionRequest)
19 | if !sessionResponse.isSuccess {
/host/spi-builder-workspace/Sources/Bluesky/BlueskyClient.swift:18:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
16 | public func share(feedItem: JSONFeedItem) async throws -> BlueskyResult? {
17 | let createSessionRequest = try URLRequest.blueskyCreateSession(credentials: self.credentials)
18 | let (sessionData, sessionResponse) = try await URLSession.shared.data(for: createSessionRequest)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 | if !sessionResponse.isSuccess {
20 | return nil
/host/spi-builder-workspace/Sources/Bluesky/BlueskyClient.swift:25:37: error: cannot find 'URLRequest' in scope
23 |
24 | let post = BlueskyRecord(jsonFeedItem: feedItem)
25 | let createPostRequest = try URLRequest.blueskyCreatePost(session: session, record: post)
| `- error: cannot find 'URLRequest' in scope
26 | let (postData, postResponse) = try await URLSession.shared.data(for: createPostRequest)
27 | if !postResponse.isSuccess {
/host/spi-builder-workspace/Sources/Bluesky/BlueskyClient.swift:26:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
24 | let post = BlueskyRecord(jsonFeedItem: feedItem)
25 | let createPostRequest = try URLRequest.blueskyCreatePost(session: session, record: post)
26 | let (postData, postResponse) = try await URLSession.shared.data(for: createPostRequest)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
27 | if !postResponse.isSuccess {
28 | return nil
BUILD FAILURE 6.2 android