Build Information
Failed to build swift-evolution-metadata-extractor, reference main (ec660c
), with Swift 5.10 for Linux on 8 Mar 2025 05:31:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
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: 5.10
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-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/swiftlang/swift-markdown
Fetching https://github.com/apple/swift-argument-parser.git
[1/6432] Fetching swift-markdown
[4182/21138] Fetching swift-markdown, swift-argument-parser
Fetched https://github.com/swiftlang/swift-markdown from cache (1.30s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.30s)
Computing version for https://github.com/swiftlang/swift-markdown
Computed https://github.com/swiftlang/swift-markdown at 0.5.0 (1.67s)
Fetching https://github.com/apple/swift-cmark.git
[1/17988] Fetching swift-cmark
Fetched https://github.com/apple/swift-cmark.git from cache (1.43s)
Computing version for https://github.com/apple/swift-cmark.git
Computed https://github.com/apple/swift-cmark.git at 0.5.0 (0.67s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.61s)
Creating working copy for https://github.com/apple/swift-cmark.git
Working copy of https://github.com/apple/swift-cmark.git resolved at 0.5.0
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.0
Creating working copy for https://github.com/swiftlang/swift-markdown
Working copy of https://github.com/swiftlang/swift-markdown resolved at 0.5.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/51] Write sources
[2/51] Compiling cmark-gfm-extensions strikethrough.c
[3/51] Compiling cmark-gfm-extensions tagfilter.c
[4/51] Compiling cmark-gfm-extensions ext_scanners.c
[5/51] Compiling cmark-gfm-extensions core-extensions.c
[5/51] Compiling cmark-gfm xml.c
[7/51] Compiling cmark-gfm-extensions autolink.c
[8/51] Compiling cmark-gfm-extensions table.c
[9/51] Compiling cmark-gfm syntax_extension.c
[10/51] Compiling cmark-gfm references.c
[11/51] Write swift-version-24593BA9C3E375BF.txt
[12/51] Compiling cmark-gfm registry.c
[12/51] Compiling cmark-gfm-extensions tasklist.c
[14/51] Compiling cmark-gfm utf8.c
[15/51] Compiling cmark-gfm render.c
[16/51] Compiling cmark-gfm linked_list.c
[17/51] Compiling cmark-gfm plugin.c
[18/51] Compiling cmark-gfm map.c
[19/51] Compiling cmark-gfm plaintext.c
[20/51] Compiling cmark-gfm man.c
[21/51] Compiling cmark-gfm latex.c
[22/51] Compiling cmark-gfm node.c
[23/51] Compiling cmark-gfm iterator.c
[24/51] Compiling cmark-gfm houdini_html_e.c
[25/51] Compiling cmark-gfm footnotes.c
[26/51] Compiling cmark-gfm cmark_ctype.c
[27/51] Compiling cmark-gfm commonmark.c
[28/51] Compiling cmark-gfm houdini_href_e.c
[29/51] Compiling cmark-gfm html.c
[30/51] Write sources
[33/51] Compiling cmark-gfm cmark.c
[34/51] Compiling cmark-gfm scanners.c
[35/51] Write sources
[36/51] Compiling CAtomic CAtomic.c
[36/51] Write sources
[38/51] Compiling cmark-gfm houdini_html_u.c
[39/51] Compiling cmark-gfm inlines.c
[40/51] Compiling cmark-gfm blocks.c
[41/51] Compiling cmark-gfm buffer.c
[42/51] Compiling cmark-gfm arena.c
[44/123] Emitting module EvolutionMetadataModel
[45/124] Compiling Markdown MarkupRewriter.swift
[46/124] Compiling Markdown BasicBlockContainer.swift
[47/124] Compiling Markdown BasicInlineContainer.swift
[48/124] Compiling Markdown BlockContainer.swift
[49/124] Compiling Markdown BlockMarkup.swift
[50/124] Compiling Markdown InlineContainer.swift
[51/124] Compiling Markdown InlineMarkup.swift
[52/124] Compiling Markdown ListItemContainer.swift
[53/132] Compiling EvolutionMetadataModel Proposal+TrackingBug.swift
[54/132] Compiling EvolutionMetadataModel Proposal+UpcomingFeatureFlag.swift
[55/132] Compiling Markdown ChildIndexPath.swift
[56/132] Compiling Markdown DirectiveArgument.swift
[57/132] Compiling EvolutionMetadataModel Proposal+Issue.swift
[58/132] Compiling EvolutionMetadataModel Proposal+Implementation.swift
[59/132] Compiling EvolutionMetadataModel Proposal+Status.swift
[60/132] Compiling EvolutionMetadataModel Proposal+Person.swift
[61/132] Compiling EvolutionMetadataModel Proposal.swift
[62/133] Wrapping AST for EvolutionMetadataModel for debugging
[64/133] Compiling ArgumentParserToolInfo ToolInfo.swift
[65/133] Emitting module ArgumentParserToolInfo
[66/134] Wrapping AST for ArgumentParserToolInfo for debugging
[68/172] Compiling ArgumentParser ArgumentSet.swift
[69/172] Compiling ArgumentParser CommandParser.swift
[70/172] Compiling ArgumentParser InputKey.swift
[71/172] Compiling ArgumentParser InputOrigin.swift
[72/172] Compiling ArgumentParser ExpressibleByArgument.swift
[73/172] Compiling ArgumentParser ParsableArguments.swift
[74/172] Compiling ArgumentParser ParsableArgumentsValidation.swift
[75/172] Compiling ArgumentParser ParsableCommand.swift
[76/172] Compiling ArgumentParser ArgumentDecoder.swift
[77/172] Compiling ArgumentParser Name.swift
[78/172] Compiling ArgumentParser Parsed.swift
[79/172] Compiling ArgumentParser ParsedValues.swift
[80/172] Compiling ArgumentParser ParserError.swift
[81/172] Compiling ArgumentParser SplitArguments.swift
[82/172] Compiling ArgumentParser DumpHelpGenerator.swift
[83/172] Compiling ArgumentParser HelpCommand.swift
[84/172] Compiling ArgumentParser HelpGenerator.swift
[85/172] Compiling ArgumentParser MessageInfo.swift
[86/172] Compiling ArgumentParser UsageGenerator.swift
[87/172] Compiling Markdown Strong.swift
[88/172] Compiling Markdown CustomInline.swift
[89/172] Compiling Markdown InlineCode.swift
[90/172] Compiling Markdown InlineHTML.swift
[91/172] Compiling Markdown LineBreak.swift
[92/172] Compiling Markdown SoftBreak.swift
[93/172] Compiling Markdown SymbolLink.swift
[94/172] Compiling Markdown Text.swift
[95/172] Compiling Markdown Aside.swift
[96/172] Compiling Markdown BlockDirectiveParser.swift
[97/172] Compiling Markdown CommonMarkConverter.swift
[98/172] Compiling Markdown LazySplitLines.swift
[99/172] Compiling Markdown ParseOptions.swift
[100/172] Compiling Markdown RangeAdjuster.swift
[101/172] Compiling Markdown RangerTracker.swift
[102/172] Compiling ArgumentParser ArgumentVisibility.swift
[103/172] Compiling ArgumentParser CompletionKind.swift
[104/172] Compiling ArgumentParser Errors.swift
[105/172] Compiling ArgumentParser Flag.swift
[106/172] Compiling ArgumentParser NameSpecification.swift
[107/172] Compiling ArgumentParser Option.swift
[108/177] Compiling Markdown AtomicCounter.swift
[109/177] Compiling Markdown CharacterExtensions.swift
[110/177] Compiling Markdown CollectionExtensions.swift
[111/177] Compiling Markdown StringExtensions.swift
[112/177] Compiling Markdown MarkupVisitor.swift
[113/177] Compiling Markdown MarkupWalker.swift
[114/177] Compiling Markdown MarkupFormatter.swift
[115/177] Compiling Markdown MarkupTreeDumper.swift
[116/177] Compiling ArgumentParser BashCompletionsGenerator.swift
[117/177] Compiling ArgumentParser CompletionsGenerator.swift
[118/177] Compiling ArgumentParser FishCompletionsGenerator.swift
[119/177] Compiling ArgumentParser ZshCompletionsGenerator.swift
[120/177] Compiling ArgumentParser Argument.swift
[121/177] Compiling ArgumentParser ArgumentHelp.swift
[125/177] Emitting module Markdown
[129/177] Compiling ArgumentParser OptionGroup.swift
[130/177] Compiling ArgumentParser AsyncParsableCommand.swift
[131/177] Compiling ArgumentParser CommandConfiguration.swift
[132/177] Compiling ArgumentParser CommandGroup.swift
[133/177] Compiling ArgumentParser EnumerableFlag.swift
[134/177] Compiling ArgumentParser ArgumentDefinition.swift
[135/177] Emitting module ArgumentParser
[142/178] Wrapping AST for Markdown for debugging
[144/178] Compiling ArgumentParser CollectionExtensions.swift
[145/178] Compiling ArgumentParser Platform.swift
[146/178] Compiling ArgumentParser SequenceExtensions.swift
[147/178] Compiling ArgumentParser StringExtensions.swift
[148/178] Compiling ArgumentParser Tree.swift
[174/179] Wrapping AST for ArgumentParser for debugging
[176/197] Compiling EvolutionMetadataExtraction StatusExtractor.swift
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/FieldExtractors/StatusExtractor.swift:143:39: error: type 'TimeZone' has no member 'gmt'
formatter.timeZone = TimeZone.gmt
~~~~~~~~ ^~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FoundationExtensions.swift:38:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FoundationExtensions.swift:77:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/FieldExtractors/StatusExtractor.swift:191:36: error: type 'Date' has no member 'ISO8601FormatStyle'
let dateFormatStyle = Date.ISO8601FormatStyle(timeZone: TimeZone.gmt).locale(Locale.en_US_POSIX)
~~~~ ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/FieldExtractors/StatusExtractor.swift:191:74: error: type 'TimeZone' has no member 'gmt'
let dateFormatStyle = Date.ISO8601FormatStyle(timeZone: TimeZone.gmt).locale(Locale.en_US_POSIX)
~~~~~~~~ ^~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/FieldExtractors/StatusExtractor.swift:192:27: error: value of type 'Date' has no member 'formatted'
return (startDate.formatted(dateFormatStyle), wrappedEndDate.formatted(dateFormatStyle), reviewEndedWarning)
~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/FieldExtractors/StatusExtractor.swift:192:70: error: value of type 'Date' has no member 'formatted'
return (startDate.formatted(dateFormatStyle), wrappedEndDate.formatted(dateFormatStyle), reviewEndedWarning)
~~~~~~~~~~~~~~ ^~~~~~~~~
[177/197] Compiling EvolutionMetadataExtraction SummaryExtractor.swift
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/FieldExtractors/StatusExtractor.swift:143:39: error: type 'TimeZone' has no member 'gmt'
formatter.timeZone = TimeZone.gmt
~~~~~~~~ ^~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FoundationExtensions.swift:38:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FoundationExtensions.swift:77:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/FieldExtractors/StatusExtractor.swift:191:36: error: type 'Date' has no member 'ISO8601FormatStyle'
let dateFormatStyle = Date.ISO8601FormatStyle(timeZone: TimeZone.gmt).locale(Locale.en_US_POSIX)
~~~~ ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/FieldExtractors/StatusExtractor.swift:191:74: error: type 'TimeZone' has no member 'gmt'
let dateFormatStyle = Date.ISO8601FormatStyle(timeZone: TimeZone.gmt).locale(Locale.en_US_POSIX)
~~~~~~~~ ^~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/FieldExtractors/StatusExtractor.swift:192:27: error: value of type 'Date' has no member 'formatted'
return (startDate.formatted(dateFormatStyle), wrappedEndDate.formatted(dateFormatStyle), reviewEndedWarning)
~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/FieldExtractors/StatusExtractor.swift:192:70: error: value of type 'Date' has no member 'formatted'
return (startDate.formatted(dateFormatStyle), wrappedEndDate.formatted(dateFormatStyle), reviewEndedWarning)
~~~~~~~~~~~~~~ ^~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[178/199] Emitting module EvolutionMetadataExtraction
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:87:79: error: no exact matches in call to initializer
public static let defaultOutput: ExtractionJob.Output = .metadataJSON(URL(filePath: defaultFilename))
^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
public init(fileURLWithPath path: String)
^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
public init(fileReferenceLiteralResourceName name: String)
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:126:75: error: no exact matches in call to initializer
public static let defaultOutput: ExtractionJob.Output = .snapshot(URL(filePath: defaultFilename))
^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
public init(fileURLWithPath path: String)
^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
public init(fileReferenceLiteralResourceName name: String)
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:23:14: warning: associated value 'snapshot' of 'Sendable'-conforming enum 'Source' has non-sendable type 'URL'
case snapshot(URL)
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:27:14: warning: associated value 'metadataJSON' of 'Sendable'-conforming enum 'Output' has non-sendable type 'URL'
case metadataJSON(URL)
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:28:14: warning: associated value 'snapshot' of 'Sendable'-conforming enum 'Output' has non-sendable type 'URL'
case snapshot(URL)
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:43:9: warning: stored property 'temporarySnapshotDirectory' of 'Sendable'-conforming struct 'ExtractionJob' has non-sendable type 'URL?'
let temporarySnapshotDirectory: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:162:9: warning: stored property 'url' of 'Sendable'-conforming struct 'ProposalSpec' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FileUtilities.swift:44:30: error: no exact matches in call to initializer
let commandURL = URL(filePath: commandPath)
^
Foundation.URL:3:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(string:)')
public init?(string: String)
^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
public init(fileURLWithPath path: String)
^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
public init(fileReferenceLiteralResourceName name: String)
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FoundationExtensions.swift:38:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FoundationExtensions.swift:77:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:97:63: error: value of type 'URL' has no member 'appending'
static let githubMainBranchEndpoint = endpointBaseURL.appending(path:"branches/main")
~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:98:59: error: value of type 'URL' has no member 'appending'
static let githubIssuesEndpoint = endpointBaseURL.appending(path: "issues?since=2023-08-01T01:00:00Z&state=all")
~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:99:62: error: value of type 'URL' has no member 'appending'
static let githubProposalsEndpoint = endpointBaseURL.appending(path: "contents/proposals" )
~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:142:95: error: cannot find type 'URLRequest' in scope
static func getGitHubAPIValue<T: Decodable>(for endpoint: URL, type: T.Type, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> T {
^~~~~~~~~~
[179/199] Compiling EvolutionMetadataExtraction CommandLineSupport.swift
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:87:79: error: no exact matches in call to initializer
public static let defaultOutput: ExtractionJob.Output = .metadataJSON(URL(filePath: defaultFilename))
^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
public init(fileURLWithPath path: String)
^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
public init(fileReferenceLiteralResourceName name: String)
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:126:75: error: no exact matches in call to initializer
public static let defaultOutput: ExtractionJob.Output = .snapshot(URL(filePath: defaultFilename))
^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
public init(fileURLWithPath path: String)
^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
public init(fileReferenceLiteralResourceName name: String)
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:37:24: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
_ = URLSession.customized // Reads and validates HTTP Proxy environment variables if present
~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:52:44: error: value of type 'URL' has no member 'appending'
let testBundleURL = processURL.appending(component: testBundleName)
~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:106:115: error: value of type '[String]' has no member 'formatted'
print("Warning: Using --force-extract with value 'all' and proposal IDs \(forcedExtractionIDs.formatted()). All proposals will be force extracted. ")
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:109:82: error: value of type '[String]' has no member 'formatted'
verbosePrint("Force Extract Proposals:", forcedExtractionIDs.formatted(), additionalCondition: !forcedExtractionIDs.isEmpty)
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:23:14: warning: associated value 'snapshot' of 'Sendable'-conforming enum 'Source' has non-sendable type 'URL'
case snapshot(URL)
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:27:14: warning: associated value 'metadataJSON' of 'Sendable'-conforming enum 'Output' has non-sendable type 'URL'
case metadataJSON(URL)
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:28:14: warning: associated value 'snapshot' of 'Sendable'-conforming enum 'Output' has non-sendable type 'URL'
case snapshot(URL)
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:43:9: warning: stored property 'temporarySnapshotDirectory' of 'Sendable'-conforming struct 'ExtractionJob' has non-sendable type 'URL?'
let temporarySnapshotDirectory: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:44:73: error: value of type 'URL' has no member 'appending'
var temporaryProposalsDirectory: URL? { temporarySnapshotDirectory?.appending(component: "proposals") }
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:59:56: error: value of type 'URL' has no member 'appending'
FileManager.default.temporaryDirectory.appending(component: UUID().uuidString)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:124:41: error: value of type 'URL' has no member 'appending'
let branchInfoURL = snapshotURL.appending(component: "source-info.json")
~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:125:46: error: value of type 'URL' has no member 'appending'
let proposalListingURL = snapshotURL.appending(component: "proposal-listing.json")
~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:126:46: error: value of type 'URL' has no member 'appending'
let previousResultsURL = snapshotURL.appending(component: "previous-results.json")
~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:127:46: error: value of type 'URL' has no member 'appending'
let expectedResultsURL = snapshotURL.appending(component: "expected-results.json")
~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:128:48: error: value of type 'URL' has no member 'appending'
let proposalDirectoryURL = snapshotURL.appending(component: "proposals")
~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:145:91: error: value of type 'URL' has no member 'appending'
proposalSpecs = contentItems.enumerated().map { ProposalSpec(url: snapshotURL.appending(path: $1.path), sha: $1.sha, sortIndex: $0) }
~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:167:60: error: extra argument 'strategy' in call
snapshotDate = try Date(dateString, strategy: .iso8601)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:167:60: error: cannot infer contextual base in reference to member 'iso8601'
snapshotDate = try Date(dateString, strategy: .iso8601)
~^~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:240:91: error: cannot call value of non-function type 'String'
print("Writing file '\(outputURL.lastPathComponent)' to\n'\(outputURL.absoluteURL.path())'\n")
^ ~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:257:44: error: value of type 'URL' has no member 'appending'
let legacyFormatURL = directoryURL.appending(component: "proposals.json")
~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:269:82: error: cannot call value of non-function type 'String'
guard FileManager.default.fileExists(atPath: temporaryProposalsDirectory.path(percentEncoded: false)) else {
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:274:94: error: cannot call value of non-function type 'String'
print("Writing snapshot '\(outputURL.lastPathComponent)' to '\(outputURL.absoluteURL.path())'\n")
^ ~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:282:60: error: value of type 'URL' has no member 'appending'
let branchInfoURL = temporarySnapshotDirectory.appending(component: "source-info.json")
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:289:65: error: value of type 'URL' has no member 'appending'
let proposalListingURL = temporarySnapshotDirectory.appending(component: "proposal-listing.json")
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:295:61: error: value of type 'URL' has no member 'appending'
let expectedResultsURL = temporarySnapshotDirectory.appending(component: "expected-results.json")
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:303:61: error: value of type 'URL' has no member 'appending'
let dstURL = temporarySnapshotDirectory.appending(component: srcURL.lastPathComponent)
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:162:9: warning: stored property 'url' of 'Sendable'-conforming struct 'ProposalSpec' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:31:75: error: cannot find 'SortDescriptor' in scope
let sortedRecords = (reusableProposals + proposals).sorted(using: SortDescriptor(\.sortIndex))
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:31:67: error: incorrect argument label in call (have 'using:', expected 'by:')
let sortedRecords = (reusableProposals + proposals).sorted(using: SortDescriptor(\.sortIndex))
^~~~~~
by
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:31:90: error: cannot infer key path type from context; consider explicitly specifying a root type
let sortedRecords = (reusableProposals + proposals).sorted(using: SortDescriptor(\.sortIndex))
^
<#Root#>
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:43:78: error: cannot find 'SortDescriptor' in scope
let implementationVersions = implementationVersionSet.sorted(using: SortDescriptor(\.self))
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:43:70: error: incorrect argument label in call (have 'using:', expected 'by:')
let implementationVersions = implementationVersionSet.sorted(using: SortDescriptor(\.self))
^~~~~~
by
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:43:93: error: cannot infer key path type from context; consider explicitly specifying a root type
let implementationVersions = implementationVersionSet.sorted(using: SortDescriptor(\.self))
^
<#Root#>
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:46:68: error: value of type 'Date' has no member 'formatted'
let formattedExtractionDate = extractionJob.extractionDate.formatted(.iso8601)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:46:79: error: cannot infer contextual base in reference to member 'iso8601'
let formattedExtractionDate = extractionJob.extractionDate.formatted(.iso8601)
~^~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:85:60: error: value of type 'URL' has no member 'appending'
let proposalFileURL = proposalDirectoryURL.appending(component: proposalSpec.filename)
~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
[180/199] Compiling EvolutionMetadataExtraction ExtractionJob.swift
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:87:79: error: no exact matches in call to initializer
public static let defaultOutput: ExtractionJob.Output = .metadataJSON(URL(filePath: defaultFilename))
^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
public init(fileURLWithPath path: String)
^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
public init(fileReferenceLiteralResourceName name: String)
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:126:75: error: no exact matches in call to initializer
public static let defaultOutput: ExtractionJob.Output = .snapshot(URL(filePath: defaultFilename))
^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
public init(fileURLWithPath path: String)
^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
public init(fileReferenceLiteralResourceName name: String)
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:37:24: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
_ = URLSession.customized // Reads and validates HTTP Proxy environment variables if present
~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:52:44: error: value of type 'URL' has no member 'appending'
let testBundleURL = processURL.appending(component: testBundleName)
~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:106:115: error: value of type '[String]' has no member 'formatted'
print("Warning: Using --force-extract with value 'all' and proposal IDs \(forcedExtractionIDs.formatted()). All proposals will be force extracted. ")
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:109:82: error: value of type '[String]' has no member 'formatted'
verbosePrint("Force Extract Proposals:", forcedExtractionIDs.formatted(), additionalCondition: !forcedExtractionIDs.isEmpty)
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:23:14: warning: associated value 'snapshot' of 'Sendable'-conforming enum 'Source' has non-sendable type 'URL'
case snapshot(URL)
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:27:14: warning: associated value 'metadataJSON' of 'Sendable'-conforming enum 'Output' has non-sendable type 'URL'
case metadataJSON(URL)
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:28:14: warning: associated value 'snapshot' of 'Sendable'-conforming enum 'Output' has non-sendable type 'URL'
case snapshot(URL)
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:43:9: warning: stored property 'temporarySnapshotDirectory' of 'Sendable'-conforming struct 'ExtractionJob' has non-sendable type 'URL?'
let temporarySnapshotDirectory: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:44:73: error: value of type 'URL' has no member 'appending'
var temporaryProposalsDirectory: URL? { temporarySnapshotDirectory?.appending(component: "proposals") }
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:59:56: error: value of type 'URL' has no member 'appending'
FileManager.default.temporaryDirectory.appending(component: UUID().uuidString)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:124:41: error: value of type 'URL' has no member 'appending'
let branchInfoURL = snapshotURL.appending(component: "source-info.json")
~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:125:46: error: value of type 'URL' has no member 'appending'
let proposalListingURL = snapshotURL.appending(component: "proposal-listing.json")
~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:126:46: error: value of type 'URL' has no member 'appending'
let previousResultsURL = snapshotURL.appending(component: "previous-results.json")
~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:127:46: error: value of type 'URL' has no member 'appending'
let expectedResultsURL = snapshotURL.appending(component: "expected-results.json")
~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:128:48: error: value of type 'URL' has no member 'appending'
let proposalDirectoryURL = snapshotURL.appending(component: "proposals")
~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:145:91: error: value of type 'URL' has no member 'appending'
proposalSpecs = contentItems.enumerated().map { ProposalSpec(url: snapshotURL.appending(path: $1.path), sha: $1.sha, sortIndex: $0) }
~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:167:60: error: extra argument 'strategy' in call
snapshotDate = try Date(dateString, strategy: .iso8601)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:167:60: error: cannot infer contextual base in reference to member 'iso8601'
snapshotDate = try Date(dateString, strategy: .iso8601)
~^~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:240:91: error: cannot call value of non-function type 'String'
print("Writing file '\(outputURL.lastPathComponent)' to\n'\(outputURL.absoluteURL.path())'\n")
^ ~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:257:44: error: value of type 'URL' has no member 'appending'
let legacyFormatURL = directoryURL.appending(component: "proposals.json")
~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:269:82: error: cannot call value of non-function type 'String'
guard FileManager.default.fileExists(atPath: temporaryProposalsDirectory.path(percentEncoded: false)) else {
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:274:94: error: cannot call value of non-function type 'String'
print("Writing snapshot '\(outputURL.lastPathComponent)' to '\(outputURL.absoluteURL.path())'\n")
^ ~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:282:60: error: value of type 'URL' has no member 'appending'
let branchInfoURL = temporarySnapshotDirectory.appending(component: "source-info.json")
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:289:65: error: value of type 'URL' has no member 'appending'
let proposalListingURL = temporarySnapshotDirectory.appending(component: "proposal-listing.json")
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:295:61: error: value of type 'URL' has no member 'appending'
let expectedResultsURL = temporarySnapshotDirectory.appending(component: "expected-results.json")
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:303:61: error: value of type 'URL' has no member 'appending'
let dstURL = temporarySnapshotDirectory.appending(component: srcURL.lastPathComponent)
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:162:9: warning: stored property 'url' of 'Sendable'-conforming struct 'ProposalSpec' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:31:75: error: cannot find 'SortDescriptor' in scope
let sortedRecords = (reusableProposals + proposals).sorted(using: SortDescriptor(\.sortIndex))
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:31:67: error: incorrect argument label in call (have 'using:', expected 'by:')
let sortedRecords = (reusableProposals + proposals).sorted(using: SortDescriptor(\.sortIndex))
^~~~~~
by
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:31:90: error: cannot infer key path type from context; consider explicitly specifying a root type
let sortedRecords = (reusableProposals + proposals).sorted(using: SortDescriptor(\.sortIndex))
^
<#Root#>
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:43:78: error: cannot find 'SortDescriptor' in scope
let implementationVersions = implementationVersionSet.sorted(using: SortDescriptor(\.self))
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:43:70: error: incorrect argument label in call (have 'using:', expected 'by:')
let implementationVersions = implementationVersionSet.sorted(using: SortDescriptor(\.self))
^~~~~~
by
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:43:93: error: cannot infer key path type from context; consider explicitly specifying a root type
let implementationVersions = implementationVersionSet.sorted(using: SortDescriptor(\.self))
^
<#Root#>
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:46:68: error: value of type 'Date' has no member 'formatted'
let formattedExtractionDate = extractionJob.extractionDate.formatted(.iso8601)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:46:79: error: cannot infer contextual base in reference to member 'iso8601'
let formattedExtractionDate = extractionJob.extractionDate.formatted(.iso8601)
~^~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:85:60: error: value of type 'URL' has no member 'appending'
let proposalFileURL = proposalDirectoryURL.appending(component: proposalSpec.filename)
~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
[181/199] Compiling EvolutionMetadataExtraction EvolutionMetadataExtractor.swift
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:87:79: error: no exact matches in call to initializer
public static let defaultOutput: ExtractionJob.Output = .metadataJSON(URL(filePath: defaultFilename))
^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
public init(fileURLWithPath path: String)
^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
public init(fileReferenceLiteralResourceName name: String)
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:126:75: error: no exact matches in call to initializer
public static let defaultOutput: ExtractionJob.Output = .snapshot(URL(filePath: defaultFilename))
^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
public init(fileURLWithPath path: String)
^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
public init(fileReferenceLiteralResourceName name: String)
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:37:24: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
_ = URLSession.customized // Reads and validates HTTP Proxy environment variables if present
~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:52:44: error: value of type 'URL' has no member 'appending'
let testBundleURL = processURL.appending(component: testBundleName)
~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:106:115: error: value of type '[String]' has no member 'formatted'
print("Warning: Using --force-extract with value 'all' and proposal IDs \(forcedExtractionIDs.formatted()). All proposals will be force extracted. ")
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:109:82: error: value of type '[String]' has no member 'formatted'
verbosePrint("Force Extract Proposals:", forcedExtractionIDs.formatted(), additionalCondition: !forcedExtractionIDs.isEmpty)
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:23:14: warning: associated value 'snapshot' of 'Sendable'-conforming enum 'Source' has non-sendable type 'URL'
case snapshot(URL)
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:27:14: warning: associated value 'metadataJSON' of 'Sendable'-conforming enum 'Output' has non-sendable type 'URL'
case metadataJSON(URL)
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:28:14: warning: associated value 'snapshot' of 'Sendable'-conforming enum 'Output' has non-sendable type 'URL'
case snapshot(URL)
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:43:9: warning: stored property 'temporarySnapshotDirectory' of 'Sendable'-conforming struct 'ExtractionJob' has non-sendable type 'URL?'
let temporarySnapshotDirectory: URL?
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:44:73: error: value of type 'URL' has no member 'appending'
var temporaryProposalsDirectory: URL? { temporarySnapshotDirectory?.appending(component: "proposals") }
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:59:56: error: value of type 'URL' has no member 'appending'
FileManager.default.temporaryDirectory.appending(component: UUID().uuidString)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:124:41: error: value of type 'URL' has no member 'appending'
let branchInfoURL = snapshotURL.appending(component: "source-info.json")
~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:125:46: error: value of type 'URL' has no member 'appending'
let proposalListingURL = snapshotURL.appending(component: "proposal-listing.json")
~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:126:46: error: value of type 'URL' has no member 'appending'
let previousResultsURL = snapshotURL.appending(component: "previous-results.json")
~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:127:46: error: value of type 'URL' has no member 'appending'
let expectedResultsURL = snapshotURL.appending(component: "expected-results.json")
~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:128:48: error: value of type 'URL' has no member 'appending'
let proposalDirectoryURL = snapshotURL.appending(component: "proposals")
~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:145:91: error: value of type 'URL' has no member 'appending'
proposalSpecs = contentItems.enumerated().map { ProposalSpec(url: snapshotURL.appending(path: $1.path), sha: $1.sha, sortIndex: $0) }
~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:167:60: error: extra argument 'strategy' in call
snapshotDate = try Date(dateString, strategy: .iso8601)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:167:60: error: cannot infer contextual base in reference to member 'iso8601'
snapshotDate = try Date(dateString, strategy: .iso8601)
~^~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:240:91: error: cannot call value of non-function type 'String'
print("Writing file '\(outputURL.lastPathComponent)' to\n'\(outputURL.absoluteURL.path())'\n")
^ ~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:257:44: error: value of type 'URL' has no member 'appending'
let legacyFormatURL = directoryURL.appending(component: "proposals.json")
~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:269:82: error: cannot call value of non-function type 'String'
guard FileManager.default.fileExists(atPath: temporaryProposalsDirectory.path(percentEncoded: false)) else {
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:274:94: error: cannot call value of non-function type 'String'
print("Writing snapshot '\(outputURL.lastPathComponent)' to '\(outputURL.absoluteURL.path())'\n")
^ ~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:282:60: error: value of type 'URL' has no member 'appending'
let branchInfoURL = temporarySnapshotDirectory.appending(component: "source-info.json")
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:289:65: error: value of type 'URL' has no member 'appending'
let proposalListingURL = temporarySnapshotDirectory.appending(component: "proposal-listing.json")
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:295:61: error: value of type 'URL' has no member 'appending'
let expectedResultsURL = temporarySnapshotDirectory.appending(component: "expected-results.json")
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:303:61: error: value of type 'URL' has no member 'appending'
let dstURL = temporarySnapshotDirectory.appending(component: srcURL.lastPathComponent)
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:162:9: warning: stored property 'url' of 'Sendable'-conforming struct 'ProposalSpec' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:31:75: error: cannot find 'SortDescriptor' in scope
let sortedRecords = (reusableProposals + proposals).sorted(using: SortDescriptor(\.sortIndex))
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:31:67: error: incorrect argument label in call (have 'using:', expected 'by:')
let sortedRecords = (reusableProposals + proposals).sorted(using: SortDescriptor(\.sortIndex))
^~~~~~
by
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:31:90: error: cannot infer key path type from context; consider explicitly specifying a root type
let sortedRecords = (reusableProposals + proposals).sorted(using: SortDescriptor(\.sortIndex))
^
<#Root#>
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:43:78: error: cannot find 'SortDescriptor' in scope
let implementationVersions = implementationVersionSet.sorted(using: SortDescriptor(\.self))
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:43:70: error: incorrect argument label in call (have 'using:', expected 'by:')
let implementationVersions = implementationVersionSet.sorted(using: SortDescriptor(\.self))
^~~~~~
by
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:43:93: error: cannot infer key path type from context; consider explicitly specifying a root type
let implementationVersions = implementationVersionSet.sorted(using: SortDescriptor(\.self))
^
<#Root#>
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:46:68: error: value of type 'Date' has no member 'formatted'
let formattedExtractionDate = extractionJob.extractionDate.formatted(.iso8601)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:46:79: error: cannot infer contextual base in reference to member 'iso8601'
let formattedExtractionDate = extractionJob.extractionDate.formatted(.iso8601)
~^~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:85:60: error: value of type 'URL' has no member 'appending'
let proposalFileURL = proposalDirectoryURL.appending(component: proposalSpec.filename)
~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
[182/199] Compiling EvolutionMetadataExtraction PersonExtractor.swift
[183/199] Compiling EvolutionMetadataExtraction PreviousProposalExtractor.swift
[184/199] Compiling EvolutionMetadataExtraction ProposalLinkExtractor.swift
[185/199] Compiling EvolutionMetadataExtraction DiscussionExtractor.swift
[186/199] Compiling EvolutionMetadataExtraction HeaderFieldExtractor.swift
[187/199] Compiling EvolutionMetadataExtraction ImplementationExtractor.swift
[188/199] Compiling EvolutionMetadataExtraction Networking.swift
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:97:63: error: value of type 'URL' has no member 'appending'
static let githubMainBranchEndpoint = endpointBaseURL.appending(path:"branches/main")
~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:98:59: error: value of type 'URL' has no member 'appending'
static let githubIssuesEndpoint = endpointBaseURL.appending(path: "issues?since=2023-08-01T01:00:00Z&state=all")
~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:99:62: error: value of type 'URL' has no member 'appending'
static let githubProposalsEndpoint = endpointBaseURL.appending(path: "contents/proposals" )
~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:142:95: error: cannot find type 'URLRequest' in scope
static func getGitHubAPIValue<T: Decodable>(for endpoint: URL, type: T.Type, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> T {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:18:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: previousResultsURL, cachePolicy: .reloadIgnoringLocalCacheData)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:18:73: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
let request = URLRequest(url: previousResultsURL, cachePolicy: .reloadIgnoringLocalCacheData)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:21:50: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
let (data, _) = try await URLSession.customized.data(for: request)
~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:101:29: error: value of type 'URL' has no member 'appending'
endpointBaseURL.appending(path: "pulls/\(request)/files")
~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:115:47: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
let (data, _) = try await URLSession.customized.data(from: url)
~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:122:133: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
let branchInfo = try await getGitHubAPIValue(for: Endpoint.githubMainBranchEndpoint, type: GitHubBranch.self, cachePolicy: .reloadIgnoringLocalCacheData)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:144:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: endpoint, cachePolicy: cachePolicy)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:151:57: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
let (data, response) = try await URLSession.customized.data(for: request)
~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/ValidationIssues.swift:166:38: error: type 'TimeZone' has no member 'gmt'
calender.timeZone = TimeZone.gmt
~~~~~~~~ ^~~
[189/199] Compiling EvolutionMetadataExtraction ValidationIssues.swift
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:97:63: error: value of type 'URL' has no member 'appending'
static let githubMainBranchEndpoint = endpointBaseURL.appending(path:"branches/main")
~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:98:59: error: value of type 'URL' has no member 'appending'
static let githubIssuesEndpoint = endpointBaseURL.appending(path: "issues?since=2023-08-01T01:00:00Z&state=all")
~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:99:62: error: value of type 'URL' has no member 'appending'
static let githubProposalsEndpoint = endpointBaseURL.appending(path: "contents/proposals" )
~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:142:95: error: cannot find type 'URLRequest' in scope
static func getGitHubAPIValue<T: Decodable>(for endpoint: URL, type: T.Type, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> T {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:18:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: previousResultsURL, cachePolicy: .reloadIgnoringLocalCacheData)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:18:73: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
let request = URLRequest(url: previousResultsURL, cachePolicy: .reloadIgnoringLocalCacheData)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:21:50: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
let (data, _) = try await URLSession.customized.data(for: request)
~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:101:29: error: value of type 'URL' has no member 'appending'
endpointBaseURL.appending(path: "pulls/\(request)/files")
~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:115:47: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
let (data, _) = try await URLSession.customized.data(from: url)
~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:122:133: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
let branchInfo = try await getGitHubAPIValue(for: Endpoint.githubMainBranchEndpoint, type: GitHubBranch.self, cachePolicy: .reloadIgnoringLocalCacheData)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:144:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: endpoint, cachePolicy: cachePolicy)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:151:57: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
let (data, response) = try await URLSession.customized.data(for: request)
~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/ValidationIssues.swift:166:38: error: type 'TimeZone' has no member 'gmt'
calender.timeZone = TimeZone.gmt
~~~~~~~~ ^~~
[190/199] Compiling EvolutionMetadataExtraction TitleExtractor.swift
[191/199] Compiling EvolutionMetadataExtraction TrackingBugExtractor.swift
[192/199] Compiling EvolutionMetadataExtraction UpcomingFeatureFlagExtractor.swift
[193/199] Compiling EvolutionMetadataExtraction ProposalMetadataExtractor.swift
[194/199] Compiling EvolutionMetadataExtraction FileUtilities.swift
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FileUtilities.swift:44:30: error: no exact matches in call to initializer
let commandURL = URL(filePath: commandPath)
^
Foundation.URL:3:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(string:)')
public init?(string: String)
^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
public init(fileURLWithPath path: String)
^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
public init(fileReferenceLiteralResourceName name: String)
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FileUtilities.swift:20:23: error: value of type 'URL' has no member 'appending'
url = url.appending(component: defaultFileName)
~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FileUtilities.swift:23:40: error: no exact matches in call to initializer
let defaultFileExtension = URL(filePath: defaultFileName).pathExtension
^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
public init(fileURLWithPath path: String)
^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
public init(fileReferenceLiteralResourceName name: String)
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FileUtilities.swift:39:16: error: no exact matches in call to initializer
return URL(filePath: fullPath).standardizedFileURL
^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
public init(fileURLWithPath path: String)
^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
public init(fileReferenceLiteralResourceName name: String)
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FoundationExtensions.swift:38:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FoundationExtensions.swift:77:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FileUtilities.swift:44:30: error: no exact matches in call to initializer
let commandURL = URL(filePath: commandPath)
^
Foundation.URL:3:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(string:)')
public init?(string: String)
^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
public init(fileURLWithPath path: String)
^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
public init(fileReferenceLiteralResourceName name: String)
^
[195/199] Compiling EvolutionMetadataExtraction FoundationExtensions.swift
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FileUtilities.swift:44:30: error: no exact matches in call to initializer
let commandURL = URL(filePath: commandPath)
^
Foundation.URL:3:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(string:)')
public init?(string: String)
^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
public init(fileURLWithPath path: String)
^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
public init(fileReferenceLiteralResourceName name: String)
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FileUtilities.swift:20:23: error: value of type 'URL' has no member 'appending'
url = url.appending(component: defaultFileName)
~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FileUtilities.swift:23:40: error: no exact matches in call to initializer
let defaultFileExtension = URL(filePath: defaultFileName).pathExtension
^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
public init(fileURLWithPath path: String)
^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
public init(fileReferenceLiteralResourceName name: String)
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FileUtilities.swift:39:16: error: no exact matches in call to initializer
return URL(filePath: fullPath).standardizedFileURL
^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
public init(fileURLWithPath path: String)
^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
public init(fileReferenceLiteralResourceName name: String)
^
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FoundationExtensions.swift:38:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FoundationExtensions.swift:77:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FileUtilities.swift:44:30: error: no exact matches in call to initializer
let commandURL = URL(filePath: commandPath)
^
Foundation.URL:3:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(string:)')
public init?(string: String)
^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
public init(fileURLWithPath path: String)
^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
public init(fileReferenceLiteralResourceName name: String)
^
error: fatalError
BUILD FAILURE 5.10 linux