Build Information
Failed to build swift-evolution-metadata-extractor, reference main (ec660c
), with Swift 6.2 (beta) for Linux on 23 Jun 2025 06:51:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-evolution-metadata-extractor.git
Reference: main
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/swiftlang/swift-evolution-metadata-extractor
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ec660c2 Merge pull request #48 from hborla/fix-subdirectory-extraction
Cloned https://github.com/swiftlang/swift-evolution-metadata-extractor.git
Revision (git rev-parse @):
ec660c23aea47f33fe553a936b2c7c4715b7265a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftlang/swift-evolution-metadata-extractor.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/swiftlang/swift-evolution-metadata-extractor.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-markdown
[1/6796] Fetching swift-markdown
[3807/22176] Fetching swift-markdown, swift-argument-parser
Fetched https://github.com/swiftlang/swift-markdown from cache (0.99s)
[13381/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.50s)
Computing version for https://github.com/swiftlang/swift-markdown
Computed https://github.com/swiftlang/swift-markdown at 0.6.0 (5.60s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18114] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.61s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.6.0 (2.56s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.70s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.6.0
Creating working copy for https://github.com/swiftlang/swift-markdown
Working copy of https://github.com/swiftlang/swift-markdown resolved at 0.6.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/51] Write sources
[2/51] Compiling cmark-gfm-extensions tagfilter.c
[3/51] Compiling cmark-gfm-extensions tasklist.c
[4/51] Write swift-version-24593BA9C3E375BF.txt
[5/51] Compiling cmark-gfm-extensions core-extensions.c
[6/51] Compiling cmark-gfm-extensions strikethrough.c
[7/51] Compiling cmark-gfm-extensions ext_scanners.c
[8/51] Compiling cmark-gfm xml.c
[9/51] Compiling cmark-gfm-extensions table.c
[10/51] Compiling cmark-gfm-extensions autolink.c
[11/51] Compiling cmark-gfm render.c
[12/51] Compiling cmark-gfm syntax_extension.c
[13/51] Compiling cmark-gfm references.c
[14/51] Compiling cmark-gfm registry.c
[15/51] Compiling cmark-gfm plugin.c
[16/51] Compiling cmark-gfm plaintext.c
[17/51] Compiling cmark-gfm linked_list.c
[18/51] Compiling cmark-gfm map.c
[19/51] Compiling cmark-gfm man.c
[20/51] Compiling cmark-gfm latex.c
[21/51] Compiling cmark-gfm iterator.c
[22/51] Compiling cmark-gfm node.c
[23/51] Compiling cmark-gfm houdini_html_e.c
[24/51] Compiling cmark-gfm houdini_href_e.c
[25/51] Compiling cmark-gfm utf8.c
[26/51] Compiling cmark-gfm footnotes.c
[27/51] Compiling cmark-gfm html.c
[28/51] Compiling cmark-gfm cmark_ctype.c
[29/51] Compiling cmark-gfm houdini_html_u.c
[29/51] Compiling cmark-gfm cmark.c
[29/51] Write sources
[34/51] Compiling cmark-gfm inlines.c
[34/51] Compiling cmark-gfm commonmark.c
[34/51] Write sources
[38/51] Compiling cmark-gfm buffer.c
[39/51] Compiling cmark-gfm arena.c
[40/51] Compiling CAtomic CAtomic.c
[41/51] Compiling cmark-gfm blocks.c
[42/60] Compiling cmark-gfm scanners.c
[44/124] Compiling EvolutionMetadataModel Proposal+TrackingBug.swift
[45/124] Compiling EvolutionMetadataModel Proposal+UpcomingFeatureFlag.swift
[46/125] Compiling Markdown BasicBlockContainer.swift
[47/125] Compiling Markdown BasicInlineContainer.swift
[48/125] Compiling Markdown BlockContainer.swift
[49/125] Compiling Markdown BlockMarkup.swift
[50/125] Compiling Markdown InlineContainer.swift
[51/125] Compiling Markdown InlineMarkup.swift
[52/125] Compiling Markdown ListItemContainer.swift
[53/125] Compiling Markdown AtomicCounter.swift
[54/133] Compiling EvolutionMetadataModel Proposal+Issue.swift
[55/133] Compiling EvolutionMetadataModel Proposal+Status.swift
[56/133] Compiling EvolutionMetadataModel Proposal+Person.swift
[57/133] Emitting module EvolutionMetadataModel
[58/133] Compiling Markdown ChildIndexPath.swift
[59/133] Compiling Markdown DirectiveArgument.swift
[60/133] Compiling EvolutionMetadataModel Proposal+Implementation.swift
[61/133] Emitting module ArgumentParserToolInfo
[62/133] Compiling ArgumentParserToolInfo ToolInfo.swift
[64/134] Compiling EvolutionMetadataModel Proposal.swift
[65/135] Wrapping AST for ArgumentParserToolInfo for debugging
[66/173] Wrapping AST for EvolutionMetadataModel for debugging
[68/173] Compiling ArgumentParser OptionGroup.swift
[69/173] Compiling ArgumentParser AsyncParsableCommand.swift
[70/173] Compiling ArgumentParser CommandConfiguration.swift
[71/173] Compiling ArgumentParser CommandGroup.swift
[72/173] Compiling ArgumentParser EnumerableFlag.swift
[73/178] Emitting module ArgumentParser
[79/178] Compiling ArgumentParser ExpressibleByArgument.swift
[80/178] Compiling ArgumentParser ParsableArguments.swift
[81/178] Compiling ArgumentParser ParsableArgumentsValidation.swift
[82/178] Compiling ArgumentParser ParsableCommand.swift
[83/178] Emitting module Markdown
[84/178] Compiling ArgumentParser ArgumentDecoder.swift
[85/178] Compiling ArgumentParser BashCompletionsGenerator.swift
[86/178] Compiling ArgumentParser CompletionsGenerator.swift
[87/178] Compiling ArgumentParser FishCompletionsGenerator.swift
[88/178] Compiling ArgumentParser ZshCompletionsGenerator.swift
[89/178] Compiling ArgumentParser Argument.swift
[90/178] Compiling ArgumentParser ArgumentHelp.swift
[91/178] Compiling ArgumentParser Name.swift
[92/178] Compiling ArgumentParser Parsed.swift
[93/178] Compiling ArgumentParser ArgumentDefinition.swift
[94/178] Compiling ArgumentParser ArgumentSet.swift
[95/178] Compiling ArgumentParser CommandParser.swift
[96/178] Compiling ArgumentParser InputKey.swift
[97/178] Compiling ArgumentParser InputOrigin.swift
[98/178] Compiling ArgumentParser DumpHelpGenerator.swift
[99/178] Compiling ArgumentParser HelpCommand.swift
[100/178] Compiling ArgumentParser HelpGenerator.swift
[101/178] Compiling ArgumentParser MessageInfo.swift
[102/178] Compiling ArgumentParser ParsedValues.swift
[103/178] Compiling ArgumentParser ParserError.swift
[104/178] Compiling ArgumentParser SplitArguments.swift
[105/178] Compiling ArgumentParser ArgumentVisibility.swift
[106/178] Compiling ArgumentParser CompletionKind.swift
[107/178] Compiling ArgumentParser Errors.swift
[108/178] Compiling ArgumentParser Flag.swift
[109/178] Compiling ArgumentParser NameSpecification.swift
[110/178] Compiling ArgumentParser Option.swift
[111/178] Compiling ArgumentParser UsageGenerator.swift
[112/178] Compiling ArgumentParser CollectionExtensions.swift
[113/178] Compiling ArgumentParser Platform.swift
[114/178] Compiling ArgumentParser SequenceExtensions.swift
[115/178] Compiling ArgumentParser StringExtensions.swift
[116/178] Compiling ArgumentParser Tree.swift
[117/178] Compiling Markdown SoftBreak.swift
[118/178] Compiling Markdown SymbolLink.swift
[119/178] Compiling Markdown Text.swift
[120/178] Compiling Markdown Aside.swift
[121/178] Compiling Markdown BlockDirectiveParser.swift
[122/178] Compiling Markdown CommonMarkConverter.swift
[123/178] Compiling Markdown LazySplitLines.swift
[124/178] Compiling Markdown ParseOptions.swift
[125/178] Compiling Markdown RangeAdjuster.swift
[126/178] Compiling Markdown RangerTracker.swift
[127/178] Compiling Markdown MarkupRewriter.swift
[165/179] Wrapping AST for ArgumentParser for debugging
[167/179] Compiling Markdown CharacterExtensions.swift
[168/179] Compiling Markdown CollectionExtensions.swift
[169/179] Compiling Markdown StringExtensions.swift
[170/179] Compiling Markdown MarkupVisitor.swift
[171/179] Compiling Markdown MarkupWalker.swift
[172/179] Compiling Markdown HTMLFormatter.swift
[173/179] Compiling Markdown MarkupFormatter.swift
[174/179] Compiling Markdown MarkupTreeDumper.swift
[175/180] Wrapping AST for Markdown for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[177/198] Emitting module EvolutionMetadataExtraction
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FoundationExtensions.swift:38:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
36 | // The tool runs in an environment where HTTP proxy info is provided through environment variables.
37 | // On first access, create the session using the proxy configuraton information, if present.
38 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
39 | static let customized: URLSession = {
40 | var proxyDictionary: [AnyHashable : Any] = [:]
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FoundationExtensions.swift:77:11: error: cannot find type 'URLRequest' in scope
75 |
76 | // Customized verbose logging of a URLRequest
77 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
78 | var verboseDescription: String {
79 | var logString = ""
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:142:95: error: cannot find type 'URLRequest' in scope
140 | }
141 |
142 | static func getGitHubAPIValue<T: Decodable>(for endpoint: URL, type: T.Type, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> T {
| `- error: cannot find type 'URLRequest' in scope
143 |
144 | var request = URLRequest(url: endpoint, cachePolicy: cachePolicy)
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[178/198] Compiling EvolutionMetadataExtraction CommandLineSupport.swift
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:37:24: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
35 |
36 | public static func validateHTTPProxies() {
37 | _ = URLSession.customized // Reads and validates HTTP Proxy environment variables if present
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
38 | }
39 |
[179/198] Compiling EvolutionMetadataExtraction ExtractionJob.swift
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:37:24: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
35 |
36 | public static func validateHTTPProxies() {
37 | _ = URLSession.customized // Reads and validates HTTP Proxy environment variables if present
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
38 | }
39 |
[180/198] Compiling EvolutionMetadataExtraction EvolutionMetadataExtractor.swift
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:37:24: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
35 |
36 | public static func validateHTTPProxies() {
37 | _ = URLSession.customized // Reads and validates HTTP Proxy environment variables if present
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
38 | }
39 |
[181/200] Compiling EvolutionMetadataExtraction DiscussionExtractor.swift
[182/200] Compiling EvolutionMetadataExtraction HeaderFieldExtractor.swift
[183/200] Compiling EvolutionMetadataExtraction ImplementationExtractor.swift
[184/200] Compiling EvolutionMetadataExtraction PersonExtractor.swift
[185/200] Compiling EvolutionMetadataExtraction PreviousProposalExtractor.swift
[186/200] Compiling EvolutionMetadataExtraction ProposalLinkExtractor.swift
[187/200] Compiling EvolutionMetadataExtraction Networking.swift
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:142:95: error: cannot find type 'URLRequest' in scope
140 | }
141 |
142 | static func getGitHubAPIValue<T: Decodable>(for endpoint: URL, type: T.Type, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> T {
| `- error: cannot find type 'URLRequest' in scope
143 |
144 | var request = URLRequest(url: endpoint, cachePolicy: cachePolicy)
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:18:23: error: cannot find 'URLRequest' in scope
16 |
17 | static func fetchPreviousResults() async throws -> [Proposal] {
18 | let request = URLRequest(url: previousResultsURL, cachePolicy: .reloadIgnoringLocalCacheData)
| `- error: cannot find 'URLRequest' in scope
19 | verbosePrint("Fetching with URLRequest:\n\(request.verboseDescription)")
20 | do {
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:18:73: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
16 |
17 | static func fetchPreviousResults() async throws -> [Proposal] {
18 | let request = URLRequest(url: previousResultsURL, cachePolicy: .reloadIgnoringLocalCacheData)
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
19 | verbosePrint("Fetching with URLRequest:\n\(request.verboseDescription)")
20 | do {
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:21:50: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
19 | verbosePrint("Fetching with URLRequest:\n\(request.verboseDescription)")
20 | do {
21 | let (data, _) = try await URLSession.customized.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
22 |
23 | do {
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:115:47: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
113 | // Note that fetching proposal contents does not use GitHub API endponts
114 | static func fetchProposalContents(from url: URL) async throws -> String {
115 | let (data, _) = try await URLSession.customized.data(from: url)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
116 | return String(decoding: data, as: UTF8.self)
117 | }
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:122:133: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
120 | // Always reload since a new commit may have occurred.
121 | // Caching for other calls is fine since the branch commit SHA is included in the requested URL
122 | let branchInfo = try await getGitHubAPIValue(for: Endpoint.githubMainBranchEndpoint, type: GitHubBranch.self, cachePolicy: .reloadIgnoringLocalCacheData)
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
123 | return branchInfo
124 | }
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:144:23: error: cannot find 'URLRequest' in scope
142 | static func getGitHubAPIValue<T: Decodable>(for endpoint: URL, type: T.Type, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> T {
143 |
144 | var request = URLRequest(url: endpoint, cachePolicy: cachePolicy)
| `- error: cannot find 'URLRequest' in scope
145 | request.setValue(gitHubTokenHeaderValue, forHTTPHeaderField: "Authorization")
146 | request.setValue("application/vnd.github+json", forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:151:57: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
149 |
150 | do {
151 | let (data, response) = try await URLSession.customized.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
152 |
153 | if verboseEnabled, let httpResponse = response as? HTTPURLResponse {
[188/200] Compiling EvolutionMetadataExtraction ValidationIssues.swift
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:142:95: error: cannot find type 'URLRequest' in scope
140 | }
141 |
142 | static func getGitHubAPIValue<T: Decodable>(for endpoint: URL, type: T.Type, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> T {
| `- error: cannot find type 'URLRequest' in scope
143 |
144 | var request = URLRequest(url: endpoint, cachePolicy: cachePolicy)
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:18:23: error: cannot find 'URLRequest' in scope
16 |
17 | static func fetchPreviousResults() async throws -> [Proposal] {
18 | let request = URLRequest(url: previousResultsURL, cachePolicy: .reloadIgnoringLocalCacheData)
| `- error: cannot find 'URLRequest' in scope
19 | verbosePrint("Fetching with URLRequest:\n\(request.verboseDescription)")
20 | do {
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:18:73: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
16 |
17 | static func fetchPreviousResults() async throws -> [Proposal] {
18 | let request = URLRequest(url: previousResultsURL, cachePolicy: .reloadIgnoringLocalCacheData)
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
19 | verbosePrint("Fetching with URLRequest:\n\(request.verboseDescription)")
20 | do {
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:21:50: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
19 | verbosePrint("Fetching with URLRequest:\n\(request.verboseDescription)")
20 | do {
21 | let (data, _) = try await URLSession.customized.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
22 |
23 | do {
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:115:47: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
113 | // Note that fetching proposal contents does not use GitHub API endponts
114 | static func fetchProposalContents(from url: URL) async throws -> String {
115 | let (data, _) = try await URLSession.customized.data(from: url)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
116 | return String(decoding: data, as: UTF8.self)
117 | }
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:122:133: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
120 | // Always reload since a new commit may have occurred.
121 | // Caching for other calls is fine since the branch commit SHA is included in the requested URL
122 | let branchInfo = try await getGitHubAPIValue(for: Endpoint.githubMainBranchEndpoint, type: GitHubBranch.self, cachePolicy: .reloadIgnoringLocalCacheData)
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
123 | return branchInfo
124 | }
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:144:23: error: cannot find 'URLRequest' in scope
142 | static func getGitHubAPIValue<T: Decodable>(for endpoint: URL, type: T.Type, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> T {
143 |
144 | var request = URLRequest(url: endpoint, cachePolicy: cachePolicy)
| `- error: cannot find 'URLRequest' in scope
145 | request.setValue(gitHubTokenHeaderValue, forHTTPHeaderField: "Authorization")
146 | request.setValue("application/vnd.github+json", forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:151:57: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
149 |
150 | do {
151 | let (data, response) = try await URLSession.customized.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
152 |
153 | if verboseEnabled, let httpResponse = response as? HTTPURLResponse {
[189/200] Compiling EvolutionMetadataExtraction UpcomingFeatureFlagExtractor.swift
[190/200] Compiling EvolutionMetadataExtraction ProposalMetadataExtractor.swift
[191/200] Compiling EvolutionMetadataExtraction TitleExtractor.swift
[192/200] Compiling EvolutionMetadataExtraction TrackingBugExtractor.swift
[193/200] Compiling EvolutionMetadataExtraction StatusExtractor.swift
[194/200] Compiling EvolutionMetadataExtraction SummaryExtractor.swift
[195/200] Compiling EvolutionMetadataExtraction FileUtilities.swift
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FoundationExtensions.swift:38:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
36 | // The tool runs in an environment where HTTP proxy info is provided through environment variables.
37 | // On first access, create the session using the proxy configuraton information, if present.
38 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
39 | static let customized: URLSession = {
40 | var proxyDictionary: [AnyHashable : Any] = [:]
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FoundationExtensions.swift:77:11: error: cannot find type 'URLRequest' in scope
75 |
76 | // Customized verbose logging of a URLRequest
77 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
78 | var verboseDescription: String {
79 | var logString = ""
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[196/200] Compiling EvolutionMetadataExtraction FoundationExtensions.swift
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FoundationExtensions.swift:38:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
36 | // The tool runs in an environment where HTTP proxy info is provided through environment variables.
37 | // On first access, create the session using the proxy configuraton information, if present.
38 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
39 | static let customized: URLSession = {
40 | var proxyDictionary: [AnyHashable : Any] = [:]
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FoundationExtensions.swift:77:11: error: cannot find type 'URLRequest' in scope
75 |
76 | // Customized verbose logging of a URLRequest
77 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
78 | var verboseDescription: String {
79 | var logString = ""
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
BUILD FAILURE 6.2 linux