=> ERROR [6/6] RUN mint --version && mint install WeTransfer/GitBuddy 47.7s
------
> [6/6] RUN mint --version && mint install WeTransfer/GitBuddy:
#9 0.465 Version: 0.17.4
#9 0.479 ๐ฑ Finding latest version of GitBuddy
#9 0.935 ๐ฑ Cloning GitBuddy 4.1.4
#9 1.789 ๐ฑ Resolving package
#9 18.69 ๐ฑ Building package
#9 47.31 Building for production...
#9 47.31 remark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimization[1/3] Compiling ArgumentParserToolInfo ToolInfo.swift
#9 47.31 remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[3/5] Compiling RequestKit JSONPostRouter.swift
#9 47.31 remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[5/7] Compiling OctoKit Configuration.swift
#9 47.31 [7/8] Compiling ArgumentParser BashCompletionsGenerator.swift
#9 47.31 remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[9/10] Compiling GitBuddyCore ChangelogBuilder.swift
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/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.
#9 47.31 func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
#9 47.31 ^~~~~~~~~~
#9 47.31 Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
#9 47.31 public typealias URLSession = AnyObject
#9 47.31 ^
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/Sources/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
#9 47.31 func items(using session: URLSession = URLSession.shared) -> [ChangelogItem] {
#9 47.31 ~~~~~~~~~~ ^~~~~~
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/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.
#9 47.31 static var urlSession: URLSession { URLSessionInjector.urlSession }
#9 47.31 ^~~~~~~~~~
#9 47.31 Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
#9 47.31 public typealias URLSession = AnyObject
#9 47.31 ^
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/Sources/GitBuddyCore/GitHub/Commenter.swift:49:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
#9 47.31 .commentIssue(urlSession, owner: project.organisation, repository: project.repository, number: issueID,
#9 47.31 ^
#9 47.31 as! RequestKitURLSession
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/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.
#9 47.31 func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
#9 47.31 ^~~~~~~~~~
#9 47.31 Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
#9 47.31 public typealias URLSession = AnyObject
#9 47.31 ^
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:16:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
#9 47.31 func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [Issue] {
#9 47.31 ~~~~~~~~~~ ^~~~~~
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:22:24: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
#9 47.31 octoKit.issues(session, owner: project.organisation, repository: project.repository, state: .closed) { response in
#9 47.31 ^
#9 47.31 as! RequestKitURLSession
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/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.
#9 47.31 func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
#9 47.31 ^~~~~~~~~~
#9 47.31 Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
#9 47.31 public typealias URLSession = AnyObject
#9 47.31 ^
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:17:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
#9 47.31 func resolve(using session: URLSession = URLSession.shared) -> [Issue]? {
#9 47.31 ~~~~~~~~~~ ^~~~~~
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/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.
#9 47.31 private func issues(for issueNumbers: [Int], using session: URLSession) -> [Issue] {
#9 47.31 ^~~~~~~~~~
#9 47.31 Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
#9 47.31 public typealias URLSession = AnyObject
#9 47.31 ^
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:29:27: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
#9 47.31 octoKit.issue(session, owner: project.organisation, repository: project.repository, number: issueNumber) { response in
#9 47.31 ^
#9 47.31 as! RequestKitURLSession
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:19:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
#9 47.31 let configuration = URLSessionConfiguration.default
#9 47.31 ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:41: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
#9 47.31 URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
#9 47.31 ^~~~~~~~~~
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:92: error: 'nil' requires a contextual type
#9 47.31 URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
#9 47.31 ^
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift:22:112: error: 'nil' requires a contextual type
#9 47.31 URLSessionInjector.urlSession = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
#9 47.31 ^
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/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.
#9 47.31 func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
#9 47.31 ^~~~~~~~~~
#9 47.31 Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
#9 47.31 public typealias URLSession = AnyObject
#9 47.31 ^
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:101: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
#9 47.31 func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = URLSession.shared) throws -> [PullRequest] {
#9 47.31 ~~~~~~~~~~ ^~~~~~
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:26:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
#9 47.31 session,
#9 47.31 ^
#9 47.31 as! RequestKitURLSession
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/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.
#9 47.31 var urlSession: URLSession { return URLSessionInjector.urlSession }
#9 47.31 ^~~~~~~~~~
#9 47.31 Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
#9 47.31 public typealias URLSession = AnyObject
#9 47.31 ^
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/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.
#9 47.31 static var urlSession: URLSession!
#9 47.31 ^~~~~~~~~~
#9 47.31 Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
#9 47.31 public typealias URLSession = AnyObject
#9 47.31 ^
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/Sources/GitBuddyCore/Helpers/Shell.swift:39:9: warning: 'launchPath' is deprecated: renamed to 'executableURL'
#9 47.31 launchPath = "/bin/bash"
#9 47.31 ^
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/Sources/GitBuddyCore/Helpers/Shell.swift:39:9: note: use 'executableURL' instead
#9 47.31 launchPath = "/bin/bash"
#9 47.31 ^~~~~~~~~~
#9 47.31 executableURL
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/Sources/GitBuddyCore/Helpers/Shell.swift:44:9: warning: 'launch()' is deprecated: renamed to 'run'
#9 47.31 launch()
#9 47.31 ^
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/Sources/GitBuddyCore/Helpers/Shell.swift:44:9: note: use 'run' instead
#9 47.31 launch()
#9 47.31 ^~~~~~
#9 47.31 run
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/Sources/GitBuddyCore/Release/ReleaseProducer.swift:196:13: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
#9 47.31 urlSession,
#9 47.31 ^
#9 47.31 as! RequestKitURLSession
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/Sources/GitBuddyCore/Tag Deletions/TagsDeleter.swift:41:30: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
#9 47.31 octoKit.listReleases(urlSession, owner: project.organisation, repository: project.repository, perPage: 100) { response in
#9 47.31 ^
#9 47.31 as! RequestKitURLSession
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/Sources/GitBuddyCore/Tag Deletions/TagsDeleter.swift:74:35: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
#9 47.31 octoKit.deleteRelease(urlSession, owner: project.organisation, repository: project.repository, releaseId: release.id) { error in
#9 47.31 ^
#9 47.31 as! RequestKitURLSession
#9 47.31 /tmp/mint/github.com_WeTransfer_GitBuddy/Sources/GitBuddyCore/Tag Deletions/TagsDeleter.swift:106:17: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'RequestKitURLSession'
#9 47.31 urlSession,
#9 47.31 ^
#9 47.31 as! RequestKitURLSession
#9 47.31 ๐ฑ Encountered error during "swift build -c release --product GitBuddy". Use --verbose to see full output
#9 47.31 ๐ฑ Failed to build GitBuddy 4.1.4 with SPM
------
executor failed running [/bin/sh -c mint --version && mint install WeTransfer/GitBuddy]: exit code: 1