Build Information
Failed to build GitBuddy, reference 4.3.0 (72add0), with Swift 6.4 for Linux on 19 Sep 2026 12:14:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/WeTransfer/GitBuddy.git
Reference: 4.3.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/WeTransfer/GitBuddy
* tag 4.3.0 -> FETCH_HEAD
HEAD is now at 72add0d Merge pull request #101 from WeTransfer/feature/fix-release-notes
Submodule path 'Submodules/WeTransfer-iOS-CI': checked out 'a5f93e550f2218b03c187e9e77ba60b521b5e383'
Submodule 'Submodules/WeTransfer-iOS-CI' (https://github.com/WeTransfer/WeTransfer-iOS-CI.git) registered for path 'Submodules/WeTransfer-iOS-CI'
Cloning into '/host/spi-builder-workspace/Submodules/WeTransfer-iOS-CI'...
Cloned https://github.com/WeTransfer/GitBuddy.git
Revision (git rev-parse @):
72add0dfac904075fd9a6117c22593d75da55478
SUCCESS checkout https://github.com/WeTransfer/GitBuddy.git at 4.3.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/WeTransfer/GitBuddy.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/WeTransfer/octokit.swift
[1/2829] Fetching octokit.swift
Fetched https://github.com/WeTransfer/octokit.swift (0.50s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/nerdishbynature/RequestKit.git
Fetching https://github.com/WeTransfer/Mocker.git
[1/1693] Fetching requestkit
[306/3599] Fetching requestkit, mocker
Fetched https://github.com/nerdishbynature/RequestKit.git (0.44s)
[1011/1906] Fetching mocker
[1907/20824] Fetching mocker, swift-argument-parser
Fetched https://github.com/WeTransfer/Mocker.git (0.73s)
Fetched https://github.com/apple/swift-argument-parser (0.73s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.4.0 (0.94s)
Computing version for https://github.com/WeTransfer/Mocker.git
Computed https://github.com/WeTransfer/Mocker.git at 2.6.0 (0.20s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.21s)
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.8.2
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.4.0
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[54 / 93] ArgumentParserToolInfo
[63 / 103] ArgumentParser
[65 / 103] ArgumentParser
[72 / 103] ArgumentParser
[77 / 104] RequestKit-product
[80 / 104] ArgumentParserToolInfo
[82 / 104]
[86 / 114] OctoKit
[88 / 115] ArgumentParser
[90 / 115] ArgumentParser
[92 / 115] RequestKit
[94 / 115] OctoKit
[101 / 116] OctoKit
[104 / 125] GitBuddyCore
[104 / 125] OctoKit
[106 / 125] GitBuddyCore
[109 / 126] GitBuddyCore
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/DependencyInjectors.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile DependencyInjectors.swift
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/DependencyInjectors.swift:15:21: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m extension URLSessionInjectable {
[0;36m15 |[0;0m var urlSession: [4;39mURLSession[0;0m { return URLSessionInjector.urlSession }
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m }
[0;36m17 |[0;0m
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/DependencyInjectors.swift:20:28: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m18 |[0;0m enum URLSessionInjector {
[0;36m19 |[0;0m /// Will be setup using the configuration inside the GitBuddy.run method
[0;36m20 |[0;0m static var urlSession: [4;39mURLSession[0;0m!
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m21 |[0;0m }
[0;36m22 |[0;0m
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogBuilder.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogItemsFactory.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogProducer.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Commands/ChangelogCommand.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Commands/GitBuddy.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Commands/ReleaseCommand.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Commands/TagDeletionsCommand.swift /host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift /host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift /host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift /host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift /host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift /host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/DateFormatters.swift -primary-file /host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/DependencyInjectors.swift -primary-file /host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Log.swift -primary-file /host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/OctoKitError.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Models/ChangelogItem.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Models/GITProject.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Models/Release.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Models/Tag.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Models/Token.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Release/ReleaseProducer.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Tag\ Deletions/TagsDeleter.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/GitBuddy.build/Debug-linux-x86_64/GitBuddyCore-t.build/Objects-normal/x86_64/supplementaryOutputs-21 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/GitBuddy.build/Debug-linux-x86_64/GitBuddyCore-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/GitBuddy.build/Debug-linux-x86_64/GitBuddyCore-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/GitBuddy.build/Debug-linux-x86_64/GitBuddyCore-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name GitBuddyCore -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/GitBuddy.build/Debug-linux-x86_64/GitBuddyCore-t.build/Objects-normal/x86_64/GitBuddyCore_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/GitBuddy.build/Debug-linux-x86_64/GitBuddyCore-t.build/Objects-normal/x86_64/DependencyInjectors.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/GitBuddy.build/Debug-linux-x86_64/GitBuddyCore-t.build/Objects-normal/x86_64/Log.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/GitBuddy.build/Debug-linux-x86_64/GitBuddyCore-t.build/Objects-normal/x86_64/OctoKitError.o -index-unit-output-path /GitBuddy.build/Debug-linux-x86_64/GitBuddyCore-t.build/Objects-normal/x86_64/DependencyInjectors.o -index-unit-output-path /GitBuddy.build/Debug-linux-x86_64/GitBuddyCore-t.build/Objects-normal/x86_64/Log.o -index-unit-output-path /GitBuddy.build/Debug-linux-x86_64/GitBuddyCore-t.build/Objects-normal/x86_64/OctoKitError.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line: cd /host
[109 / 127] GitBuddyCore
/host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:31: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m15 |[0;0m let project: GITProject
[0;36m16 |[0;0m
[0;36m17 |[0;0m func items(using session: [4;39mURLSession[0;0m = URLSession.shared) -> [ChangelogItem] {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m18 |[0;0m return pullRequests.flatMap { pullRequest -> [ChangelogItem] in
[0;36m19 |[0;0m let issuesResolver = IssuesResolver(octoKit: octoKit, project: project, input: pullRequest)
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:55: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m15 |[0;0m let project: GITProject
[0;36m16 |[0;0m
[0;36m17 |[0;0m func items(using session: URLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m) -> [ChangelogItem] {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m18 |[0;0m return pullRequests.flatMap { pullRequest -> [ChangelogItem] in
[0;36m19 |[0;0m let issuesResolver = IssuesResolver(octoKit: octoKit, project: project, input: pullRequest)
/host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogItemsFactory.swift:17:55: [1;31merror: [1;39mdefault argument value of type '_' cannot be converted to type 'AnyObject'[0;0m
[0;36m15 |[0;0m let project: GITProject
[0;36m16 |[0;0m
[0;36m17 |[0;0m func items(using session: URLSession = [4;39mURLSession.shared[0;0m) -> [ChangelogItem] {
[0;36m|[0;0m `- [1;31merror: [1;39mdefault argument value of type '_' cannot be converted to type 'AnyObject'[0;0m
[0;36m18 |[0;0m return pullRequests.flatMap { pullRequest -> [ChangelogItem] in
[0;36m19 |[0;0m let issuesResolver = IssuesResolver(octoKit: octoKit, project: project, input: pullRequest)
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift:32:28: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m30 |[0;0m /// Responsible for posting comments on issues at GitHub.
[0;36m31 |[0;0m enum Commenter {
[0;36m32 |[0;0m static var urlSession: [4;39mURLSession[0;0m { URLSessionInjector.urlSession }
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m33 |[0;0m
[0;36m34 |[0;0m /// Adds a right aligned watermark to each comment to grow our audience.
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:34: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m17 |[0;0m let previousTagName: String
[0;36m18 |[0;0m
[0;36m19 |[0;0m func generate(using session: [4;39mURLSession[0;0m = URLSession.shared) throws -> ReleaseNotes {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m20 |[0;0m let group = DispatchGroup()
[0;36m21 |[0;0m group.enter()
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:58: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m17 |[0;0m let previousTagName: String
[0;36m18 |[0;0m
[0;36m19 |[0;0m func generate(using session: URLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m) throws -> ReleaseNotes {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m20 |[0;0m let group = DispatchGroup()
[0;36m21 |[0;0m group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift:19:58: [1;31merror: [1;39mdefault argument value of type '_' cannot be converted to type 'AnyObject'[0;0m
[0;36m17 |[0;0m let previousTagName: String
[0;36m18 |[0;0m
[0;36m19 |[0;0m func generate(using session: URLSession = [4;39mURLSession.shared[0;0m) throws -> ReleaseNotes {
[0;36m|[0;0m `- [1;31merror: [1;39mdefault argument value of type '_' cannot be converted to type 'AnyObject'[0;0m
[0;36m20 |[0;0m let group = DispatchGroup()
[0;36m21 |[0;0m group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:16:77: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m14 |[0;0m
[0;36m15 |[0;0m /// Fetches issues and filters them by a given `fromDate` and `toDate`.
[0;36m16 |[0;0m func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: [4;39mURLSession[0;0m = URLSession.shared) throws -> [Issue] {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m17 |[0;0m let group = DispatchGroup()
[0;36m18 |[0;0m group.enter()
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:16:101: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m14 |[0;0m
[0;36m15 |[0;0m /// Fetches issues and filters them by a given `fromDate` and `toDate`.
[0;36m16 |[0;0m func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m) throws -> [Issue] {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m17 |[0;0m let group = DispatchGroup()
[0;36m18 |[0;0m group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift:16:101: [1;31merror: [1;39mdefault argument value of type '_' cannot be converted to type 'AnyObject'[0;0m
[0;36m14 |[0;0m
[0;36m15 |[0;0m /// Fetches issues and filters them by a given `fromDate` and `toDate`.
[0;36m16 |[0;0m func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = [4;39mURLSession.shared[0;0m) throws -> [Issue] {
[0;36m|[0;0m `- [1;31merror: [1;39mdefault argument value of type '_' cannot be converted to type 'AnyObject'[0;0m
[0;36m17 |[0;0m let group = DispatchGroup()
[0;36m18 |[0;0m group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:17:33: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m15 |[0;0m let input: ChangelogInput
[0;36m16 |[0;0m
[0;36m17 |[0;0m func resolve(using session: [4;39mURLSession[0;0m = URLSession.shared) -> [Issue]? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m18 |[0;0m guard let resolvedIssueNumbers = input.body?.resolvingIssues(), !resolvedIssueNumbers.isEmpty else {
[0;36m19 |[0;0m return nil
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:17:57: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m15 |[0;0m let input: ChangelogInput
[0;36m16 |[0;0m
[0;36m17 |[0;0m func resolve(using session: URLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m) -> [Issue]? {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m18 |[0;0m guard let resolvedIssueNumbers = input.body?.resolvingIssues(), !resolvedIssueNumbers.isEmpty else {
[0;36m19 |[0;0m return nil
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:17:57: [1;31merror: [1;39mdefault argument value of type '_' cannot be converted to type 'AnyObject'[0;0m
[0;36m15 |[0;0m let input: ChangelogInput
[0;36m16 |[0;0m
[0;36m17 |[0;0m func resolve(using session: URLSession = [4;39mURLSession.shared[0;0m) -> [Issue]? {
[0;36m|[0;0m `- [1;31merror: [1;39mdefault argument value of type '_' cannot be converted to type 'AnyObject'[0;0m
[0;36m18 |[0;0m guard let resolvedIssueNumbers = input.body?.resolvingIssues(), !resolvedIssueNumbers.isEmpty else {
[0;36m19 |[0;0m return nil
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift:24:65: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m22 |[0;0m }
[0;36m23 |[0;0m
[0;36m24 |[0;0m private func issues(for issueNumbers: [Int], using session: [4;39mURLSession[0;0m) -> [Issue] {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m25 |[0;0m var issues: [Issue] = []
[0;36m26 |[0;0m let dispatchGroup = DispatchGroup()
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:77: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m17 |[0;0m let project: GITProject
[0;36m18 |[0;0m
[0;36m19 |[0;0m func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: [4;39mURLSession[0;0m = URLSession.shared) throws -> [PullRequest] {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m20 |[0;0m let group = DispatchGroup()
[0;36m21 |[0;0m group.enter()
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:101: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m17 |[0;0m let project: GITProject
[0;36m18 |[0;0m
[0;36m19 |[0;0m func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m) throws -> [PullRequest] {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m20 |[0;0m let group = DispatchGroup()
[0;36m21 |[0;0m group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift:19:101: [1;31merror: [1;39mdefault argument value of type '_' cannot be converted to type 'AnyObject'[0;0m
[0;36m17 |[0;0m let project: GITProject
[0;36m18 |[0;0m
[0;36m19 |[0;0m func fetchAllBetween(_ fromDate: Date, and toDate: Date, using session: URLSession = [4;39mURLSession.shared[0;0m) throws -> [PullRequest] {
[0;36m|[0;0m `- [1;31merror: [1;39mdefault argument value of type '_' cannot be converted to type 'AnyObject'[0;0m
[0;36m20 |[0;0m let group = DispatchGroup()
[0;36m21 |[0;0m group.enter()
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/DependencyInjectors.swift:15:21: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m extension URLSessionInjectable {
[0;36m15 |[0;0m var urlSession: [4;39mURLSession[0;0m { return URLSessionInjector.urlSession }
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m }
[0;36m17 |[0;0m
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/DependencyInjectors.swift:20:28: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m18 |[0;0m enum URLSessionInjector {
[0;36m19 |[0;0m /// Will be setup using the configuration inside the GitBuddy.run method
[0;36m20 |[0;0m static var urlSession: [4;39mURLSession[0;0m!
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m21 |[0;0m }
[0;36m22 |[0;0m
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:23:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'ReleaseNotes' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future[0;0m
[0;36m21 |[0;0m }
[0;36m22 |[0;0m
[0;36m23 |[0;0m extension ReleaseNotes: Changelog {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'ReleaseNotes' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m24 |[0;0m var itemIdentifiers: [PullRequestID : [IssueID]] {
[0;36m25 |[0;0m [:]
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:80:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'PullRequest' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future[0;0m
[0;36m78 |[0;0m }
[0;36m79 |[0;0m
[0;36m80 |[0;0m extension PullRequest: Hashable {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'PullRequest' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m81 |[0;0m public func hash(into hasher: inout Hasher) {
[0;36m82 |[0;0m hasher.combine(id)
/host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift:90:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'Issue' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future[0;0m
[0;36m88 |[0;0m }
[0;36m89 |[0;0m
[0;36m90 |[0;0m extension Issue: Hashable {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'Issue' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'OctoKit' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m91 |[0;0m public func hash(into hasher: inout Hasher) {
[0;36m92 |[0;0m hasher.combine(id)
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogBuilder.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogItemsFactory.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Changelog/ChangelogProducer.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Commands/ChangelogCommand.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Commands/GitBuddy.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Commands/ReleaseCommand.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Commands/TagDeletionsCommand.swift /host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/Commenter.swift /host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/GitHubReleaseNotesGenerator.swift /host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesFetcher.swift /host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/IssuesResolver.swift /host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/OctoKit+Authentication.swift /host/spi-builder-workspace/Sources/GitBuddyCore/GitHub/PullRequestFetcher.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/DateFormatters.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/DependencyInjectors.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Log.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/OctoKitError.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Helpers/Shell.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Models/Changelog.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Models/ChangelogItem.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Models/GITProject.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Models/Release.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Models/Tag.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Models/Token.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Release/ReleaseProducer.swift /host/spi-builder-workspace/Sources/GitBuddyCore/Tag\ Deletions/TagsDeleter.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/GitBuddy.build/Debug-linux-x86_64/GitBuddyCore-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/GitBuddy.build/Debug-linux-x86_64/GitBuddyCore-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/GitBuddy.build/Debug-linux-x86_64/GitBuddyCore-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name GitBuddyCore -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/GitBuddy.build/Debug-linux-x86_64/GitBuddyCore-t.build/Objects-normal/x86_64/GitBuddyCore_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GitBuddy.build/Debug-linux-x86_64/GitBuddyCore-t.build/Objects-normal/x86_64/Modules/GitBuddyCore.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GitBuddy.build/Debug-linux-x86_64/GitBuddyCore-t.build/Objects-normal/x86_64/Modules/GitBuddyCore.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GitBuddy.build/Debug-linux-x86_64/GitBuddyCore-t.build/Objects-normal/x86_64/GitBuddyCore-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GitBuddy.build/Debug-linux-x86_64/GitBuddyCore-t.build/Objects-normal/x86_64/GitBuddyCore-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GitBuddy.build/Debug-linux-x86_64/GitBuddyCore-t.build/Objects-normal/x86_64/GitBuddyCore-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/GitBuddy.build/Debug-linux-x86_64/GitBuddyCore-t.build/Objects-normal/x86_64/Modules/GitBuddyCore.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux