The Swift Package Index logo.Swift Package Index

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>&1

Build 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: warning: extension 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
 1 | import Foundation
 2 |
 3 | extension Locale: ExpressibleByStringLiteral {
   | |- warning: extension 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
   | `- note: add '@retroactive' to silence this warning
 4 |   /// A convenience initializer that allows you to express a
 5 |   /// [`Locale`](https://developer.apple.com/documentation/foundation/locale) using a string literal.
/host/spi-builder-workspace/Sources/Beton/Measurement/Measurement+AdditiveArithmetic.swift:3:1: warning: extension 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
1 | import Foundation
2 |
3 | extension Measurement: AdditiveArithmetic where UnitType: Unit, UnitType.U == UnitType {
  | |- warning: extension 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
  | `- note: add '@retroactive' to silence this warning
4 |   public static var zero: Self { Self.init(value: 0.0, unit: .default) }
5 | }
/host/spi-builder-workspace/Sources/Beton/Measurement/Measurement+ExpressibleByFloatLiteral.swift:3:1: warning: extension 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
1 | import Foundation
2 |
3 | extension Measurement: ExpressibleByFloatLiteral where UnitType: Unit, UnitType.U == UnitType {
  | |- warning: extension 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
  | `- note: add '@retroactive' to silence this warning
4 |   public init(floatLiteral value: Double) {
5 |     self.init(value: value, unit: .default)
/host/spi-builder-workspace/Sources/Beton/Measurement/Measurement+ExpressibleByIntegerLiteral.swift:3:1: warning: extension 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
1 | import Foundation
2 |
3 | extension Measurement: ExpressibleByIntegerLiteral where UnitType: Unit, UnitType.U == UnitType {
  | |- warning: extension 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
  | `- note: add '@retroactive' to silence this warning
4 |   public init(integerLiteral value: Int) {
5 |     self.init(value: Double(value), unit: .default)
/host/spi-builder-workspace/Sources/Beton/Notifications/Notification.Name+ExpressibleByStringLiteral.swift:1:1: warning: extension 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
1 | extension Notification.Name: ExpressibleByStringLiteral {
  | |- warning: extension 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
  | `- note: add '@retroactive' to silence this warning
2 |   public init(stringLiteral value: String) { self.init(String(value)) }
3 | }
/host/spi-builder-workspace/Sources/Beton/URL/URL+ExpressibleByStringLiteral.swift:3:1: warning: extension 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
 1 | import Foundation
 2 |
 3 | extension URL: ExpressibleByStringLiteral {
   | |- warning: extension 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
   | `- note: add '@retroactive' to silence this warning
 4 |   /// A convenience initializer that allows you to express a
 5 |   /// [`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: warning: extension 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
1 | import Foundation
2 |
3 | extension Measurement: AdditiveArithmetic where UnitType: Unit, UnitType.U == UnitType {
  | |- warning: extension 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
  | `- note: add '@retroactive' to silence this warning
4 |   public static var zero: Self { Self.init(value: 0.0, unit: .default) }
5 | }
/host/spi-builder-workspace/Sources/Beton/Measurement/Measurement+ExpressibleByFloatLiteral.swift:3:1: warning: extension 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
1 | import Foundation
2 |
3 | extension Measurement: ExpressibleByFloatLiteral where UnitType: Unit, UnitType.U == UnitType {
  | |- warning: extension 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
  | `- note: add '@retroactive' to silence this warning
4 |   public init(floatLiteral value: Double) {
5 |     self.init(value: value, unit: .default)
/host/spi-builder-workspace/Sources/Beton/Measurement/Measurement+ExpressibleByIntegerLiteral.swift:3:1: warning: extension 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
1 | import Foundation
2 |
3 | extension Measurement: ExpressibleByIntegerLiteral where UnitType: Unit, UnitType.U == UnitType {
  | |- warning: extension 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
  | `- note: add '@retroactive' to silence this warning
4 |   public init(integerLiteral value: Int) {
5 |     self.init(value: Double(value), unit: .default)
/host/spi-builder-workspace/Sources/Beton/Notifications/Notification.Name+ExpressibleByStringLiteral.swift:1:1: warning: extension 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
1 | extension Notification.Name: ExpressibleByStringLiteral {
  | |- warning: extension 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
  | `- note: add '@retroactive' to silence this warning
2 |   public init(stringLiteral value: String) { self.init(String(value)) }
3 | }
[176 / 189] Beton
/host/spi-builder-workspace/Sources/Beton/Locale/Locale+ExpressibleByStringLiteral.swift:3:1: warning: extension 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
 1 | import Foundation
 2 |
 3 | extension Locale: ExpressibleByStringLiteral {
   | |- warning: extension 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
   | `- note: add '@retroactive' to silence this warning
 4 |   /// A convenience initializer that allows you to express a
 5 |   /// [`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: error: method does not override any method from its superclass
12 |   ///
13 |   /// - Parameter block: A block whose performance is measured.
14 |   @nonobjc public override func measure(_ block: () -> Void) {
   |                                 `- error: method does not override any method from its superclass
15 |     self.measure(metrics: Self.defaultMetrics, options: Self.defaultMeasureOptions, block: block)
16 |   }
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric.swift:12:22: error: cannot find type 'XCTPerformanceMeasurement' in scope
10 |   ///
11 |   /// Use ``XCTestCase/XCTAssertMetric(_:_:_:_:file:line:)`` to make assertions for the measurements.
12 |   var measurements: [XCTPerformanceMeasurement] { get }
   |                      `- error: cannot find type 'XCTPerformanceMeasurement' in scope
13 | }
14 |
/host/spi-builder-workspace/Sources/XCTBeton/XCTestCase/XCTestCase+measure.swift:53:18: error: extra arguments at positions #1, #2 in call
51 |   @nonobjc public func measure(metrics: [XCTMetric], options: XCTMeasureOptions, block: () -> Void)
52 |   {
53 |     super.measure(metrics: metrics, options: options, block: block)
   |                  `- error: extra arguments at positions #1, #2 in call
54 |     precondition(lastRunMetrics.isEmpty, "Must not have performed measurements yet!")
55 |     lastRunMetrics = metrics
XCTest.XCTestCase.measure:2:13: note: 'measure(file:line:block:)' declared here
1 | class XCTestCase {
2 | public func measure(file: StaticString = #file, line: Int = #line, block: () -> Void)}
  |             `- note: 'measure(file:line:block:)' declared here
3 |
/host/spi-builder-workspace/Sources/XCTBeton/XCTestCase/XCTestCase.swift:28:27: error: property does not override any property from its superclass
26 |   internal var lastRunMetrics: [XCTMetric] = []
27 |   /// Default options for ``XCTestCase/measure(_:)``. The default instance specifies 5 iteration counts.
28 |   open class override var defaultMeasureOptions: XCTMeasureOptions { XCTMeasureOptions() }
   |                           `- error: property does not override any property from its superclass
29 | }
30 |
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: error: class 'XCTMemoryMetric' does not exist in module 'XCTest'
 1 | import Beton
 2 |
 3 | import class XCTest.XCTMemoryMetric
   |              `- error: class 'XCTMemoryMetric' does not exist in module 'XCTest'
 4 |
 5 | /// A metric to record the physical memory that a performance test uses.
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMemoryMetric.swift:9:38: error: no type named 'XCTMemoryMetric' in module 'XCTest'
 7 | /// ``XCTMemoryMetric`` is a wrapper to
 8 | /// [`XCTest.XCTMemoryMetric`](https://developer.apple.com/documentation/xctest/xctmemorymetric).
 9 | public class XCTMemoryMetric: XCTest.XCTMemoryMetric, XCTMetric {
   |                                      `- error: no type named 'XCTMemoryMetric' in module 'XCTest'
10 |   deinit { forgetSelf() }
11 |
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMemoryMetric.swift:20:16: error: cannot find type 'XCTPerformanceMeasurement' in scope
18 |     from startTime: XCTPerformanceMeasurementTimestamp,
19 |     to endTime: XCTPerformanceMeasurementTimestamp
20 |   ) throws -> [XCTPerformanceMeasurement] {
   |                `- error: cannot find type 'XCTPerformanceMeasurement' in scope
21 |     storing(measurements: try super.reportMeasurements(from: startTime, to: endTime))
22 |   }
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMemoryMetric.swift:18:21: error: cannot find type 'XCTPerformanceMeasurementTimestamp' in scope
16 |   /// allowing you to make assertions to them.
17 |   public override func reportMeasurements(
18 |     from startTime: XCTPerformanceMeasurementTimestamp,
   |                     `- error: cannot find type 'XCTPerformanceMeasurementTimestamp' in scope
19 |     to endTime: XCTPerformanceMeasurementTimestamp
20 |   ) throws -> [XCTPerformanceMeasurement] {
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMemoryMetric.swift:19:17: error: cannot find type 'XCTPerformanceMeasurementTimestamp' in scope
17 |   public override func reportMeasurements(
18 |     from startTime: XCTPerformanceMeasurementTimestamp,
19 |     to endTime: XCTPerformanceMeasurementTimestamp
   |                 `- error: cannot find type 'XCTPerformanceMeasurementTimestamp' in scope
20 |   ) throws -> [XCTPerformanceMeasurement] {
21 |     storing(measurements: try super.reportMeasurements(from: startTime, to: endTime))
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMemoryMetric.swift:24:24: error: method does not override any method from its superclass
22 |   }
23 |
24 |   override public func copy(with zone: NSZone? = nil) -> Any {
   |                        `- error: method does not override any method from its superclass
25 |     remembering(copy: super.copy(with: zone))
26 |   }
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric.swift:8:35: error: no type named 'XCTMetric' in module 'XCTest'
 6 | /// Extends [`XCTest.XCTMetric`](https://developer.apple.com/documentation/xctest/xctmetric) with
 7 | /// ``XCTMetric/measurements-swift.property`` holding recorded performance metrics.
 8 | public protocol XCTMetric: XCTest.XCTMetric {
   |                                   `- error: no type named 'XCTMetric' in module 'XCTest'
 9 |   /// Holds recorded performance metrics.
10 |   ///
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric.swift:12:22: error: cannot find type 'XCTPerformanceMeasurement' in scope
10 |   ///
11 |   /// Use ``XCTestCase/XCTAssertMetric(_:_:_:_:file:line:)`` to make assertions for the measurements.
12 |   var measurements: [XCTPerformanceMeasurement] { get }
   |                      `- error: cannot find type 'XCTPerformanceMeasurement' in scope
13 | }
14 |
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMemoryMetric.swift:21:31: error: 'super' cannot be used in class 'XCTMemoryMetric' because it has no superclass
19 |     to endTime: XCTPerformanceMeasurementTimestamp
20 |   ) throws -> [XCTPerformanceMeasurement] {
21 |     storing(measurements: try super.reportMeasurements(from: startTime, to: endTime))
   |                               `- error: 'super' cannot be used in class 'XCTMemoryMetric' because it has no superclass
22 |   }
23 |
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric+measurementStorage.swift:11:63: error: cannot find type 'XCTPerformanceMeasurement' in scope
 9 |
10 | extension XCTMetric {
11 |   func storing(measurements: [XCTPerformanceMeasurement]) -> [XCTPerformanceMeasurement] {
   |                                                               `- error: cannot find type 'XCTPerformanceMeasurement' in scope
12 |     results[originId, default: []].append(contentsOf: measurements)
13 |     return measurements
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric+measurementStorage.swift:11:31: error: cannot find type 'XCTPerformanceMeasurement' in scope
 9 |
10 | extension XCTMetric {
11 |   func storing(measurements: [XCTPerformanceMeasurement]) -> [XCTPerformanceMeasurement] {
   |                               `- error: cannot find type 'XCTPerformanceMeasurement' in scope
12 |     results[originId, default: []].append(contentsOf: measurements)
13 |     return measurements
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMemoryMetric.swift:25:23: error: 'super' cannot be used in class 'XCTMemoryMetric' because it has no superclass
23 |
24 |   override public func copy(with zone: NSZone? = nil) -> Any {
25 |     remembering(copy: super.copy(with: zone))
   |                       `- error: 'super' cannot be used in class 'XCTMemoryMetric' because it has no superclass
26 |   }
27 |
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric+measurementStorage.swift:3:42: error: cannot find type 'XCTPerformanceMeasurement' in scope
 1 | import Beton
 2 |
 3 | private var results: [ObjectIdentifier: [XCTPerformanceMeasurement]] = [:]
   |                                          `- error: cannot find type 'XCTPerformanceMeasurement' in scope
 4 | private var copyMap: [ObjectIdentifier: ObjectIdentifier] = [:]
 5 |
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric+measurementStorage.swift:7:29: error: cannot find type 'XCTPerformanceMeasurement' in scope
 5 |
 6 | extension XCTMetric {
 7 |   public var measurements: [XCTPerformanceMeasurement] { results[id] ?? [] }
   |                             `- error: cannot find type 'XCTPerformanceMeasurement' in scope
 8 | }
 9 |
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric+measurementStorage.swift:28:59: error: argument type 'Self' expected to be an instance of a class or class-constrained type
26 |
27 | extension XCTMetric {
28 |   fileprivate var id: ObjectIdentifier { ObjectIdentifier(self) }
   |                                                           `- error: argument type 'Self' expected to be an instance of a class or class-constrained type
29 |
30 |   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