Build Information
Failed to build Beton, reference 1.4.0 (36a354), with Swift 6.4 for Linux on 26 Sep 2026 15:16:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/adam-rocska/Beton.git
Reference: 1.4.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/adam-rocska/Beton
* tag 1.4.0 -> FETCH_HEAD
HEAD is now at 36a354e 🤪 fun
Cloned https://github.com/adam-rocska/Beton.git
Revision (git rev-parse @):
36a354eb23f9546ee8e3e2eb706ac6fb5bf5138f
SUCCESS checkout https://github.com/adam-rocska/Beton.git at 1.4.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/adam-rocska/Beton.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
[2112/9082] Fetching swift-docc-plugin, swift-async-algorithms
Fetched https://github.com/apple/swift-docc-plugin (0.57s)
[742/6737] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.67s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.73s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3831] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.63s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.85s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.6 (0.23s)
Fetching https://github.com/apple/swift-collections.git
[1/27779] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.20s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (1.50s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.6
warning: 'spi-builder-workspace': ignoring target 'IntegrationTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'IntegrationTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 388]
[Planning deferred tasks]
[74 / 131] Beton_PerformanceTests
[89 / 140] InternalCollectionsUtilities
[110 / 156] OrderedCollections
[116 / 166] OrderedCollections
[117 / 167] OrderedCollections
[118 / 167] OrderedCollections
[119 / 167] InternalCollectionsUtilities
[121 / 167] InternalCollectionsUtilities
[123 / 167] InternalCollectionsUtilities
[125 / 167] InternalCollectionsUtilities
[128 / 167] DequeModule
[129 / 167]
[130 / 167] DequeModule
[130 / 168] OrderedCollections
[138 / 168] OrderedCollections
[138 / 168] DequeModule
[153 / 179] AsyncAlgorithms
[155 / 179] AsyncAlgorithms
[156 / 179] AsyncAlgorithms
[162 / 180] Beton
[168 / 189] Beton
/host/spi-builder-workspace/Sources/Beton/Locale/Locale+ExpressibleByStringLiteral.swift:3:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'Locale' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future[0;0m
[0;36m1 |[0;0m import Foundation
[0;36m2 |[0;0m
[0;36m3 |[0;0m extension Locale: ExpressibleByStringLiteral {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'Locale' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m4 |[0;0m /// A convenience initializer that allows you to express a
[0;36m5 |[0;0m /// [`Locale`](https://developer.apple.com/documentation/foundation/locale) using a string literal.
/host/spi-builder-workspace/Sources/Beton/Measurement/Measurement+AdditiveArithmetic.swift:3:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'Measurement' to imported protocol 'AdditiveArithmetic'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future[0;0m
[0;36m1 |[0;0m import Foundation
[0;36m2 |[0;0m
[0;36m3 |[0;0m extension Measurement: AdditiveArithmetic where UnitType: Unit, UnitType.U == UnitType {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'Measurement' to imported protocol 'AdditiveArithmetic'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m4 |[0;0m public static var zero: Self { Self.init(value: 0.0, unit: .default) }
[0;36m5 |[0;0m }
/host/spi-builder-workspace/Sources/Beton/Measurement/Measurement+ExpressibleByFloatLiteral.swift:3:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'Measurement' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future[0;0m
[0;36m1 |[0;0m import Foundation
[0;36m2 |[0;0m
[0;36m3 |[0;0m extension Measurement: ExpressibleByFloatLiteral where UnitType: Unit, UnitType.U == UnitType {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'Measurement' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m4 |[0;0m public init(floatLiteral value: Double) {
[0;36m5 |[0;0m self.init(value: value, unit: .default)
/host/spi-builder-workspace/Sources/Beton/Measurement/Measurement+ExpressibleByIntegerLiteral.swift:3:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'Measurement' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future[0;0m
[0;36m1 |[0;0m import Foundation
[0;36m2 |[0;0m
[0;36m3 |[0;0m extension Measurement: ExpressibleByIntegerLiteral where UnitType: Unit, UnitType.U == UnitType {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'Measurement' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m4 |[0;0m public init(integerLiteral value: Int) {
[0;36m5 |[0;0m self.init(value: Double(value), unit: .default)
/host/spi-builder-workspace/Sources/Beton/Notifications/Notification.Name+ExpressibleByStringLiteral.swift:1:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'Name' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future[0;0m
[0;36m1 |[0;0m extension Notification.Name: ExpressibleByStringLiteral {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'Name' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m2 |[0;0m public init(stringLiteral value: String) { self.init(String(value)) }
[0;36m3 |[0;0m }
/host/spi-builder-workspace/Sources/Beton/URL/URL+ExpressibleByStringLiteral.swift:3:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future[0;0m
[0;36m1 |[0;0m import Foundation
[0;36m2 |[0;0m
[0;36m3 |[0;0m extension URL: ExpressibleByStringLiteral {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m4 |[0;0m /// A convenience initializer that allows you to express a
[0;36m5 |[0;0m /// [`URL`](https://developer.apple.com/documentation/foundation/url) using a string literal.
[170 / 189] Beton
/host/spi-builder-workspace/Sources/Beton/Measurement/Measurement+AdditiveArithmetic.swift:3:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'Measurement' to imported protocol 'AdditiveArithmetic'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future[0;0m
[0;36m1 |[0;0m import Foundation
[0;36m2 |[0;0m
[0;36m3 |[0;0m extension Measurement: AdditiveArithmetic where UnitType: Unit, UnitType.U == UnitType {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'Measurement' to imported protocol 'AdditiveArithmetic'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m4 |[0;0m public static var zero: Self { Self.init(value: 0.0, unit: .default) }
[0;36m5 |[0;0m }
/host/spi-builder-workspace/Sources/Beton/Measurement/Measurement+ExpressibleByFloatLiteral.swift:3:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'Measurement' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future[0;0m
[0;36m1 |[0;0m import Foundation
[0;36m2 |[0;0m
[0;36m3 |[0;0m extension Measurement: ExpressibleByFloatLiteral where UnitType: Unit, UnitType.U == UnitType {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'Measurement' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m4 |[0;0m public init(floatLiteral value: Double) {
[0;36m5 |[0;0m self.init(value: value, unit: .default)
/host/spi-builder-workspace/Sources/Beton/Measurement/Measurement+ExpressibleByIntegerLiteral.swift:3:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'Measurement' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future[0;0m
[0;36m1 |[0;0m import Foundation
[0;36m2 |[0;0m
[0;36m3 |[0;0m extension Measurement: ExpressibleByIntegerLiteral where UnitType: Unit, UnitType.U == UnitType {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'Measurement' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m4 |[0;0m public init(integerLiteral value: Int) {
[0;36m5 |[0;0m self.init(value: Double(value), unit: .default)
/host/spi-builder-workspace/Sources/Beton/Notifications/Notification.Name+ExpressibleByStringLiteral.swift:1:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'Name' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future[0;0m
[0;36m1 |[0;0m extension Notification.Name: ExpressibleByStringLiteral {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'Name' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m2 |[0;0m public init(stringLiteral value: String) { self.init(String(value)) }
[0;36m3 |[0;0m }
[176 / 189] Beton
/host/spi-builder-workspace/Sources/Beton/Locale/Locale+ExpressibleByStringLiteral.swift:3:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'Locale' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future[0;0m
[0;36m1 |[0;0m import Foundation
[0;36m2 |[0;0m
[0;36m3 |[0;0m extension Locale: ExpressibleByStringLiteral {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'Locale' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m4 |[0;0m /// A convenience initializer that allows you to express a
[0;36m5 |[0;0m /// [`Locale`](https://developer.apple.com/documentation/foundation/locale) using a string literal.
[184 / 200] XCTBeton
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/XCTBeton/XCTestCase/XCTestCase+measure.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile XCTestCase+measure.swift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/XCTBeton/XCTestCase/XCTestCase.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile XCTestCase.swift
/host/spi-builder-workspace/Sources/XCTBeton/XCTestCase/XCTestCase+measure.swift:14:33: [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m12 |[0;0m ///
[0;36m13 |[0;0m /// - Parameter block: A block whose performance is measured.
[0;36m14 |[0;0m @nonobjc public [4;39moverride[0;0m func measure(_ block: () -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m15 |[0;0m self.measure(metrics: Self.defaultMetrics, options: Self.defaultMeasureOptions, block: block)
[0;36m16 |[0;0m }
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric.swift:12:22: [1;31merror: [1;39mcannot find type 'XCTPerformanceMeasurement' in scope[0;0m
[0;36m10 |[0;0m ///
[0;36m11 |[0;0m /// Use ``XCTestCase/XCTAssertMetric(_:_:_:_:file:line:)`` to make assertions for the measurements.
[0;36m12 |[0;0m var measurements: [[4;39mXCTPerformanceMeasurement[0;0m] { get }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'XCTPerformanceMeasurement' in scope[0;0m
[0;36m13 |[0;0m }
[0;36m14 |[0;0m
/host/spi-builder-workspace/Sources/XCTBeton/XCTestCase/XCTestCase+measure.swift:53:18: [1;31merror: [1;39mextra arguments at positions #1, #2 in call[0;0m
[0;36m51 |[0;0m @nonobjc public func measure(metrics: [XCTMetric], options: XCTMeasureOptions, block: () -> Void)
[0;36m52 |[0;0m {
[0;36m53 |[0;0m super.measure(metrics: metrics, options: options, block: block)
[0;36m|[0;0m `- [1;31merror: [1;39mextra arguments at positions #1, #2 in call[0;0m
[0;36m54 |[0;0m precondition(lastRunMetrics.isEmpty, "Must not have performed measurements yet!")
[0;36m55 |[0;0m lastRunMetrics = metrics
XCTest.XCTestCase.measure:2:13: [1;39mnote: [1;39m'measure(file:line:block:)' declared here[0;0m
[0;36m1 |[0;0m class XCTestCase {
[0;36m2 |[0;0m public func measure(file: StaticString = #file, line: Int = #line, block: () -> Void)}
[0;36m|[0;0m `- [1;39mnote: [1;39m'measure(file:line:block:)' declared here[0;0m
[0;36m3 |[0;0m
/host/spi-builder-workspace/Sources/XCTBeton/XCTestCase/XCTestCase.swift:28:27: [1;31merror: [1;39mproperty does not override any property from its superclass[0;0m
[0;36m26 |[0;0m internal var lastRunMetrics: [XCTMetric] = []
[0;36m27 |[0;0m /// Default options for ``XCTestCase/measure(_:)``. The default instance specifies 5 iteration counts.
[0;36m28 |[0;0m open class [4;39moverride[0;0m var defaultMeasureOptions: XCTMeasureOptions { XCTMeasureOptions() }
[0;36m|[0;0m `- [1;31merror: [1;39mproperty does not override any property from its superclass[0;0m
[0;36m29 |[0;0m }
[0;36m30 |[0;0m
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMeasureOptions.swift /host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTCPUMetric.swift /host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTClockMetric.swift /host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMemoryMetric.swift /host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric+measurementStorage.swift /host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric.swift /host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTStorageMetric.swift /host/spi-builder-workspace/Sources/XCTBeton/XCTBeton.swift /host/spi-builder-workspace/Sources/XCTBeton/XCTestCase/XCTAssertMetric/XCTAssertClockIdentifier.swift /host/spi-builder-workspace/Sources/XCTBeton/XCTestCase/XCTAssertMetric/XCTAssertCpuIdentifier.swift /host/spi-builder-workspace/Sources/XCTBeton/XCTestCase/XCTAssertMetric/XCTAssertDiskIdentifier.swift /host/spi-builder-workspace/Sources/XCTBeton/XCTestCase/XCTAssertMetric/XCTAssertMemoryIdentifier.swift /host/spi-builder-workspace/Sources/XCTBeton/XCTestCase/XCTAssertMetric/XCTAssertMetric.swift /host/spi-builder-workspace/Sources/XCTBeton/XCTestCase/XCTAssertMetric/XCTestCase+XCTAssertMetric.swift /host/spi-builder-workspace/Sources/XCTBeton/XCTestCase/XCTAssertMetricIdentifier.swift -primary-file /host/spi-builder-workspace/Sources/XCTBeton/XCTestCase/XCTestCase+measure.swift -primary-file /host/spi-builder-workspace/Sources/XCTBeton/XCTestCase/XCTestCase.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTestCase+measure.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTestCase+measure.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTestCase+measure.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTestCase+measure.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTestCase.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTestCase.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTestCase.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTestCase.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -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 -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name XCTBeton -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTBeton_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTestCase+measure.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTestCase.o -index-unit-output-path /Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTestCase+measure.o -index-unit-output-path /Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTestCase.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
[186 / 200] XCTBeton
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMemoryMetric.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile XCTMemoryMetric.swift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric+measurementStorage.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile XCTMetric+measurementStorage.swift
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMemoryMetric.swift:3:14: [1;31merror: [1;39mclass 'XCTMemoryMetric' does not exist in module 'XCTest'[0;0m
[0;36m1 |[0;0m import Beton
[0;36m2 |[0;0m
[0;36m3 |[0;0m import class XCTest.[4;39mXCTMemoryMetric[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mclass 'XCTMemoryMetric' does not exist in module 'XCTest'[0;0m
[0;36m4 |[0;0m
[0;36m5 |[0;0m /// A metric to record the physical memory that a performance test uses.
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMemoryMetric.swift:9:38: [1;31merror: [1;39mno type named 'XCTMemoryMetric' in module 'XCTest'[0;0m
[0;36m7 |[0;0m /// ``XCTMemoryMetric`` is a wrapper to
[0;36m8 |[0;0m /// [`XCTest.XCTMemoryMetric`](https://developer.apple.com/documentation/xctest/xctmemorymetric).
[0;36m9 |[0;0m public class XCTMemoryMetric: XCTest.XCTMemoryMetric, XCTMetric {
[0;36m|[0;0m `- [1;31merror: [1;39mno type named 'XCTMemoryMetric' in module 'XCTest'[0;0m
[0;36m10 |[0;0m deinit { forgetSelf() }
[0;36m11 |[0;0m
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMemoryMetric.swift:20:16: [1;31merror: [1;39mcannot find type 'XCTPerformanceMeasurement' in scope[0;0m
[0;36m18 |[0;0m from startTime: XCTPerformanceMeasurementTimestamp,
[0;36m19 |[0;0m to endTime: XCTPerformanceMeasurementTimestamp
[0;36m20 |[0;0m ) throws -> [[4;39mXCTPerformanceMeasurement[0;0m] {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'XCTPerformanceMeasurement' in scope[0;0m
[0;36m21 |[0;0m storing(measurements: try super.reportMeasurements(from: startTime, to: endTime))
[0;36m22 |[0;0m }
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMemoryMetric.swift:18:21: [1;31merror: [1;39mcannot find type 'XCTPerformanceMeasurementTimestamp' in scope[0;0m
[0;36m16 |[0;0m /// allowing you to make assertions to them.
[0;36m17 |[0;0m public override func reportMeasurements(
[0;36m18 |[0;0m from startTime: [4;39mXCTPerformanceMeasurementTimestamp[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'XCTPerformanceMeasurementTimestamp' in scope[0;0m
[0;36m19 |[0;0m to endTime: XCTPerformanceMeasurementTimestamp
[0;36m20 |[0;0m ) throws -> [XCTPerformanceMeasurement] {
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMemoryMetric.swift:19:17: [1;31merror: [1;39mcannot find type 'XCTPerformanceMeasurementTimestamp' in scope[0;0m
[0;36m17 |[0;0m public override func reportMeasurements(
[0;36m18 |[0;0m from startTime: XCTPerformanceMeasurementTimestamp,
[0;36m19 |[0;0m to endTime: [4;39mXCTPerformanceMeasurementTimestamp[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'XCTPerformanceMeasurementTimestamp' in scope[0;0m
[0;36m20 |[0;0m ) throws -> [XCTPerformanceMeasurement] {
[0;36m21 |[0;0m storing(measurements: try super.reportMeasurements(from: startTime, to: endTime))
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMemoryMetric.swift:24:24: [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m22 |[0;0m }
[0;36m23 |[0;0m
[0;36m24 |[0;0m [4;39moverride[0;0m public func copy(with zone: NSZone? = nil) -> Any {
[0;36m|[0;0m `- [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m25 |[0;0m remembering(copy: super.copy(with: zone))
[0;36m26 |[0;0m }
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric.swift:8:35: [1;31merror: [1;39mno type named 'XCTMetric' in module 'XCTest'[0;0m
[0;36m6 |[0;0m /// Extends [`XCTest.XCTMetric`](https://developer.apple.com/documentation/xctest/xctmetric) with
[0;36m7 |[0;0m /// ``XCTMetric/measurements-swift.property`` holding recorded performance metrics.
[0;36m8 |[0;0m public protocol XCTMetric: XCTest.XCTMetric {
[0;36m|[0;0m `- [1;31merror: [1;39mno type named 'XCTMetric' in module 'XCTest'[0;0m
[0;36m9 |[0;0m /// Holds recorded performance metrics.
[0;36m10 |[0;0m ///
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric.swift:12:22: [1;31merror: [1;39mcannot find type 'XCTPerformanceMeasurement' in scope[0;0m
[0;36m10 |[0;0m ///
[0;36m11 |[0;0m /// Use ``XCTestCase/XCTAssertMetric(_:_:_:_:file:line:)`` to make assertions for the measurements.
[0;36m12 |[0;0m var measurements: [[4;39mXCTPerformanceMeasurement[0;0m] { get }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'XCTPerformanceMeasurement' in scope[0;0m
[0;36m13 |[0;0m }
[0;36m14 |[0;0m
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMemoryMetric.swift:21:31: [1;31merror: [1;39m'super' cannot be used in class 'XCTMemoryMetric' because it has no superclass[0;0m
[0;36m19 |[0;0m to endTime: XCTPerformanceMeasurementTimestamp
[0;36m20 |[0;0m ) throws -> [XCTPerformanceMeasurement] {
[0;36m21 |[0;0m storing(measurements: try super.reportMeasurements(from: startTime, to: endTime))
[0;36m|[0;0m `- [1;31merror: [1;39m'super' cannot be used in class 'XCTMemoryMetric' because it has no superclass[0;0m
[0;36m22 |[0;0m }
[0;36m23 |[0;0m
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric+measurementStorage.swift:11:63: [1;31merror: [1;39mcannot find type 'XCTPerformanceMeasurement' in scope[0;0m
[0;36m9 |[0;0m
[0;36m10 |[0;0m extension XCTMetric {
[0;36m11 |[0;0m func storing(measurements: [XCTPerformanceMeasurement]) -> [[4;39mXCTPerformanceMeasurement[0;0m] {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'XCTPerformanceMeasurement' in scope[0;0m
[0;36m12 |[0;0m results[originId, default: []].append(contentsOf: measurements)
[0;36m13 |[0;0m return measurements
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric+measurementStorage.swift:11:31: [1;31merror: [1;39mcannot find type 'XCTPerformanceMeasurement' in scope[0;0m
[0;36m9 |[0;0m
[0;36m10 |[0;0m extension XCTMetric {
[0;36m11 |[0;0m func storing(measurements: [[4;39mXCTPerformanceMeasurement[0;0m]) -> [XCTPerformanceMeasurement] {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'XCTPerformanceMeasurement' in scope[0;0m
[0;36m12 |[0;0m results[originId, default: []].append(contentsOf: measurements)
[0;36m13 |[0;0m return measurements
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMemoryMetric.swift:25:23: [1;31merror: [1;39m'super' cannot be used in class 'XCTMemoryMetric' because it has no superclass[0;0m
[0;36m23 |[0;0m
[0;36m24 |[0;0m override public func copy(with zone: NSZone? = nil) -> Any {
[0;36m25 |[0;0m remembering(copy: super.copy(with: zone))
[0;36m|[0;0m `- [1;31merror: [1;39m'super' cannot be used in class 'XCTMemoryMetric' because it has no superclass[0;0m
[0;36m26 |[0;0m }
[0;36m27 |[0;0m
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric+measurementStorage.swift:3:42: [1;31merror: [1;39mcannot find type 'XCTPerformanceMeasurement' in scope[0;0m
[0;36m1 |[0;0m import Beton
[0;36m2 |[0;0m
[0;36m3 |[0;0m private var results: [ObjectIdentifier: [[4;39mXCTPerformanceMeasurement[0;0m]] = [:]
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'XCTPerformanceMeasurement' in scope[0;0m
[0;36m4 |[0;0m private var copyMap: [ObjectIdentifier: ObjectIdentifier] = [:]
[0;36m5 |[0;0m
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric+measurementStorage.swift:7:29: [1;31merror: [1;39mcannot find type 'XCTPerformanceMeasurement' in scope[0;0m
[0;36m5 |[0;0m
[0;36m6 |[0;0m extension XCTMetric {
[0;36m7 |[0;0m public var measurements: [[4;39mXCTPerformanceMeasurement[0;0m] { results[id] ?? [] }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'XCTPerformanceMeasurement' in scope[0;0m
[0;36m8 |[0;0m }
[0;36m9 |[0;0m
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric+measurementStorage.swift:28:59: [1;31merror: [1;39margument type 'Self' expected to be an instance of a class or class-constrained type[0;0m
[0;36m26 |[0;0m
[0;36m27 |[0;0m extension XCTMetric {
[0;36m28 |[0;0m fileprivate var id: ObjectIdentifier { ObjectIdentifier(self) }
[0;36m|[0;0m `- [1;31merror: [1;39margument type 'Self' expected to be an instance of a class or class-constrained type[0;0m
[0;36m29 |[0;0m
[0;36m30 |[0;0m fileprivate var originId: ObjectIdentifier {
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMeasureOptions.swift /host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTCPUMetric.swift /host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTClockMetric.swift -primary-file /host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMemoryMetric.swift -primary-file /host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric+measurementStorage.swift /host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric.swift /host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTStorageMetric.swift /host/spi-builder-workspace/Sources/XCTBeton/XCTBeton.swift /host/spi-builder-workspace/Sources/XCTBeton/XCTestCase/XCTAssertMetric/XCTAssertClockIdentifier.swift /host/spi-builder-workspace/Sources/XCTBeton/XCTestCase/XCTAssertMetric/XCTAssertCpuIdentifier.swift /host/spi-builder-workspace/Sources/XCTBeton/XCTestCase/XCTAssertMetric/XCTAssertDiskIdentifier.swift /host/spi-builder-workspace/Sources/XCTBeton/XCTestCase/XCTAssertMetric/XCTAssertMemoryIdentifier.swift /host/spi-builder-workspace/Sources/XCTBeton/XCTestCase/XCTAssertMetric/XCTAssertMetric.swift /host/spi-builder-workspace/Sources/XCTBeton/XCTestCase/XCTAssertMetric/XCTestCase+XCTAssertMetric.swift /host/spi-builder-workspace/Sources/XCTBeton/XCTestCase/XCTAssertMetricIdentifier.swift /host/spi-builder-workspace/Sources/XCTBeton/XCTestCase/XCTestCase+measure.swift /host/spi-builder-workspace/Sources/XCTBeton/XCTestCase/XCTestCase.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTMemoryMetric.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTMemoryMetric.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTMemoryMetric.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTMemoryMetric.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTMetric+measurementStorage.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTMetric+measurementStorage.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTMetric+measurementStorage.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTMetric+measurementStorage.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -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 -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name XCTBeton -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTBeton_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTMemoryMetric.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTMetric+measurementStorage.o -index-unit-output-path /Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTMemoryMetric.o -index-unit-output-path /Beton.build/Debug-linux-x86_64/XCTBeton-t.build/Objects-normal/x86_64/XCTMetric+measurementStorage.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux