Build Information
Failed to build GitBuddy, reference master (244578
), with Swift 5.10 for Linux on 11 Dec 2024 19:10:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.5
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/WeTransfer/GitBuddy.git
Reference: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 2445788 Restore CODEOWNERS from backup in master branch
Submodule path 'Submodules/WeTransfer-iOS-CI': checked out '6017f08d3acab4465b6834beb7117479e842467f'
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 @):
244578860ca4f82e9d186dda0b52a867661faa84
SUCCESS checkout https://github.com/WeTransfer/GitBuddy.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/WeTransfer/GitBuddy.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:bbf8567030a4fa53b55a34fff1a818ffa3e86e892fedc5d8aa9c6958f48fdf8a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/WeTransfer/octokit.swift
[1/2829] Fetching octokit.swift
Fetched https://github.com/WeTransfer/octokit.swift from cache (0.31s)
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
[1555/3445] Fetching requestkit, mocker
Fetched https://github.com/WeTransfer/Mocker.git from cache (0.31s)
[1/12401] Fetching swift-argument-parser
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.89s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.90s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (0.70s)
Computing version for https://github.com/WeTransfer/Mocker.git
Computed https://github.com/WeTransfer/Mocker.git at 2.6.0 (0.72s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (1.71s)
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
Creating working copy for https://github.com/WeTransfer/octokit.swift
Working copy of https://github.com/WeTransfer/octokit.swift resolved at main (365cbc2)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/16] Write sources
[7/16] Write swift-version-24593BA9C3E375BF.txt
[9/22] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/22] Emitting module ArgumentParserToolInfo
[11/23] Wrapping AST for ArgumentParserToolInfo for debugging
[13/61] Compiling RequestKit RequestKitSession.swift
[14/61] Emitting module RequestKit
[15/61] Compiling RequestKit JSONPostRouter.swift
[16/61] Compiling RequestKit Router.swift
[17/62] Wrapping AST for RequestKit for debugging
[19/85] Emitting module ArgumentParser
[20/90] Compiling OctoKit Gist.swift
[21/90] Compiling OctoKit Parameters.swift
[22/90] Compiling OctoKit Plan.swift
[23/90] Compiling OctoKit PreviewHeader.swift
[24/90] Compiling OctoKit Milestone.swift
[25/90] Compiling OctoKit NotificationThread.swift
[26/90] Compiling OctoKit Git.swift
[27/90] Compiling OctoKit Issue.swift
[28/90] Compiling OctoKit Label.swift
[29/90] Compiling OctoKit Configuration.swift
[30/90] Compiling OctoKit File.swift
[31/90] Compiling OctoKit Follow.swift
[32/90] Compiling ArgumentParser CollectionExtensions.swift
[33/90] Compiling ArgumentParser Platform.swift
[34/90] Compiling ArgumentParser SequenceExtensions.swift
[35/90] Compiling ArgumentParser StringExtensions.swift
[36/90] Compiling ArgumentParser Tree.swift
[37/90] Compiling ArgumentParser Name.swift
[38/90] Compiling ArgumentParser Parsed.swift
[39/90] Compiling ArgumentParser ParsedValues.swift
[40/90] Compiling ArgumentParser ParserError.swift
[41/90] Compiling ArgumentParser SplitArguments.swift
[42/90] Compiling ArgumentParser ExpressibleByArgument.swift
[43/90] Compiling ArgumentParser ParsableArguments.swift
[44/90] Compiling ArgumentParser ParsableArgumentsValidation.swift
[45/90] Compiling ArgumentParser ParsableCommand.swift
[46/90] Compiling ArgumentParser ArgumentDecoder.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 OctoKit Octokit.swift
[53/90] Compiling OctoKit Releases.swift
[54/90] Compiling OctoKit Repositories.swift
[55/90] Compiling OctoKit Review.swift
[56/90] Compiling OctoKit PublicKey.swift
[57/90] Compiling OctoKit PullRequest.swift
[58/90] Compiling OctoKit Reactions.swift
[59/90] Compiling OctoKit Stars.swift
[60/90] Compiling OctoKit Statuses.swift
[61/90] Compiling OctoKit String+PercentEncoding.swift
[80/94] Wrapping AST for ArgumentParser for debugging
[86/94] Emitting module OctoKit
[87/94] Compiling OctoKit Time.swift
[88/94] Compiling OctoKit URL+URLParameters.swift
[89/94] Compiling OctoKit User.swift
[90/95] Wrapping AST for OctoKit for debugging
[92/119] Compiling GitBuddyCore GitHubReleaseNotesGenerator.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
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
[93/119] Compiling GitBuddyCore IssuesFetcher.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
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
[94/119] Compiling GitBuddyCore IssuesResolver.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
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)
[95/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.
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
^
[96/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.
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/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.
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] {
~~~~~~~~~~ ^~~~~~
[98/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.
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] {
~~~~~~~~~~ ^~~~~~
[99/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.
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] {
~~~~~~~~~~ ^~~~~~
[100/122] 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/122] 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/122] 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/122] 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/122] Compiling GitBuddyCore GITProject.swift
[105/122] Compiling GitBuddyCore Release.swift
[106/122] Compiling GitBuddyCore Tag.swift
[107/122] Compiling GitBuddyCore DependencyInjectors.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/DependencyInjectors.swift:15:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
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
^
[108/122] Compiling GitBuddyCore Log.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/DependencyInjectors.swift:15:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
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
^
[109/122] Compiling GitBuddyCore OctoKitError.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/DependencyInjectors.swift:15:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
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
^
[110/122] 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/122] 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/122] 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
[113/122] 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
[114/122] 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
[115/122] 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
[116/122] Compiling GitBuddyCore Token.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Release/ReleaseProducer.swift:239:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
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
[117/122] Compiling GitBuddyCore ReleaseProducer.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Release/ReleaseProducer.swift:239:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
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
[118/122] Compiling GitBuddyCore TagsDeleter.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Release/ReleaseProducer.swift:239:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
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
error: fatalError
BUILD FAILURE 5.10 linux