Build Information
Failed to build GitBuddy, reference master (26b64c
), with Swift 5.8 for Linux on 11 Sep 2024 00:45:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.53.0
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 26b64c9 Add new CODEOWNERS and create backup of the existing file 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 @):
26b64c92a594dd19f45886a9389ea2f7070592f2
SUCCESS checkout https://github.com/WeTransfer/GitBuddy.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $PWD
https://github.com/WeTransfer/GitBuddy.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:a5e57d1af25c3272f87123c7a264de6fd88dcc01acef91f1006945662a9fd14a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
Fetching https://github.com/WeTransfer/octokit.swift
[1/2828] Fetching octokit.swift
Fetched https://github.com/WeTransfer/octokit.swift (0.60s)
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/3420] Fetching requestkit, mocker
Fetched https://github.com/nerdishbynature/RequestKit.git (0.35s)
Fetched https://github.com/WeTransfer/Mocker.git (0.35s)
[1/12140] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.86s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.2.1 (0.40s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.0.2 (0.40s)
Computing version for https://github.com/WeTransfer/Mocker.git
Computed https://github.com/WeTransfer/Mocker.git at 2.5.5 (0.40s)
Creating working copy for https://github.com/WeTransfer/octokit.swift
Working copy of https://github.com/WeTransfer/octokit.swift resolved at main
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...
[1/13] Compiling ArgumentParserToolInfo ToolInfo.swift
[2/13] Emitting module ArgumentParserToolInfo
[4/15] Wrapping AST for ArgumentParserToolInfo for debugging
[6/49] Compiling RequestKit Router.swift
[7/49] Compiling RequestKit RequestKitSession.swift
[8/49] Emitting module RequestKit
[9/49] Compiling RequestKit JSONPostRouter.swift
[11/51] Wrapping AST for RequestKit for debugging
[13/74] Emitting module ArgumentParser
[14/78] Compiling OctoKit Git.swift
[15/78] Compiling OctoKit Issue.swift
[16/78] Compiling OctoKit Label.swift
[17/78] Compiling OctoKit Configuration.swift
[18/78] Compiling OctoKit File.swift
[19/78] Compiling ArgumentParser CollectionExtensions.swift
[20/78] Compiling ArgumentParser SequenceExtensions.swift
[21/78] Compiling ArgumentParser StringExtensions.swift
[22/78] Compiling ArgumentParser Tree.swift
[23/78] Compiling OctoKit Follow.swift
[24/78] Compiling OctoKit Gist.swift
[25/78] Compiling OctoKit Milestone.swift
[26/78] Compiling OctoKit NotificationThread.swift
[27/78] Compiling OctoKit Octokit.swift
[28/78] Compiling OctoKit Parameters.swift
[29/78] Compiling OctoKit Plan.swift
[30/78] Compiling OctoKit PreviewHeader.swift
[31/78] Compiling OctoKit PublicKey.swift
[32/78] Compiling OctoKit PullRequest.swift
[33/78] Compiling ArgumentParser ParsedValues.swift
[34/78] Compiling ArgumentParser ParserError.swift
[35/78] Compiling ArgumentParser SplitArguments.swift
[36/78] Compiling ArgumentParser DumpHelpGenerator.swift
[37/78] Compiling ArgumentParser ArgumentSet.swift
[38/78] Compiling ArgumentParser CommandParser.swift
[39/78] Compiling ArgumentParser InputOrigin.swift
[40/78] Compiling ArgumentParser Name.swift
[41/78] Compiling ArgumentParser Parsed.swift
[42/78] Compiling OctoKit Stars.swift
[43/78] Compiling OctoKit Statuses.swift
[44/78] Compiling OctoKit String+PercentEncoding.swift
[45/78] Compiling ArgumentParser ArgumentDecoder.swift
[46/78] Compiling ArgumentParser ArgumentDefinition.swift
[47/78] Compiling OctoKit Reactions.swift
[48/78] Compiling OctoKit Releases.swift
[49/78] Compiling OctoKit Repositories.swift
[50/78] Compiling OctoKit Review.swift
[64/83] Wrapping AST for ArgumentParser for debugging
[76/83] Emitting module OctoKit
[77/83] Compiling OctoKit Time.swift
[78/83] Compiling OctoKit URL+URLParameters.swift
[79/83] Compiling OctoKit User.swift
[81/85] Wrapping AST for OctoKit for debugging
[83/109] 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
[84/109] 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
[85/109] 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)
[86/112] 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
^
[87/112] 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] {
~~~~~~~~~~ ^~~~~~
[88/112] 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] {
~~~~~~~~~~ ^~~~~~
[89/112] 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] {
~~~~~~~~~~ ^~~~~~
[90/112] 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] {
~~~~~~~~~~ ^~~~~~
[91/112] 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
[92/112] 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
[93/112] 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
[94/112] Compiling GitBuddyCore GITProject.swift
[95/112] Compiling GitBuddyCore Release.swift
[96/112] Compiling GitBuddyCore Tag.swift
[97/112] 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
[98/112] 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
[99/112] 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
[100/112] 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/112] 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/112] 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/112] 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/112] 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
^
[105/112] 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
^
[106/112] 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
^
[107/112] 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
[108/112] 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
[109/112] 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
BUILD FAILURE 5.8 linux