Build Information
Failed to build Xcresultparser, reference main (95ca65), with Swift 6.4 for visionOS using Xcode 27.0 on 26 Sep 2026 08:53:06 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Xcresultparser-Package -destination generic/platform=xrOSBuild Log
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/XCResultFormatter.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCResultFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SharedTypes/Services/Shell.swift:27:24: error: cannot find 'Process' in scope
25 | ) throws -> Data {
26 | try autoreleasepool {
27 | let task = Process()
| `- error: cannot find 'Process' in scope
28 | if let directoryUrl = executionPath {
29 | task.currentDirectoryURL = directoryUrl
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SonarCoverageConverter.swift:48:17: error: cannot find type 'XMLElement' in scope
46 | coverageData: [LineDetail],
47 | relativeTo projectRoot: String
48 | ) throws -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
49 | let fileElement = XMLElement(name: "file")
50 | fileElement.addAttribute(name: "path", stringValue: file.relativePath(relativeTo: projectRoot) ?? file)
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SonarCoverageConverter.swift:20:27: error: cannot find 'XMLElement' in scope
18 |
19 | override public func xmlString(quiet: Bool) throws -> String {
20 | let coverageXML = XMLElement(name: "coverage")
| `- error: cannot find 'XMLElement' in scope
21 | coverageXML.addAttribute(name: "version", stringValue: "1")
22 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SonarCoverageConverter.swift:41:49: error: reference to member 'nodePrettyPrint' cannot be resolved without a contextual type
39 | }
40 |
41 | return coverageXML.xmlString(options: [.nodePrettyPrint, .nodeCompactEmptyElement])
| `- error: reference to member 'nodePrettyPrint' cannot be resolved without a contextual type
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SonarCoverageConverter.swift:41:67: error: reference to member 'nodeCompactEmptyElement' cannot be resolved without a contextual type
39 | }
40 |
41 | return coverageXML.xmlString(options: [.nodePrettyPrint, .nodeCompactEmptyElement])
| `- error: reference to member 'nodeCompactEmptyElement' cannot be resolved without a contextual type
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SonarCoverageConverter.swift:49:27: error: cannot find 'XMLElement' in scope
47 | relativeTo projectRoot: String
48 | ) throws -> XMLElement {
49 | let fileElement = XMLElement(name: "file")
| `- error: cannot find 'XMLElement' in scope
50 | fileElement.addAttribute(name: "path", stringValue: file.relativePath(relativeTo: projectRoot) ?? file)
51 | for lineData in coverageData where lineData.isExecutable {
SwiftCompile normal arm64 Compiling\ XCTestDetails.swift,\ XCTestFailure.swift,\ XCTestNode+Extensions.swift,\ XCTestNode.swift,\ XCTestNodeType.swift,\ XCTestResult.swift,\ XCTestRunActivities.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestDetails.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestFailure.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestNode+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestNode.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestNodeType.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestResult.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestRunActivities.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestDetails.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTestDetails.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestFailure.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTestFailure.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestNode+Extensions.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTestNode+Extensions.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestNode.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTestNode.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestNodeType.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTestNodeType.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestResult.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTestResult.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestRunActivities.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTestRunActivities.swift
SwiftCompile normal arm64 Compiling\ XCInsightSummary.swift,\ XCInsights.swift,\ XCIssue.swift,\ XCLongestTestRunsInsight.swift,\ XCMetric.swift,\ XCStatistic.swift,\ XCSummary.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCInsightSummary.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCInsights.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCIssue.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCLongestTestRunsInsight.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCMetric.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCStatistic.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCSummary.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCInsightSummary.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCInsightSummary.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCInsights.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCInsights.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCIssue.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCIssue.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCLongestTestRunsInsight.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCLongestTestRunsInsight.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCMetric.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCMetric.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCStatistic.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCStatistic.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCSummary.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCSummary.swift
SwiftCompile normal arm64 Compiling\ XCCommonFailureInsight.swift,\ XCConfiguration.swift,\ XCContent.swift,\ XCDestination.swift,\ XCDevice.swift,\ XCDeviceAndConfigurationSummary.swift,\ XCFailureDistributionInsight.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCCommonFailureInsight.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCContent.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCDestination.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCDevice.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCDeviceAndConfigurationSummary.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCFailureDistributionInsight.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCCommonFailureInsight.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCCommonFailureInsight.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCConfiguration.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCConfiguration.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCContent.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCContent.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCDestination.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCDestination.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCDevice.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCDevice.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCDeviceAndConfigurationSummary.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCDeviceAndConfigurationSummary.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCFailureDistributionInsight.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCFailureDistributionInsight.swift
SwiftCompile normal arm64 Compiling\ IssuesJSON.swift,\ JunitXML.swift,\ IssueLocationInfo.swift,\ Issue.swift,\ IssueCategory.swift,\ IssueContent.swift,\ IssueLocation.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/IssuesJSON.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IntermediateObjects/IssueLocationInfo.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/Issue.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssueCategory.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssueContent.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssueLocation.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:40:22: error: cannot find type 'XMLElement' in scope
38 | let value: String
39 |
40 | var xmlNode: XMLElement {
| `- error: cannot find type 'XMLElement' in scope
41 | let prop = XMLElement(name: "property")
42 | prop.addAttribute(name: name, stringValue: value)
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:107:33: error: cannot find type 'XMLElement' in scope
105 | }
106 |
107 | func createRootElement() -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
108 | let element = XMLElement(name: nodeNames.testsuitesName)
109 | if testReportFormat == .sonar {
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:185:11: error: cannot find type 'XMLElement' in scope
183 | configurationName: String,
184 | testDirectory: String = ""
185 | ) -> [XMLElement] {
| `- error: cannot find type 'XMLElement' in scope
186 | guard group.identifierString.hasSuffix(".xctest") || group.subtestGroups.isEmpty else {
187 | return group.subtestGroups.reduce([XMLElement]()) {
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:244:10: error: cannot find type 'XMLElement' in scope
242 | testDirectory: String = "",
243 | configurationName: String
244 | ) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
245 | let node = testReportFormat == .sonar ?
246 | group.sonarFileXML(
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:266:11: error: cannot find type 'XMLElement' in scope
264 | private func createTestCases(
265 | for name: String, tests: [JunitTest], failureSummaries: [JunitFailureSummary]
266 | ) -> [XMLElement] {
| `- error: cannot find type 'XMLElement' in scope
267 | var combined = [XMLElement]()
268 | for thisTest in tests {
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:281:10: error: cannot find type 'XMLElement' in scope
279 | private func createTestCase(
280 | test: JunitTest, classname: String, failureSummaries: [JunitFailureSummary]
281 | ) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
282 | let testcase = test.xmlNode(
283 | classname: classname,
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:318:50: error: cannot find type 'XMLElement' in scope
316 | // on `testCase`, so for sonar output the attribute is omitted and only the
317 | // `[FLAKY]` message prefix remains.
318 | private func markTestcaseAsFlaky(_ testcase: XMLElement) {
| `- error: cannot find type 'XMLElement' in scope
319 | if testReportFormat != .sonar {
320 | testcase.addAttribute(name: "flaky", stringValue: "true")
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:329:40: error: cannot find type 'XMLElement' in scope
327 | }
328 |
329 | private var failureWithoutSummary: XMLElement {
| `- error: cannot find type 'XMLElement' in scope
330 | return XMLElement(name: "failure")
331 | }
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:333:40: error: cannot find type 'XMLElement' in scope
331 | }
332 |
333 | private var skippedWithoutSummary: XMLElement {
| `- error: cannot find type 'XMLElement' in scope
334 | return XMLElement(name: "skipped")
335 | }
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:337:57: error: cannot find type 'XMLElement' in scope
335 | }
336 |
337 | private func addSessionLevelFailures(to testsuites: XMLElement) {
| `- error: cannot find type 'XMLElement' in scope
338 | // Get session-level failures that weren't matched to any specific test
339 | let unmatchedFailures = dataProvider.sessionLevelFailures
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:372:11: error: cannot find type 'XMLElement' in scope
370 | }
371 |
372 | extension XMLElement {
| `- error: cannot find type 'XMLElement' in scope
373 | func addAttribute(name: String, stringValue: String) {
374 | if let attr = XMLNode.attribute(withName: name, stringValue: stringValue) as? XMLNode {
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:386:10: error: cannot find type 'XMLElement' in scope
384 | format: TestReportFormat,
385 | nodeNames: NodeNames
386 | ) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
387 | let testcase = XMLElement(name: nodeNames.testcaseName)
388 | testcase.addAttribute(name: "name", stringValue: name ?? "No-name")
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:437:57: error: cannot find type 'XMLElement' in scope
435 | }
436 |
437 | func testSuiteXML(numFormatter: NumberFormatter) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
438 | let testsuite = XMLElement(name: "testsuite")
439 | testsuite.addAttribute(name: "name", stringValue: nameString)
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:448:124: error: cannot find type 'XMLElement' in scope
446 | }
447 |
448 | func sonarFileXML(projectRoot: URL?, configurationName: String, relativePathNames: Bool = true, shell: Commandline) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
449 | let testsuite = XMLElement(name: "file")
450 | testsuite.addAttribute(
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:564:49: error: cannot find type 'XMLElement' in scope
562 |
563 | private extension JunitFailureSummary {
564 | func failureXML(projectRoot: URL? = nil) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
565 | let failure = XMLElement(name: "failure")
566 | var value = message
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:41:24: error: cannot find 'XMLElement' in scope
39 |
40 | var xmlNode: XMLElement {
41 | let prop = XMLElement(name: "property")
| `- error: cannot find 'XMLElement' in scope
42 | prop.addAttribute(name: name, stringValue: value)
43 | return prop
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:108:23: error: cannot find 'XMLElement' in scope
106 |
107 | func createRootElement() -> XMLElement {
108 | let element = XMLElement(name: nodeNames.testsuitesName)
| `- error: cannot find 'XMLElement' in scope
109 | if testReportFormat == .sonar {
110 | element.addAttribute(name: "version", stringValue: "1")
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:117:19: error: cannot find 'XMLDocument' in scope
115 | public var xmlString: String {
116 | let testsuites = createRootElement()
117 | let xml = XMLDocument(rootElement: testsuites)
| `- error: cannot find 'XMLDocument' in scope
118 | xml.characterEncoding = "UTF-8"
119 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:129:45: error: reference to member 'nodePrettyPrint' cannot be resolved without a contextual type
127 | let testActions = dataProvider.testActions
128 | guard !testActions.isEmpty else {
129 | return xml.xmlString(options: [.nodePrettyPrint, .nodeCompactEmptyElement])
| `- error: reference to member 'nodePrettyPrint' cannot be resolved without a contextual type
130 | }
131 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:129:63: error: reference to member 'nodeCompactEmptyElement' cannot be resolved without a contextual type
127 | let testActions = dataProvider.testActions
128 | guard !testActions.isEmpty else {
129 | return xml.xmlString(options: [.nodePrettyPrint, .nodeCompactEmptyElement])
| `- error: reference to member 'nodeCompactEmptyElement' cannot be resolved without a contextual type
130 | }
131 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:170:41: error: reference to member 'nodePrettyPrint' cannot be resolved without a contextual type
168 | addSessionLevelFailures(to: testsuites)
169 |
170 | return xml.xmlString(options: [.nodePrettyPrint, .nodeCompactEmptyElement])
| `- error: reference to member 'nodePrettyPrint' cannot be resolved without a contextual type
171 | }
172 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:170:59: error: reference to member 'nodeCompactEmptyElement' cannot be resolved without a contextual type
168 | addSessionLevelFailures(to: testsuites)
169 |
170 | return xml.xmlString(options: [.nodePrettyPrint, .nodeCompactEmptyElement])
| `- error: reference to member 'nodeCompactEmptyElement' cannot be resolved without a contextual type
171 | }
172 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:187:48: error: cannot find 'XMLElement' in scope
185 | ) -> [XMLElement] {
186 | guard group.identifierString.hasSuffix(".xctest") || group.subtestGroups.isEmpty else {
187 | return group.subtestGroups.reduce([XMLElement]()) {
| `- error: cannot find 'XMLElement' in scope
188 | rslt,
189 | subGroup in
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:187:47: error: cannot call value of non-function type '[Element]'
185 | ) -> [XMLElement] {
186 | guard group.identifierString.hasSuffix(".xctest") || group.subtestGroups.isEmpty else {
187 | return group.subtestGroups.reduce([XMLElement]()) {
| `- error: cannot call value of non-function type '[Element]'
188 | rslt,
189 | subGroup in
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:210:30: error: cannot find 'XMLElement' in scope
208 | } else {
209 | if testReportFormat == .sonar {
210 | var nodes = [XMLElement]()
| `- error: cannot find 'XMLElement' in scope
211 | for subGroup in group.subtestGroups {
212 | let node = subGroup.sonarFileXML(
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:210:29: error: cannot call value of non-function type '[Element]'
208 | } else {
209 | if testReportFormat == .sonar {
210 | var nodes = [XMLElement]()
| `- error: cannot call value of non-function type '[Element]'
211 | for subGroup in group.subtestGroups {
212 | let node = subGroup.sonarFileXML(
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:226:60: error: cannot find 'XMLElement' in scope
224 | return nodes
225 | } else {
226 | let combined = group.subtestGroups.reduce([XMLElement]()) { rslt, subGroup in
| `- error: cannot find 'XMLElement' in scope
227 | return rslt + createTestCases(
228 | for: subGroup.nameString, tests: subGroup.subtests, failureSummaries: failureSummaries
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:226:59: error: cannot call value of non-function type '[Element]'
224 | return nodes
225 | } else {
226 | let combined = group.subtestGroups.reduce([XMLElement]()) { rslt, subGroup in
| `- error: cannot call value of non-function type '[Element]'
227 | return rslt + createTestCases(
228 | for: subGroup.nameString, tests: subGroup.subtests, failureSummaries: failureSummaries
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:267:25: error: cannot find 'XMLElement' in scope
265 | for name: String, tests: [JunitTest], failureSummaries: [JunitFailureSummary]
266 | ) -> [XMLElement] {
267 | var combined = [XMLElement]()
| `- error: cannot find 'XMLElement' in scope
268 | for thisTest in tests {
269 | let testcase = createTestCase(
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:267:24: error: cannot call value of non-function type '[Element]'
265 | for name: String, tests: [JunitTest], failureSummaries: [JunitFailureSummary]
266 | ) -> [XMLElement] {
267 | var combined = [XMLElement]()
| `- error: cannot call value of non-function type '[Element]'
268 | for thisTest in tests {
269 | let testcase = createTestCase(
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:322:33: error: cannot find type 'XMLElement' in scope
320 | testcase.addAttribute(name: "flaky", stringValue: "true")
321 | }
322 | for case let failure as XMLElement in testcase.children ?? [] where failure.name == "failure" {
| `- error: cannot find type 'XMLElement' in scope
323 | let labeled = "[FLAKY] " + (failure.attribute(forName: "message")?.stringValue ?? "passed on retry")
324 | failure.removeAttribute(forName: "message")
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:330:16: error: cannot find 'XMLElement' in scope
328 |
329 | private var failureWithoutSummary: XMLElement {
330 | return XMLElement(name: "failure")
| `- error: cannot find 'XMLElement' in scope
331 | }
332 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:334:16: error: cannot find 'XMLElement' in scope
332 |
333 | private var skippedWithoutSummary: XMLElement {
334 | return XMLElement(name: "skipped")
| `- error: cannot find 'XMLElement' in scope
335 | }
336 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:346:32: error: cannot find 'XMLElement' in scope
344 | // For Sonar format, we skip this as it expects file-based organization
345 | if testReportFormat != .sonar {
346 | let sessionSuite = XMLElement(name: "testsuite")
| `- error: cannot find 'XMLElement' in scope
347 | sessionSuite.addAttribute(name: "name", stringValue: "Session-level issues")
348 | sessionSuite.addAttribute(name: "tests", stringValue: String(unmatchedFailures.count))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:354:32: error: cannot find 'XMLElement' in scope
352 |
353 | for failure in unmatchedFailures {
354 | let testcase = XMLElement(name: nodeNames.testcaseName)
| `- error: cannot find 'XMLElement' in scope
355 | let testName = failure.testCaseName.isEmpty ? "Unknown test" : failure.testCaseName
356 | testcase.addAttribute(name: "name", stringValue: testName)
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:387:24: error: cannot find 'XMLElement' in scope
385 | nodeNames: NodeNames
386 | ) -> XMLElement {
387 | let testcase = XMLElement(name: nodeNames.testcaseName)
| `- error: cannot find 'XMLElement' in scope
388 | testcase.addAttribute(name: "name", stringValue: name ?? "No-name")
389 | if format == .sonar {
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:438:25: error: cannot find 'XMLElement' in scope
436 |
437 | func testSuiteXML(numFormatter: NumberFormatter) -> XMLElement {
438 | let testsuite = XMLElement(name: "testsuite")
| `- error: cannot find 'XMLElement' in scope
439 | testsuite.addAttribute(name: "name", stringValue: nameString)
440 | let stats = statistics
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:449:25: error: cannot find 'XMLElement' in scope
447 |
448 | func sonarFileXML(projectRoot: URL?, configurationName: String, relativePathNames: Bool = true, shell: Commandline) -> XMLElement {
449 | let testsuite = XMLElement(name: "file")
| `- error: cannot find 'XMLElement' in scope
450 | testsuite.addAttribute(
451 | name: "path",
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:565:23: error: cannot find 'XMLElement' in scope
563 | private extension JunitFailureSummary {
564 | func failureXML(projectRoot: URL? = nil) -> XMLElement {
565 | let failure = XMLElement(name: "failure")
| `- error: cannot find 'XMLElement' in scope
566 | var value = message
567 | if let loc = documentLocation {
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/IssuesJSON.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile IssuesJSON.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile JunitXML.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IntermediateObjects/IssueLocationInfo.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile IssueLocationInfo.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/Issue.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Issue.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssueCategory.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile IssueCategory.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssueContent.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile IssueContent.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssueLocation.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile IssueLocation.swift
SwiftCompile normal arm64 Compiling\ Subrange.swift,\ XCActivities.swift,\ XCActivityNode.swift,\ XCArgument.swift,\ XCAttachment.swift,\ XCBug.swift,\ XCBuildResults.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/Coverage/Subrange.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCActivities.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCActivityNode.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCArgument.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCAttachment.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCBug.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCBuildResults.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/Coverage/Subrange.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Subrange.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCActivities.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCActivities.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCActivityNode.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCActivityNode.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCArgument.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCArgument.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCAttachment.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCAttachment.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCBug.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCBug.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCBuildResults.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCBuildResults.swift
SwiftCompile normal arm64 Compiling\ IssueLocationData.swift,\ IssuePositionData.swift,\ IssueSeverity.swift,\ PositionData.swift,\ CoverageReport.swift,\ FileCoverage.swift,\ LineDetail.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssueLocationData.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssuePositionData.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssueSeverity.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/PositionData.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/Coverage/CoverageReport.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/Coverage/FileCoverage.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/Coverage/LineDetail.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssueLocationData.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile IssueLocationData.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssuePositionData.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile IssuePositionData.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssueSeverity.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile IssueSeverity.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/PositionData.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PositionData.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/Coverage/CoverageReport.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CoverageReport.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/Coverage/FileCoverage.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FileCoverage.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/Coverage/LineDetail.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LineDetail.swift
SwiftCompile normal arm64 Compiling\ CoberturaCoverageConverter.swift,\ CoverageConverter.swift,\ JunitXMLDataProviding.swift,\ XCResultToolJunitXMLDataProvider.swift,\ Data+MD5.swift,\ String+MD5.swift,\ String+relativePath.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoverageConverter.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/DataProviders/JunitXML/JunitXMLDataProviding.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/DataProviders/JunitXML/XCResultToolJunitXMLDataProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Extensions/Data+MD5.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Extensions/String+MD5.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Extensions/String+relativePath.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:159:31: error: cannot find type 'XMLDTD' in scope
157 | }
158 |
159 | private func readDTD() -> XMLDTD {
| `- error: cannot find type 'XMLDTD' in scope
160 | do {
161 | return try XMLDTD(data: Data(dtd04.utf8))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:167:39: error: cannot find type 'XMLElement' in scope
165 | }
166 |
167 | private func makeRootElement() -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
168 | // Cobertura requires these attributes; branch/complexity values are placeholders for now.
169 | let timeStamp = startTime ?? Date().timeIntervalSince1970
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:294:19: error: cannot find type 'XMLNode' in scope
292 | }
293 |
294 | private extension XMLNode {
| `- error: cannot find type 'XMLNode' in scope
295 | static func nodeAttribute(withName name: String, stringValue value: String) -> XMLNode {
296 | guard let attribute = XMLNode.attribute(withName: name, stringValue: value) as? XMLNode else {
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:55:19: error: cannot find 'XMLDocument' in scope
53 | let rootElement = makeRootElement()
54 |
55 | let doc = XMLDocument(rootElement: rootElement)
| `- error: cannot find 'XMLDocument' in scope
56 | doc.version = "1.0"
57 | doc.dtd = dtd
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:58:35: error: cannot find 'XMLDocument' in scope
56 | doc.version = "1.0"
57 | doc.dtd = dtd
58 | doc.documentContentKind = XMLDocument.ContentKind.xml
| `- error: cannot find 'XMLDocument' in scope
59 |
60 | let sourceElement = XMLElement(name: "sources")
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:60:29: error: cannot find 'XMLElement' in scope
58 | doc.documentContentKind = XMLDocument.ContentKind.xml
59 |
60 | let sourceElement = XMLElement(name: "sources")
| `- error: cannot find 'XMLElement' in scope
61 | rootElement.addChild(sourceElement)
62 | sourceElement.addChild(XMLElement(name: "source", stringValue: projectRoot.isEmpty ? "." : projectRoot))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:62:32: error: cannot find 'XMLElement' in scope
60 | let sourceElement = XMLElement(name: "sources")
61 | rootElement.addChild(sourceElement)
62 | sourceElement.addChild(XMLElement(name: "source", stringValue: projectRoot.isEmpty ? "." : projectRoot))
| `- error: cannot find 'XMLElement' in scope
63 |
64 | let packagesElement = XMLElement(name: "packages")
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:64:31: error: cannot find 'XMLElement' in scope
62 | sourceElement.addChild(XMLElement(name: "source", stringValue: projectRoot.isEmpty ? "." : projectRoot))
63 |
64 | let packagesElement = XMLElement(name: "packages")
| `- error: cannot find 'XMLElement' in scope
65 | rootElement.addChild(packagesElement)
66 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:101:36: error: cannot find type 'XMLElement' in scope
99 |
100 | var currentPackage = ""
101 | var currentPackageElement: XMLElement!
| `- error: cannot find type 'XMLElement' in scope
102 | var isNewPackage = false
103 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:104:37: error: cannot find 'XMLElement' in scope
102 | var isNewPackage = false
103 |
104 | var currentClassesElement = XMLElement()
| `- error: cannot find 'XMLElement' in scope
105 |
106 | for file in fileInfo {
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:113:41: error: cannot find 'XMLElement' in scope
111 |
112 | if isNewPackage {
113 | currentPackageElement = XMLElement(name: "package")
| `- error: cannot find 'XMLElement' in scope
114 | currentClassesElement = XMLElement()
115 | packagesElement.addChild(currentPackageElement)
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:114:41: error: cannot find 'XMLElement' in scope
112 | if isNewPackage {
113 | currentPackageElement = XMLElement(name: "package")
114 | currentClassesElement = XMLElement()
| `- error: cannot find 'XMLElement' in scope
115 | packagesElement.addChild(currentPackageElement)
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:121:52: error: cannot find 'XMLNode' in scope
119 | if isNewPackage {
120 | let packageLineCoverage = calculatePackageLineCoverage(for: packageName, in: fileInfo)
121 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "name", stringValue: packageName))
| `- error: cannot find 'XMLNode' in scope
122 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "line-rate", stringValue: "\(packageLineCoverage)"))
123 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "branch-rate", stringValue: "1.0"))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:122:52: error: cannot find 'XMLNode' in scope
120 | let packageLineCoverage = calculatePackageLineCoverage(for: packageName, in: fileInfo)
121 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "name", stringValue: packageName))
122 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "line-rate", stringValue: "\(packageLineCoverage)"))
| `- error: cannot find 'XMLNode' in scope
123 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "branch-rate", stringValue: "1.0"))
124 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "complexity", stringValue: "0.0"))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:123:52: error: cannot find 'XMLNode' in scope
121 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "name", stringValue: packageName))
122 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "line-rate", stringValue: "\(packageLineCoverage)"))
123 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "branch-rate", stringValue: "1.0"))
| `- error: cannot find 'XMLNode' in scope
124 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "complexity", stringValue: "0.0"))
125 | currentClassesElement = XMLElement(name: "classes")
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:124:52: error: cannot find 'XMLNode' in scope
122 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "line-rate", stringValue: "\(packageLineCoverage)"))
123 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "branch-rate", stringValue: "1.0"))
124 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "complexity", stringValue: "0.0"))
| `- error: cannot find 'XMLNode' in scope
125 | currentClassesElement = XMLElement(name: "classes")
126 | currentPackageElement.addChild(currentClassesElement)
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:125:41: error: cannot find 'XMLElement' in scope
123 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "branch-rate", stringValue: "1.0"))
124 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "complexity", stringValue: "0.0"))
125 | currentClassesElement = XMLElement(name: "classes")
| `- error: cannot find 'XMLElement' in scope
126 | currentPackageElement.addChild(currentClassesElement)
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:129:32: error: cannot find 'XMLElement' in scope
127 | }
128 |
129 | let classElement = XMLElement(name: "class")
| `- error: cannot find 'XMLElement' in scope
130 | let className = createValidClassName(from: file.path, packageName: packageName)
131 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "name", stringValue: className))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:131:39: error: cannot find 'XMLNode' in scope
129 | let classElement = XMLElement(name: "class")
130 | let className = createValidClassName(from: file.path, packageName: packageName)
131 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "name", stringValue: className))
| `- error: cannot find 'XMLNode' in scope
132 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "filename", stringValue: file.path))
133 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:132:39: error: cannot find 'XMLNode' in scope
130 | let className = createValidClassName(from: file.path, packageName: packageName)
131 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "name", stringValue: className))
132 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "filename", stringValue: file.path))
| `- error: cannot find 'XMLNode' in scope
133 |
134 | let fileLineCoverage = Float(file.lines.count(where: { $0.coverage > 0 })) / Float(file.lines.count)
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:135:39: error: cannot find 'XMLNode' in scope
133 |
134 | let fileLineCoverage = Float(file.lines.count(where: { $0.coverage > 0 })) / Float(file.lines.count)
135 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "line-rate", stringValue: "\(fileLineCoverage)"))
| `- error: cannot find 'XMLNode' in scope
136 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "branch-rate", stringValue: "1.0"))
137 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "complexity", stringValue: "0.0"))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:136:39: error: cannot find 'XMLNode' in scope
134 | let fileLineCoverage = Float(file.lines.count(where: { $0.coverage > 0 })) / Float(file.lines.count)
135 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "line-rate", stringValue: "\(fileLineCoverage)"))
136 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "branch-rate", stringValue: "1.0"))
| `- error: cannot find 'XMLNode' in scope
137 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "complexity", stringValue: "0.0"))
138 | currentClassesElement.addChild(classElement)
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:137:39: error: cannot find 'XMLNode' in scope
135 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "line-rate", stringValue: "\(fileLineCoverage)"))
136 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "branch-rate", stringValue: "1.0"))
137 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "complexity", stringValue: "0.0"))
| `- error: cannot find 'XMLNode' in scope
138 | currentClassesElement.addChild(classElement)
139 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:141:34: error: cannot find 'XMLElement' in scope
139 |
140 | // Add empty methods element as required by DTD
141 | let methodsElement = XMLElement(name: "methods")
| `- error: cannot find 'XMLElement' in scope
142 | classElement.addChild(methodsElement)
143 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:144:32: error: cannot find 'XMLElement' in scope
142 | classElement.addChild(methodsElement)
143 |
144 | let linesElement = XMLElement(name: "lines")
| `- error: cannot find 'XMLElement' in scope
145 | classElement.addChild(linesElement)
146 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:148:35: error: cannot find 'XMLElement' in scope
146 |
147 | for line in file.lines {
148 | let lineElement = XMLElement(name: "line")
| `- error: cannot find 'XMLElement' in scope
149 | lineElement.addAttribute(XMLNode.nodeAttribute(withName: "number", stringValue: "\(line.lineNumber)"))
150 | lineElement.addAttribute(XMLNode.nodeAttribute(withName: "branch", stringValue: "false"))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:149:42: error: cannot find 'XMLNode' in scope
147 | for line in file.lines {
148 | let lineElement = XMLElement(name: "line")
149 | lineElement.addAttribute(XMLNode.nodeAttribute(withName: "number", stringValue: "\(line.lineNumber)"))
| `- error: cannot find 'XMLNode' in scope
150 | lineElement.addAttribute(XMLNode.nodeAttribute(withName: "branch", stringValue: "false"))
151 | lineElement.addAttribute(XMLNode.nodeAttribute(withName: "hits", stringValue: "\(line.coverage)"))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:150:42: error: cannot find 'XMLNode' in scope
148 | let lineElement = XMLElement(name: "line")
149 | lineElement.addAttribute(XMLNode.nodeAttribute(withName: "number", stringValue: "\(line.lineNumber)"))
150 | lineElement.addAttribute(XMLNode.nodeAttribute(withName: "branch", stringValue: "false"))
| `- error: cannot find 'XMLNode' in scope
151 | lineElement.addAttribute(XMLNode.nodeAttribute(withName: "hits", stringValue: "\(line.coverage)"))
152 | linesElement.addChild(lineElement)
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:151:42: error: cannot find 'XMLNode' in scope
149 | lineElement.addAttribute(XMLNode.nodeAttribute(withName: "number", stringValue: "\(line.lineNumber)"))
150 | lineElement.addAttribute(XMLNode.nodeAttribute(withName: "branch", stringValue: "false"))
151 | lineElement.addAttribute(XMLNode.nodeAttribute(withName: "hits", stringValue: "\(line.coverage)"))
| `- error: cannot find 'XMLNode' in scope
152 | linesElement.addChild(lineElement)
153 | }
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:156:41: error: reference to member 'nodePrettyPrint' cannot be resolved without a contextual type
154 | }
155 |
156 | return doc.xmlString(options: [.nodePrettyPrint, .nodeCompactEmptyElement])
| `- error: reference to member 'nodePrettyPrint' cannot be resolved without a contextual type
157 | }
158 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:156:59: error: reference to member 'nodeCompactEmptyElement' cannot be resolved without a contextual type
154 | }
155 |
156 | return doc.xmlString(options: [.nodePrettyPrint, .nodeCompactEmptyElement])
| `- error: reference to member 'nodeCompactEmptyElement' cannot be resolved without a contextual type
157 | }
158 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:161:24: error: cannot find 'XMLDTD' in scope
159 | private func readDTD() -> XMLDTD {
160 | do {
161 | return try XMLDTD(data: Data(dtd04.utf8))
| `- error: cannot find 'XMLDTD' in scope
162 | } catch {
163 | fatalError("DTD could not be constructed. Error: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:170:27: error: cannot find 'XMLElement' in scope
168 | // Cobertura requires these attributes; branch/complexity values are placeholders for now.
169 | let timeStamp = startTime ?? Date().timeIntervalSince1970
170 | let rootElement = XMLElement(name: "coverage")
| `- error: cannot find 'XMLElement' in scope
171 | rootElement.addAttribute(
172 | XMLNode.nodeAttribute(withName: "line-rate", stringValue: "\(lineCoverage)")
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:172:13: error: cannot find 'XMLNode' in scope
170 | let rootElement = XMLElement(name: "coverage")
171 | rootElement.addAttribute(
172 | XMLNode.nodeAttribute(withName: "line-rate", stringValue: "\(lineCoverage)")
| `- error: cannot find 'XMLNode' in scope
173 | )
174 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "branch-rate", stringValue: "1.0"))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:174:34: error: cannot find 'XMLNode' in scope
172 | XMLNode.nodeAttribute(withName: "line-rate", stringValue: "\(lineCoverage)")
173 | )
174 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "branch-rate", stringValue: "1.0"))
| `- error: cannot find 'XMLNode' in scope
175 | rootElement.addAttribute(
176 | XMLNode.nodeAttribute(withName: "lines-covered", stringValue: "\(coveredLines)")
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:176:13: error: cannot find 'XMLNode' in scope
174 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "branch-rate", stringValue: "1.0"))
175 | rootElement.addAttribute(
176 | XMLNode.nodeAttribute(withName: "lines-covered", stringValue: "\(coveredLines)")
| `- error: cannot find 'XMLNode' in scope
177 | )
178 | rootElement.addAttribute(
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:179:13: error: cannot find 'XMLNode' in scope
177 | )
178 | rootElement.addAttribute(
179 | XMLNode.nodeAttribute(withName: "lines-valid", stringValue: "\(executableLines)")
| `- error: cannot find 'XMLNode' in scope
180 | )
181 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "timestamp", stringValue: "\(timeStamp)"))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:181:34: error: cannot find 'XMLNode' in scope
179 | XMLNode.nodeAttribute(withName: "lines-valid", stringValue: "\(executableLines)")
180 | )
181 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "timestamp", stringValue: "\(timeStamp)"))
| `- error: cannot find 'XMLNode' in scope
182 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "version", stringValue: "diff_coverage 0.1"))
183 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "complexity", stringValue: "0.0"))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:182:34: error: cannot find 'XMLNode' in scope
180 | )
181 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "timestamp", stringValue: "\(timeStamp)"))
182 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "version", stringValue: "diff_coverage 0.1"))
| `- error: cannot find 'XMLNode' in scope
183 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "complexity", stringValue: "0.0"))
184 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "branches-valid", stringValue: "1.0"))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:183:34: error: cannot find 'XMLNode' in scope
181 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "timestamp", stringValue: "\(timeStamp)"))
182 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "version", stringValue: "diff_coverage 0.1"))
183 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "complexity", stringValue: "0.0"))
| `- error: cannot find 'XMLNode' in scope
184 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "branches-valid", stringValue: "1.0"))
185 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "branches-covered", stringValue: "1.0"))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:184:34: error: cannot find 'XMLNode' in scope
182 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "version", stringValue: "diff_coverage 0.1"))
183 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "complexity", stringValue: "0.0"))
184 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "branches-valid", stringValue: "1.0"))
| `- error: cannot find 'XMLNode' in scope
185 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "branches-covered", stringValue: "1.0"))
186 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CoberturaCoverageConverter.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoverageConverter.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CoverageConverter.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/DataProviders/JunitXML/JunitXMLDataProviding.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile JunitXMLDataProviding.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/DataProviders/JunitXML/XCResultToolJunitXMLDataProvider.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCResultToolJunitXMLDataProvider.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Extensions/Data+MD5.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Data+MD5.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Extensions/String+MD5.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile String+MD5.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Extensions/String+relativePath.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile String+relativePath.swift
SwiftCompile normal arm64 Compiling\ XCTestRunWithMetrics.swift,\ XCTestWithMetrics.swift,\ XCTests.swift,\ CoverageReportFormat.swift,\ CLIFormat.swift,\ CLIResultFormatter.swift,\ HTMLResultFormatter.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestRunWithMetrics.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestWithMetrics.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTests.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/CoverageReportFormat.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/CLI/CLIFormat.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/CLI/CLIResultFormatter.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestRunWithMetrics.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTestRunWithMetrics.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestWithMetrics.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTestWithMetrics.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTests.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTests.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/CoverageReportFormat.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CoverageReportFormat.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/CLI/CLIFormat.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CLIFormat.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/CLI/CLIResultFormatter.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CLIResultFormatter.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTMLResultFormatter.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-26 04:52:45.632 xcodebuild[721:4574] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-26 04:52:45.734 xcodebuild[721:4574] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'XcresultparserLib' from project 'Xcresultparser')
SwiftEmitModule normal arm64 Emitting\ module\ for\ XcresultparserLib (in target 'XcresultparserLib' from project 'Xcresultparser')
Building workspace Xcresultparser with scheme Xcresultparser-Package
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.8.2
Xcresultparser: /Users/admin/builder/spi-builder-workspace
resolved source packages: swift-argument-parser, Xcresultparser
2026-09-26 04:52:57.458 xcodebuild[868:5266] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-26 04:52:57.558 xcodebuild[868:5266] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.8.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
}
],
"manifest_display_name" : "Xcresultparser",
"name" : "Xcresultparser",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "xcresultparser",
"targets" : [
"CommandlineTool"
],
"type" : {
"executable" : null
}
},
{
"name" : "XcresultparserLib",
"targets" : [
"XcresultparserLib"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "XcresultparserTests",
"module_type" : "SwiftTarget",
"name" : "XcresultparserTests",
"path" : "Tests/XcresultparserTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/XcresultparserTests/TestAssets/Test-FlakyFixture.xcresult",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/XcresultparserTests/TestAssets/cobertura.xml",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/XcresultparserTests/TestAssets/coberturaExcludingDirectory.xml",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/XcresultparserTests/TestAssets/junit.xml",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/XcresultparserTests/TestAssets/junit_merged.xml",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/XcresultparserTests/TestAssets/junit_repeated.xml",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/XcresultparserTests/TestAssets/junit_session_level_failure.xml",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/XcresultparserTests/TestAssets/parametrized.xcresult",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/XcresultparserTests/TestAssets/resultWithCompileError.xcresult",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/XcresultparserTests/TestAssets/session_level_failure.xcresult",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/XcresultparserTests/TestAssets/sonarTestExecution.xml",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/XcresultparserTests/TestAssets/sonarTestExecutionWithProjectRootAbsolute.xml",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/XcresultparserTests/TestAssets/sonarTestExecutionWithProjectRootRelative.xml",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/XcresultparserTests/TestAssets/test.xcresult",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/XcresultparserTests/TestAssets/test_merged.xcresult",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/XcresultparserTests/TestAssets/test_repeated.xcresult",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/XcresultparserTests/TestAssets/warnings.json",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"CoverageAndFormatterDependencyTests.swift",
"FlakyJunitXMLTests.swift",
"FlakyTestDetectionTests.swift",
"TestSupport/CapturingCommandline.swift",
"TestSupport/ToolClientTestDoubles.swift",
"XCCovClientTests.swift",
"XCResultToolClientTests.swift",
"XCResultToolJunitXMLDataProviderTests.swift",
"XcresultparserTests.swift"
],
"target_dependencies" : [
"XcresultparserLib"
],
"type" : "test"
},
{
"c99name" : "XcresultparserLib",
"module_type" : "SwiftTarget",
"name" : "XcresultparserLib",
"path" : "Sources",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"xcresultparser",
"XcresultparserLib"
],
"sources" : [
"xcresultparser/CoberturaCoverageConverter.swift",
"xcresultparser/CoverageConverter.swift",
"xcresultparser/DataProviders/JunitXML/JunitXMLDataProviding.swift",
"xcresultparser/DataProviders/JunitXML/XCResultToolJunitXMLDataProvider.swift",
"xcresultparser/Extensions/Data+MD5.swift",
"xcresultparser/Extensions/String+MD5.swift",
"xcresultparser/Extensions/String+relativePath.swift",
"xcresultparser/IssuesJSON.swift",
"xcresultparser/JunitXML.swift",
"xcresultparser/Models/CodeClimate/IntermediateObjects/IssueLocationInfo.swift",
"xcresultparser/Models/CodeClimate/Issue.swift",
"xcresultparser/Models/CodeClimate/IssueCategory.swift",
"xcresultparser/Models/CodeClimate/IssueContent.swift",
"xcresultparser/Models/CodeClimate/IssueLocation.swift",
"xcresultparser/Models/CodeClimate/IssueLocationData.swift",
"xcresultparser/Models/CodeClimate/IssuePositionData.swift",
"xcresultparser/Models/CodeClimate/IssueSeverity.swift",
"xcresultparser/Models/CodeClimate/PositionData.swift",
"xcresultparser/Models/Coverage/CoverageReport.swift",
"xcresultparser/Models/Coverage/FileCoverage.swift",
"xcresultparser/Models/Coverage/LineDetail.swift",
"xcresultparser/Models/Coverage/Subrange.swift",
"xcresultparser/Models/XCResultToolModels/XCActivities.swift",
"xcresultparser/Models/XCResultToolModels/XCActivityNode.swift",
"xcresultparser/Models/XCResultToolModels/XCArgument.swift",
"xcresultparser/Models/XCResultToolModels/XCAttachment.swift",
"xcresultparser/Models/XCResultToolModels/XCBug.swift",
"xcresultparser/Models/XCResultToolModels/XCBuildResults.swift",
"xcresultparser/Models/XCResultToolModels/XCCommonFailureInsight.swift",
"xcresultparser/Models/XCResultToolModels/XCConfiguration.swift",
"xcresultparser/Models/XCResultToolModels/XCContent.swift",
"xcresultparser/Models/XCResultToolModels/XCDestination.swift",
"xcresultparser/Models/XCResultToolModels/XCDevice.swift",
"xcresultparser/Models/XCResultToolModels/XCDeviceAndConfigurationSummary.swift",
"xcresultparser/Models/XCResultToolModels/XCFailureDistributionInsight.swift",
"xcresultparser/Models/XCResultToolModels/XCInsightSummary.swift",
"xcresultparser/Models/XCResultToolModels/XCInsights.swift",
"xcresultparser/Models/XCResultToolModels/XCIssue.swift",
"xcresultparser/Models/XCResultToolModels/XCLongestTestRunsInsight.swift",
"xcresultparser/Models/XCResultToolModels/XCMetric.swift",
"xcresultparser/Models/XCResultToolModels/XCStatistic.swift",
"xcresultparser/Models/XCResultToolModels/XCSummary.swift",
"xcresultparser/Models/XCResultToolModels/XCTestDetails.swift",
"xcresultparser/Models/XCResultToolModels/XCTestFailure.swift",
"xcresultparser/Models/XCResultToolModels/XCTestNode+Extensions.swift",
"xcresultparser/Models/XCResultToolModels/XCTestNode.swift",
"xcresultparser/Models/XCResultToolModels/XCTestNodeType.swift",
"xcresultparser/Models/XCResultToolModels/XCTestResult.swift",
"xcresultparser/Models/XCResultToolModels/XCTestRunActivities.swift",
"xcresultparser/Models/XCResultToolModels/XCTestRunWithMetrics.swift",
"xcresultparser/Models/XCResultToolModels/XCTestWithMetrics.swift",
"xcresultparser/Models/XCResultToolModels/XCTests.swift",
"xcresultparser/OutputFormatting/CoverageReportFormat.swift",
"xcresultparser/OutputFormatting/Formatters/CLI/CLIFormat.swift",
"xcresultparser/OutputFormatting/Formatters/CLI/CLIResultFormatter.swift",
"xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift",
"xcresultparser/OutputFormatting/Formatters/Markdown/MDResultFormatter.swift",
"xcresultparser/OutputFormatting/Formatters/Text/TextResultFormatter.swift",
"xcresultparser/OutputFormatting/Formatters/XCResultFormatting.swift",
"xcresultparser/OutputFormatting/OutputFormat.swift",
"xcresultparser/SharedTypes/CoverageTargetSelection.swift",
"xcresultparser/SharedTypes/FailureMessageDetail.swift",
"xcresultparser/SharedTypes/Services/FileManaging.swift",
"xcresultparser/SharedTypes/Services/Shell.swift",
"xcresultparser/SharedTypes/Services/XCCovClient.swift",
"xcresultparser/SharedTypes/Services/XCResultToolClient.swift",
"xcresultparser/SharedTypes/SharedInstances.swift",
"xcresultparser/SonarCoverageConverter.swift",
"xcresultparser/XCResultFormatter.swift"
],
"type" : "library"
},
{
"c99name" : "CommandlineTool",
"module_type" : "SwiftTarget",
"name" : "CommandlineTool",
"path" : "CommandlineTool",
"product_memberships" : [
"xcresultparser"
],
"sources" : [
"HelperFunctions.swift",
"main.swift"
],
"target_dependencies" : [
"XcresultparserLib"
],
"type" : "executable"
}
],
"tools_version" : "5.9"
}
{
"workspace" : {
"name" : "Xcresultparser",
"schemes" : [
"xcresultparser",
"Xcresultparser-Package",
"XcresultparserLib"
]
}
}
2026-09-26 04:52:59.725 xcodebuild[884:5386] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-26 04:52:59.827 xcodebuild[884:5386] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"workspace" : {
"name" : "Xcresultparser",
"schemes" : [
"xcresultparser",
"Xcresultparser-Package",
"XcresultparserLib"
]
}
}
2026-09-26 04:53:01.867 xcodebuild[894:5473] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-26 04:53:01.969 xcodebuild[894:5473] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Xcresultparser-Package -destination generic/platform=xrOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme Xcresultparser-Package -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.8.2
Xcresultparser: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (6 targets)
Target 'xcresultparser-product' in project 'Xcresultparser'
➜ Explicit dependency on target 'XcresultparserLib' in project 'Xcresultparser'
➜ Explicit dependency on target 'ArgumentParser-product' in project 'swift-argument-parser'
Target 'XcresultparserLib-product' in project 'Xcresultparser'
➜ Explicit dependency on target 'XcresultparserLib' in project 'Xcresultparser'
➜ Explicit dependency on target 'ArgumentParser-product' in project 'swift-argument-parser'
Target 'XcresultparserLib' in project 'Xcresultparser'
➜ Explicit dependency on target 'ArgumentParser-product' in project 'swift-argument-parser'
Target 'ArgumentParser-product' in project 'swift-argument-parser'
➜ Explicit dependency on target 'ArgumentParser' in project 'swift-argument-parser'
➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
Target 'ArgumentParser' in project 'swift-argument-parser'
➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
Target 'ArgumentParserToolInfo' in project 'swift-argument-parser' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache
SwiftDriver XcresultparserLib normal arm64 com.apple.xcode.tools.swift.compiler (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name XcresultparserLib -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/Objects-normal/arm64/XcresultparserLib.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/Objects-normal/arm64/XcresultparserLib-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/Objects-normal/arm64/XcresultparserLib.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/Objects-normal/arm64/XcresultparserLib-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/Objects-normal/arm64/XcresultparserLib_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/Objects-normal/arm64/XcresultparserLib-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ CoberturaCoverageConverter.swift,\ CoverageConverter.swift,\ JunitXMLDataProviding.swift,\ XCResultToolJunitXMLDataProvider.swift,\ Data+MD5.swift,\ String+MD5.swift,\ String+relativePath.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoverageConverter.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/DataProviders/JunitXML/JunitXMLDataProviding.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/DataProviders/JunitXML/XCResultToolJunitXMLDataProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Extensions/Data+MD5.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Extensions/String+MD5.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Extensions/String+relativePath.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:159:31: error: cannot find type 'XMLDTD' in scope
157 | }
158 |
159 | private func readDTD() -> XMLDTD {
| `- error: cannot find type 'XMLDTD' in scope
160 | do {
161 | return try XMLDTD(data: Data(dtd04.utf8))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:167:39: error: cannot find type 'XMLElement' in scope
165 | }
166 |
167 | private func makeRootElement() -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
168 | // Cobertura requires these attributes; branch/complexity values are placeholders for now.
169 | let timeStamp = startTime ?? Date().timeIntervalSince1970
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:294:19: error: cannot find type 'XMLNode' in scope
292 | }
293 |
294 | private extension XMLNode {
| `- error: cannot find type 'XMLNode' in scope
295 | static func nodeAttribute(withName name: String, stringValue value: String) -> XMLNode {
296 | guard let attribute = XMLNode.attribute(withName: name, stringValue: value) as? XMLNode else {
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:55:19: error: cannot find 'XMLDocument' in scope
53 | let rootElement = makeRootElement()
54 |
55 | let doc = XMLDocument(rootElement: rootElement)
| `- error: cannot find 'XMLDocument' in scope
56 | doc.version = "1.0"
57 | doc.dtd = dtd
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:58:35: error: cannot find 'XMLDocument' in scope
56 | doc.version = "1.0"
57 | doc.dtd = dtd
58 | doc.documentContentKind = XMLDocument.ContentKind.xml
| `- error: cannot find 'XMLDocument' in scope
59 |
60 | let sourceElement = XMLElement(name: "sources")
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:60:29: error: cannot find 'XMLElement' in scope
58 | doc.documentContentKind = XMLDocument.ContentKind.xml
59 |
60 | let sourceElement = XMLElement(name: "sources")
| `- error: cannot find 'XMLElement' in scope
61 | rootElement.addChild(sourceElement)
62 | sourceElement.addChild(XMLElement(name: "source", stringValue: projectRoot.isEmpty ? "." : projectRoot))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:62:32: error: cannot find 'XMLElement' in scope
60 | let sourceElement = XMLElement(name: "sources")
61 | rootElement.addChild(sourceElement)
62 | sourceElement.addChild(XMLElement(name: "source", stringValue: projectRoot.isEmpty ? "." : projectRoot))
| `- error: cannot find 'XMLElement' in scope
63 |
64 | let packagesElement = XMLElement(name: "packages")
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:64:31: error: cannot find 'XMLElement' in scope
62 | sourceElement.addChild(XMLElement(name: "source", stringValue: projectRoot.isEmpty ? "." : projectRoot))
63 |
64 | let packagesElement = XMLElement(name: "packages")
| `- error: cannot find 'XMLElement' in scope
65 | rootElement.addChild(packagesElement)
66 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:101:36: error: cannot find type 'XMLElement' in scope
99 |
100 | var currentPackage = ""
101 | var currentPackageElement: XMLElement!
| `- error: cannot find type 'XMLElement' in scope
102 | var isNewPackage = false
103 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:104:37: error: cannot find 'XMLElement' in scope
102 | var isNewPackage = false
103 |
104 | var currentClassesElement = XMLElement()
| `- error: cannot find 'XMLElement' in scope
105 |
106 | for file in fileInfo {
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:113:41: error: cannot find 'XMLElement' in scope
111 |
112 | if isNewPackage {
113 | currentPackageElement = XMLElement(name: "package")
| `- error: cannot find 'XMLElement' in scope
114 | currentClassesElement = XMLElement()
115 | packagesElement.addChild(currentPackageElement)
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:114:41: error: cannot find 'XMLElement' in scope
112 | if isNewPackage {
113 | currentPackageElement = XMLElement(name: "package")
114 | currentClassesElement = XMLElement()
| `- error: cannot find 'XMLElement' in scope
115 | packagesElement.addChild(currentPackageElement)
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:121:52: error: cannot find 'XMLNode' in scope
119 | if isNewPackage {
120 | let packageLineCoverage = calculatePackageLineCoverage(for: packageName, in: fileInfo)
121 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "name", stringValue: packageName))
| `- error: cannot find 'XMLNode' in scope
122 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "line-rate", stringValue: "\(packageLineCoverage)"))
123 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "branch-rate", stringValue: "1.0"))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:122:52: error: cannot find 'XMLNode' in scope
120 | let packageLineCoverage = calculatePackageLineCoverage(for: packageName, in: fileInfo)
121 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "name", stringValue: packageName))
122 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "line-rate", stringValue: "\(packageLineCoverage)"))
| `- error: cannot find 'XMLNode' in scope
123 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "branch-rate", stringValue: "1.0"))
124 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "complexity", stringValue: "0.0"))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:123:52: error: cannot find 'XMLNode' in scope
121 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "name", stringValue: packageName))
122 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "line-rate", stringValue: "\(packageLineCoverage)"))
123 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "branch-rate", stringValue: "1.0"))
| `- error: cannot find 'XMLNode' in scope
124 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "complexity", stringValue: "0.0"))
125 | currentClassesElement = XMLElement(name: "classes")
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:124:52: error: cannot find 'XMLNode' in scope
122 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "line-rate", stringValue: "\(packageLineCoverage)"))
123 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "branch-rate", stringValue: "1.0"))
124 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "complexity", stringValue: "0.0"))
| `- error: cannot find 'XMLNode' in scope
125 | currentClassesElement = XMLElement(name: "classes")
126 | currentPackageElement.addChild(currentClassesElement)
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:125:41: error: cannot find 'XMLElement' in scope
123 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "branch-rate", stringValue: "1.0"))
124 | currentPackageElement.addAttribute(XMLNode.nodeAttribute(withName: "complexity", stringValue: "0.0"))
125 | currentClassesElement = XMLElement(name: "classes")
| `- error: cannot find 'XMLElement' in scope
126 | currentPackageElement.addChild(currentClassesElement)
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:129:32: error: cannot find 'XMLElement' in scope
127 | }
128 |
129 | let classElement = XMLElement(name: "class")
| `- error: cannot find 'XMLElement' in scope
130 | let className = createValidClassName(from: file.path, packageName: packageName)
131 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "name", stringValue: className))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:131:39: error: cannot find 'XMLNode' in scope
129 | let classElement = XMLElement(name: "class")
130 | let className = createValidClassName(from: file.path, packageName: packageName)
131 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "name", stringValue: className))
| `- error: cannot find 'XMLNode' in scope
132 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "filename", stringValue: file.path))
133 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:132:39: error: cannot find 'XMLNode' in scope
130 | let className = createValidClassName(from: file.path, packageName: packageName)
131 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "name", stringValue: className))
132 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "filename", stringValue: file.path))
| `- error: cannot find 'XMLNode' in scope
133 |
134 | let fileLineCoverage = Float(file.lines.count(where: { $0.coverage > 0 })) / Float(file.lines.count)
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:135:39: error: cannot find 'XMLNode' in scope
133 |
134 | let fileLineCoverage = Float(file.lines.count(where: { $0.coverage > 0 })) / Float(file.lines.count)
135 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "line-rate", stringValue: "\(fileLineCoverage)"))
| `- error: cannot find 'XMLNode' in scope
136 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "branch-rate", stringValue: "1.0"))
137 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "complexity", stringValue: "0.0"))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:136:39: error: cannot find 'XMLNode' in scope
134 | let fileLineCoverage = Float(file.lines.count(where: { $0.coverage > 0 })) / Float(file.lines.count)
135 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "line-rate", stringValue: "\(fileLineCoverage)"))
136 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "branch-rate", stringValue: "1.0"))
| `- error: cannot find 'XMLNode' in scope
137 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "complexity", stringValue: "0.0"))
138 | currentClassesElement.addChild(classElement)
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:137:39: error: cannot find 'XMLNode' in scope
135 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "line-rate", stringValue: "\(fileLineCoverage)"))
136 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "branch-rate", stringValue: "1.0"))
137 | classElement.addAttribute(XMLNode.nodeAttribute(withName: "complexity", stringValue: "0.0"))
| `- error: cannot find 'XMLNode' in scope
138 | currentClassesElement.addChild(classElement)
139 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:141:34: error: cannot find 'XMLElement' in scope
139 |
140 | // Add empty methods element as required by DTD
141 | let methodsElement = XMLElement(name: "methods")
| `- error: cannot find 'XMLElement' in scope
142 | classElement.addChild(methodsElement)
143 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:144:32: error: cannot find 'XMLElement' in scope
142 | classElement.addChild(methodsElement)
143 |
144 | let linesElement = XMLElement(name: "lines")
| `- error: cannot find 'XMLElement' in scope
145 | classElement.addChild(linesElement)
146 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:148:35: error: cannot find 'XMLElement' in scope
146 |
147 | for line in file.lines {
148 | let lineElement = XMLElement(name: "line")
| `- error: cannot find 'XMLElement' in scope
149 | lineElement.addAttribute(XMLNode.nodeAttribute(withName: "number", stringValue: "\(line.lineNumber)"))
150 | lineElement.addAttribute(XMLNode.nodeAttribute(withName: "branch", stringValue: "false"))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:149:42: error: cannot find 'XMLNode' in scope
147 | for line in file.lines {
148 | let lineElement = XMLElement(name: "line")
149 | lineElement.addAttribute(XMLNode.nodeAttribute(withName: "number", stringValue: "\(line.lineNumber)"))
| `- error: cannot find 'XMLNode' in scope
150 | lineElement.addAttribute(XMLNode.nodeAttribute(withName: "branch", stringValue: "false"))
151 | lineElement.addAttribute(XMLNode.nodeAttribute(withName: "hits", stringValue: "\(line.coverage)"))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:150:42: error: cannot find 'XMLNode' in scope
148 | let lineElement = XMLElement(name: "line")
149 | lineElement.addAttribute(XMLNode.nodeAttribute(withName: "number", stringValue: "\(line.lineNumber)"))
150 | lineElement.addAttribute(XMLNode.nodeAttribute(withName: "branch", stringValue: "false"))
| `- error: cannot find 'XMLNode' in scope
151 | lineElement.addAttribute(XMLNode.nodeAttribute(withName: "hits", stringValue: "\(line.coverage)"))
152 | linesElement.addChild(lineElement)
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:151:42: error: cannot find 'XMLNode' in scope
149 | lineElement.addAttribute(XMLNode.nodeAttribute(withName: "number", stringValue: "\(line.lineNumber)"))
150 | lineElement.addAttribute(XMLNode.nodeAttribute(withName: "branch", stringValue: "false"))
151 | lineElement.addAttribute(XMLNode.nodeAttribute(withName: "hits", stringValue: "\(line.coverage)"))
| `- error: cannot find 'XMLNode' in scope
152 | linesElement.addChild(lineElement)
153 | }
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:156:41: error: reference to member 'nodePrettyPrint' cannot be resolved without a contextual type
154 | }
155 |
156 | return doc.xmlString(options: [.nodePrettyPrint, .nodeCompactEmptyElement])
| `- error: reference to member 'nodePrettyPrint' cannot be resolved without a contextual type
157 | }
158 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:156:59: error: reference to member 'nodeCompactEmptyElement' cannot be resolved without a contextual type
154 | }
155 |
156 | return doc.xmlString(options: [.nodePrettyPrint, .nodeCompactEmptyElement])
| `- error: reference to member 'nodeCompactEmptyElement' cannot be resolved without a contextual type
157 | }
158 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:161:24: error: cannot find 'XMLDTD' in scope
159 | private func readDTD() -> XMLDTD {
160 | do {
161 | return try XMLDTD(data: Data(dtd04.utf8))
| `- error: cannot find 'XMLDTD' in scope
162 | } catch {
163 | fatalError("DTD could not be constructed. Error: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:170:27: error: cannot find 'XMLElement' in scope
168 | // Cobertura requires these attributes; branch/complexity values are placeholders for now.
169 | let timeStamp = startTime ?? Date().timeIntervalSince1970
170 | let rootElement = XMLElement(name: "coverage")
| `- error: cannot find 'XMLElement' in scope
171 | rootElement.addAttribute(
172 | XMLNode.nodeAttribute(withName: "line-rate", stringValue: "\(lineCoverage)")
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CoberturaCoverageConverter.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoverageConverter.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CoverageConverter.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/DataProviders/JunitXML/JunitXMLDataProviding.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile JunitXMLDataProviding.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/DataProviders/JunitXML/XCResultToolJunitXMLDataProvider.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCResultToolJunitXMLDataProvider.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Extensions/Data+MD5.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Data+MD5.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Extensions/String+MD5.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile String+MD5.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Extensions/String+relativePath.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile String+relativePath.swift
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:172:13: error: cannot find 'XMLNode' in scope
170 | let rootElement = XMLElement(name: "coverage")
171 | rootElement.addAttribute(
172 | XMLNode.nodeAttribute(withName: "line-rate", stringValue: "\(lineCoverage)")
| `- error: cannot find 'XMLNode' in scope
173 | )
174 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "branch-rate", stringValue: "1.0"))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:174:34: error: cannot find 'XMLNode' in scope
172 | XMLNode.nodeAttribute(withName: "line-rate", stringValue: "\(lineCoverage)")
173 | )
174 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "branch-rate", stringValue: "1.0"))
| `- error: cannot find 'XMLNode' in scope
175 | rootElement.addAttribute(
176 | XMLNode.nodeAttribute(withName: "lines-covered", stringValue: "\(coveredLines)")
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:176:13: error: cannot find 'XMLNode' in scope
174 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "branch-rate", stringValue: "1.0"))
175 | rootElement.addAttribute(
176 | XMLNode.nodeAttribute(withName: "lines-covered", stringValue: "\(coveredLines)")
| `- error: cannot find 'XMLNode' in scope
177 | )
178 | rootElement.addAttribute(
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:179:13: error: cannot find 'XMLNode' in scope
177 | )
178 | rootElement.addAttribute(
179 | XMLNode.nodeAttribute(withName: "lines-valid", stringValue: "\(executableLines)")
| `- error: cannot find 'XMLNode' in scope
180 | )
181 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "timestamp", stringValue: "\(timeStamp)"))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:181:34: error: cannot find 'XMLNode' in scope
179 | XMLNode.nodeAttribute(withName: "lines-valid", stringValue: "\(executableLines)")
180 | )
181 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "timestamp", stringValue: "\(timeStamp)"))
| `- error: cannot find 'XMLNode' in scope
182 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "version", stringValue: "diff_coverage 0.1"))
183 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "complexity", stringValue: "0.0"))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:182:34: error: cannot find 'XMLNode' in scope
180 | )
181 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "timestamp", stringValue: "\(timeStamp)"))
182 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "version", stringValue: "diff_coverage 0.1"))
| `- error: cannot find 'XMLNode' in scope
183 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "complexity", stringValue: "0.0"))
184 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "branches-valid", stringValue: "1.0"))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:183:34: error: cannot find 'XMLNode' in scope
181 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "timestamp", stringValue: "\(timeStamp)"))
182 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "version", stringValue: "diff_coverage 0.1"))
183 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "complexity", stringValue: "0.0"))
| `- error: cannot find 'XMLNode' in scope
184 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "branches-valid", stringValue: "1.0"))
185 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "branches-covered", stringValue: "1.0"))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:184:34: error: cannot find 'XMLNode' in scope
182 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "version", stringValue: "diff_coverage 0.1"))
183 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "complexity", stringValue: "0.0"))
184 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "branches-valid", stringValue: "1.0"))
| `- error: cannot find 'XMLNode' in scope
185 | rootElement.addAttribute(XMLNode.nodeAttribute(withName: "branches-covered", stringValue: "1.0"))
186 |
SwiftCompile normal arm64 Compiling\ MDResultFormatter.swift,\ TextResultFormatter.swift,\ XCResultFormatting.swift,\ OutputFormat.swift,\ CoverageTargetSelection.swift,\ FailureMessageDetail.swift,\ FileManaging.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/Markdown/MDResultFormatter.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/Text/TextResultFormatter.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/XCResultFormatting.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/OutputFormat.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SharedTypes/CoverageTargetSelection.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SharedTypes/FailureMessageDetail.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SharedTypes/Services/FileManaging.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/Markdown/MDResultFormatter.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MDResultFormatter.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/Text/TextResultFormatter.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TextResultFormatter.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/XCResultFormatting.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCResultFormatting.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/OutputFormat.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile OutputFormat.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SharedTypes/CoverageTargetSelection.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CoverageTargetSelection.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SharedTypes/FailureMessageDetail.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FailureMessageDetail.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SharedTypes/Services/FileManaging.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FileManaging.swift
SwiftCompile normal arm64 Compiling\ XCTestRunWithMetrics.swift,\ XCTestWithMetrics.swift,\ XCTests.swift,\ CoverageReportFormat.swift,\ CLIFormat.swift,\ CLIResultFormatter.swift,\ HTMLResultFormatter.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestRunWithMetrics.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestWithMetrics.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTests.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/CoverageReportFormat.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/CLI/CLIFormat.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/CLI/CLIResultFormatter.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift:96:35: error: cannot find type 'XMLElement' in scope
94 | // MARK: - Private
95 |
96 | private func htmlDiv(content: XMLElement, cssClass: String? = nil) -> String {
| `- error: cannot find type 'XMLElement' in scope
97 | return htmlNode("div", content: content, cssClass: cssClass)
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift:104:77: error: cannot find type 'XMLElement' in scope
102 | }
103 |
104 | private func htmlParagraph(content: String, cssClass: String? = nil) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
105 | return htmlElement("p", content: content, cssClass: cssClass)
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift:108:72: error: cannot find type 'XMLElement' in scope
106 | }
107 |
108 | private func htmlSpan(content: String, cssClass: String? = nil) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
109 | return htmlElement("span", content: content, cssClass: cssClass)
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift:116:38: error: cannot find type 'XMLElement' in scope
114 | }
115 |
116 | private func htmlButton(content: XMLElement, cssClass: String? = nil) -> String {
| `- error: cannot find type 'XMLElement' in scope
117 | return htmlNode("button", content: content, cssClass: cssClass)
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift:125:56: error: cannot find type 'XMLElement' in scope
123 | }
124 |
125 | private func htmlNode(_ nodeName: String, content: XMLElement, cssClass: String? = nil) -> String {
| `- error: cannot find type 'XMLElement' in scope
126 | return htmlElement(nodeName, content: content, cssClass: cssClass)
127 | .xmlString(options: .documentTidyHTML)
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift:130:95: error: cannot find type 'XMLElement' in scope
128 | }
129 |
130 | private func htmlElement(_ nodeName: String, content: String, cssClass: String? = nil) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
131 | let node = XMLElement(name: nodeName, stringValue: content)
132 | if let cssClass {
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift:138:99: error: cannot find type 'XMLElement' in scope
136 | }
137 |
138 | private func htmlElement(_ nodeName: String, content: XMLElement, cssClass: String? = nil) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
139 | let node = XMLElement(name: nodeName)
140 | if let cssClass {
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift:138:59: error: cannot find type 'XMLElement' in scope
136 | }
137 |
138 | private func htmlElement(_ nodeName: String, content: XMLElement, cssClass: String? = nil) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
139 | let node = XMLElement(name: nodeName)
140 | if let cssClass {
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift:87:18: error: cannot find 'XMLElement' in scope
85 |
86 | public func codeCoverageFunctionSummary(_ items: [String]) -> String {
87 | let tr = XMLElement(name: "tr")
| `- error: cannot find 'XMLElement' in scope
88 | for item in items {
89 | tr.addChild(htmlElement("td", content: item))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift:131:20: error: cannot find 'XMLElement' in scope
129 |
130 | private func htmlElement(_ nodeName: String, content: String, cssClass: String? = nil) -> XMLElement {
131 | let node = XMLElement(name: nodeName, stringValue: content)
| `- error: cannot find 'XMLElement' in scope
132 | if let cssClass {
133 | node.addAttribute(name: "class", stringValue: cssClass)
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift:139:20: error: cannot find 'XMLElement' in scope
137 |
138 | private func htmlElement(_ nodeName: String, content: XMLElement, cssClass: String? = nil) -> XMLElement {
139 | let node = XMLElement(name: nodeName)
| `- error: cannot find 'XMLElement' in scope
140 | if let cssClass {
141 | node.addAttribute(name: "class", stringValue: cssClass)
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoverageConverter.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/DataProviders/JunitXML/JunitXMLDataProviding.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/DataProviders/JunitXML/XCResultToolJunitXMLDataProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Extensions/Data+MD5.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Extensions/String+MD5.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Extensions/String+relativePath.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/IssuesJSON.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IntermediateObjects/IssueLocationInfo.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/Issue.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssueCategory.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssueContent.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssueLocation.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssueLocationData.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssuePositionData.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssueSeverity.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/PositionData.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/Coverage/CoverageReport.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/Coverage/FileCoverage.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/Coverage/LineDetail.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/Coverage/Subrange.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCActivities.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCActivityNode.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCArgument.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCAttachment.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCBug.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCBuildResults.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCCommonFailureInsight.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCContent.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCDestination.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCDevice.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCDeviceAndConfigurationSummary.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCFailureDistributionInsight.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCInsightSummary.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCInsights.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCIssue.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCLongestTestRunsInsight.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCMetric.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCStatistic.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCSummary.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestDetails.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestFailure.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestNode+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestNode.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestNodeType.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestResult.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestRunActivities.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestRunWithMetrics.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestWithMetrics.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTests.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/CoverageReportFormat.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/CLI/CLIFormat.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/CLI/CLIResultFormatter.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/Markdown/MDResultFormatter.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/Text/TextResultFormatter.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/XCResultFormatting.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/OutputFormat.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SharedTypes/CoverageTargetSelection.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SharedTypes/FailureMessageDetail.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SharedTypes/Services/FileManaging.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SharedTypes/Services/Shell.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SharedTypes/Services/XCCovClient.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SharedTypes/Services/XCResultToolClient.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SharedTypes/SharedInstances.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SonarCoverageConverter.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/XCResultFormatter.swift -supplementary-output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/Objects-normal/arm64/supplementaryOutputs-8 -target arm64-apple-xros1.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/Objects-normal/arm64/XcresultparserLib-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name XcresultparserLib -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/Objects-normal/arm64/XcresultparserLib_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-xros27.0 -target-sdk-version 27.0 -target-sdk-name xros27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/Objects-normal/arm64/XCTestRunWithMetrics.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/Objects-normal/arm64/XCTestWithMetrics.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/Objects-normal/arm64/XCTests.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/Objects-normal/arm64/CoverageReportFormat.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/Objects-normal/arm64/CLIFormat.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/Objects-normal/arm64/CLIResultFormatter.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/Objects-normal/arm64/HTMLResultFormatter.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/Objects-normal/arm64/XcresultparserLib.swiftmodule -index-unit-output-path /Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/Objects-normal/arm64/XCTestRunWithMetrics.o -index-unit-output-path /Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/Objects-normal/arm64/XCTestWithMetrics.o -index-unit-output-path /Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/Objects-normal/arm64/XCTests.o -index-unit-output-path /Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/Objects-normal/arm64/CoverageReportFormat.o -index-unit-output-path /Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/Objects-normal/arm64/CLIFormat.o -index-unit-output-path /Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/Objects-normal/arm64/CLIResultFormatter.o -index-unit-output-path /Xcresultparser.build/Debug-xros/XcresultparserLib-t.build/Objects-normal/arm64/HTMLResultFormatter.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestRunWithMetrics.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTestRunWithMetrics.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestWithMetrics.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTestWithMetrics.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTests.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTests.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/CoverageReportFormat.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CoverageReportFormat.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/CLI/CLIFormat.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CLIFormat.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/CLI/CLIResultFormatter.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CLIResultFormatter.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTMLResultFormatter.swift
SwiftCompile normal arm64 Compiling\ XCInsightSummary.swift,\ XCInsights.swift,\ XCIssue.swift,\ XCLongestTestRunsInsight.swift,\ XCMetric.swift,\ XCStatistic.swift,\ XCSummary.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCInsightSummary.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCInsights.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCIssue.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCLongestTestRunsInsight.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCMetric.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCStatistic.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCSummary.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCInsightSummary.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCInsightSummary.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCInsights.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCInsights.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCIssue.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCIssue.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCLongestTestRunsInsight.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCLongestTestRunsInsight.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCMetric.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCMetric.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCStatistic.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCStatistic.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCSummary.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCSummary.swift
SwiftCompile normal arm64 Compiling\ Subrange.swift,\ XCActivities.swift,\ XCActivityNode.swift,\ XCArgument.swift,\ XCAttachment.swift,\ XCBug.swift,\ XCBuildResults.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/Coverage/Subrange.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCActivities.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCActivityNode.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCArgument.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCAttachment.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCBug.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCBuildResults.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/Coverage/Subrange.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Subrange.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCActivities.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCActivities.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCActivityNode.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCActivityNode.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCArgument.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCArgument.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCAttachment.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCAttachment.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCBug.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCBug.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCBuildResults.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCBuildResults.swift
SwiftCompile normal arm64 Compiling\ XCTestDetails.swift,\ XCTestFailure.swift,\ XCTestNode+Extensions.swift,\ XCTestNode.swift,\ XCTestNodeType.swift,\ XCTestResult.swift,\ XCTestRunActivities.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestDetails.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestFailure.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestNode+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestNode.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestNodeType.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestResult.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestRunActivities.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestDetails.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTestDetails.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestFailure.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTestFailure.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestNode+Extensions.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTestNode+Extensions.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestNode.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTestNode.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestNodeType.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTestNodeType.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestResult.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTestResult.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestRunActivities.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTestRunActivities.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ XcresultparserLib (in target 'XcresultparserLib' from project 'Xcresultparser')
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:159:31: error: cannot find type 'XMLDTD' in scope
157 | }
158 |
159 | private func readDTD() -> XMLDTD {
| `- error: cannot find type 'XMLDTD' in scope
160 | do {
161 | return try XMLDTD(data: Data(dtd04.utf8))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:167:39: error: cannot find type 'XMLElement' in scope
165 | }
166 |
167 | private func makeRootElement() -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
168 | // Cobertura requires these attributes; branch/complexity values are placeholders for now.
169 | let timeStamp = startTime ?? Date().timeIntervalSince1970
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/CoberturaCoverageConverter.swift:294:19: error: cannot find type 'XMLNode' in scope
292 | }
293 |
294 | private extension XMLNode {
| `- error: cannot find type 'XMLNode' in scope
295 | static func nodeAttribute(withName name: String, stringValue value: String) -> XMLNode {
296 | guard let attribute = XMLNode.attribute(withName: name, stringValue: value) as? XMLNode else {
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:40:22: error: cannot find type 'XMLElement' in scope
38 | let value: String
39 |
40 | var xmlNode: XMLElement {
| `- error: cannot find type 'XMLElement' in scope
41 | let prop = XMLElement(name: "property")
42 | prop.addAttribute(name: name, stringValue: value)
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:107:33: error: cannot find type 'XMLElement' in scope
105 | }
106 |
107 | func createRootElement() -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
108 | let element = XMLElement(name: nodeNames.testsuitesName)
109 | if testReportFormat == .sonar {
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:185:11: error: cannot find type 'XMLElement' in scope
183 | configurationName: String,
184 | testDirectory: String = ""
185 | ) -> [XMLElement] {
| `- error: cannot find type 'XMLElement' in scope
186 | guard group.identifierString.hasSuffix(".xctest") || group.subtestGroups.isEmpty else {
187 | return group.subtestGroups.reduce([XMLElement]()) {
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:244:10: error: cannot find type 'XMLElement' in scope
242 | testDirectory: String = "",
243 | configurationName: String
244 | ) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
245 | let node = testReportFormat == .sonar ?
246 | group.sonarFileXML(
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:266:11: error: cannot find type 'XMLElement' in scope
264 | private func createTestCases(
265 | for name: String, tests: [JunitTest], failureSummaries: [JunitFailureSummary]
266 | ) -> [XMLElement] {
| `- error: cannot find type 'XMLElement' in scope
267 | var combined = [XMLElement]()
268 | for thisTest in tests {
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:281:10: error: cannot find type 'XMLElement' in scope
279 | private func createTestCase(
280 | test: JunitTest, classname: String, failureSummaries: [JunitFailureSummary]
281 | ) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
282 | let testcase = test.xmlNode(
283 | classname: classname,
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:318:50: error: cannot find type 'XMLElement' in scope
316 | // on `testCase`, so for sonar output the attribute is omitted and only the
317 | // `[FLAKY]` message prefix remains.
318 | private func markTestcaseAsFlaky(_ testcase: XMLElement) {
| `- error: cannot find type 'XMLElement' in scope
319 | if testReportFormat != .sonar {
320 | testcase.addAttribute(name: "flaky", stringValue: "true")
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:329:40: error: cannot find type 'XMLElement' in scope
327 | }
328 |
329 | private var failureWithoutSummary: XMLElement {
| `- error: cannot find type 'XMLElement' in scope
330 | return XMLElement(name: "failure")
331 | }
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:333:40: error: cannot find type 'XMLElement' in scope
331 | }
332 |
333 | private var skippedWithoutSummary: XMLElement {
| `- error: cannot find type 'XMLElement' in scope
334 | return XMLElement(name: "skipped")
335 | }
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:337:57: error: cannot find type 'XMLElement' in scope
335 | }
336 |
337 | private func addSessionLevelFailures(to testsuites: XMLElement) {
| `- error: cannot find type 'XMLElement' in scope
338 | // Get session-level failures that weren't matched to any specific test
339 | let unmatchedFailures = dataProvider.sessionLevelFailures
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:372:11: error: cannot find type 'XMLElement' in scope
370 | }
371 |
372 | extension XMLElement {
| `- error: cannot find type 'XMLElement' in scope
373 | func addAttribute(name: String, stringValue: String) {
374 | if let attr = XMLNode.attribute(withName: name, stringValue: stringValue) as? XMLNode {
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:386:10: error: cannot find type 'XMLElement' in scope
384 | format: TestReportFormat,
385 | nodeNames: NodeNames
386 | ) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
387 | let testcase = XMLElement(name: nodeNames.testcaseName)
388 | testcase.addAttribute(name: "name", stringValue: name ?? "No-name")
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:437:57: error: cannot find type 'XMLElement' in scope
435 | }
436 |
437 | func testSuiteXML(numFormatter: NumberFormatter) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
438 | let testsuite = XMLElement(name: "testsuite")
439 | testsuite.addAttribute(name: "name", stringValue: nameString)
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:448:124: error: cannot find type 'XMLElement' in scope
446 | }
447 |
448 | func sonarFileXML(projectRoot: URL?, configurationName: String, relativePathNames: Bool = true, shell: Commandline) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
449 | let testsuite = XMLElement(name: "file")
450 | testsuite.addAttribute(
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:564:49: error: cannot find type 'XMLElement' in scope
562 |
563 | private extension JunitFailureSummary {
564 | func failureXML(projectRoot: URL? = nil) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
565 | let failure = XMLElement(name: "failure")
566 | var value = message
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift:96:35: error: cannot find type 'XMLElement' in scope
94 | // MARK: - Private
95 |
96 | private func htmlDiv(content: XMLElement, cssClass: String? = nil) -> String {
| `- error: cannot find type 'XMLElement' in scope
97 | return htmlNode("div", content: content, cssClass: cssClass)
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift:104:77: error: cannot find type 'XMLElement' in scope
102 | }
103 |
104 | private func htmlParagraph(content: String, cssClass: String? = nil) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
105 | return htmlElement("p", content: content, cssClass: cssClass)
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift:108:72: error: cannot find type 'XMLElement' in scope
106 | }
107 |
108 | private func htmlSpan(content: String, cssClass: String? = nil) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
109 | return htmlElement("span", content: content, cssClass: cssClass)
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift:116:38: error: cannot find type 'XMLElement' in scope
114 | }
115 |
116 | private func htmlButton(content: XMLElement, cssClass: String? = nil) -> String {
| `- error: cannot find type 'XMLElement' in scope
117 | return htmlNode("button", content: content, cssClass: cssClass)
118 | }
SwiftCompile normal arm64 (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift:125:56: error: cannot find type 'XMLElement' in scope
123 | }
124 |
125 | private func htmlNode(_ nodeName: String, content: XMLElement, cssClass: String? = nil) -> String {
| `- error: cannot find type 'XMLElement' in scope
126 | return htmlElement(nodeName, content: content, cssClass: cssClass)
127 | .xmlString(options: .documentTidyHTML)
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift:130:95: error: cannot find type 'XMLElement' in scope
128 | }
129 |
130 | private func htmlElement(_ nodeName: String, content: String, cssClass: String? = nil) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
131 | let node = XMLElement(name: nodeName, stringValue: content)
132 | if let cssClass {
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift:138:99: error: cannot find type 'XMLElement' in scope
136 | }
137 |
138 | private func htmlElement(_ nodeName: String, content: XMLElement, cssClass: String? = nil) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
139 | let node = XMLElement(name: nodeName)
140 | if let cssClass {
SwiftCompile normal arm64 Compiling\ IssuesJSON.swift,\ JunitXML.swift,\ IssueLocationInfo.swift,\ Issue.swift,\ IssueCategory.swift,\ IssueContent.swift,\ IssueLocation.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/IssuesJSON.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IntermediateObjects/IssueLocationInfo.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/Issue.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssueCategory.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssueContent.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssueLocation.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:40:22: error: cannot find type 'XMLElement' in scope
38 | let value: String
39 |
40 | var xmlNode: XMLElement {
| `- error: cannot find type 'XMLElement' in scope
41 | let prop = XMLElement(name: "property")
42 | prop.addAttribute(name: name, stringValue: value)
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:107:33: error: cannot find type 'XMLElement' in scope
105 | }
106 |
107 | func createRootElement() -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
108 | let element = XMLElement(name: nodeNames.testsuitesName)
109 | if testReportFormat == .sonar {
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:185:11: error: cannot find type 'XMLElement' in scope
183 | configurationName: String,
184 | testDirectory: String = ""
185 | ) -> [XMLElement] {
| `- error: cannot find type 'XMLElement' in scope
186 | guard group.identifierString.hasSuffix(".xctest") || group.subtestGroups.isEmpty else {
187 | return group.subtestGroups.reduce([XMLElement]()) {
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:244:10: error: cannot find type 'XMLElement' in scope
242 | testDirectory: String = "",
243 | configurationName: String
244 | ) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
245 | let node = testReportFormat == .sonar ?
246 | group.sonarFileXML(
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:266:11: error: cannot find type 'XMLElement' in scope
264 | private func createTestCases(
265 | for name: String, tests: [JunitTest], failureSummaries: [JunitFailureSummary]
266 | ) -> [XMLElement] {
| `- error: cannot find type 'XMLElement' in scope
267 | var combined = [XMLElement]()
268 | for thisTest in tests {
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:281:10: error: cannot find type 'XMLElement' in scope
279 | private func createTestCase(
280 | test: JunitTest, classname: String, failureSummaries: [JunitFailureSummary]
281 | ) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
282 | let testcase = test.xmlNode(
283 | classname: classname,
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:318:50: error: cannot find type 'XMLElement' in scope
316 | // on `testCase`, so for sonar output the attribute is omitted and only the
317 | // `[FLAKY]` message prefix remains.
318 | private func markTestcaseAsFlaky(_ testcase: XMLElement) {
| `- error: cannot find type 'XMLElement' in scope
319 | if testReportFormat != .sonar {
320 | testcase.addAttribute(name: "flaky", stringValue: "true")
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:329:40: error: cannot find type 'XMLElement' in scope
327 | }
328 |
329 | private var failureWithoutSummary: XMLElement {
| `- error: cannot find type 'XMLElement' in scope
330 | return XMLElement(name: "failure")
331 | }
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:333:40: error: cannot find type 'XMLElement' in scope
331 | }
332 |
333 | private var skippedWithoutSummary: XMLElement {
| `- error: cannot find type 'XMLElement' in scope
334 | return XMLElement(name: "skipped")
335 | }
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:337:57: error: cannot find type 'XMLElement' in scope
335 | }
336 |
337 | private func addSessionLevelFailures(to testsuites: XMLElement) {
| `- error: cannot find type 'XMLElement' in scope
338 | // Get session-level failures that weren't matched to any specific test
339 | let unmatchedFailures = dataProvider.sessionLevelFailures
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:372:11: error: cannot find type 'XMLElement' in scope
370 | }
371 |
372 | extension XMLElement {
| `- error: cannot find type 'XMLElement' in scope
373 | func addAttribute(name: String, stringValue: String) {
374 | if let attr = XMLNode.attribute(withName: name, stringValue: stringValue) as? XMLNode {
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:386:10: error: cannot find type 'XMLElement' in scope
384 | format: TestReportFormat,
385 | nodeNames: NodeNames
386 | ) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
387 | let testcase = XMLElement(name: nodeNames.testcaseName)
388 | testcase.addAttribute(name: "name", stringValue: name ?? "No-name")
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:437:57: error: cannot find type 'XMLElement' in scope
435 | }
436 |
437 | func testSuiteXML(numFormatter: NumberFormatter) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
438 | let testsuite = XMLElement(name: "testsuite")
439 | testsuite.addAttribute(name: "name", stringValue: nameString)
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:448:124: error: cannot find type 'XMLElement' in scope
446 | }
447 |
448 | func sonarFileXML(projectRoot: URL?, configurationName: String, relativePathNames: Bool = true, shell: Commandline) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
449 | let testsuite = XMLElement(name: "file")
450 | testsuite.addAttribute(
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:564:49: error: cannot find type 'XMLElement' in scope
562 |
563 | private extension JunitFailureSummary {
564 | func failureXML(projectRoot: URL? = nil) -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
565 | let failure = XMLElement(name: "failure")
566 | var value = message
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:41:24: error: cannot find 'XMLElement' in scope
39 |
40 | var xmlNode: XMLElement {
41 | let prop = XMLElement(name: "property")
| `- error: cannot find 'XMLElement' in scope
42 | prop.addAttribute(name: name, stringValue: value)
43 | return prop
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:108:23: error: cannot find 'XMLElement' in scope
106 |
107 | func createRootElement() -> XMLElement {
108 | let element = XMLElement(name: nodeNames.testsuitesName)
| `- error: cannot find 'XMLElement' in scope
109 | if testReportFormat == .sonar {
110 | element.addAttribute(name: "version", stringValue: "1")
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:117:19: error: cannot find 'XMLDocument' in scope
115 | public var xmlString: String {
116 | let testsuites = createRootElement()
117 | let xml = XMLDocument(rootElement: testsuites)
| `- error: cannot find 'XMLDocument' in scope
118 | xml.characterEncoding = "UTF-8"
119 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:129:45: error: reference to member 'nodePrettyPrint' cannot be resolved without a contextual type
127 | let testActions = dataProvider.testActions
128 | guard !testActions.isEmpty else {
129 | return xml.xmlString(options: [.nodePrettyPrint, .nodeCompactEmptyElement])
| `- error: reference to member 'nodePrettyPrint' cannot be resolved without a contextual type
130 | }
131 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:129:63: error: reference to member 'nodeCompactEmptyElement' cannot be resolved without a contextual type
127 | let testActions = dataProvider.testActions
128 | guard !testActions.isEmpty else {
129 | return xml.xmlString(options: [.nodePrettyPrint, .nodeCompactEmptyElement])
| `- error: reference to member 'nodeCompactEmptyElement' cannot be resolved without a contextual type
130 | }
131 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:170:41: error: reference to member 'nodePrettyPrint' cannot be resolved without a contextual type
168 | addSessionLevelFailures(to: testsuites)
169 |
170 | return xml.xmlString(options: [.nodePrettyPrint, .nodeCompactEmptyElement])
| `- error: reference to member 'nodePrettyPrint' cannot be resolved without a contextual type
171 | }
172 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:170:59: error: reference to member 'nodeCompactEmptyElement' cannot be resolved without a contextual type
168 | addSessionLevelFailures(to: testsuites)
169 |
170 | return xml.xmlString(options: [.nodePrettyPrint, .nodeCompactEmptyElement])
| `- error: reference to member 'nodeCompactEmptyElement' cannot be resolved without a contextual type
171 | }
172 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:187:48: error: cannot find 'XMLElement' in scope
185 | ) -> [XMLElement] {
186 | guard group.identifierString.hasSuffix(".xctest") || group.subtestGroups.isEmpty else {
187 | return group.subtestGroups.reduce([XMLElement]()) {
| `- error: cannot find 'XMLElement' in scope
188 | rslt,
189 | subGroup in
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:187:47: error: cannot call value of non-function type '[Element]'
185 | ) -> [XMLElement] {
186 | guard group.identifierString.hasSuffix(".xctest") || group.subtestGroups.isEmpty else {
187 | return group.subtestGroups.reduce([XMLElement]()) {
| `- error: cannot call value of non-function type '[Element]'
188 | rslt,
189 | subGroup in
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:210:30: error: cannot find 'XMLElement' in scope
208 | } else {
209 | if testReportFormat == .sonar {
210 | var nodes = [XMLElement]()
| `- error: cannot find 'XMLElement' in scope
211 | for subGroup in group.subtestGroups {
212 | let node = subGroup.sonarFileXML(
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:210:29: error: cannot call value of non-function type '[Element]'
208 | } else {
209 | if testReportFormat == .sonar {
210 | var nodes = [XMLElement]()
| `- error: cannot call value of non-function type '[Element]'
211 | for subGroup in group.subtestGroups {
212 | let node = subGroup.sonarFileXML(
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:226:60: error: cannot find 'XMLElement' in scope
224 | return nodes
225 | } else {
226 | let combined = group.subtestGroups.reduce([XMLElement]()) { rslt, subGroup in
| `- error: cannot find 'XMLElement' in scope
227 | return rslt + createTestCases(
228 | for: subGroup.nameString, tests: subGroup.subtests, failureSummaries: failureSummaries
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:226:59: error: cannot call value of non-function type '[Element]'
224 | return nodes
225 | } else {
226 | let combined = group.subtestGroups.reduce([XMLElement]()) { rslt, subGroup in
| `- error: cannot call value of non-function type '[Element]'
227 | return rslt + createTestCases(
228 | for: subGroup.nameString, tests: subGroup.subtests, failureSummaries: failureSummaries
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:267:25: error: cannot find 'XMLElement' in scope
265 | for name: String, tests: [JunitTest], failureSummaries: [JunitFailureSummary]
266 | ) -> [XMLElement] {
267 | var combined = [XMLElement]()
| `- error: cannot find 'XMLElement' in scope
268 | for thisTest in tests {
269 | let testcase = createTestCase(
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:267:24: error: cannot call value of non-function type '[Element]'
265 | for name: String, tests: [JunitTest], failureSummaries: [JunitFailureSummary]
266 | ) -> [XMLElement] {
267 | var combined = [XMLElement]()
| `- error: cannot call value of non-function type '[Element]'
268 | for thisTest in tests {
269 | let testcase = createTestCase(
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:322:33: error: cannot find type 'XMLElement' in scope
320 | testcase.addAttribute(name: "flaky", stringValue: "true")
321 | }
322 | for case let failure as XMLElement in testcase.children ?? [] where failure.name == "failure" {
| `- error: cannot find type 'XMLElement' in scope
323 | let labeled = "[FLAKY] " + (failure.attribute(forName: "message")?.stringValue ?? "passed on retry")
324 | failure.removeAttribute(forName: "message")
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:330:16: error: cannot find 'XMLElement' in scope
328 |
329 | private var failureWithoutSummary: XMLElement {
330 | return XMLElement(name: "failure")
| `- error: cannot find 'XMLElement' in scope
331 | }
332 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:334:16: error: cannot find 'XMLElement' in scope
332 |
333 | private var skippedWithoutSummary: XMLElement {
334 | return XMLElement(name: "skipped")
| `- error: cannot find 'XMLElement' in scope
335 | }
336 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:346:32: error: cannot find 'XMLElement' in scope
344 | // For Sonar format, we skip this as it expects file-based organization
345 | if testReportFormat != .sonar {
346 | let sessionSuite = XMLElement(name: "testsuite")
| `- error: cannot find 'XMLElement' in scope
347 | sessionSuite.addAttribute(name: "name", stringValue: "Session-level issues")
348 | sessionSuite.addAttribute(name: "tests", stringValue: String(unmatchedFailures.count))
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift:354:32: error: cannot find 'XMLElement' in scope
352 |
353 | for failure in unmatchedFailures {
354 | let testcase = XMLElement(name: nodeNames.testcaseName)
| `- error: cannot find 'XMLElement' in scope
355 | let testName = failure.testCaseName.isEmpty ? "Unknown test" : failure.testCaseName
356 | testcase.addAttribute(name: "name", stringValue: testName)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/IssuesJSON.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile IssuesJSON.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/JunitXML.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile JunitXML.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IntermediateObjects/IssueLocationInfo.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile IssueLocationInfo.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/Issue.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Issue.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssueCategory.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile IssueCategory.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssueContent.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile IssueContent.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssueLocation.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile IssueLocation.swift
SwiftCompile normal arm64 Compiling\ Shell.swift,\ XCCovClient.swift,\ XCResultToolClient.swift,\ SharedInstances.swift,\ SonarCoverageConverter.swift,\ XCResultFormatter.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SharedTypes/Services/Shell.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SharedTypes/Services/XCCovClient.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SharedTypes/Services/XCResultToolClient.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SharedTypes/SharedInstances.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SonarCoverageConverter.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/XCResultFormatter.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SharedTypes/Services/Shell.swift:27:24: error: cannot find 'Process' in scope
25 | ) throws -> Data {
26 | try autoreleasepool {
27 | let task = Process()
| `- error: cannot find 'Process' in scope
28 | if let directoryUrl = executionPath {
29 | task.currentDirectoryURL = directoryUrl
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SonarCoverageConverter.swift:48:17: error: cannot find type 'XMLElement' in scope
46 | coverageData: [LineDetail],
47 | relativeTo projectRoot: String
48 | ) throws -> XMLElement {
| `- error: cannot find type 'XMLElement' in scope
49 | let fileElement = XMLElement(name: "file")
50 | fileElement.addAttribute(name: "path", stringValue: file.relativePath(relativeTo: projectRoot) ?? file)
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SonarCoverageConverter.swift:20:27: error: cannot find 'XMLElement' in scope
18 |
19 | override public func xmlString(quiet: Bool) throws -> String {
20 | let coverageXML = XMLElement(name: "coverage")
| `- error: cannot find 'XMLElement' in scope
21 | coverageXML.addAttribute(name: "version", stringValue: "1")
22 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SonarCoverageConverter.swift:41:49: error: reference to member 'nodePrettyPrint' cannot be resolved without a contextual type
39 | }
40 |
41 | return coverageXML.xmlString(options: [.nodePrettyPrint, .nodeCompactEmptyElement])
| `- error: reference to member 'nodePrettyPrint' cannot be resolved without a contextual type
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SonarCoverageConverter.swift:41:67: error: reference to member 'nodeCompactEmptyElement' cannot be resolved without a contextual type
39 | }
40 |
41 | return coverageXML.xmlString(options: [.nodePrettyPrint, .nodeCompactEmptyElement])
| `- error: reference to member 'nodeCompactEmptyElement' cannot be resolved without a contextual type
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SonarCoverageConverter.swift:49:27: error: cannot find 'XMLElement' in scope
47 | relativeTo projectRoot: String
48 | ) throws -> XMLElement {
49 | let fileElement = XMLElement(name: "file")
| `- error: cannot find 'XMLElement' in scope
50 | fileElement.addAttribute(name: "path", stringValue: file.relativePath(relativeTo: projectRoot) ?? file)
51 | for lineData in coverageData where lineData.isExecutable {
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SharedTypes/Services/Shell.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Shell.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SharedTypes/Services/XCCovClient.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCCovClient.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SharedTypes/Services/XCResultToolClient.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCResultToolClient.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SharedTypes/SharedInstances.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SharedInstances.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/SonarCoverageConverter.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SonarCoverageConverter.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/XCResultFormatter.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCResultFormatter.swift
SwiftCompile normal arm64 Compiling\ IssueLocationData.swift,\ IssuePositionData.swift,\ IssueSeverity.swift,\ PositionData.swift,\ CoverageReport.swift,\ FileCoverage.swift,\ LineDetail.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssueLocationData.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssuePositionData.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssueSeverity.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/PositionData.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/Coverage/CoverageReport.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/Coverage/FileCoverage.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/Coverage/LineDetail.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssueLocationData.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile IssueLocationData.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssuePositionData.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile IssuePositionData.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/IssueSeverity.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile IssueSeverity.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/CodeClimate/PositionData.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PositionData.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/Coverage/CoverageReport.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CoverageReport.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/Coverage/FileCoverage.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FileCoverage.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/Coverage/LineDetail.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LineDetail.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-26 04:53:03.878 xcodebuild[903:5545] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-26 04:53:03.979 xcodebuild[903:5545] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 Compiling\ XCTestRunWithMetrics.swift,\ XCTestWithMetrics.swift,\ XCTests.swift,\ CoverageReportFormat.swift,\ CLIFormat.swift,\ CLIResultFormatter.swift,\ HTMLResultFormatter.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestRunWithMetrics.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTestWithMetrics.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/Models/XCResultToolModels/XCTests.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/CoverageReportFormat.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/CLI/CLIFormat.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/CLI/CLIResultFormatter.swift /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/xcresultparser/OutputFormatting/Formatters/HTML/HTMLResultFormatter.swift (in target 'XcresultparserLib' from project 'Xcresultparser')
Building workspace Xcresultparser with scheme Xcresultparser-Package
(3 failures)
BUILD FAILURE 6.4 visionOS