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 4.3.0 (72add0), with Swift 6.0 for Linux on 29 Nov 2024 21:05:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/WeTransfer/GitBuddy.git
Reference: 4.3.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/WeTransfer/GitBuddy
 * tag               4.3.0      -> FETCH_HEAD
HEAD is now at 72add0d Merge pull request #101 from WeTransfer/feature/fix-release-notes
Submodule path 'Submodules/WeTransfer-iOS-CI': checked out 'a5f93e550f2218b03c187e9e77ba60b521b5e383'
Submodule 'Submodules/WeTransfer-iOS-CI' (https://github.com/WeTransfer/WeTransfer-iOS-CI.git) registered for path 'Submodules/WeTransfer-iOS-CI'
Cloning into '/host/spi-builder-workspace/Submodules/WeTransfer-iOS-CI'...
Cloned https://github.com/WeTransfer/GitBuddy.git
Revision (git rev-parse @):
72add0dfac904075fd9a6117c22593d75da55478
SUCCESS checkout https://github.com/WeTransfer/GitBuddy.git at 4.3.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/WeTransfer/GitBuddy.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/WeTransfer/octokit.swift
[1/2828] Fetching octokit.swift
Fetched https://github.com/WeTransfer/octokit.swift from cache (0.23s)
Fetching https://github.com/nerdishbynature/RequestKit.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/WeTransfer/Mocker.git
[1/1554] Fetching requestkit
[1447/3439] Fetching requestkit, mocker
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.28s)
Fetched https://github.com/WeTransfer/Mocker.git from cache (0.28s)
[1/12395] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.64s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (0.44s)
Computing version for https://github.com/WeTransfer/Mocker.git
Computed https://github.com/WeTransfer/Mocker.git at 2.6.0 (0.42s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.40s)
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/WeTransfer/octokit.swift
Working copy of https://github.com/WeTransfer/octokit.swift resolved at main (be170ab)
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/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] Emitting module RequestKit
[14/61] Compiling RequestKit Router.swift
[15/61] Compiling RequestKit RequestKitSession.swift
[16/61] Compiling RequestKit JSONPostRouter.swift
[17/62] Wrapping AST for RequestKit for debugging
[19/85] Emitting module ArgumentParser
[20/90] Compiling OctoKit PreviewHeader.swift
[21/90] Compiling OctoKit PublicKey.swift
[22/90] Compiling OctoKit PullRequest.swift
[23/90] Compiling OctoKit Reactions.swift
[24/90] Compiling OctoKit Stars.swift
[25/90] Compiling OctoKit Statuses.swift
[26/90] Compiling OctoKit String+PercentEncoding.swift
[27/90] Compiling OctoKit Releases.swift
[28/90] Compiling OctoKit Repositories.swift
[29/90] Compiling OctoKit Review.swift
[30/90] Compiling OctoKit Label.swift
[31/90] Compiling OctoKit Milestone.swift
[32/90] Compiling OctoKit NotificationThread.swift
[33/90] Compiling OctoKit Octokit.swift
[34/90] Compiling OctoKit Parameters.swift
[35/90] Compiling OctoKit Plan.swift
[36/90] Compiling ArgumentParser ArgumentDefinition.swift
[37/90] Compiling ArgumentParser ArgumentSet.swift
[38/90] Compiling ArgumentParser CommandParser.swift
[39/90] Compiling ArgumentParser InputKey.swift
[40/90] Compiling ArgumentParser InputOrigin.swift
[41/90] Compiling OctoKit Configuration.swift
[42/90] Compiling OctoKit File.swift
[43/90] Compiling OctoKit Follow.swift
[44/90] Compiling OctoKit Gist.swift
[45/90] Compiling OctoKit Git.swift
[46/90] Compiling OctoKit Issue.swift
[47/90] Compiling ArgumentParser DumpHelpGenerator.swift
[48/90] Compiling ArgumentParser HelpCommand.swift
[49/90] Compiling ArgumentParser HelpGenerator.swift
[50/90] Compiling ArgumentParser MessageInfo.swift
[51/90] Compiling ArgumentParser UsageGenerator.swift
[52/90] Compiling ArgumentParser Name.swift
[53/90] Compiling ArgumentParser Parsed.swift
[54/90] Compiling ArgumentParser ParsedValues.swift
[55/90] Compiling ArgumentParser ParserError.swift
[56/90] Compiling ArgumentParser SplitArguments.swift
[57/90] Compiling ArgumentParser CollectionExtensions.swift
[58/90] Compiling ArgumentParser Platform.swift
[59/90] Compiling ArgumentParser SequenceExtensions.swift
[60/90] Compiling ArgumentParser StringExtensions.swift
[61/90] Compiling ArgumentParser Tree.swift
[62/91] Wrapping AST for ArgumentParser for debugging
[70/94] Emitting module OctoKit
[80/94] Compiling OctoKit Time.swift
[81/94] Compiling OctoKit URL+URLParameters.swift
[82/94] Compiling OctoKit User.swift
[90/95] Wrapping AST for OctoKit for debugging
[92/119] 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: annotate 'urlSession' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'isVerbose' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'pipe' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     static func debug(_ message: String) {
[93/119] 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: annotate 'urlSession' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'isVerbose' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'pipe' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     static func debug(_ message: String) {
[94/119] 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: annotate 'urlSession' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'isVerbose' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'pipe' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     static func debug(_ message: String) {
[95/122] Compiling GitBuddyCore GitBuddy.swift
/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: annotate 'isVerbose' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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/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/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: annotate 'urlSession' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/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/122] Compiling GitBuddyCore ReleaseCommand.swift
/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: annotate 'isVerbose' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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/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/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: annotate 'urlSession' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/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/122] Compiling GitBuddyCore TagDeletionsCommand.swift
/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: annotate 'isVerbose' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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/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/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: annotate 'urlSession' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/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/122] Compiling GitBuddyCore Commenter.swift
/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: annotate 'isVerbose' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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/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/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: annotate 'urlSession' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/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/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)
/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: annotate 'isVerbose' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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.
[100/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)
/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: annotate 'isVerbose' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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.
[101/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)
/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: annotate 'isVerbose' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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.
[102/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)
/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: annotate 'isVerbose' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[103/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: annotate 'protocolClasses' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'environment' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'urlSession' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'isVerbose' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'pipe' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'shell' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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)
[104/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,
[105/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,
[106/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,
[107/122] Compiling GitBuddyCore GITProject.swift
[108/122] Compiling GitBuddyCore Release.swift
[109/122] Compiling GitBuddyCore Tag.swift
[110/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: annotate 'shell' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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)
[111/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: annotate 'shell' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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)
[112/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: annotate 'shell' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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)
[113/122] 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):
[114/122] 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):
[115/122] 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):
[116/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: annotate 'protocolClasses' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'environment' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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,
[117/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: annotate 'protocolClasses' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'environment' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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,
[118/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: annotate 'protocolClasses' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'environment' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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,
BUILD FAILURE 6.0 linux