Build Information
Failed to build GitBuddy with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
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: 5.10
Building package at path: $workDir
https://github.com/WeTransfer/GitBuddy.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/WeTransfer/octokit.swift
[1/2816] Fetching octokit.swift
Fetched https://github.com/WeTransfer/octokit.swift from cache (0.33s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/nerdishbynature/RequestKit.git
Fetching https://github.com/WeTransfer/Mocker.git
[1/1554] Fetching requestkit
[1555/3387] Fetching requestkit, mocker
[3388/14822] Fetching requestkit, mocker, swift-argument-parser
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.70s)
Fetched https://github.com/WeTransfer/Mocker.git from cache (0.71s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.71s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.2.1 (0.44s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.0.2 (0.47s)
Computing version for https://github.com/WeTransfer/Mocker.git
Computed https://github.com/WeTransfer/Mocker.git at 2.5.5 (0.47s)
Creating working copy for https://github.com/WeTransfer/octokit.swift
Working copy of https://github.com/WeTransfer/octokit.swift resolved at main (d370689)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.0.2
Creating working copy for https://github.com/WeTransfer/Mocker.git
Working copy of https://github.com/WeTransfer/Mocker.git resolved at 2.5.5
Creating working copy for https://github.com/nerdishbynature/RequestKit.git
Working copy of https://github.com/nerdishbynature/RequestKit.git resolved at 3.2.1
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/21] Emitting module ArgumentParserToolInfo
[9/21] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/22] Wrapping AST for ArgumentParserToolInfo for debugging
[12/56] Compiling RequestKit RequestKitSession.swift
[13/56] Emitting module RequestKit
[14/56] Compiling RequestKit Router.swift
[15/56] Compiling RequestKit JSONPostRouter.swift
[16/57] Compiling ArgumentParser Option.swift
[17/57] Compiling ArgumentParser OptionGroup.swift
[18/57] Compiling ArgumentParser CommandConfiguration.swift
[19/57] Compiling ArgumentParser EnumerableFlag.swift
[20/57] Compiling ArgumentParser ExpressibleByArgument.swift
[22/61] Emitting module ArgumentParser
[23/61] Compiling ArgumentParser ArgumentHelp.swift
[24/61] Compiling ArgumentParser CompletionKind.swift
[25/61] Compiling ArgumentParser Errors.swift
[26/61] Compiling ArgumentParser Flag.swift
[27/61] Compiling ArgumentParser NameSpecification.swift
[27/61] Wrapping AST for RequestKit for debugging
[29/84] Compiling ArgumentParser CollectionExtensions.swift
[30/84] Compiling ArgumentParser SequenceExtensions.swift
[31/84] Compiling ArgumentParser StringExtensions.swift
[32/84] Compiling ArgumentParser Tree.swift
[33/84] Compiling OctoKit Git.swift
[34/84] Compiling OctoKit Issue.swift
[35/84] Compiling OctoKit Label.swift
[36/84] Compiling OctoKit Configuration.swift
[37/84] Compiling OctoKit File.swift
[38/84] Compiling ArgumentParser ArgumentSet.swift
[39/84] Compiling ArgumentParser CommandParser.swift
[40/84] Compiling ArgumentParser InputOrigin.swift
[41/84] Compiling ArgumentParser Name.swift
[42/84] Compiling ArgumentParser Parsed.swift
[43/84] Compiling ArgumentParser ParsedValues.swift
[44/84] Compiling ArgumentParser ParserError.swift
[45/84] Compiling ArgumentParser SplitArguments.swift
[46/84] Compiling ArgumentParser DumpHelpGenerator.swift
[47/84] Compiling OctoKit Reactions.swift
[48/84] Compiling OctoKit Releases.swift
[49/84] Compiling OctoKit Repositories.swift
[50/84] Compiling OctoKit Review.swift
[51/84] Compiling OctoKit Stars.swift
[52/84] Compiling OctoKit Statuses.swift
[53/84] Compiling OctoKit String+PercentEncoding.swift
[54/84] Compiling ArgumentParser ArgumentDecoder.swift
[55/84] Compiling ArgumentParser ArgumentDefinition.swift
[56/85] Wrapping AST for ArgumentParser for debugging
[61/88] Compiling OctoKit Milestone.swift
[62/88] Compiling OctoKit NotificationThread.swift
[63/88] Compiling OctoKit Octokit.swift
[66/88] Compiling OctoKit Follow.swift
[67/88] Compiling OctoKit Gist.swift
[71/88] Compiling OctoKit PublicKey.swift
[72/88] Compiling OctoKit PullRequest.swift
[74/88] Compiling OctoKit Parameters.swift
[75/88] Compiling OctoKit Plan.swift
[76/88] Compiling OctoKit PreviewHeader.swift
[80/88] Compiling OctoKit Time.swift
[81/88] Compiling OctoKit URL+URLParameters.swift
[82/88] Compiling OctoKit User.swift
[83/88] Emitting module OctoKit
[84/89] Wrapping AST for OctoKit for debugging
[86/113] 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.
var urlSession: URLSession { return URLSessionInjector.urlSession }
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
static var urlSession: URLSession!
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[87/113] 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.
var urlSession: URLSession { return URLSessionInjector.urlSession }
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
static var urlSession: URLSession!
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[88/113] 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.
var urlSession: URLSession { return URLSessionInjector.urlSession }
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
static var urlSession: URLSession!
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[89/116] 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.
func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:58: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:26:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
session,
^
as! RequestKitURLSession
/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.
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:16:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:22:24: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
octoKit.issues(session, owner: project.organisation, repository: project.repository, state: .closed) { response in
^
as! RequestKitURLSession
/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.
func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:17:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
~~~~~~~~~~ ^~~~~~
/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.
private func issues(for issueNumbers: [Int], using session: URLSession) -> [Issue] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:29:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
octoKit.issue(session, owner: project.organisation, repository: project.repository, number: issueNumber) { response in
^
as! RequestKitURLSession
[90/116] 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.
func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:58: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:26:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
session,
^
as! RequestKitURLSession
/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.
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:16:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:22:24: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
octoKit.issues(session, owner: project.organisation, repository: project.repository, state: .closed) { response in
^
as! RequestKitURLSession
/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.
func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:17:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
~~~~~~~~~~ ^~~~~~
/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.
private func issues(for issueNumbers: [Int], using session: URLSession) -> [Issue] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:29:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
octoKit.issue(session, owner: project.organisation, repository: project.repository, number: issueNumber) { response in
^
as! RequestKitURLSession
[91/116] 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.
func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:58: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:26:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
session,
^
as! RequestKitURLSession
/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.
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:16:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:22:24: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
octoKit.issues(session, owner: project.organisation, repository: project.repository, state: .closed) { response in
^
as! RequestKitURLSession
/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.
func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:17:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
~~~~~~~~~~ ^~~~~~
/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.
private func issues(for issueNumbers: [Int], using session: URLSession) -> [Issue] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:29:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
octoKit.issue(session, owner: project.organisation, repository: project.repository, number: issueNumber) { response in
^
as! RequestKitURLSession
error: emit-module command failed with exit code 1 (use -v to see invocation)
[92/116] 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.
func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
~~~~~~~~~~ ^~~~~~
/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.
static var urlSession: URLSession { URLSessionInjector.urlSession }
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:58: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
~~~~~~~~~~ ^~~~~~
/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.
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:16:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
~~~~~~~~~~ ^~~~~~
/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.
func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:17:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
~~~~~~~~~~ ^~~~~~
/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.
private func issues(for issueNumbers: [Int], using session: URLSession) -> [Issue] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
~~~~~~~~~~ ^~~~~~
/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.
var urlSession: URLSession { return URLSessionInjector.urlSession }
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
static var urlSession: URLSession!
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[93/116] 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.
func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
~~~~~~~~~~ ^~~~~~
[94/116] 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.
func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
~~~~~~~~~~ ^~~~~~
[95/116] 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.
func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
~~~~~~~~~~ ^~~~~~
[96/116] 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.
func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
~~~~~~~~~~ ^~~~~~
[97/116] Compiling GitBuddyCore OctoKit+Authentication.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:19:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
let configuration = URLSessionConfiguration.default
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/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
URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:92: error: 'nil' requires a contextual type
URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:112: error: 'nil' requires a contextual type
URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^
/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.
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:26:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
session,
^
as! RequestKitURLSession
[98/116] Compiling GitBuddyCore PullRequestFetcher.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:19:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
let configuration = URLSessionConfiguration.default
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/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
URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:92: error: 'nil' requires a contextual type
URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:112: error: 'nil' requires a contextual type
URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^
/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.
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:26:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
session,
^
as! RequestKitURLSession
[99/116] Compiling GitBuddyCore DateFormatters.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:19:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
let configuration = URLSessionConfiguration.default
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/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
URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:92: error: 'nil' requires a contextual type
URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:112: error: 'nil' requires a contextual type
URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^
/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.
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:26:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
session,
^
as! RequestKitURLSession
[100/116] Compiling GitBuddyCore GitBuddy.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift:32:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
static var urlSession: URLSession { URLSessionInjector.urlSession }
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift:49:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
.commentIssue(urlSession, owner: project.organisation, repository: project.repository, number: issueID,
^
as! RequestKitURLSession
[101/116] Compiling GitBuddyCore ReleaseCommand.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift:32:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
static var urlSession: URLSession { URLSessionInjector.urlSession }
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift:49:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
.commentIssue(urlSession, owner: project.organisation, repository: project.repository, number: issueID,
^
as! RequestKitURLSession
[102/116] Compiling GitBuddyCore TagDeletionsCommand.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift:32:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
static var urlSession: URLSession { URLSessionInjector.urlSession }
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift:49:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
.commentIssue(urlSession, owner: project.organisation, repository: project.repository, number: issueID,
^
as! RequestKitURLSession
[103/116] Compiling GitBuddyCore Commenter.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift:32:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
static var urlSession: URLSession { URLSessionInjector.urlSession }
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift:49:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
.commentIssue(urlSession, owner: project.organisation, repository: project.repository, number: issueID,
^
as! RequestKitURLSession
[104/116] Compiling GitBuddyCore GITProject.swift
[105/116] Compiling GitBuddyCore Release.swift
[106/116] Compiling GitBuddyCore Tag.swift
[107/116] 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'
urlSession,
^
as! RequestKitURLSession
/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'
octoKit.listReleases(urlSession, owner: project.organisation, repository: project.repository, perPage: 100) { response in
^
as! RequestKitURLSession
/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'
octoKit.deleteRelease(urlSession, owner: project.organisation, repository: project.repository, releaseId: release.id) { error in
^
as! RequestKitURLSession
/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'
urlSession,
^
as! RequestKitURLSession
[108/116] 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'
urlSession,
^
as! RequestKitURLSession
/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'
octoKit.listReleases(urlSession, owner: project.organisation, repository: project.repository, perPage: 100) { response in
^
as! RequestKitURLSession
/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'
octoKit.deleteRelease(urlSession, owner: project.organisation, repository: project.repository, releaseId: release.id) { error in
^
as! RequestKitURLSession
/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'
urlSession,
^
as! RequestKitURLSession
[109/116] 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'
urlSession,
^
as! RequestKitURLSession
/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'
octoKit.listReleases(urlSession, owner: project.organisation, repository: project.repository, perPage: 100) { response in
^
as! RequestKitURLSession
/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'
octoKit.deleteRelease(urlSession, owner: project.organisation, repository: project.repository, releaseId: release.id) { error in
^
as! RequestKitURLSession
/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'
urlSession,
^
as! RequestKitURLSession
[110/116] Compiling GitBuddyCore Shell.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:39:9: warning: 'launchPath' is deprecated: renamed to 'executableURL'
launchPath = "/bin/bash"
^
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:39:9: note: use 'executableURL' instead
launchPath = "/bin/bash"
^~~~~~~~~~
executableURL
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:44:9: warning: 'launch()' is deprecated: renamed to 'run'
launch()
^
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:44:9: note: use 'run' instead
launch()
^~~~~~
run
[111/116] Compiling GitBuddyCore Changelog.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:39:9: warning: 'launchPath' is deprecated: renamed to 'executableURL'
launchPath = "/bin/bash"
^
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:39:9: note: use 'executableURL' instead
launchPath = "/bin/bash"
^~~~~~~~~~
executableURL
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:44:9: warning: 'launch()' is deprecated: renamed to 'run'
launch()
^
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:44:9: note: use 'run' instead
launch()
^~~~~~
run
[112/116] Compiling GitBuddyCore ChangelogItem.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:39:9: warning: 'launchPath' is deprecated: renamed to 'executableURL'
launchPath = "/bin/bash"
^
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:39:9: note: use 'executableURL' instead
launchPath = "/bin/bash"
^~~~~~~~~~
executableURL
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:44:9: warning: 'launch()' is deprecated: renamed to 'run'
launch()
^
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift:44:9: note: use 'run' instead
launch()
^~~~~~
run
error: fatalError
[0/1] Planning build
Building for debugging...
[0/9] Write swift-version-24593BA9C3E375BF.txt
[2/24] 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.
var urlSession: URLSession { return URLSessionInjector.urlSession }
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
static var urlSession: URLSession!
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[3/24] 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.
var urlSession: URLSession { return URLSessionInjector.urlSession }
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
static var urlSession: URLSession!
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[4/24] Compiling GitBuddyCore PullRequestFetcher.swift
/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.
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:26:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
session,
^
as! RequestKitURLSession
[5/24] Compiling GitBuddyCore DateFormatters.swift
/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.
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:26:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
session,
^
as! RequestKitURLSession
[6/26] Compiling GitBuddyCore TagDeletionsCommand.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift:32:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
static var urlSession: URLSession { URLSessionInjector.urlSession }
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift:49:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
.commentIssue(urlSession, owner: project.organisation, repository: project.repository, number: issueID,
^
as! RequestKitURLSession
/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.
func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:58: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:26:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
session,
^
as! RequestKitURLSession
[7/26] Compiling GitBuddyCore Commenter.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift:32:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
static var urlSession: URLSession { URLSessionInjector.urlSession }
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift:49:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
.commentIssue(urlSession, owner: project.organisation, repository: project.repository, number: issueID,
^
as! RequestKitURLSession
/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.
func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:58: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:26:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
session,
^
as! RequestKitURLSession
[8/26] Compiling GitBuddyCore GitHubReleaseNotesGenerator.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift:32:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
static var urlSession: URLSession { URLSessionInjector.urlSession }
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift:49:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
.commentIssue(urlSession, owner: project.organisation, repository: project.repository, number: issueID,
^
as! RequestKitURLSession
/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.
func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:58: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:26:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
session,
^
as! RequestKitURLSession
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/26] 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.
func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
~~~~~~~~~~ ^~~~~~
/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.
static var urlSession: URLSession { URLSessionInjector.urlSession }
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:58: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func generate(using session: URLSession = URLSession.shared) throws -> ReleaseNotes {
~~~~~~~~~~ ^~~~~~
/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.
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:16:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
~~~~~~~~~~ ^~~~~~
/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.
func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:17:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
~~~~~~~~~~ ^~~~~~
/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.
private func issues(for issueNumbers: [Int], using session: URLSession) -> [Issue] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
~~~~~~~~~~ ^~~~~~
/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.
var urlSession: URLSession { return URLSessionInjector.urlSession }
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
static var urlSession: URLSession!
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[10/26] 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.
func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
~~~~~~~~~~ ^~~~~~
[11/26] 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.
func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
~~~~~~~~~~ ^~~~~~
[12/26] 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.
func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
~~~~~~~~~~ ^~~~~~
[13/26] Compiling GitBuddyCore OctoKitError.swift
[14/26] Compiling GitBuddyCore Token.swift
[15/26] Compiling GitBuddyCore IssuesFetcher.swift
/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.
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:16:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:22:24: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
octoKit.issues(session, owner: project.organisation, repository: project.repository, state: .closed) { response in
^
as! RequestKitURLSession
/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.
func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:17:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
~~~~~~~~~~ ^~~~~~
/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.
private func issues(for issueNumbers: [Int], using session: URLSession) -> [Issue] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:29:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
octoKit.issue(session, owner: project.organisation, repository: project.repository, number: issueNumber) { response in
^
as! RequestKitURLSession
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:19:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
let configuration = URLSessionConfiguration.default
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/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
URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:92: error: 'nil' requires a contextual type
URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:112: error: 'nil' requires a contextual type
URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^
[16/26] Compiling GitBuddyCore IssuesResolver.swift
/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.
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:16:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:22:24: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
octoKit.issues(session, owner: project.organisation, repository: project.repository, state: .closed) { response in
^
as! RequestKitURLSession
/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.
func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:17:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
~~~~~~~~~~ ^~~~~~
/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.
private func issues(for issueNumbers: [Int], using session: URLSession) -> [Issue] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:29:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
octoKit.issue(session, owner: project.organisation, repository: project.repository, number: issueNumber) { response in
^
as! RequestKitURLSession
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:19:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
let configuration = URLSessionConfiguration.default
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/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
URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:92: error: 'nil' requires a contextual type
URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:112: error: 'nil' requires a contextual type
URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^
[17/26] Compiling GitBuddyCore OctoKit+Authentication.swift
/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.
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:16:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:22:24: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
octoKit.issues(session, owner: project.organisation, repository: project.repository, state: .closed) { response in
^
as! RequestKitURLSession
/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.
func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:17:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
~~~~~~~~~~ ^~~~~~
/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.
private func issues(for issueNumbers: [Int], using session: URLSession) -> [Issue] {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:29:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
octoKit.issue(session, owner: project.organisation, repository: project.repository, number: issueNumber) { response in
^
as! RequestKitURLSession
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:19:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
let configuration = URLSessionConfiguration.default
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/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
URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:92: error: 'nil' requires a contextual type
URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:112: error: 'nil' requires a contextual type
URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^
[18/26] 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'
urlSession,
^
as! RequestKitURLSession
/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'
octoKit.listReleases(urlSession, owner: project.organisation, repository: project.repository, perPage: 100) { response in
^
as! RequestKitURLSession
/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'
octoKit.deleteRelease(urlSession, owner: project.organisation, repository: project.repository, releaseId: release.id) { error in
^
as! RequestKitURLSession
/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'
urlSession,
^
as! RequestKitURLSession
[19/26] 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'
urlSession,
^
as! RequestKitURLSession
/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'
octoKit.listReleases(urlSession, owner: project.organisation, repository: project.repository, perPage: 100) { response in
^
as! RequestKitURLSession
/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'
octoKit.deleteRelease(urlSession, owner: project.organisation, repository: project.repository, releaseId: release.id) { error in
^
as! RequestKitURLSession
/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'
urlSession,
^
as! RequestKitURLSession
[20/26] Compiling GitBuddyCore ChangelogCommand.swift
[21/26] Compiling GitBuddyCore GitBuddy.swift
[22/26] Compiling GitBuddyCore ReleaseCommand.swift
error: fatalError
BUILD FAILURE 5.10 linux