Build Information
Failed to build swift-evolution-metadata-extractor, reference main (df3bab
), with Swift 5.9 for Linux on 8 Sep 2024 21:55:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.52.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 df3babd Fix typo issue at README.md
Cloned https://github.com/swiftlang/swift-evolution-metadata-extractor.git
Revision (git rev-parse @):
df3babde0e9eda5194f34670778879f416a928d6
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.9
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-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:907758cf9691f0f77ca4e2d6f778ef6c038667a789e74bf575a4b60f864d6863
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-markdown
[1/6147] Fetching swift-markdown
[6148/18272] Fetching swift-markdown, swift-argument-parser
[2910/12125] Fetching swift-argument-parser
Fetched https://github.com/swiftlang/swift-markdown (0.43s)
Fetched https://github.com/apple/swift-argument-parser.git (0.67s)
Computing version for https://github.com/swiftlang/swift-markdown
Computed https://github.com/swiftlang/swift-markdown at 0.4.0 (1.07s)
Fetching https://github.com/apple/swift-cmark.git
[1/17852] Fetching swift-cmark
Fetched https://github.com/apple/swift-cmark.git (0.71s)
Computing version for https://github.com/apple/swift-cmark.git
Computed https://github.com/apple/swift-cmark.git at 0.4.0 (0.33s)
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.31s)
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.4.0
Creating working copy for https://github.com/apple/swift-cmark.git
Working copy of https://github.com/apple/swift-cmark.git resolved at 0.4.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/43] Compiling cmark-gfm cmark_ctype.c
[2/43] Compiling cmark-gfm footnotes.c
[3/43] Compiling cmark-gfm cmark.c
[4/43] Compiling cmark-gfm commonmark.c
[5/43] Compiling cmark-gfm arena.c
[6/43] Compiling cmark-gfm buffer.c
[7/43] Compiling cmark-gfm blocks.c
[8/43] Compiling cmark-gfm-extensions core-extensions.c
[9/43] Compiling cmark-gfm-extensions ext_scanners.c
[10/43] Compiling cmark-gfm-extensions strikethrough.c
[11/43] Compiling cmark-gfm-extensions tasklist.c
[12/43] Compiling cmark-gfm-extensions autolink.c
[13/43] Compiling cmark-gfm-extensions tagfilter.c
[14/43] Compiling cmark-gfm-extensions table.c
[15/43] Compiling cmark-gfm xml.c
[16/43] Compiling cmark-gfm syntax_extension.c
[17/43] Compiling cmark-gfm plugin.c
[18/43] Compiling cmark-gfm registry.c
[19/43] Compiling cmark-gfm render.c
[20/44] Compiling cmark-gfm references.c
[21/50] Compiling cmark-gfm plaintext.c
[22/54] Compiling cmark-gfm map.c
[23/54] Compiling cmark-gfm linked_list.c
[24/54] Compiling cmark-gfm man.c
[25/54] Compiling cmark-gfm utf8.c
[26/54] Compiling cmark-gfm node.c
[27/54] Compiling cmark-gfm latex.c
[28/54] Compiling cmark-gfm html.c
[29/54] Compiling cmark-gfm iterator.c
[30/54] Compiling cmark-gfm houdini_html_e.c
[31/54] Compiling CAtomic CAtomic.c
[32/54] Compiling cmark-gfm inlines.c
[33/54] Compiling cmark-gfm houdini_html_u.c
[34/54] Compiling cmark-gfm houdini_href_e.c
[35/54] Compiling cmark-gfm scanners.c
[37/54] Emitting module ArgumentParserToolInfo
[38/54] Emitting module EvolutionMetadataModel
[39/114] Compiling Markdown MarkupRewriter.swift
[40/114] Compiling Markdown BasicBlockContainer.swift
[41/114] Compiling Markdown BasicInlineContainer.swift
[42/114] Compiling Markdown BlockContainer.swift
[43/114] Compiling Markdown BlockMarkup.swift
[44/114] Compiling Markdown InlineContainer.swift
[45/114] Compiling Markdown InlineMarkup.swift
[46/114] Compiling Markdown ListItemContainer.swift
[47/122] Compiling Markdown ChildIndexPath.swift
[48/122] Compiling Markdown DirectiveArgument.swift
[49/122] Compiling Markdown Strikethrough.swift
[50/122] Compiling Markdown Strong.swift
[51/122] Compiling Markdown CustomInline.swift
[52/122] Compiling Markdown InlineCode.swift
[53/122] Compiling Markdown InlineHTML.swift
[54/122] Compiling Markdown LineBreak.swift
[55/122] Compiling Markdown SoftBreak.swift
[56/122] Compiling Markdown SymbolLink.swift
[57/122] Compiling EvolutionMetadataModel Proposal+UpcomingFeatureFlag.swift
[58/122] Emitting module Markdown
[59/122] Compiling EvolutionMetadataModel Proposal+Implementation.swift
[60/122] Compiling EvolutionMetadataModel Proposal+TrackingBug.swift
[61/122] Compiling EvolutionMetadataModel Proposal.swift
[62/122] Compiling EvolutionMetadataModel Proposal+Person.swift
[63/122] Compiling EvolutionMetadataModel Proposal+Issue.swift
[64/122] Compiling EvolutionMetadataModel Proposal+Status.swift
[67/124] Compiling ArgumentParserToolInfo ToolInfo.swift
[67/125] Wrapping AST for EvolutionMetadataModel for debugging
[70/126] Wrapping AST for ArgumentParserToolInfo for debugging
[72/164] Emitting module ArgumentParser
[73/169] Compiling ArgumentParser Flag.swift
[74/169] Compiling ArgumentParser NameSpecification.swift
[75/169] Compiling ArgumentParser Option.swift
[76/169] Compiling ArgumentParser OptionGroup.swift
[77/169] Compiling ArgumentParser AsyncParsableCommand.swift
[78/169] Compiling ArgumentParser CommandConfiguration.swift
[79/169] Compiling ArgumentParser CommandGroup.swift
[80/169] Compiling ArgumentParser EnumerableFlag.swift
[81/169] Compiling ArgumentParser DumpHelpGenerator.swift
[82/169] Compiling ArgumentParser SplitArguments.swift
[83/169] Compiling ArgumentParser ArgumentDefinition.swift
[84/169] Compiling ArgumentParser ArgumentSet.swift
[85/169] Compiling ArgumentParser CommandParser.swift
[86/169] Compiling ArgumentParser InputKey.swift
[87/169] Compiling ArgumentParser InputOrigin.swift
[88/169] Compiling ArgumentParser ExpressibleByArgument.swift
[89/169] Compiling ArgumentParser ParsableArguments.swift
[90/169] Compiling ArgumentParser HelpCommand.swift
[91/169] Compiling ArgumentParser HelpGenerator.swift
[92/169] Compiling ArgumentParser MessageInfo.swift
[93/169] Compiling ArgumentParser UsageGenerator.swift
[94/169] Compiling ArgumentParser Name.swift
[95/169] Compiling ArgumentParser Parsed.swift
[96/169] Compiling ArgumentParser ParsedValues.swift
[97/169] Compiling ArgumentParser ParserError.swift
[98/169] Compiling ArgumentParser CollectionExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
[99/169] Compiling ArgumentParser Platform.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
[100/169] Compiling ArgumentParser SequenceExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
[101/169] Compiling ArgumentParser StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
[102/169] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
[103/169] Compiling ArgumentParser BashCompletionsGenerator.swift
[104/169] Compiling ArgumentParser CompletionsGenerator.swift
[105/169] Compiling ArgumentParser FishCompletionsGenerator.swift
[106/169] Compiling ArgumentParser ZshCompletionsGenerator.swift
[107/169] Compiling ArgumentParser Argument.swift
[108/169] Compiling ArgumentParser ArgumentHelp.swift
[109/169] Compiling ArgumentParser ArgumentVisibility.swift
[110/169] Compiling ArgumentParser CompletionKind.swift
[111/169] Compiling ArgumentParser Errors.swift
[112/169] Compiling Markdown AtomicCounter.swift
[113/169] Compiling Markdown CharacterExtensions.swift
[114/169] Compiling Markdown CollectionExtensions.swift
[115/169] Compiling Markdown StringExtensions.swift
[116/169] Compiling Markdown MarkupVisitor.swift
[117/169] Compiling Markdown MarkupWalker.swift
[118/169] Compiling Markdown MarkupFormatter.swift
[119/169] Compiling Markdown MarkupTreeDumper.swift
[132/169] Compiling Markdown Text.swift
[133/169] Compiling Markdown Aside.swift
[134/169] Compiling Markdown BlockDirectiveParser.swift
[135/169] Compiling Markdown CommonMarkConverter.swift
[136/169] Compiling Markdown LazySplitLines.swift
[137/169] Compiling Markdown ParseOptions.swift
[138/169] Compiling Markdown RangeAdjuster.swift
[139/169] Compiling Markdown RangerTracker.swift
[144/171] Compiling ArgumentParser ParsableArgumentsValidation.swift
[145/171] Compiling ArgumentParser ParsableCommand.swift
[146/171] Compiling ArgumentParser ArgumentDecoder.swift
[156/171] Wrapping AST for Markdown for debugging
[169/173] Wrapping AST for ArgumentParser for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[171/191] 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:94: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:95: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:96: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:139: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 {
^~~~~~~~~~
[172/193] 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:118: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:119: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:120: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:121: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:122:48: error: value of type 'URL' has no member 'appending'
let proposalDirectoryURL = snapshotURL.appending(component: "proposals")
~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:139: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:161:60: error: extra argument 'strategy' in call
snapshotDate = try Date(dateString, strategy: .iso8601)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:161: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:234: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:251: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:263: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:268: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:276: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:283: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:289: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:297: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)
~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
[173/193] 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:118: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:119: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:120: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:121: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:122:48: error: value of type 'URL' has no member 'appending'
let proposalDirectoryURL = snapshotURL.appending(component: "proposals")
~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:139: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:161:60: error: extra argument 'strategy' in call
snapshotDate = try Date(dateString, strategy: .iso8601)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:161: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:234: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:251: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:263: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:268: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:276: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:283: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:289: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:297: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)
~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
[174/193] 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:118: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:119: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:120: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:121: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:122:48: error: value of type 'URL' has no member 'appending'
let proposalDirectoryURL = snapshotURL.appending(component: "proposals")
~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:139: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:161:60: error: extra argument 'strategy' in call
snapshotDate = try Date(dateString, strategy: .iso8601)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/ExtractionJob.swift:161: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:234: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:251: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:263: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:268: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:276: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:283: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:289: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:297: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)
~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
[175/193] Compiling EvolutionMetadataExtraction UpcomingFeatureFlagExtractor.swift
[176/193] Compiling EvolutionMetadataExtraction ProposalMetadataExtractor.swift
[177/193] Compiling EvolutionMetadataExtraction TitleExtractor.swift
[178/193] Compiling EvolutionMetadataExtraction TrackingBugExtractor.swift
[179/193] Compiling EvolutionMetadataExtraction DiscussionExtractor.swift
[180/193] Compiling EvolutionMetadataExtraction HeaderFieldExtractor.swift
[181/193] Compiling EvolutionMetadataExtraction ImplementationExtractor.swift
[182/193] 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)
~~~~~~~~~~~~~~ ^~~~~~~~~
[183/193] 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)
~~~~~~~~~~~~~~ ^~~~~~~~~
[184/193] Compiling EvolutionMetadataExtraction PersonExtractor.swift
[185/193] Compiling EvolutionMetadataExtraction PreviousProposalExtractor.swift
[186/193] Compiling EvolutionMetadataExtraction ProposalLinkExtractor.swift
[187/193] Compiling EvolutionMetadataExtraction Networking.swift
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:94: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:95: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:96: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:139: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:98: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:112: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:119: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:141:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: endpoint, cachePolicy: cachePolicy)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:148: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
~~~~~~~~ ^~~
[188/193] Compiling EvolutionMetadataExtraction ValidationIssues.swift
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:94: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:95: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:96: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:139: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:98: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:112: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:119: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:141:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: endpoint, cachePolicy: cachePolicy)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:148: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/193] 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)
^
[190/193] 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.9 linux