Build Information
Failed to build swift-evolution-metadata-extractor, reference main (df3bab
), with Swift 6.0 for Linux on 5 Nov 2024 13:01:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.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: 6.0
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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/swiftlang/swift-markdown
Fetching https://github.com/apple/swift-argument-parser.git
[1/6278] Fetching swift-markdown
[6279/18631] Fetching swift-markdown, swift-argument-parser
Fetched https://github.com/swiftlang/swift-markdown from cache (0.69s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.70s)
Computing version for https://github.com/swiftlang/swift-markdown
Computed https://github.com/swiftlang/swift-markdown at 0.5.0 (1.81s)
Fetching https://github.com/apple/swift-cmark.git
[1/17896] Fetching swift-cmark
Fetched https://github.com/apple/swift-cmark.git from cache (0.78s)
Computing version for https://github.com/apple/swift-cmark.git
Computed https://github.com/apple/swift-cmark.git at 0.5.0 (0.43s)
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.39s)
Creating working copy for https://github.com/swiftlang/swift-markdown
Working copy of https://github.com/swiftlang/swift-markdown 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/apple/swift-cmark.git
Working copy of https://github.com/apple/swift-cmark.git resolved at 0.5.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/51] Write sources
[2/51] Compiling cmark-gfm houdini_html_e.c
[3/51] Compiling cmark-gfm footnotes.c
[4/51] Compiling cmark-gfm-extensions tagfilter.c
[5/51] Compiling cmark-gfm-extensions tasklist.c
[6/51] Compiling cmark-gfm html.c
[7/51] Compiling cmark-gfm houdini_html_u.c
[8/51] Compiling cmark-gfm-extensions strikethrough.c
[9/51] Compiling cmark-gfm xml.c
[10/51] Compiling cmark-gfm-extensions ext_scanners.c
[11/51] Compiling cmark-gfm-extensions core-extensions.c
[12/51] Compiling cmark-gfm-extensions autolink.c
[13/51] Compiling cmark-gfm-extensions table.c
[14/51] Compiling cmark-gfm render.c
[15/51] Compiling cmark-gfm syntax_extension.c
[16/51] Compiling cmark-gfm references.c
[17/51] Compiling cmark-gfm registry.c
[18/51] Compiling cmark-gfm plugin.c
[19/51] Compiling cmark-gfm plaintext.c
[20/51] Compiling cmark-gfm houdini_href_e.c
[21/51] Write swift-version-24593BA9C3E375BF.txt
[22/51] Compiling cmark-gfm map.c
[23/51] Compiling cmark-gfm man.c
[24/51] Compiling cmark-gfm linked_list.c
[25/51] Compiling cmark-gfm utf8.c
[26/51] Compiling cmark-gfm iterator.c
[27/51] Compiling cmark-gfm cmark_ctype.c
[28/51] Compiling cmark-gfm latex.c
[29/51] Compiling cmark-gfm node.c
[30/51] Write sources
[33/51] Compiling cmark-gfm commonmark.c
[34/51] Compiling cmark-gfm cmark.c
[35/51] Write sources
[36/51] Compiling cmark-gfm buffer.c
[37/51] Write sources
[38/51] Compiling CAtomic CAtomic.c
[39/51] Compiling cmark-gfm arena.c
[40/51] Compiling cmark-gfm inlines.c
[41/51] Compiling cmark-gfm blocks.c
[42/51] Compiling cmark-gfm scanners.c
[44/123] Emitting module Markdown
[45/131] Compiling EvolutionMetadataModel Proposal+UpcomingFeatureFlag.swift
[46/131] Compiling EvolutionMetadataModel Proposal+TrackingBug.swift
[47/132] Compiling EvolutionMetadataModel Proposal+Status.swift
[48/132] Compiling EvolutionMetadataModel Proposal+Person.swift
[49/132] Emitting module ArgumentParserToolInfo
[50/132] Compiling ArgumentParserToolInfo ToolInfo.swift
[51/133] Compiling EvolutionMetadataModel Proposal+Implementation.swift
[52/133] Compiling EvolutionMetadataModel Proposal+Issue.swift
[53/133] Compiling Markdown Strikethrough.swift
[54/133] Compiling Markdown Strong.swift
[55/133] Compiling Markdown CustomInline.swift
[56/133] Compiling Markdown InlineCode.swift
[57/133] Compiling Markdown InlineHTML.swift
[58/133] Compiling Markdown LineBreak.swift
[59/133] Compiling Markdown SoftBreak.swift
[60/133] Compiling Markdown SymbolLink.swift
[62/133] Emitting module EvolutionMetadataModel
[63/133] Compiling Markdown BlockDirective.swift
[64/133] Compiling Markdown BlockQuote.swift
[65/133] Compiling Markdown MarkupRewriter.swift
[66/133] Compiling Markdown BasicBlockContainer.swift
[67/133] Compiling Markdown BasicInlineContainer.swift
[68/133] Compiling Markdown BlockContainer.swift
[69/133] Compiling Markdown BlockMarkup.swift
[70/133] Compiling Markdown InlineContainer.swift
[71/133] Compiling Markdown InlineMarkup.swift
[72/133] Compiling Markdown ListItemContainer.swift
[72/133] Wrapping AST for ArgumentParserToolInfo for debugging
[74/171] Compiling EvolutionMetadataModel Proposal.swift
[75/172] Wrapping AST for EvolutionMetadataModel for debugging
[77/172] Compiling ArgumentParser OptionGroup.swift
[78/172] Compiling ArgumentParser AsyncParsableCommand.swift
[79/172] Compiling ArgumentParser CommandConfiguration.swift
[80/172] Compiling ArgumentParser CommandGroup.swift
[81/172] Compiling ArgumentParser EnumerableFlag.swift
[82/177] Emitting module ArgumentParser
[83/177] Compiling ArgumentParser BashCompletionsGenerator.swift
[84/177] Compiling ArgumentParser CompletionsGenerator.swift
[85/177] Compiling ArgumentParser FishCompletionsGenerator.swift
[86/177] Compiling ArgumentParser ZshCompletionsGenerator.swift
[87/177] Compiling ArgumentParser Argument.swift
[88/177] Compiling ArgumentParser ArgumentHelp.swift
[89/177] Compiling ArgumentParser ArgumentVisibility.swift
[90/177] Compiling ArgumentParser CompletionKind.swift
[91/177] Compiling ArgumentParser Errors.swift
[92/177] Compiling ArgumentParser Flag.swift
[93/177] Compiling ArgumentParser NameSpecification.swift
[94/177] Compiling ArgumentParser Option.swift
[95/177] Compiling ArgumentParser CollectionExtensions.swift
[96/177] Compiling ArgumentParser Platform.swift
[97/177] Compiling ArgumentParser SequenceExtensions.swift
[98/177] Compiling ArgumentParser StringExtensions.swift
[99/177] Compiling ArgumentParser Tree.swift
[100/177] Compiling ArgumentParser ParsableArguments.swift
[101/177] Compiling ArgumentParser ParsableArgumentsValidation.swift
[102/177] Compiling ArgumentParser ParsableCommand.swift
[103/177] Compiling ArgumentParser ArgumentDecoder.swift
[104/177] Compiling ArgumentParser ArgumentDefinition.swift
[105/177] Compiling ArgumentParser ArgumentSet.swift
[106/177] Compiling ArgumentParser CommandParser.swift
[107/177] Compiling ArgumentParser InputKey.swift
[108/177] Compiling ArgumentParser InputOrigin.swift
[109/177] Compiling Markdown AtomicCounter.swift
[110/177] Compiling Markdown CharacterExtensions.swift
[111/177] Compiling Markdown CollectionExtensions.swift
[112/177] Compiling Markdown StringExtensions.swift
[113/177] Compiling Markdown MarkupVisitor.swift
[114/177] Compiling Markdown MarkupWalker.swift
[115/177] Compiling Markdown MarkupFormatter.swift
[116/177] Compiling Markdown MarkupTreeDumper.swift
[126/177] Compiling ArgumentParser MessageInfo.swift
[127/177] Compiling ArgumentParser UsageGenerator.swift
[133/177] Compiling Markdown TableBody.swift
[134/177] Compiling Markdown TableCell.swift
[135/177] Compiling Markdown Text.swift
[136/177] Compiling Markdown Aside.swift
[137/177] Compiling Markdown BlockDirectiveParser.swift
[138/177] Compiling Markdown CommonMarkConverter.swift
[139/177] Compiling Markdown LazySplitLines.swift
[140/177] Compiling Markdown ParseOptions.swift
[141/177] Compiling Markdown RangeAdjuster.swift
[142/177] Compiling Markdown RangerTracker.swift
[151/177] Compiling ArgumentParser ExpressibleByArgument.swift
[152/178] Wrapping AST for Markdown for debugging
[159/178] Compiling ArgumentParser Name.swift
[160/178] Compiling ArgumentParser Parsed.swift
[161/178] Compiling ArgumentParser ParsedValues.swift
[162/178] Compiling ArgumentParser ParserError.swift
[163/178] Compiling ArgumentParser SplitArguments.swift
[169/178] Compiling ArgumentParser DumpHelpGenerator.swift
[170/178] Compiling ArgumentParser HelpCommand.swift
[171/178] Compiling ArgumentParser HelpGenerator.swift
[174/179] Wrapping AST for ArgumentParser for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[176/197] Emitting module EvolutionMetadataExtraction
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:14:13: warning: var 'VERBOSE_ENABLED' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | // Will be nonisolated(unsafe) in Swift 5.10 and later
14 | private var VERBOSE_ENABLED: Bool = false // Set once in `validate(verbose:)`, read once for `verboseEnabled`.
| |- warning: var 'VERBOSE_ENABLED' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'VERBOSE_ENABLED' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'VERBOSE_ENABLED' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | func verbosePrint(_ items: Any..., additionalCondition: Bool = true, separator: String = " ", terminator: String = "\n\n") {
16 | if verboseEnabled && additionalCondition { print(items, separator: separator, terminator: terminator) }
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FoundationExtensions.swift:38:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
36 | // The tool runs in an environment where HTTP proxy info is provided through environment variables.
37 | // On first access, create the session using the proxy configuraton information, if present.
38 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
39 | static let customized: URLSession = {
40 | var proxyDictionary: [AnyHashable : Any] = [:]
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FoundationExtensions.swift:77:11: error: cannot find type 'URLRequest' in scope
75 |
76 | // Customized verbose logging of a URLRequest
77 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
78 | var verboseDescription: String {
79 | var logString = ""
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:139:95: error: cannot find type 'URLRequest' in scope
137 | }
138 |
139 | static func getGitHubAPIValue<T: Decodable>(for endpoint: URL, type: T.Type, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> T {
| `- error: cannot find type 'URLRequest' in scope
140 |
141 | var request = URLRequest(url: endpoint, cachePolicy: cachePolicy)
[177/199] Compiling EvolutionMetadataExtraction PersonExtractor.swift
[178/199] Compiling EvolutionMetadataExtraction PreviousProposalExtractor.swift
[179/199] Compiling EvolutionMetadataExtraction ProposalLinkExtractor.swift
[180/199] Compiling EvolutionMetadataExtraction DiscussionExtractor.swift
[181/199] Compiling EvolutionMetadataExtraction HeaderFieldExtractor.swift
[182/199] Compiling EvolutionMetadataExtraction ImplementationExtractor.swift
[183/199] Compiling EvolutionMetadataExtraction CommandLineSupport.swift
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:14:13: warning: var 'VERBOSE_ENABLED' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | // Will be nonisolated(unsafe) in Swift 5.10 and later
14 | private var VERBOSE_ENABLED: Bool = false // Set once in `validate(verbose:)`, read once for `verboseEnabled`.
| |- warning: var 'VERBOSE_ENABLED' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'VERBOSE_ENABLED' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'VERBOSE_ENABLED' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | func verbosePrint(_ items: Any..., additionalCondition: Bool = true, separator: String = " ", terminator: String = "\n\n") {
16 | if verboseEnabled && additionalCondition { print(items, separator: separator, terminator: terminator) }
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:37:24: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
35 |
36 | public static func validateHTTPProxies() {
37 | _ = URLSession.customized // Reads and validates HTTP Proxy environment variables if present
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
38 | }
39 |
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:31:90: warning: type 'KeyPath<SortableProposalWrapper, Int>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |
30 | // Combine and sort reused and newly extracted proposal metadata
31 | let sortedRecords = (reusableProposals + proposals).sorted(using: SortDescriptor(\.sortIndex))
| `- warning: type 'KeyPath<SortableProposalWrapper, Int>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | let combinedProposals = sortedRecords.map { $0.proposal }
33 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:43:93: warning: type 'WritableKeyPath<String, String>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
41 | }
42 | }
43 | let implementationVersions = implementationVersionSet.sorted(using: SortDescriptor(\.self))
| `- warning: type 'WritableKeyPath<String, String>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
44 |
45 | verbosePrint("Implementation Versions:", implementationVersions)
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
[184/199] Compiling EvolutionMetadataExtraction ExtractionJob.swift
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:14:13: warning: var 'VERBOSE_ENABLED' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | // Will be nonisolated(unsafe) in Swift 5.10 and later
14 | private var VERBOSE_ENABLED: Bool = false // Set once in `validate(verbose:)`, read once for `verboseEnabled`.
| |- warning: var 'VERBOSE_ENABLED' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'VERBOSE_ENABLED' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'VERBOSE_ENABLED' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | func verbosePrint(_ items: Any..., additionalCondition: Bool = true, separator: String = " ", terminator: String = "\n\n") {
16 | if verboseEnabled && additionalCondition { print(items, separator: separator, terminator: terminator) }
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:37:24: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
35 |
36 | public static func validateHTTPProxies() {
37 | _ = URLSession.customized // Reads and validates HTTP Proxy environment variables if present
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
38 | }
39 |
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:31:90: warning: type 'KeyPath<SortableProposalWrapper, Int>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |
30 | // Combine and sort reused and newly extracted proposal metadata
31 | let sortedRecords = (reusableProposals + proposals).sorted(using: SortDescriptor(\.sortIndex))
| `- warning: type 'KeyPath<SortableProposalWrapper, Int>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | let combinedProposals = sortedRecords.map { $0.proposal }
33 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:43:93: warning: type 'WritableKeyPath<String, String>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
41 | }
42 | }
43 | let implementationVersions = implementationVersionSet.sorted(using: SortDescriptor(\.self))
| `- warning: type 'WritableKeyPath<String, String>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
44 |
45 | verbosePrint("Implementation Versions:", implementationVersions)
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
[185/199] Compiling EvolutionMetadataExtraction EvolutionMetadataExtractor.swift
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:14:13: warning: var 'VERBOSE_ENABLED' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | // Will be nonisolated(unsafe) in Swift 5.10 and later
14 | private var VERBOSE_ENABLED: Bool = false // Set once in `validate(verbose:)`, read once for `verboseEnabled`.
| |- warning: var 'VERBOSE_ENABLED' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'VERBOSE_ENABLED' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'VERBOSE_ENABLED' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | func verbosePrint(_ items: Any..., additionalCondition: Bool = true, separator: String = " ", terminator: String = "\n\n") {
16 | if verboseEnabled && additionalCondition { print(items, separator: separator, terminator: terminator) }
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/CommandLineSupport.swift:37:24: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
35 |
36 | public static func validateHTTPProxies() {
37 | _ = URLSession.customized // Reads and validates HTTP Proxy environment variables if present
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
38 | }
39 |
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:31:90: warning: type 'KeyPath<SortableProposalWrapper, Int>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |
30 | // Combine and sort reused and newly extracted proposal metadata
31 | let sortedRecords = (reusableProposals + proposals).sorted(using: SortDescriptor(\.sortIndex))
| `- warning: type 'KeyPath<SortableProposalWrapper, Int>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | let combinedProposals = sortedRecords.map { $0.proposal }
33 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Extractors/EvolutionMetadataExtractor.swift:43:93: warning: type 'WritableKeyPath<String, String>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
41 | }
42 | }
43 | let implementationVersions = implementationVersionSet.sorted(using: SortDescriptor(\.self))
| `- warning: type 'WritableKeyPath<String, String>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
44 |
45 | verbosePrint("Implementation Versions:", implementationVersions)
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
[186/199] Compiling EvolutionMetadataExtraction Networking.swift
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:139:95: error: cannot find type 'URLRequest' in scope
137 | }
138 |
139 | static func getGitHubAPIValue<T: Decodable>(for endpoint: URL, type: T.Type, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> T {
| `- error: cannot find type 'URLRequest' in scope
140 |
141 | var request = URLRequest(url: endpoint, cachePolicy: cachePolicy)
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:18:23: error: cannot find 'URLRequest' in scope
16 |
17 | static func fetchPreviousResults() async throws -> [Proposal] {
18 | let request = URLRequest(url: previousResultsURL, cachePolicy: .reloadIgnoringLocalCacheData)
| `- error: cannot find 'URLRequest' in scope
19 | verbosePrint("Fetching with URLRequest:\n\(request.verboseDescription)")
20 | do {
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:18:73: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
16 |
17 | static func fetchPreviousResults() async throws -> [Proposal] {
18 | let request = URLRequest(url: previousResultsURL, cachePolicy: .reloadIgnoringLocalCacheData)
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
19 | verbosePrint("Fetching with URLRequest:\n\(request.verboseDescription)")
20 | do {
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:21:50: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
19 | verbosePrint("Fetching with URLRequest:\n\(request.verboseDescription)")
20 | do {
21 | let (data, _) = try await URLSession.customized.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
22 |
23 | do {
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:112:47: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
110 | // Note that fetching proposal contents does not use GitHub API endponts
111 | static func fetchProposalContents(from url: URL) async throws -> String {
112 | let (data, _) = try await URLSession.customized.data(from: url)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
113 | return String(decoding: data, as: UTF8.self)
114 | }
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:119:133: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
117 | // Always reload since a new commit may have occurred.
118 | // Caching for other calls is fine since the branch commit SHA is included in the requested URL
119 | let branchInfo = try await getGitHubAPIValue(for: Endpoint.githubMainBranchEndpoint, type: GitHubBranch.self, cachePolicy: .reloadIgnoringLocalCacheData)
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
120 | return branchInfo
121 | }
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:141:23: error: cannot find 'URLRequest' in scope
139 | static func getGitHubAPIValue<T: Decodable>(for endpoint: URL, type: T.Type, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> T {
140 |
141 | var request = URLRequest(url: endpoint, cachePolicy: cachePolicy)
| `- error: cannot find 'URLRequest' in scope
142 | request.setValue(gitHubTokenHeaderValue, forHTTPHeaderField: "Authorization")
143 | request.setValue("application/vnd.github+json", forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:148:57: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
146 |
147 | do {
148 | let (data, response) = try await URLSession.customized.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
149 |
150 | if verboseEnabled, let httpResponse = response as? HTTPURLResponse {
[187/199] Compiling EvolutionMetadataExtraction ValidationIssues.swift
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:139:95: error: cannot find type 'URLRequest' in scope
137 | }
138 |
139 | static func getGitHubAPIValue<T: Decodable>(for endpoint: URL, type: T.Type, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> T {
| `- error: cannot find type 'URLRequest' in scope
140 |
141 | var request = URLRequest(url: endpoint, cachePolicy: cachePolicy)
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:18:23: error: cannot find 'URLRequest' in scope
16 |
17 | static func fetchPreviousResults() async throws -> [Proposal] {
18 | let request = URLRequest(url: previousResultsURL, cachePolicy: .reloadIgnoringLocalCacheData)
| `- error: cannot find 'URLRequest' in scope
19 | verbosePrint("Fetching with URLRequest:\n\(request.verboseDescription)")
20 | do {
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:18:73: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
16 |
17 | static func fetchPreviousResults() async throws -> [Proposal] {
18 | let request = URLRequest(url: previousResultsURL, cachePolicy: .reloadIgnoringLocalCacheData)
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
19 | verbosePrint("Fetching with URLRequest:\n\(request.verboseDescription)")
20 | do {
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:21:50: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
19 | verbosePrint("Fetching with URLRequest:\n\(request.verboseDescription)")
20 | do {
21 | let (data, _) = try await URLSession.customized.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
22 |
23 | do {
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:112:47: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
110 | // Note that fetching proposal contents does not use GitHub API endponts
111 | static func fetchProposalContents(from url: URL) async throws -> String {
112 | let (data, _) = try await URLSession.customized.data(from: url)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
113 | return String(decoding: data, as: UTF8.self)
114 | }
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:119:133: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
117 | // Always reload since a new commit may have occurred.
118 | // Caching for other calls is fine since the branch commit SHA is included in the requested URL
119 | let branchInfo = try await getGitHubAPIValue(for: Endpoint.githubMainBranchEndpoint, type: GitHubBranch.self, cachePolicy: .reloadIgnoringLocalCacheData)
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
120 | return branchInfo
121 | }
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:141:23: error: cannot find 'URLRequest' in scope
139 | static func getGitHubAPIValue<T: Decodable>(for endpoint: URL, type: T.Type, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> T {
140 |
141 | var request = URLRequest(url: endpoint, cachePolicy: cachePolicy)
| `- error: cannot find 'URLRequest' in scope
142 | request.setValue(gitHubTokenHeaderValue, forHTTPHeaderField: "Authorization")
143 | request.setValue("application/vnd.github+json", forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/Networking.swift:148:57: error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
146 |
147 | do {
148 | let (data, response) = try await URLSession.customized.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'customized'
149 |
150 | if verboseEnabled, let httpResponse = response as? HTTPURLResponse {
[188/199] Compiling EvolutionMetadataExtraction UpcomingFeatureFlagExtractor.swift
[189/199] Compiling EvolutionMetadataExtraction ProposalMetadataExtractor.swift
[190/199] Compiling EvolutionMetadataExtraction StatusExtractor.swift
[191/199] Compiling EvolutionMetadataExtraction SummaryExtractor.swift
[192/199] Compiling EvolutionMetadataExtraction TitleExtractor.swift
[193/199] Compiling EvolutionMetadataExtraction TrackingBugExtractor.swift
[194/199] Compiling EvolutionMetadataExtraction FileUtilities.swift
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FoundationExtensions.swift:38:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
36 | // The tool runs in an environment where HTTP proxy info is provided through environment variables.
37 | // On first access, create the session using the proxy configuraton information, if present.
38 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
39 | static let customized: URLSession = {
40 | var proxyDictionary: [AnyHashable : Any] = [:]
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FoundationExtensions.swift:77:11: error: cannot find type 'URLRequest' in scope
75 |
76 | // Customized verbose logging of a URLRequest
77 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
78 | var verboseDescription: String {
79 | var logString = ""
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FoundationExtensions.swift:39:16: warning: static property 'customized' is not concurrency-safe because non-'Sendable' type 'URLSession' (aka 'AnyObject') may have shared mutable state; this is an error in the Swift 6 language mode
37 | // On first access, create the session using the proxy configuraton information, if present.
38 | extension URLSession {
39 | static let customized: URLSession = {
| |- warning: static property 'customized' is not concurrency-safe because non-'Sendable' type 'URLSession' (aka 'AnyObject') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'customized' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | var proxyDictionary: [AnyHashable : Any] = [:]
41 |
[195/199] Compiling EvolutionMetadataExtraction FoundationExtensions.swift
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FoundationExtensions.swift:38:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
36 | // The tool runs in an environment where HTTP proxy info is provided through environment variables.
37 | // On first access, create the session using the proxy configuraton information, if present.
38 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
39 | static let customized: URLSession = {
40 | var proxyDictionary: [AnyHashable : Any] = [:]
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FoundationExtensions.swift:77:11: error: cannot find type 'URLRequest' in scope
75 |
76 | // Customized verbose logging of a URLRequest
77 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
78 | var verboseDescription: String {
79 | var logString = ""
/host/spi-builder-workspace/Sources/EvolutionMetadataExtraction/Utilities/FoundationExtensions.swift:39:16: warning: static property 'customized' is not concurrency-safe because non-'Sendable' type 'URLSession' (aka 'AnyObject') may have shared mutable state; this is an error in the Swift 6 language mode
37 | // On first access, create the session using the proxy configuraton information, if present.
38 | extension URLSession {
39 | static let customized: URLSession = {
| |- warning: static property 'customized' is not concurrency-safe because non-'Sendable' type 'URLSession' (aka 'AnyObject') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'customized' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | var proxyDictionary: [AnyHashable : Any] = [:]
41 |
BUILD FAILURE 6.0 linux