The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build GitBuddy, reference master (244578), with Swift 6.1 for Linux on 27 Apr 2025 18:11:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

Fetched https://github.com/WeTransfer/Mocker.git from cache (0.27s)
[1/14950] Fetching swift-argument-parser
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.73s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.74s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (1.20s)
Computing version for https://github.com/WeTransfer/Mocker.git
Computed https://github.com/WeTransfer/Mocker.git at 2.6.0 (0.48s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.42s)
Creating working copy for https://github.com/WeTransfer/octokit.swift
Working copy of https://github.com/WeTransfer/octokit.swift resolved at main (365cbc2)
Creating working copy for https://github.com/WeTransfer/Mocker.git
Working copy of https://github.com/WeTransfer/Mocker.git resolved at 2.6.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.5.0
Creating working copy for https://github.com/nerdishbynature/RequestKit.git
Working copy of https://github.com/nerdishbynature/RequestKit.git resolved at 3.3.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/16] Write sources
[7/16] Write swift-version-24593BA9C3E375BF.txt
[9/22] Emitting module ArgumentParserToolInfo
[10/22] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/23] Wrapping AST for ArgumentParserToolInfo for debugging
[13/61] Compiling RequestKit RequestKitSession.swift
[14/61] Compiling RequestKit JSONPostRouter.swift
[15/61] Emitting module RequestKit
[16/61] Compiling RequestKit Router.swift
[17/62] Wrapping AST for RequestKit for debugging
[19/85] Compiling OctoKit Gist.swift
[20/85] Compiling OctoKit Milestone.swift
[21/85] Compiling OctoKit NotificationThread.swift
[22/85] Compiling OctoKit Octokit.swift
[23/85] Compiling OctoKit Parameters.swift
[24/85] Emitting module ArgumentParser
[25/90] Compiling OctoKit Git.swift
[26/90] Compiling OctoKit Issue.swift
[27/90] Compiling OctoKit Label.swift
[28/90] Compiling OctoKit Configuration.swift
[29/90] Compiling OctoKit File.swift
[30/90] Compiling OctoKit Follow.swift
[31/90] Compiling ArgumentParser CollectionExtensions.swift
[32/90] Compiling ArgumentParser Platform.swift
[33/90] Compiling ArgumentParser SequenceExtensions.swift
[34/90] Compiling ArgumentParser StringExtensions.swift
[35/90] Compiling ArgumentParser Tree.swift
[36/90] Compiling OctoKit Plan.swift
[37/90] Compiling OctoKit PreviewHeader.swift
[38/90] Compiling OctoKit Stars.swift
[39/90] Compiling OctoKit Statuses.swift
[40/90] Compiling OctoKit String+PercentEncoding.swift
[41/90] Compiling OctoKit Releases.swift
[42/90] Compiling ArgumentParser DumpHelpGenerator.swift
[43/90] Compiling ArgumentParser HelpCommand.swift
[44/90] Compiling ArgumentParser HelpGenerator.swift
[45/90] Compiling ArgumentParser MessageInfo.swift
[46/90] Compiling ArgumentParser UsageGenerator.swift
[47/90] Compiling ArgumentParser ExpressibleByArgument.swift
[48/90] Compiling ArgumentParser ParsableArguments.swift
[49/90] Compiling ArgumentParser ParsableArgumentsValidation.swift
[50/90] Compiling ArgumentParser ParsableCommand.swift
[51/90] Compiling ArgumentParser ArgumentDecoder.swift
[52/90] Compiling ArgumentParser ArgumentDefinition.swift
[53/90] Compiling ArgumentParser ArgumentSet.swift
[54/90] Compiling ArgumentParser CommandParser.swift
[55/90] Compiling ArgumentParser InputKey.swift
[56/90] Compiling ArgumentParser InputOrigin.swift
[57/90] Compiling OctoKit Repositories.swift
[58/90] Compiling OctoKit Review.swift
[59/90] Compiling OctoKit PublicKey.swift
[60/90] Compiling OctoKit PullRequest.swift
[61/90] Compiling OctoKit Reactions.swift
[62/91] Wrapping AST for ArgumentParser for debugging
[73/94] Emitting module OctoKit
[87/94] Compiling OctoKit Time.swift
[88/94] Compiling OctoKit URL+URLParameters.swift
[89/94] Compiling OctoKit User.swift
[90/95] Wrapping AST for OctoKit for debugging
[92/119] Compiling GitBuddyCore GitHubReleaseNotesGenerator.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     let previousTagName: String
18 |
19 |     func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
   |                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |         let group = DispatchGroup()
21 |         group.enter()
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/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:58: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |     let previousTagName: String
18 |
19 |     func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
   |                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 |         let group = DispatchGroup()
