Build Information
Failed to build Mariposa, reference main (6bcc0a), with Swift 6.2 for Linux on 6 Nov 2025 08:20:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 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: linux
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-4609320-2":/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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b3eaa5734a03a9b8084848018342ef6c4e4ec1a618756d8de460b693a5f488ea
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams.git
[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)
[6979/11255] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.67s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.0 (2.10s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.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.6.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.2.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/19] Write sources
[6/19] Compiling writer.c
[7/19] Compiling reader.c
[8/19] Compiling parser.c
[9/19] Compiling api.c
[10/19] Compiling scanner.c
[11/19] Write swift-version-24593BA9C3E375BF.txt
[12/19] Compiling emitter.c
[14/41] Emitting module ArgumentParserToolInfo
[15/41] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/42] Compiling Yams Tag.swift
[18/42] Compiling Yams YamlAnchorProviding.swift
[18/44] Wrapping AST for ArgumentParserToolInfo for debugging
[20/88] Compiling ArgumentParser ParsableArguments.swift
[21/88] Compiling ArgumentParser ParsableCommand.swift
[22/88] Compiling ArgumentParser CommandConfiguration.swift
[23/88] Compiling ArgumentParser CommandGroup.swift
[24/88] Compiling ArgumentParser EnumerableFlag.swift
[25/88] Compiling ArgumentParser NameSpecification.swift
[26/88] Compiling ArgumentParser Option.swift
[27/88] Emitting module Yams
[28/88] Compiling ArgumentParser ExpressibleByArgument.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
[48/95] Compiling ArgumentParser CollectionExtensions.swift
[49/95] Compiling ArgumentParser Mutex.swift
[50/95] Compiling ArgumentParser Platform.swift
[51/95] Compiling ArgumentParser SequenceExtensions.swift
[52/95] Compiling ArgumentParser StringExtensions.swift
[53/95] Compiling ArgumentParser SwiftExtensions.swift
[61/95] Emitting module ArgumentParser
[64/95] Compiling ArgumentParser Errors.swift
[65/95] Compiling ArgumentParser Flag.swift
[68/95] Compiling ArgumentParser Tree.swift
[69/95] Compiling ArgumentParser CodingKeyValidator.swift
[70/95] Compiling ArgumentParser NonsenseFlagsValidator.swift
[71/95] Compiling ArgumentParser ParsableArgumentsValidation.swift
[72/95] Compiling ArgumentParser PositionalArgumentsValidator.swift
[73/95] Compiling ArgumentParser UniqueNamesValidator.swift
[74/95] Compiling ArgumentParser InputKey.swift
[75/95] Compiling ArgumentParser InputOrigin.swift
[76/95] Compiling ArgumentParser Name.swift
[77/95] Compiling ArgumentParser Parsed.swift
[78/95] Compiling ArgumentParser ParsedValues.swift
[79/95] Compiling ArgumentParser ParserError.swift
[80/95] Compiling ArgumentParser SplitArguments.swift
[81/95] Compiling ArgumentParser DumpHelpGenerator.swift
[82/95] Compiling ArgumentParser HelpCommand.swift
[83/95] Compiling ArgumentParser HelpGenerator.swift
[84/95] Compiling ArgumentParser MessageInfo.swift
[85/95] Compiling ArgumentParser UsageGenerator.swift
[88/95] Compiling ArgumentParser ArgumentDecoder.swift
[89/95] Compiling ArgumentParser ArgumentDefinition.swift
[90/95] Compiling ArgumentParser ArgumentSet.swift
[91/95] Compiling ArgumentParser CommandParser.swift
[92/96] Wrapping AST for ArgumentParser for debugging
[94/120] 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
[95/120] 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
[96/120] 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
[97/123] 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)
[98/123] 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)
[99/123] 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)
[100/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>
[101/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>
[102/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>
[103/123] Compiling Mariposa BlueskyRecord.swift
[104/123] Compiling Mariposa BlueskyRecordCreated.swift
[105/123] Compiling Mariposa BlueskyResult.swift
[106/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")!
[107/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")!
[108/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")!
[109/123] Compiling Mariposa JSONFeedItem.swift
[110/123] Compiling Mariposa Mariposa.swift
[111/123] Compiling Mariposa MariposaConfig.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[112/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>
[113/123] Compiling Mariposa BlueskyFacet.swift
[114/123] Compiling Mariposa BlueskyFacetFeature.swift
[115/123] Compiling Mariposa BlueskyIndex.swift
[116/123] Compiling Mariposa BlueskyPost.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 linux