21 |         group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:26:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
24 |
25 |         octoKit.generateReleaseNotes(
26 |             session,
   |             `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
27 |             owner: project.organisation,
28 |             repository: project.repository,
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:16:77: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 |     /// Fetches issues and filters them by a given `fromDate` and `toDate`.
16 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
   |                                                                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         let group = DispatchGroup()
18 |         group.enter()
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/GitBuddyCore/GitHub/IssuesFetcher.swift:16:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
14 |
15 |     /// Fetches issues and filters them by a given `fromDate` and `toDate`.
16 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
   |                                                                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |         let group = DispatchGroup()
18 |         group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:22:24: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
20 |         var result: Result<[Issue], Swift.Error>!
21 |
22 |         octoKit.issues(session, owner: project.organisation, repository: project.repository, state: .closed) { response in
   |                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
23 |             switch response {
24 |             case .success(let issues):
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:17:33: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     let input: ChangelogInput
16 |
17 |     func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
   |                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         guard let resolvedIssueNumbers = input.body?.resolvingIssues(), !resolvedIssueNumbers.isEmpty else {
19 |             return nil
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/GitBuddyCore/GitHub/IssuesResolver.swift:17:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 |     let input: ChangelogInput
16 |
17 |     func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
18 |         guard let resolvedIssueNumbers = input.body?.resolvingIssues(), !resolvedIssueNumbers.isEmpty else {
19 |             return nil
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:24:65: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     }
23 |
24 |     private func issues(for issueNumbers: [Int], using session: URLSession) -> [Issue] {
   |                                                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         var issues: [Issue] = []
26 |         let dispatchGroup = DispatchGroup()
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/GitBuddyCore/GitHub/IssuesResolver.swift:29:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
27 |         for issueNumber in issueNumbers {
28 |             dispatchGroup.enter()
29 |             octoKit.issue(session, owner: project.organisation, repository: project.repository, number: issueNumber) { response in
   |                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
30 |                 switch response {
31 |                 case .success(let issue):
[93/119] Compiling GitBuddyCore IssuesFetcher.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     let previousTagName: String
18 |
19 |     func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
   |                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |         let group = DispatchGroup()
21 |         group.enter()
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/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:58: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |     let previousTagName: String
18 |
19 |     func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
   |                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 |         let group = DispatchGroup()
21 |         group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:26:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
24 |
25 |         octoKit.generateReleaseNotes(
26 |             session,
   |             `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
27 |             owner: project.organisation,
28 |             repository: project.repository,
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:16:77: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 |     /// Fetches issues and filters them by a given `fromDate` and `toDate`.
16 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
   |                                                                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         let group = DispatchGroup()
18 |         group.enter()
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/GitBuddyCore/GitHub/IssuesFetcher.swift:16:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
14 |
15 |     /// Fetches issues and filters them by a given `fromDate` and `toDate`.
16 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
   |                                                                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |         let group = DispatchGroup()
18 |         group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:22:24: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
20 |         var result: Result<[Issue], Swift.Error>!
21 |
22 |         octoKit.issues(session, owner: project.organisation, repository: project.repository, state: .closed) { response in
   |                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
23 |             switch response {
24 |             case .success(let issues):
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:17:33: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     let input: ChangelogInput
16 |
17 |     func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
   |                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         guard let resolvedIssueNumbers = input.body?.resolvingIssues(), !resolvedIssueNumbers.isEmpty else {
19 |             return nil
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/GitBuddyCore/GitHub/IssuesResolver.swift:17:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 |     let input: ChangelogInput
16 |
17 |     func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
18 |         guard let resolvedIssueNumbers = input.body?.resolvingIssues(), !resolvedIssueNumbers.isEmpty else {
19 |             return nil
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:24:65: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     }
23 |
24 |     private func issues(for issueNumbers: [Int], using session: URLSession) -> [Issue] {
   |                                                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         var issues: [Issue] = []
26 |         let dispatchGroup = DispatchGroup()
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/GitBuddyCore/GitHub/IssuesResolver.swift:29:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
27 |         for issueNumber in issueNumbers {
28 |             dispatchGroup.enter()
29 |             octoKit.issue(session, owner: project.organisation, repository: project.repository, number: issueNumber) { response in
   |                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
30 |                 switch response {
31 |                 case .success(let issue):
[94/119] Compiling GitBuddyCore IssuesResolver.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     let previousTagName: String
18 |
19 |     func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
   |                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |         let group = DispatchGroup()
21 |         group.enter()
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/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:58: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |     let previousTagName: String
18 |
19 |     func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
   |                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 |         let group = DispatchGroup()
21 |         group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:26:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
24 |
25 |         octoKit.generateReleaseNotes(
26 |             session,
   |             `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
27 |             owner: project.organisation,
28 |             repository: project.repository,
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:16:77: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 |     /// Fetches issues and filters them by a given `fromDate` and `toDate`.
16 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
   |                                                                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         let group = DispatchGroup()
18 |         group.enter()
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/GitBuddyCore/GitHub/IssuesFetcher.swift:16:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
14 |
15 |     /// Fetches issues and filters them by a given `fromDate` and `toDate`.
16 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
   |                                                                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |         let group = DispatchGroup()
18 |         group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:22:24: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
20 |         var result: Result<[Issue], Swift.Error>!
21 |
22 |         octoKit.issues(session, owner: project.organisation, repository: project.repository, state: .closed) { response in
   |                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
23 |             switch response {
24 |             case .success(let issues):
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:17:33: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     let input: ChangelogInput
16 |
17 |     func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
   |                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         guard let resolvedIssueNumbers = input.body?.resolvingIssues(), !resolvedIssueNumbers.isEmpty else {
19 |             return nil
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/GitBuddyCore/GitHub/IssuesResolver.swift:17:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 |     let input: ChangelogInput
16 |
17 |     func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
18 |         guard let resolvedIssueNumbers = input.body?.resolvingIssues(), !resolvedIssueNumbers.isEmpty else {
19 |             return nil
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:24:65: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     }
23 |
24 |     private func issues(for issueNumbers: [Int], using session: URLSession) -> [Issue] {
   |                                                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         var issues: [Issue] = []
26 |         let dispatchGroup = DispatchGroup()
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/GitBuddyCore/GitHub/IssuesResolver.swift:29:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
27 |         for issueNumber in issueNumbers {
28 |             dispatchGroup.enter()
29 |             octoKit.issue(session, owner: project.organisation, repository: project.repository, number: issueNumber) { response in
   |                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
30 |                 switch response {
31 |                 case .success(let issue):
[95/119] Compiling GitBuddyCore GitBuddy.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift:32:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | /// Responsible for posting comments on issues at GitHub.
31 | enum Commenter {
32 |     static var urlSession: URLSession { URLSessionInjector.urlSession }
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |     /// Adds a right aligned watermark to each comment to grow our audience.
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/GitBuddyCore/GitHub/Commenter.swift:49:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
47 |         body += watermark
48 |         Octokit()
49 |             .commentIssue(urlSession, owner: project.organisation, repository: project.repository, number: issueID,
   |                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
50 |                           body: body)
51 |             { response in
[96/119] Compiling GitBuddyCore ReleaseCommand.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift:32:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | /// Responsible for posting comments on issues at GitHub.
31 | enum Commenter {
32 |     static var urlSession: URLSession { URLSessionInjector.urlSession }
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |     /// Adds a right aligned watermark to each comment to grow our audience.
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/GitBuddyCore/GitHub/Commenter.swift:49:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
47 |         body += watermark
48 |         Octokit()
49 |             .commentIssue(urlSession, owner: project.organisation, repository: project.repository, number: issueID,
   |                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
50 |                           body: body)
51 |             { response in
[97/119] Compiling GitBuddyCore TagDeletionsCommand.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift:32:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | /// Responsible for posting comments on issues at GitHub.
31 | enum Commenter {
32 |     static var urlSession: URLSession { URLSessionInjector.urlSession }
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |     /// Adds a right aligned watermark to each comment to grow our audience.
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/GitBuddyCore/GitHub/Commenter.swift:49:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
47 |         body += watermark
48 |         Octokit()
49 |             .commentIssue(urlSession, owner: project.organisation, repository: project.repository, number: issueID,
   |                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
50 |                           body: body)
51 |             { response in
[98/119] Compiling GitBuddyCore Commenter.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift:32:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | /// Responsible for posting comments on issues at GitHub.
31 | enum Commenter {
32 |     static var urlSession: URLSession { URLSessionInjector.urlSession }
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |     /// Adds a right aligned watermark to each comment to grow our audience.
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/GitBuddyCore/GitHub/Commenter.swift:49:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
47 |         body += watermark
48 |         Octokit()
49 |             .commentIssue(urlSession, owner: project.organisation, repository: project.repository, number: issueID,
   |                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
50 |                           body: body)
51 |             { response in
error: emit-module command failed with exit code 1 (use -v to see invocation)
[99/122] Emitting module GitBuddyCore
/host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     let project: GITProject
16 |
17 |     func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
   |                               `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         return pullRequests.flatMap { pullRequest -> [ChangelogItem] in
19 |             let issuesResolver = IssuesResolver(octoKit: octoKit, project: project, input: pullRequest)
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/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 |     let project: GITProject
16 |
17 |     func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
   |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
18 |         return pullRequests.flatMap { pullRequest -> [ChangelogItem] in
19 |             let issuesResolver = IssuesResolver(octoKit: octoKit, project: project, input: pullRequest)
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift:32:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | /// Responsible for posting comments on issues at GitHub.
31 | enum Commenter {
32 |     static var urlSession: URLSession { URLSessionInjector.urlSession }
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |     /// Adds a right aligned watermark to each comment to grow our audience.
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/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     let previousTagName: String
18 |
19 |     func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
   |                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |         let group = DispatchGroup()
21 |         group.enter()
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/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:58: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |     let previousTagName: String
18 |
19 |     func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
   |                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 |         let group = DispatchGroup()
21 |         group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:16:77: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 |     /// Fetches issues and filters them by a given `fromDate` and `toDate`.
16 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
   |                                                                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         let group = DispatchGroup()
18 |         group.enter()
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/GitBuddyCore/GitHub/IssuesFetcher.swift:16:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
14 |
15 |     /// Fetches issues and filters them by a given `fromDate` and `toDate`.
16 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
   |                                                                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |         let group = DispatchGroup()
18 |         group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:17:33: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     let input: ChangelogInput
16 |
17 |     func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
   |                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         guard let resolvedIssueNumbers = input.body?.resolvingIssues(), !resolvedIssueNumbers.isEmpty else {
19 |             return nil
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/GitBuddyCore/GitHub/IssuesResolver.swift:17:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 |     let input: ChangelogInput
16 |
17 |     func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
18 |         guard let resolvedIssueNumbers = input.body?.resolvingIssues(), !resolvedIssueNumbers.isEmpty else {
19 |             return nil
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:24:65: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     }
23 |
24 |     private func issues(for issueNumbers: [Int], using session: URLSession) -> [Issue] {
   |                                                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         var issues: [Issue] = []
26 |         let dispatchGroup = DispatchGroup()
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/GitBuddyCore/GitHub/OctoKit+Authentication.swift:12:16: warning: static property 'protocolClasses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Octokit {
12 |     static var protocolClasses: [AnyClass]?
   |                |- warning: static property 'protocolClasses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'protocolClasses' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'protocolClasses' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     static var environment: [String: String] = ProcessInfo.processInfo.environment
14 |
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:13:16: warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | extension Octokit {
12 |     static var protocolClasses: [AnyClass]?
13 |     static var environment: [String: String] = ProcessInfo.processInfo.environment
   |                |- warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'environment' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'environment' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     /// Sets up the URLSession to be authenticated for the GitHub API.
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:77: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     let project: GITProject
18 |
19 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
   |                                                                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |         let group = DispatchGroup()
21 |         group.enter()
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/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |     let project: GITProject
18 |
19 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
   |                                                                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 |         let group = DispatchGroup()
21 |         group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/DependencyInjectors.swift:15:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | extension URLSessionInjectable {
15 |     var urlSession: URLSession { return URLSessionInjector.urlSession }
   |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
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/GitBuddyCore/Helpers/DependencyInjectors.swift:20:16: warning: static property 'urlSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | enum URLSessionInjector {
19 |     /// Will be setup using the configuration inside the GitBuddy.run method
20 |     static var urlSession: URLSession!
   |                |- warning: static property 'urlSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'urlSession' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'urlSession' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/DependencyInjectors.swift:20:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | enum URLSessionInjector {
19 |     /// Will be setup using the configuration inside the GitBuddy.run method
20 |     static var urlSession: URLSession!
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | }
22 |
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/GitBuddyCore/Helpers/Log.swift:12:16: warning: static property 'isVerbose' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | enum Log {
12 |     static var isVerbose: Bool = false
   |                |- warning: static property 'isVerbose' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'isVerbose' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'isVerbose' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     /// Can be used to catch output for testing purposes.
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Log.swift:15:16: warning: static property 'pipe' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 |     /// Can be used to catch output for testing purposes.
15 |     static var pipe: ((_ message: String) -> Void)?
   |                |- warning: static property 'pipe' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'pipe' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'pipe' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     static func debug(_ message: String) {
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:75:16: warning: static property 'shell' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | enum ShellInjector {
75 |     static var shell: ShellExecuting.Type = Shell.self
   |                |- warning: static property 'shell' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shell' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'shell' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:23:1: warning: extension declares a conformance of imported type 'ReleaseNotes' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
21 | }
22 |
23 | extension ReleaseNotes: Changelog {
   | |- warning: extension declares a conformance of imported type 'ReleaseNotes' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |     var itemIdentifiers: [PullRequestID : [IssueID]] {
25 |         [:]
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:80:1: warning: extension declares a conformance of imported type 'PullRequest' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
78 | }
79 |
80 | extension PullRequest: Hashable {
   | |- warning: extension declares a conformance of imported type 'PullRequest' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
81 |     public func hash(into hasher: inout Hasher) {
82 |         hasher.combine(id)
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:90:1: warning: extension declares a conformance of imported type 'Issue' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
88 | }
89 |
90 | extension Issue: Hashable {
   | |- warning: extension declares a conformance of imported type 'Issue' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
91 |     public func hash(into hasher: inout Hasher) {
92 |         hasher.combine(id)
[100/122] Compiling GitBuddyCore ChangelogBuilder.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     let project: GITProject
16 |
17 |     func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
   |                               `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         return pullRequests.flatMap { pullRequest -> [ChangelogItem] in
19 |             let issuesResolver = IssuesResolver(octoKit: octoKit, project: project, input: pullRequest)
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/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 |     let project: GITProject
16 |
17 |     func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
   |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
18 |         return pullRequests.flatMap { pullRequest -> [ChangelogItem] in
19 |             let issuesResolver = IssuesResolver(octoKit: octoKit, project: project, input: pullRequest)
[101/122] Compiling GitBuddyCore ChangelogItemsFactory.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     let project: GITProject
16 |
17 |     func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
   |                               `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         return pullRequests.flatMap { pullRequest -> [ChangelogItem] in
19 |             let issuesResolver = IssuesResolver(octoKit: octoKit, project: project, input: pullRequest)
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/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 |     let project: GITProject
16 |
17 |     func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
   |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
18 |         return pullRequests.flatMap { pullRequest -> [ChangelogItem] in
19 |             let issuesResolver = IssuesResolver(octoKit: octoKit, project: project, input: pullRequest)
[102/122] Compiling GitBuddyCore ChangelogProducer.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     let project: GITProject
16 |
17 |     func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
   |                               `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         return pullRequests.flatMap { pullRequest -> [ChangelogItem] in
19 |             let issuesResolver = IssuesResolver(octoKit: octoKit, project: project, input: pullRequest)
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/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 |     let project: GITProject
16 |
17 |     func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
   |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
18 |         return pullRequests.flatMap { pullRequest -> [ChangelogItem] in
19 |             let issuesResolver = IssuesResolver(octoKit: octoKit, project: project, input: pullRequest)
[103/122] Compiling GitBuddyCore ChangelogCommand.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     let project: GITProject
16 |
17 |     func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
   |                               `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         return pullRequests.flatMap { pullRequest -> [ChangelogItem] in
19 |             let issuesResolver = IssuesResolver(octoKit: octoKit, project: project, input: pullRequest)
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/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 |     let project: GITProject
16 |
17 |     func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
   |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
18 |         return pullRequests.flatMap { pullRequest -> [ChangelogItem] in
19 |             let issuesResolver = IssuesResolver(octoKit: octoKit, project: project, input: pullRequest)
[104/122] Compiling GitBuddyCore GITProject.swift
[105/122] Compiling GitBuddyCore Release.swift
[106/122] Compiling GitBuddyCore Tag.swift
[107/122] Compiling GitBuddyCore Shell.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:75:16: warning: static property 'shell' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | enum ShellInjector {
75 |     static var shell: ShellExecuting.Type = Shell.self
   |                |- warning: static property 'shell' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shell' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'shell' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:39:9: warning: 'launchPath' is deprecated: renamed to 'executableURL'
37 | extension Process {
38 |     func shell(_ command: ShellCommand) -> String {
39 |         launchPath = "/bin/bash"
   |         |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |         `- note: use 'executableURL' instead
40 |         arguments = ["-c", command.rawValue]
41 |
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:44:9: warning: 'launch()' is deprecated: renamed to 'run'
42 |         let outputPipe = Pipe()
43 |         standardOutput = outputPipe
44 |         launch()
   |         |- warning: 'launch()' is deprecated: renamed to 'run'
   |         `- note: use 'run' instead
45 |
46 |         let data = outputPipe.fileHandleForReading.readDataToEndOfFile()
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:23:1: warning: extension declares a conformance of imported type 'ReleaseNotes' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
21 | }
22 |
23 | extension ReleaseNotes: Changelog {
   | |- warning: extension declares a conformance of imported type 'ReleaseNotes' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |     var itemIdentifiers: [PullRequestID : [IssueID]] {
25 |         [:]
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:80:1: warning: extension declares a conformance of imported type 'PullRequest' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
78 | }
79 |
80 | extension PullRequest: Hashable {
   | |- warning: extension declares a conformance of imported type 'PullRequest' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
81 |     public func hash(into hasher: inout Hasher) {
82 |         hasher.combine(id)
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:90:1: warning: extension declares a conformance of imported type 'Issue' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
88 | }
89 |
90 | extension Issue: Hashable {
   | |- warning: extension declares a conformance of imported type 'Issue' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
91 |     public func hash(into hasher: inout Hasher) {
92 |         hasher.combine(id)
[108/122] Compiling GitBuddyCore Changelog.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:75:16: warning: static property 'shell' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | enum ShellInjector {
75 |     static var shell: ShellExecuting.Type = Shell.self
   |                |- warning: static property 'shell' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shell' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'shell' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:39:9: warning: 'launchPath' is deprecated: renamed to 'executableURL'
37 | extension Process {
38 |     func shell(_ command: ShellCommand) -> String {
39 |         launchPath = "/bin/bash"
   |         |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |         `- note: use 'executableURL' instead
40 |         arguments = ["-c", command.rawValue]
41 |
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:44:9: warning: 'launch()' is deprecated: renamed to 'run'
42 |         let outputPipe = Pipe()
43 |         standardOutput = outputPipe
44 |         launch()
   |         |- warning: 'launch()' is deprecated: renamed to 'run'
   |         `- note: use 'run' instead
45 |
46 |         let data = outputPipe.fileHandleForReading.readDataToEndOfFile()
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:23:1: warning: extension declares a conformance of imported type 'ReleaseNotes' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
21 | }
22 |
23 | extension ReleaseNotes: Changelog {
   | |- warning: extension declares a conformance of imported type 'ReleaseNotes' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |     var itemIdentifiers: [PullRequestID : [IssueID]] {
25 |         [:]
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:80:1: warning: extension declares a conformance of imported type 'PullRequest' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
78 | }
79 |
80 | extension PullRequest: Hashable {
   | |- warning: extension declares a conformance of imported type 'PullRequest' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
81 |     public func hash(into hasher: inout Hasher) {
82 |         hasher.combine(id)
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:90:1: warning: extension declares a conformance of imported type 'Issue' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
88 | }
89 |
90 | extension Issue: Hashable {
   | |- warning: extension declares a conformance of imported type 'Issue' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
91 |     public func hash(into hasher: inout Hasher) {
92 |         hasher.combine(id)
[109/122] Compiling GitBuddyCore ChangelogItem.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:75:16: warning: static property 'shell' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | enum ShellInjector {
75 |     static var shell: ShellExecuting.Type = Shell.self
   |                |- warning: static property 'shell' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shell' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'shell' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:39:9: warning: 'launchPath' is deprecated: renamed to 'executableURL'
37 | extension Process {
38 |     func shell(_ command: ShellCommand) -> String {
39 |         launchPath = "/bin/bash"
   |         |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |         `- note: use 'executableURL' instead
40 |         arguments = ["-c", command.rawValue]
41 |
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:44:9: warning: 'launch()' is deprecated: renamed to 'run'
42 |         let outputPipe = Pipe()
43 |         standardOutput = outputPipe
44 |         launch()
   |         |- warning: 'launch()' is deprecated: renamed to 'run'
   |         `- note: use 'run' instead
45 |
46 |         let data = outputPipe.fileHandleForReading.readDataToEndOfFile()
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:23:1: warning: extension declares a conformance of imported type 'ReleaseNotes' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
21 | }
22 |
23 | extension ReleaseNotes: Changelog {
   | |- warning: extension declares a conformance of imported type 'ReleaseNotes' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |     var itemIdentifiers: [PullRequestID : [IssueID]] {
25 |         [:]
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:80:1: warning: extension declares a conformance of imported type 'PullRequest' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
78 | }
79 |
80 | extension PullRequest: Hashable {
   | |- warning: extension declares a conformance of imported type 'PullRequest' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
81 |     public func hash(into hasher: inout Hasher) {
82 |         hasher.combine(id)
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:90:1: warning: extension declares a conformance of imported type 'Issue' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
88 | }
89 |
90 | extension Issue: Hashable {
   | |- warning: extension declares a conformance of imported type 'Issue' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
91 |     public func hash(into hasher: inout Hasher) {
92 |         hasher.combine(id)
[110/122] Compiling GitBuddyCore OctoKit+Authentication.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:12:16: warning: static property 'protocolClasses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Octokit {
12 |     static var protocolClasses: [AnyClass]?
   |                |- warning: static property 'protocolClasses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'protocolClasses' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'protocolClasses' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     static var environment: [String: String] = ProcessInfo.processInfo.environment
14 |
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:13:16: warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | extension Octokit {
12 |     static var protocolClasses: [AnyClass]?
13 |     static var environment: [String: String] = ProcessInfo.processInfo.environment
   |                |- warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'environment' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'environment' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     /// Sets up the URLSession to be authenticated for the GitHub API.
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:19:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
17 |         let token = try Token(environment: environment)
18 |         Log.debug("Token is \(token)")
19 |         let configuration = URLSessionConfiguration.default
   |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
20 |         configuration.httpAdditionalHeaders = ["Authorization": "Basic \(token.base64Encoded)"]
21 |         configuration.protocolClasses = protocolClasses ?? configuration.protocolClasses
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:41: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
20 |         configuration.httpAdditionalHeaders = ["Authorization": "Basic \(token.base64Encoded)"]
21 |         configuration.protocolClasses = protocolClasses ?? configuration.protocolClasses
22 |         URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
   |                                         `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
23 |     }
24 | }
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:92: error: 'nil' requires a contextual type
20 |         configuration.httpAdditionalHeaders = ["Authorization": "Basic \(token.base64Encoded)"]
21 |         configuration.protocolClasses = protocolClasses ?? configuration.protocolClasses
22 |         URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
   |                                                                                            `- error: 'nil' requires a contextual type
23 |     }
24 | }
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:112: error: 'nil' requires a contextual type
20 |         configuration.httpAdditionalHeaders = ["Authorization": "Basic \(token.base64Encoded)"]
21 |         configuration.protocolClasses = protocolClasses ?? configuration.protocolClasses
22 |         URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
   |                                                                                                                `- error: 'nil' requires a contextual type
23 |     }
24 | }
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:77: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     let project: GITProject
18 |
19 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
   |                                                                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |         let group = DispatchGroup()
21 |         group.enter()
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/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |     let project: GITProject
18 |
19 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
   |                                                                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 |         let group = DispatchGroup()
21 |         group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:26:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
24 |
25 |         octoKit.pullRequests(
26 |             session,
   |             `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
27 |             owner: project.organisation,
28 |             repository: project.repository,
[111/122] Compiling GitBuddyCore PullRequestFetcher.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:12:16: warning: static property 'protocolClasses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Octokit {
12 |     static var protocolClasses: [AnyClass]?
   |                |- warning: static property 'protocolClasses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'protocolClasses' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'protocolClasses' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     static var environment: [String: String] = ProcessInfo.processInfo.environment
14 |
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:13:16: warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | extension Octokit {
12 |     static var protocolClasses: [AnyClass]?
13 |     static var environment: [String: String] = ProcessInfo.processInfo.environment
   |                |- warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'environment' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'environment' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     /// Sets up the URLSession to be authenticated for the GitHub API.
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:19:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
17 |         let token = try Token(environment: environment)
18 |         Log.debug("Token is \(token)")
19 |         let configuration = URLSessionConfiguration.default
   |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
20 |         configuration.httpAdditionalHeaders = ["Authorization": "Basic \(token.base64Encoded)"]
21 |         configuration.protocolClasses = protocolClasses ?? configuration.protocolClasses
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:41: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
20 |         configuration.httpAdditionalHeaders = ["Authorization": "Basic \(token.base64Encoded)"]
21 |         configuration.protocolClasses = protocolClasses ?? configuration.protocolClasses
22 |         URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
   |                                         `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
23 |     }
24 | }
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:92: error: 'nil' requires a contextual type
20 |         configuration.httpAdditionalHeaders = ["Authorization": "Basic \(token.base64Encoded)"]
21 |         configuration.protocolClasses = protocolClasses ?? configuration.protocolClasses
22 |         URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
   |                                                                                            `- error: 'nil' requires a contextual type
23 |     }
24 | }
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:112: error: 'nil' requires a contextual type
20 |         configuration.httpAdditionalHeaders = ["Authorization": "Basic \(token.base64Encoded)"]
21 |         configuration.protocolClasses = protocolClasses ?? configuration.protocolClasses
22 |         URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
   |                                                                                                                `- error: 'nil' requires a contextual type
23 |     }
24 | }
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:77: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     let project: GITProject
18 |
19 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
   |                                                                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |         let group = DispatchGroup()
21 |         group.enter()
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/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |     let project: GITProject
18 |
19 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
   |                                                                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 |         let group = DispatchGroup()
21 |         group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:26:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
24 |
25 |         octoKit.pullRequests(
26 |             session,
   |             `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
27 |             owner: project.organisation,
28 |             repository: project.repository,
[112/122] Compiling GitBuddyCore DateFormatters.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:12:16: warning: static property 'protocolClasses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Octokit {
12 |     static var protocolClasses: [AnyClass]?
   |                |- warning: static property 'protocolClasses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'protocolClasses' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'protocolClasses' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     static var environment: [String: String] = ProcessInfo.processInfo.environment
14 |
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:13:16: warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | extension Octokit {
12 |     static var protocolClasses: [AnyClass]?
13 |     static var environment: [String: String] = ProcessInfo.processInfo.environment
   |                |- warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'environment' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'environment' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     /// Sets up the URLSession to be authenticated for the GitHub API.
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:19:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
17 |         let token = try Token(environment: environment)
18 |         Log.debug("Token is \(token)")
19 |         let configuration = URLSessionConfiguration.default
   |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
20 |         configuration.httpAdditionalHeaders = ["Authorization": "Basic \(token.base64Encoded)"]
21 |         configuration.protocolClasses = protocolClasses ?? configuration.protocolClasses
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:41: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
20 |         configuration.httpAdditionalHeaders = ["Authorization": "Basic \(token.base64Encoded)"]
21 |         configuration.protocolClasses = protocolClasses ?? configuration.protocolClasses
22 |         URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
   |                                         `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
23 |     }
24 | }
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:92: error: 'nil' requires a contextual type
20 |         configuration.httpAdditionalHeaders = ["Authorization": "Basic \(token.base64Encoded)"]
21 |         configuration.protocolClasses = protocolClasses ?? configuration.protocolClasses
22 |         URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
   |                                                                                            `- error: 'nil' requires a contextual type
23 |     }
24 | }
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:112: error: 'nil' requires a contextual type
20 |         configuration.httpAdditionalHeaders = ["Authorization": "Basic \(token.base64Encoded)"]
21 |         configuration.protocolClasses = protocolClasses ?? configuration.protocolClasses
22 |         URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
   |                                                                                                                `- error: 'nil' requires a contextual type
23 |     }
24 | }
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:77: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     let project: GITProject
18 |
19 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
   |                                                                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |         let group = DispatchGroup()
21 |         group.enter()
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/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |     let project: GITProject
18 |
19 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
   |                                                                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 |         let group = DispatchGroup()
21 |         group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:26:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
24 |
25 |         octoKit.pullRequests(
26 |             session,
   |             `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
27 |             owner: project.organisation,
28 |             repository: project.repository,
[113/122] Compiling GitBuddyCore DependencyInjectors.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/DependencyInjectors.swift:15:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | extension URLSessionInjectable {
15 |     var urlSession: URLSession { return URLSessionInjector.urlSession }
   |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
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/GitBuddyCore/Helpers/DependencyInjectors.swift:20:16: warning: static property 'urlSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | enum URLSessionInjector {
19 |     /// Will be setup using the configuration inside the GitBuddy.run method
20 |     static var urlSession: URLSession!
   |                |- warning: static property 'urlSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'urlSession' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'urlSession' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/DependencyInjectors.swift:20:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | enum URLSessionInjector {
19 |     /// Will be setup using the configuration inside the GitBuddy.run method
20 |     static var urlSession: URLSession!
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | }
22 |
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/GitBuddyCore/Helpers/Log.swift:12:16: warning: static property 'isVerbose' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | enum Log {
12 |     static var isVerbose: Bool = false
   |                |- warning: static property 'isVerbose' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'isVerbose' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'isVerbose' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     /// Can be used to catch output for testing purposes.
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Log.swift:15:16: warning: static property 'pipe' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 |     /// Can be used to catch output for testing purposes.
15 |     static var pipe: ((_ message: String) -> Void)?
   |                |- warning: static property 'pipe' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'pipe' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'pipe' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     static func debug(_ message: String) {
[114/122] Compiling GitBuddyCore Log.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/DependencyInjectors.swift:15:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | extension URLSessionInjectable {
15 |     var urlSession: URLSession { return URLSessionInjector.urlSession }
   |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
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/GitBuddyCore/Helpers/DependencyInjectors.swift:20:16: warning: static property 'urlSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | enum URLSessionInjector {
19 |     /// Will be setup using the configuration inside the GitBuddy.run method
20 |     static var urlSession: URLSession!
   |                |- warning: static property 'urlSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'urlSession' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'urlSession' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/DependencyInjectors.swift:20:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | enum URLSessionInjector {
19 |     /// Will be setup using the configuration inside the GitBuddy.run method
20 |     static var urlSession: URLSession!
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | }
22 |
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/GitBuddyCore/Helpers/Log.swift:12:16: warning: static property 'isVerbose' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | enum Log {
12 |     static var isVerbose: Bool = false
   |                |- warning: static property 'isVerbose' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'isVerbose' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'isVerbose' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     /// Can be used to catch output for testing purposes.
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Log.swift:15:16: warning: static property 'pipe' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 |     /// Can be used to catch output for testing purposes.
15 |     static var pipe: ((_ message: String) -> Void)?
   |                |- warning: static property 'pipe' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'pipe' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'pipe' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     static func debug(_ message: String) {
[115/122] Compiling GitBuddyCore OctoKitError.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/DependencyInjectors.swift:15:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | extension URLSessionInjectable {
15 |     var urlSession: URLSession { return URLSessionInjector.urlSession }
   |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
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/GitBuddyCore/Helpers/DependencyInjectors.swift:20:16: warning: static property 'urlSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | enum URLSessionInjector {
19 |     /// Will be setup using the configuration inside the GitBuddy.run method
20 |     static var urlSession: URLSession!
   |                |- warning: static property 'urlSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'urlSession' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'urlSession' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/DependencyInjectors.swift:20:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | enum URLSessionInjector {
19 |     /// Will be setup using the configuration inside the GitBuddy.run method
20 |     static var urlSession: URLSession!
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | }
22 |
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/GitBuddyCore/Helpers/Log.swift:12:16: warning: static property 'isVerbose' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | enum Log {
12 |     static var isVerbose: Bool = false
   |                |- warning: static property 'isVerbose' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'isVerbose' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'isVerbose' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     /// Can be used to catch output for testing purposes.
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Log.swift:15:16: warning: static property 'pipe' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 |     /// Can be used to catch output for testing purposes.
15 |     static var pipe: ((_ message: String) -> Void)?
   |                |- warning: static property 'pipe' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'pipe' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'pipe' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     static func debug(_ message: String) {
[116/122] Compiling GitBuddyCore Token.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Release/ReleaseProducer.swift:239:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
237 |         var result: Result<Foundation.URL, Swift.Error>!
238 |         octoKit.postRelease(
239 |             urlSession,
    |             `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
240 |             owner: project.organisation,
241 |             repository: project.repository,
/host/spi-builder-workspace/Sources/GitBuddyCore/Tag Deletions/TagsDeleter.swift:41:30: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
 39 |
 40 |         var result: Result<[OctoKit.Release], Swift.Error>!
 41 |         octoKit.listReleases(urlSession, owner: project.organisation, repository: project.repository, perPage: 100) { response in
    |                              `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
 42 |             result = response
 43 |             group.leave()
/host/spi-builder-workspace/Sources/GitBuddyCore/Tag Deletions/TagsDeleter.swift:74:35: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
 72 |             }
 73 |
 74 |             octoKit.deleteRelease(urlSession, owner: project.organisation, repository: project.repository, releaseId: release.id) { error in
    |                                   `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
 75 |                 defer { group.leave() }
 76 |                 guard let error = error else {
/host/spi-builder-workspace/Sources/GitBuddyCore/Tag Deletions/TagsDeleter.swift:106:17: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
104 |
105 |             octoKit.deleteReference(
106 |                 urlSession,
    |                 `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
107 |                 owner: project.organisation,
108 |                 repository: project.repository,
[117/122] Compiling GitBuddyCore ReleaseProducer.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Release/ReleaseProducer.swift:239:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
237 |         var result: Result<Foundation.URL, Swift.Error>!
238 |         octoKit.postRelease(
239 |             urlSession,
    |             `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
240 |             owner: project.organisation,
241 |             repository: project.repository,
/host/spi-builder-workspace/Sources/GitBuddyCore/Tag Deletions/TagsDeleter.swift:41:30: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
 39 |
 40 |         var result: Result<[OctoKit.Release], Swift.Error>!
 41 |         octoKit.listReleases(urlSession, owner: project.organisation, repository: project.repository, perPage: 100) { response in
    |                              `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
 42 |             result = response
 43 |             group.leave()
/host/spi-builder-workspace/Sources/GitBuddyCore/Tag Deletions/TagsDeleter.swift:74:35: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
 72 |             }
 73 |
 74 |             octoKit.deleteRelease(urlSession, owner: project.organisation, repository: project.repository, releaseId: release.id) { error in
    |                                   `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
 75 |                 defer { group.leave() }
 76 |                 guard let error = error else {
/host/spi-builder-workspace/Sources/GitBuddyCore/Tag Deletions/TagsDeleter.swift:106:17: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
104 |
105 |             octoKit.deleteReference(
106 |                 urlSession,
    |                 `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
107 |                 owner: project.organisation,
108 |                 repository: project.repository,
[118/122] Compiling GitBuddyCore TagsDeleter.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Release/ReleaseProducer.swift:239:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
237 |         var result: Result<Foundation.URL, Swift.Error>!
238 |         octoKit.postRelease(
239 |             urlSession,
    |             `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
240 |             owner: project.organisation,
241 |             repository: project.repository,
/host/spi-builder-workspace/Sources/GitBuddyCore/Tag Deletions/TagsDeleter.swift:41:30: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
 39 |
 40 |         var result: Result<[OctoKit.Release], Swift.Error>!
 41 |         octoKit.listReleases(urlSession, owner: project.organisation, repository: project.repository, perPage: 100) { response in
    |                              `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
 42 |             result = response
 43 |             group.leave()
/host/spi-builder-workspace/Sources/GitBuddyCore/Tag Deletions/TagsDeleter.swift:74:35: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
 72 |             }
 73 |
 74 |             octoKit.deleteRelease(urlSession, owner: project.organisation, repository: project.repository, releaseId: release.id) { error in
    |                                   `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
 75 |                 defer { group.leave() }
 76 |                 guard let error = error else {
/host/spi-builder-workspace/Sources/GitBuddyCore/Tag Deletions/TagsDeleter.swift:106:17: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
104 |
105 |             octoKit.deleteReference(
106 |                 urlSession,
    |                 `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
107 |                 owner: project.organisation,
108 |                 repository: project.repository,
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/10] Write swift-version-24593BA9C3E375BF.txt
[3/16] Emitting module ArgumentParserToolInfo
[4/16] Compiling RequestKit JSONPostRouter.swift
[5/16] Emitting module RequestKit
[6/16] Compiling RequestKit Router.swift
[7/16] Compiling RequestKit RequestKitSession.swift
[9/17] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/77] Compiling ArgumentParser CommandGroup.swift
[12/77] Compiling ArgumentParser EnumerableFlag.swift
[13/77] Compiling ArgumentParser ArgumentVisibility.swift
[14/80] Compiling ArgumentParser OptionGroup.swift
[15/80] Compiling ArgumentParser AsyncParsableCommand.swift
[16/80] Compiling ArgumentParser CommandConfiguration.swift
[17/80] Compiling ArgumentParser NameSpecification.swift
[18/80] Compiling ArgumentParser Option.swift
[19/80] Compiling ArgumentParser ExpressibleByArgument.swift
[20/80] Compiling ArgumentParser CompletionKind.swift
[21/80] Compiling ArgumentParser Errors.swift
[22/80] Compiling ArgumentParser Flag.swift
[23/80] Compiling ArgumentParser ZshCompletionsGenerator.swift
[24/80] Compiling ArgumentParser Argument.swift
[26/80] Compiling ArgumentParser ArgumentHelp.swift
[31/85] Emitting module OctoKit
[32/85] Compiling ArgumentParser ParsableArguments.swift
[33/85] Compiling ArgumentParser ParsableArgumentsValidation.swift
[34/85] Compiling ArgumentParser ParsableCommand.swift
[35/85] Compiling ArgumentParser ArgumentDecoder.swift
[36/85] Compiling ArgumentParser BashCompletionsGenerator.swift
[37/85] Compiling ArgumentParser CompletionsGenerator.swift
[38/85] Compiling ArgumentParser FishCompletionsGenerator.swift
[39/85] Compiling OctoKit Time.swift
[40/85] Compiling OctoKit URL+URLParameters.swift
[41/85] Compiling OctoKit User.swift
[43/86] Compiling ArgumentParser Name.swift
[44/86] Compiling ArgumentParser Parsed.swift
[45/86] Compiling ArgumentParser ParsedValues.swift
[46/86] Compiling ArgumentParser ParserError.swift
[47/86] Compiling ArgumentParser SplitArguments.swift
[47/86] Wrapping AST for OctoKit for debugging
[55/86] Emitting module ArgumentParser
[62/86] Compiling ArgumentParser CollectionExtensions.swift
[63/86] Compiling ArgumentParser Platform.swift
[64/86] Compiling ArgumentParser SequenceExtensions.swift
[65/86] Compiling ArgumentParser StringExtensions.swift
[66/86] Compiling ArgumentParser Tree.swift
[72/86] Compiling ArgumentParser DumpHelpGenerator.swift
[73/86] Compiling ArgumentParser HelpCommand.swift
[74/86] Compiling ArgumentParser HelpGenerator.swift
[75/86] Compiling ArgumentParser MessageInfo.swift
[76/86] Compiling ArgumentParser UsageGenerator.swift
[80/86] Compiling ArgumentParser InputKey.swift
[81/86] Compiling ArgumentParser InputOrigin.swift
[83/110] Compiling GitBuddyCore GITProject.swift
[84/110] Compiling GitBuddyCore Release.swift
[85/110] Compiling GitBuddyCore Tag.swift
[86/110] Compiling GitBuddyCore DependencyInjectors.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/DependencyInjectors.swift:15:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | extension URLSessionInjectable {
15 |     var urlSession: URLSession { return URLSessionInjector.urlSession }
   |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
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/GitBuddyCore/Helpers/DependencyInjectors.swift:20:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | enum URLSessionInjector {
19 |     /// Will be setup using the configuration inside the GitBuddy.run method
20 |     static var urlSession: URLSession!
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | }
22 |
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
[87/110] Compiling GitBuddyCore Log.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/DependencyInjectors.swift:15:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | extension URLSessionInjectable {
15 |     var urlSession: URLSession { return URLSessionInjector.urlSession }
   |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
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/GitBuddyCore/Helpers/DependencyInjectors.swift:20:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | enum URLSessionInjector {
19 |     /// Will be setup using the configuration inside the GitBuddy.run method
20 |     static var urlSession: URLSession!
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | }
22 |
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
[88/110] Compiling GitBuddyCore OctoKitError.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/DependencyInjectors.swift:15:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | extension URLSessionInjectable {
15 |     var urlSession: URLSession { return URLSessionInjector.urlSession }
   |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
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/GitBuddyCore/Helpers/DependencyInjectors.swift:20:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | enum URLSessionInjector {
19 |     /// Will be setup using the configuration inside the GitBuddy.run method
20 |     static var urlSession: URLSession!
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | }
22 |
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[89/113] Emitting module GitBuddyCore
/host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     let project: GITProject
16 |
17 |     func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
   |                               `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         return pullRequests.flatMap { pullRequest -> [ChangelogItem] in
19 |             let issuesResolver = IssuesResolver(octoKit: octoKit, project: project, input: pullRequest)
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/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 |     let project: GITProject
16 |
17 |     func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
   |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
18 |         return pullRequests.flatMap { pullRequest -> [ChangelogItem] in
19 |             let issuesResolver = IssuesResolver(octoKit: octoKit, project: project, input: pullRequest)
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift:32:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | /// Responsible for posting comments on issues at GitHub.
31 | enum Commenter {
32 |     static var urlSession: URLSession { URLSessionInjector.urlSession }
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |     /// Adds a right aligned watermark to each comment to grow our audience.
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/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     let previousTagName: String
18 |
19 |     func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
   |                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |         let group = DispatchGroup()
21 |         group.enter()
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/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:58: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |     let previousTagName: String
18 |
19 |     func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
   |                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 |         let group = DispatchGroup()
21 |         group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:16:77: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 |     /// Fetches issues and filters them by a given `fromDate` and `toDate`.
16 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
   |                                                                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         let group = DispatchGroup()
18 |         group.enter()
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/GitBuddyCore/GitHub/IssuesFetcher.swift:16:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
14 |
15 |     /// Fetches issues and filters them by a given `fromDate` and `toDate`.
16 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
   |                                                                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |         let group = DispatchGroup()
18 |         group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:17:33: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     let input: ChangelogInput
16 |
17 |     func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
   |                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         guard let resolvedIssueNumbers = input.body?.resolvingIssues(), !resolvedIssueNumbers.isEmpty else {
19 |             return nil
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/GitBuddyCore/GitHub/IssuesResolver.swift:17:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 |     let input: ChangelogInput
16 |
17 |     func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
18 |         guard let resolvedIssueNumbers = input.body?.resolvingIssues(), !resolvedIssueNumbers.isEmpty else {
19 |             return nil
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:24:65: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     }
23 |
24 |     private func issues(for issueNumbers: [Int], using session: URLSession) -> [Issue] {
   |                                                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         var issues: [Issue] = []
26 |         let dispatchGroup = DispatchGroup()
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/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:77: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     let project: GITProject
18 |
19 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
   |                                                                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |         let group = DispatchGroup()
21 |         group.enter()
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/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |     let project: GITProject
18 |
19 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
   |                                                                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 |         let group = DispatchGroup()
21 |         group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/DependencyInjectors.swift:15:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | extension URLSessionInjectable {
15 |     var urlSession: URLSession { return URLSessionInjector.urlSession }
   |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
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/GitBuddyCore/Helpers/DependencyInjectors.swift:20:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | enum URLSessionInjector {
19 |     /// Will be setup using the configuration inside the GitBuddy.run method
20 |     static var urlSession: URLSession!
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | }
22 |
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/GitBuddyCore/Models/Changelog.swift:23:1: warning: extension declares a conformance of imported type 'ReleaseNotes' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
21 | }
22 |
23 | extension ReleaseNotes: Changelog {
   | |- warning: extension declares a conformance of imported type 'ReleaseNotes' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |     var itemIdentifiers: [PullRequestID : [IssueID]] {
25 |         [:]
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:80:1: warning: extension declares a conformance of imported type 'PullRequest' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
78 | }
79 |
80 | extension PullRequest: Hashable {
   | |- warning: extension declares a conformance of imported type 'PullRequest' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
81 |     public func hash(into hasher: inout Hasher) {
82 |         hasher.combine(id)
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:90:1: warning: extension declares a conformance of imported type 'Issue' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
88 | }
89 |
90 | extension Issue: Hashable {
   | |- warning: extension declares a conformance of imported type 'Issue' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
91 |     public func hash(into hasher: inout Hasher) {
92 |         hasher.combine(id)
[90/113] Compiling GitBuddyCore ChangelogBuilder.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     let project: GITProject
16 |
17 |     func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
   |                               `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         return pullRequests.flatMap { pullRequest -> [ChangelogItem] in
19 |             let issuesResolver = IssuesResolver(octoKit: octoKit, project: project, input: pullRequest)
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/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 |     let project: GITProject
16 |
17 |     func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
   |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
18 |         return pullRequests.flatMap { pullRequest -> [ChangelogItem] in
19 |             let issuesResolver = IssuesResolver(octoKit: octoKit, project: project, input: pullRequest)
[91/113] Compiling GitBuddyCore ChangelogItemsFactory.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     let project: GITProject
16 |
17 |     func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
   |                               `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         return pullRequests.flatMap { pullRequest -> [ChangelogItem] in
19 |             let issuesResolver = IssuesResolver(octoKit: octoKit, project: project, input: pullRequest)
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/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 |     let project: GITProject
16 |
17 |     func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
   |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
18 |         return pullRequests.flatMap { pullRequest -> [ChangelogItem] in
19 |             let issuesResolver = IssuesResolver(octoKit: octoKit, project: project, input: pullRequest)
[92/113] Compiling GitBuddyCore ChangelogProducer.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     let project: GITProject
16 |
17 |     func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
   |                               `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         return pullRequests.flatMap { pullRequest -> [ChangelogItem] in
19 |             let issuesResolver = IssuesResolver(octoKit: octoKit, project: project, input: pullRequest)
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/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 |     let project: GITProject
16 |
17 |     func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
   |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
18 |         return pullRequests.flatMap { pullRequest -> [ChangelogItem] in
19 |             let issuesResolver = IssuesResolver(octoKit: octoKit, project: project, input: pullRequest)
[93/113] Compiling GitBuddyCore ChangelogCommand.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     let project: GITProject
16 |
17 |     func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
   |                               `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         return pullRequests.flatMap { pullRequest -> [ChangelogItem] in
19 |             let issuesResolver = IssuesResolver(octoKit: octoKit, project: project, input: pullRequest)
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/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 |     let project: GITProject
16 |
17 |     func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
   |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
18 |         return pullRequests.flatMap { pullRequest -> [ChangelogItem] in
19 |             let issuesResolver = IssuesResolver(octoKit: octoKit, project: project, input: pullRequest)
[94/113] Compiling GitBuddyCore GitHubReleaseNotesGenerator.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     let previousTagName: String
18 |
19 |     func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
   |                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |         let group = DispatchGroup()
21 |         group.enter()
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/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:58: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |     let previousTagName: String
18 |
19 |     func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
   |                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 |         let group = DispatchGroup()
21 |         group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:26:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
24 |
25 |         octoKit.generateReleaseNotes(
26 |             session,
   |             `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
27 |             owner: project.organisation,
28 |             repository: project.repository,
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:16:77: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 |     /// Fetches issues and filters them by a given `fromDate` and `toDate`.
16 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
   |                                                                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         let group = DispatchGroup()
18 |         group.enter()
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/GitBuddyCore/GitHub/IssuesFetcher.swift:16:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
14 |
15 |     /// Fetches issues and filters them by a given `fromDate` and `toDate`.
16 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
   |                                                                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |         let group = DispatchGroup()
18 |         group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:22:24: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
20 |         var result: Result<[Issue], Swift.Error>!
21 |
22 |         octoKit.issues(session, owner: project.organisation, repository: project.repository, state: .closed) { response in
   |                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
23 |             switch response {
24 |             case .success(let issues):
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:17:33: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     let input: ChangelogInput
16 |
17 |     func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
   |                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         guard let resolvedIssueNumbers = input.body?.resolvingIssues(), !resolvedIssueNumbers.isEmpty else {
19 |             return nil
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/GitBuddyCore/GitHub/IssuesResolver.swift:17:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 |     let input: ChangelogInput
16 |
17 |     func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
18 |         guard let resolvedIssueNumbers = input.body?.resolvingIssues(), !resolvedIssueNumbers.isEmpty else {
19 |             return nil
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:24:65: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     }
23 |
24 |     private func issues(for issueNumbers: [Int], using session: URLSession) -> [Issue] {
   |                                                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         var issues: [Issue] = []
26 |         let dispatchGroup = DispatchGroup()
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/GitBuddyCore/GitHub/IssuesResolver.swift:29:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
27 |         for issueNumber in issueNumbers {
28 |             dispatchGroup.enter()
29 |             octoKit.issue(session, owner: project.organisation, repository: project.repository, number: issueNumber) { response in
   |                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
30 |                 switch response {
31 |                 case .success(let issue):
[95/113] Compiling GitBuddyCore IssuesFetcher.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     let previousTagName: String
18 |
19 |     func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
   |                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |         let group = DispatchGroup()
21 |         group.enter()
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/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:58: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |     let previousTagName: String
18 |
19 |     func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
   |                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 |         let group = DispatchGroup()
21 |         group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:26:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
24 |
25 |         octoKit.generateReleaseNotes(
26 |             session,
   |             `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
27 |             owner: project.organisation,
28 |             repository: project.repository,
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:16:77: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 |     /// Fetches issues and filters them by a given `fromDate` and `toDate`.
16 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
   |                                                                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         let group = DispatchGroup()
18 |         group.enter()
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/GitBuddyCore/GitHub/IssuesFetcher.swift:16:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
14 |
15 |     /// Fetches issues and filters them by a given `fromDate` and `toDate`.
16 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
   |                                                                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |         let group = DispatchGroup()
18 |         group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:22:24: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
20 |         var result: Result<[Issue], Swift.Error>!
21 |
22 |         octoKit.issues(session, owner: project.organisation, repository: project.repository, state: .closed) { response in
   |                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
23 |             switch response {
24 |             case .success(let issues):
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:17:33: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     let input: ChangelogInput
16 |
17 |     func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
   |                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         guard let resolvedIssueNumbers = input.body?.resolvingIssues(), !resolvedIssueNumbers.isEmpty else {
19 |             return nil
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/GitBuddyCore/GitHub/IssuesResolver.swift:17:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 |     let input: ChangelogInput
16 |
17 |     func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
18 |         guard let resolvedIssueNumbers = input.body?.resolvingIssues(), !resolvedIssueNumbers.isEmpty else {
19 |             return nil
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:24:65: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     }
23 |
24 |     private func issues(for issueNumbers: [Int], using session: URLSession) -> [Issue] {
   |                                                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         var issues: [Issue] = []
26 |         let dispatchGroup = DispatchGroup()
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/GitBuddyCore/GitHub/IssuesResolver.swift:29:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
27 |         for issueNumber in issueNumbers {
28 |             dispatchGroup.enter()
29 |             octoKit.issue(session, owner: project.organisation, repository: project.repository, number: issueNumber) { response in
   |                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
30 |                 switch response {
31 |                 case .success(let issue):
[96/113] Compiling GitBuddyCore IssuesResolver.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     let previousTagName: String
18 |
19 |     func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
   |                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |         let group = DispatchGroup()
21 |         group.enter()
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/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:58: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |     let previousTagName: String
18 |
19 |     func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
   |                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 |         let group = DispatchGroup()
21 |         group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:26:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
24 |
25 |         octoKit.generateReleaseNotes(
26 |             session,
   |             `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
27 |             owner: project.organisation,
28 |             repository: project.repository,
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:16:77: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 |     /// Fetches issues and filters them by a given `fromDate` and `toDate`.
16 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
   |                                                                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         let group = DispatchGroup()
18 |         group.enter()
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/GitBuddyCore/GitHub/IssuesFetcher.swift:16:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
14 |
15 |     /// Fetches issues and filters them by a given `fromDate` and `toDate`.
16 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
   |                                                                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |         let group = DispatchGroup()
18 |         group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:22:24: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
20 |         var result: Result<[Issue], Swift.Error>!
21 |
22 |         octoKit.issues(session, owner: project.organisation, repository: project.repository, state: .closed) { response in
   |                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
23 |             switch response {
24 |             case .success(let issues):
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:17:33: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     let input: ChangelogInput
16 |
17 |     func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
   |                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         guard let resolvedIssueNumbers = input.body?.resolvingIssues(), !resolvedIssueNumbers.isEmpty else {
19 |             return nil
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/GitBuddyCore/GitHub/IssuesResolver.swift:17:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 |     let input: ChangelogInput
16 |
17 |     func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
18 |         guard let resolvedIssueNumbers = input.body?.resolvingIssues(), !resolvedIssueNumbers.isEmpty else {
19 |             return nil
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:24:65: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     }
23 |
24 |     private func issues(for issueNumbers: [Int], using session: URLSession) -> [Issue] {
   |                                                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         var issues: [Issue] = []
26 |         let dispatchGroup = DispatchGroup()
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/GitBuddyCore/GitHub/IssuesResolver.swift:29:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
27 |         for issueNumber in issueNumbers {
28 |             dispatchGroup.enter()
29 |             octoKit.issue(session, owner: project.organisation, repository: project.repository, number: issueNumber) { response in
   |                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
30 |                 switch response {
31 |                 case .success(let issue):
[97/113] Compiling GitBuddyCore GitBuddy.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift:32:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | /// Responsible for posting comments on issues at GitHub.
31 | enum Commenter {
32 |     static var urlSession: URLSession { URLSessionInjector.urlSession }
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |     /// Adds a right aligned watermark to each comment to grow our audience.
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/GitBuddyCore/GitHub/Commenter.swift:49:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
47 |         body += watermark
48 |         Octokit()
49 |             .commentIssue(urlSession, owner: project.organisation, repository: project.repository, number: issueID,
   |                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
50 |                           body: body)
51 |             { response in
[98/113] Compiling GitBuddyCore ReleaseCommand.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift:32:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | /// Responsible for posting comments on issues at GitHub.
31 | enum Commenter {
32 |     static var urlSession: URLSession { URLSessionInjector.urlSession }
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |     /// Adds a right aligned watermark to each comment to grow our audience.
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/GitBuddyCore/GitHub/Commenter.swift:49:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
47 |         body += watermark
48 |         Octokit()
49 |             .commentIssue(urlSession, owner: project.organisation, repository: project.repository, number: issueID,
   |                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
50 |                           body: body)
51 |             { response in
[99/113] Compiling GitBuddyCore TagDeletionsCommand.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift:32:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | /// Responsible for posting comments on issues at GitHub.
31 | enum Commenter {
32 |     static var urlSession: URLSession { URLSessionInjector.urlSession }
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |     /// Adds a right aligned watermark to each comment to grow our audience.
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/GitBuddyCore/GitHub/Commenter.swift:49:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
47 |         body += watermark
48 |         Octokit()
49 |             .commentIssue(urlSession, owner: project.organisation, repository: project.repository, number: issueID,
   |                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
50 |                           body: body)
51 |             { response in
[100/113] Compiling GitBuddyCore Commenter.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift:32:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | /// Responsible for posting comments on issues at GitHub.
31 | enum Commenter {
32 |     static var urlSession: URLSession { URLSessionInjector.urlSession }
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |     /// Adds a right aligned watermark to each comment to grow our audience.
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/GitBuddyCore/GitHub/Commenter.swift:49:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
47 |         body += watermark
48 |         Octokit()
49 |             .commentIssue(urlSession, owner: project.organisation, repository: project.repository, number: issueID,
   |                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
50 |                           body: body)
51 |             { response in
[101/113] Compiling GitBuddyCore Shell.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:39:9: warning: 'launchPath' is deprecated: renamed to 'executableURL'
37 | extension Process {
38 |     func shell(_ command: ShellCommand) -> String {
39 |         launchPath = "/bin/bash"
   |         |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |         `- note: use 'executableURL' instead
40 |         arguments = ["-c", command.rawValue]
41 |
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:44:9: warning: 'launch()' is deprecated: renamed to 'run'
42 |         let outputPipe = Pipe()
43 |         standardOutput = outputPipe
44 |         launch()
   |         |- warning: 'launch()' is deprecated: renamed to 'run'
   |         `- note: use 'run' instead
45 |
46 |         let data = outputPipe.fileHandleForReading.readDataToEndOfFile()
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:23:1: warning: extension declares a conformance of imported type 'ReleaseNotes' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
21 | }
22 |
23 | extension ReleaseNotes: Changelog {
   | |- warning: extension declares a conformance of imported type 'ReleaseNotes' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |     var itemIdentifiers: [PullRequestID : [IssueID]] {
25 |         [:]
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:80:1: warning: extension declares a conformance of imported type 'PullRequest' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
78 | }
79 |
80 | extension PullRequest: Hashable {
   | |- warning: extension declares a conformance of imported type 'PullRequest' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
81 |     public func hash(into hasher: inout Hasher) {
82 |         hasher.combine(id)
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:90:1: warning: extension declares a conformance of imported type 'Issue' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
88 | }
89 |
90 | extension Issue: Hashable {
   | |- warning: extension declares a conformance of imported type 'Issue' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
91 |     public func hash(into hasher: inout Hasher) {
92 |         hasher.combine(id)
[102/113] Compiling GitBuddyCore Changelog.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:39:9: warning: 'launchPath' is deprecated: renamed to 'executableURL'
37 | extension Process {
38 |     func shell(_ command: ShellCommand) -> String {
39 |         launchPath = "/bin/bash"
   |         |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |         `- note: use 'executableURL' instead
40 |         arguments = ["-c", command.rawValue]
41 |
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:44:9: warning: 'launch()' is deprecated: renamed to 'run'
42 |         let outputPipe = Pipe()
43 |         standardOutput = outputPipe
44 |         launch()
   |         |- warning: 'launch()' is deprecated: renamed to 'run'
   |         `- note: use 'run' instead
45 |
46 |         let data = outputPipe.fileHandleForReading.readDataToEndOfFile()
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:23:1: warning: extension declares a conformance of imported type 'ReleaseNotes' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
21 | }
22 |
23 | extension ReleaseNotes: Changelog {
   | |- warning: extension declares a conformance of imported type 'ReleaseNotes' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |     var itemIdentifiers: [PullRequestID : [IssueID]] {
25 |         [:]
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:80:1: warning: extension declares a conformance of imported type 'PullRequest' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
78 | }
79 |
80 | extension PullRequest: Hashable {
   | |- warning: extension declares a conformance of imported type 'PullRequest' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
81 |     public func hash(into hasher: inout Hasher) {
82 |         hasher.combine(id)
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:90:1: warning: extension declares a conformance of imported type 'Issue' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
88 | }
89 |
90 | extension Issue: Hashable {
   | |- warning: extension declares a conformance of imported type 'Issue' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
91 |     public func hash(into hasher: inout Hasher) {
92 |         hasher.combine(id)
[103/113] Compiling GitBuddyCore ChangelogItem.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:39:9: warning: 'launchPath' is deprecated: renamed to 'executableURL'
37 | extension Process {
38 |     func shell(_ command: ShellCommand) -> String {
39 |         launchPath = "/bin/bash"
   |         |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |         `- note: use 'executableURL' instead
40 |         arguments = ["-c", command.rawValue]
41 |
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:44:9: warning: 'launch()' is deprecated: renamed to 'run'
42 |         let outputPipe = Pipe()
43 |         standardOutput = outputPipe
44 |         launch()
   |         |- warning: 'launch()' is deprecated: renamed to 'run'
   |         `- note: use 'run' instead
45 |
46 |         let data = outputPipe.fileHandleForReading.readDataToEndOfFile()
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:23:1: warning: extension declares a conformance of imported type 'ReleaseNotes' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
21 | }
22 |
23 | extension ReleaseNotes: Changelog {
   | |- warning: extension declares a conformance of imported type 'ReleaseNotes' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |     var itemIdentifiers: [PullRequestID : [IssueID]] {
25 |         [:]
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:80:1: warning: extension declares a conformance of imported type 'PullRequest' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
78 | }
79 |
80 | extension PullRequest: Hashable {
   | |- warning: extension declares a conformance of imported type 'PullRequest' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
81 |     public func hash(into hasher: inout Hasher) {
82 |         hasher.combine(id)
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:90:1: warning: extension declares a conformance of imported type 'Issue' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
88 | }
89 |
90 | extension Issue: Hashable {
   | |- warning: extension declares a conformance of imported type 'Issue' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
91 |     public func hash(into hasher: inout Hasher) {
92 |         hasher.combine(id)
[104/113] Compiling GitBuddyCore OctoKit+Authentication.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:19:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
17 |         let token = try Token(environment: environment)
18 |         Log.debug("Token is \(token)")
19 |         let configuration = URLSessionConfiguration.default
   |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
20 |         configuration.httpAdditionalHeaders = ["Authorization": "Basic \(token.base64Encoded)"]
21 |         configuration.protocolClasses = protocolClasses ?? configuration.protocolClasses
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:41: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
20 |         configuration.httpAdditionalHeaders = ["Authorization": "Basic \(token.base64Encoded)"]
21 |         configuration.protocolClasses = protocolClasses ?? configuration.protocolClasses
22 |         URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
   |                                         `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
23 |     }
24 | }
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:92: error: 'nil' requires a contextual type
20 |         configuration.httpAdditionalHeaders = ["Authorization": "Basic \(token.base64Encoded)"]
21 |         configuration.protocolClasses = protocolClasses ?? configuration.protocolClasses
22 |         URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
   |                                                                                            `- error: 'nil' requires a contextual type
23 |     }
24 | }
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:112: error: 'nil' requires a contextual type
20 |         configuration.httpAdditionalHeaders = ["Authorization": "Basic \(token.base64Encoded)"]
21 |         configuration.protocolClasses = protocolClasses ?? configuration.protocolClasses
22 |         URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
   |                                                                                                                `- error: 'nil' requires a contextual type
23 |     }
24 | }
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:77: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     let project: GITProject
18 |
19 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
   |                                                                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |         let group = DispatchGroup()
21 |         group.enter()
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/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |     let project: GITProject
18 |
19 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
   |                                                                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 |         let group = DispatchGroup()
21 |         group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:26:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
24 |
25 |         octoKit.pullRequests(
26 |             session,
   |             `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
27 |             owner: project.organisation,
28 |             repository: project.repository,
[105/113] Compiling GitBuddyCore PullRequestFetcher.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:19:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
17 |         let token = try Token(environment: environment)
18 |         Log.debug("Token is \(token)")
19 |         let configuration = URLSessionConfiguration.default
   |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
20 |         configuration.httpAdditionalHeaders = ["Authorization": "Basic \(token.base64Encoded)"]
21 |         configuration.protocolClasses = protocolClasses ?? configuration.protocolClasses
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:41: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
20 |         configuration.httpAdditionalHeaders = ["Authorization": "Basic \(token.base64Encoded)"]
21 |         configuration.protocolClasses = protocolClasses ?? configuration.protocolClasses
22 |         URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
   |                                         `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
23 |     }
24 | }
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:92: error: 'nil' requires a contextual type
20 |         configuration.httpAdditionalHeaders = ["Authorization": "Basic \(token.base64Encoded)"]
21 |         configuration.protocolClasses = protocolClasses ?? configuration.protocolClasses
22 |         URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
   |                                                                                            `- error: 'nil' requires a contextual type
23 |     }
24 | }
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:112: error: 'nil' requires a contextual type
20 |         configuration.httpAdditionalHeaders = ["Authorization": "Basic \(token.base64Encoded)"]
21 |         configuration.protocolClasses = protocolClasses ?? configuration.protocolClasses
22 |         URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
   |                                                                                                                `- error: 'nil' requires a contextual type
23 |     }
24 | }
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:77: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     let project: GITProject
18 |
19 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
   |                                                                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |         let group = DispatchGroup()
21 |         group.enter()
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/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |     let project: GITProject
18 |
19 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
   |                                                                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 |         let group = DispatchGroup()
21 |         group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:26:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
24 |
25 |         octoKit.pullRequests(
26 |             session,
   |             `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
27 |             owner: project.organisation,
28 |             repository: project.repository,
[106/113] Compiling GitBuddyCore DateFormatters.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:19:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
17 |         let token = try Token(environment: environment)
18 |         Log.debug("Token is \(token)")
19 |         let configuration = URLSessionConfiguration.default
   |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
20 |         configuration.httpAdditionalHeaders = ["Authorization": "Basic \(token.base64Encoded)"]
21 |         configuration.protocolClasses = protocolClasses ?? configuration.protocolClasses
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:41: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
20 |         configuration.httpAdditionalHeaders = ["Authorization": "Basic \(token.base64Encoded)"]
21 |         configuration.protocolClasses = protocolClasses ?? configuration.protocolClasses
22 |         URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
   |                                         `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
23 |     }
24 | }
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:92: error: 'nil' requires a contextual type
20 |         configuration.httpAdditionalHeaders = ["Authorization": "Basic \(token.base64Encoded)"]
21 |         configuration.protocolClasses = protocolClasses ?? configuration.protocolClasses
22 |         URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
   |                                                                                            `- error: 'nil' requires a contextual type
23 |     }
24 | }
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:112: error: 'nil' requires a contextual type
20 |         configuration.httpAdditionalHeaders = ["Authorization": "Basic \(token.base64Encoded)"]
21 |         configuration.protocolClasses = protocolClasses ?? configuration.protocolClasses
22 |         URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
   |                                                                                                                `- error: 'nil' requires a contextual type
23 |     }
24 | }
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:77: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     let project: GITProject
18 |
19 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
   |                                                                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |         let group = DispatchGroup()
21 |         group.enter()
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/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |     let project: GITProject
18 |
19 |     func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
   |                                                                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 |         let group = DispatchGroup()
21 |         group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:26:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
24 |
25 |         octoKit.pullRequests(
26 |             session,
   |             `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
27 |             owner: project.organisation,
28 |             repository: project.repository,
[107/113] Compiling GitBuddyCore Token.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Release/ReleaseProducer.swift:239:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
237 |         var result: Result<Foundation.URL, Swift.Error>!
238 |         octoKit.postRelease(
239 |             urlSession,
    |             `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
240 |             owner: project.organisation,
241 |             repository: project.repository,
/host/spi-builder-workspace/Sources/GitBuddyCore/Tag Deletions/TagsDeleter.swift:41:30: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
 39 |
 40 |         var result: Result<[OctoKit.Release], Swift.Error>!
 41 |         octoKit.listReleases(urlSession, owner: project.organisation, repository: project.repository, perPage: 100) { response in
    |                              `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
 42 |             result = response
 43 |             group.leave()
/host/spi-builder-workspace/Sources/GitBuddyCore/Tag Deletions/TagsDeleter.swift:74:35: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
 72 |             }
 73 |
 74 |             octoKit.deleteRelease(urlSession, owner: project.organisation, repository: project.repository, releaseId: release.id) { error in
    |                                   `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
 75 |                 defer { group.leave() }
 76 |                 guard let error = error else {
/host/spi-builder-workspace/Sources/GitBuddyCore/Tag Deletions/TagsDeleter.swift:106:17: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
104 |
105 |             octoKit.deleteReference(
106 |                 urlSession,
    |                 `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
107 |                 owner: project.organisation,
108 |                 repository: project.repository,
[108/113] Compiling GitBuddyCore ReleaseProducer.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Release/ReleaseProducer.swift:239:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
237 |         var result: Result<Foundation.URL, Swift.Error>!
238 |         octoKit.postRelease(
239 |             urlSession,
    |             `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
240 |             owner: project.organisation,
241 |             repository: project.repository,
/host/spi-builder-workspace/Sources/GitBuddyCore/Tag Deletions/TagsDeleter.swift:41:30: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
 39 |
 40 |         var result: Result<[OctoKit.Release], Swift.Error>!
 41 |         octoKit.listReleases(urlSession, owner: project.organisation, repository: project.repository, perPage: 100) { response in
    |                              `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
 42 |             result = response
 43 |             group.leave()
/host/spi-builder-workspace/Sources/GitBuddyCore/Tag Deletions/TagsDeleter.swift:74:35: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
 72 |             }
 73 |
 74 |             octoKit.deleteRelease(urlSession, owner: project.organisation, repository: project.repository, releaseId: release.id) { error in
    |                                   `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
 75 |                 defer { group.leave() }
 76 |                 guard let error = error else {
/host/spi-builder-workspace/Sources/GitBuddyCore/Tag Deletions/TagsDeleter.swift:106:17: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
104 |
105 |             octoKit.deleteReference(
106 |                 urlSession,
    |                 `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
107 |                 owner: project.organisation,
108 |                 repository: project.repository,
[109/113] Compiling GitBuddyCore TagsDeleter.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Release/ReleaseProducer.swift:239:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
237 |         var result: Result<Foundation.URL, Swift.Error>!
238 |         octoKit.postRelease(
239 |             urlSession,
    |             `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
240 |             owner: project.organisation,
241 |             repository: project.repository,
/host/spi-builder-workspace/Sources/GitBuddyCore/Tag Deletions/TagsDeleter.swift:41:30: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
 39 |
 40 |         var result: Result<[OctoKit.Release], Swift.Error>!
 41 |         octoKit.listReleases(urlSession, owner: project.organisation, repository: project.repository, perPage: 100) { response in
    |                              `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
 42 |             result = response
 43 |             group.leave()
/host/spi-builder-workspace/Sources/GitBuddyCore/Tag Deletions/TagsDeleter.swift:74:35: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
 72 |             }
 73 |
 74 |             octoKit.deleteRelease(urlSession, owner: project.organisation, repository: project.repository, releaseId: release.id) { error in
    |                                   `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
 75 |                 defer { group.leave() }
 76 |                 guard let error = error else {
/host/spi-builder-workspace/Sources/GitBuddyCore/Tag Deletions/TagsDeleter.swift:106:17: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
104 |
105 |             octoKit.deleteReference(
106 |                 urlSession,
    |                 `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
107 |                 owner: project.organisation,
108 |                 repository: project.repository,
BUILD FAILURE 6.1 linux