The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Beton, reference master (d5cac0), with Swift 6.4 for Android on 26 Sep 2026 15:16:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d5cac0c ⬆️ Swift v6 upgrade
Cloned https://github.com/adam-rocska/Beton.git
Revision (git rev-parse @):
d5cac0c9d494e473e42f93b5f16ecdb3903ce092
SUCCESS checkout https://github.com/adam-rocska/Beton.git at master
========================================
Build
========================================
Selected platform:         android
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-54344843-1":/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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6737] Fetching swift-async-algorithms
[69/9082] Fetching swift-async-algorithms, swift-docc-plugin
Fetched https://github.com/apple/swift-async-algorithms.git (0.63s)
Fetched https://github.com/apple/swift-docc-plugin (0.63s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.69s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3831] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.56s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.78s)
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.21s)
Fetching https://github.com/apple/swift-collections.git
[1/27779] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.39s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (1.69s)
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
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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.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
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 388]
[Planning deferred tasks]
[80 / 131] InternalCollectionsUtilities
[89 / 140] InternalCollectionsUtilities
[104 / 145] SpanPreview
[114 / 166] DequeModule
[117 / 167] OrderedCollections
[118 / 167] OrderedCollections
[120 / 167] OrderedCollections
[124 / 167] DequeModule
[125 / 167] DequeModule
[127 / 167] DequeModule
[129 / 167] DequeModule
[130 / 168] DequeModule
[132 / 168] OrderedCollections
[138 / 168] DequeModule
[145 / 170] DequeModule
[155 / 179] DequeModule
[156 / 179] AsyncAlgorithms
[168 / 189] Beton
[169 / 189] Beton
[170 / 189] Beton
[172 / 189] Beton
[177 / 190] Beton
[183 / 199] XCTBeton
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile XCTMetric.swift
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTStorageMetric.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile XCTStorageMetric.swift
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric.swift:3:17: error: protocol 'XCTMetric' does not exist in module 'XCTest'
 1 | import Beton
 2 |
 3 | import protocol XCTest.XCTMetric
   |                 `- error: protocol 'XCTMetric' does not exist in module 'XCTest'
 4 | import class XCTest.XCTPerformanceMeasurement
 5 |
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric.swift:4:14: error: class 'XCTPerformanceMeasurement' does not exist in module 'XCTest'
 2 |
 3 | import protocol XCTest.XCTMetric
 4 | import class XCTest.XCTPerformanceMeasurement
   |              `- error: class 'XCTPerformanceMeasurement' does not exist in module 'XCTest'
 5 |
 6 | /// Extends [`XCTest.XCTMetric`](https://developer.apple.com/documentation/xctest/xctmetric) with
/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/XCTStorageMetric.swift:3:14: error: class 'XCTStorageMetric' does not exist in module 'XCTest'
 1 | import Beton
 2 |
 3 | import class XCTest.XCTStorageMetric
   |              `- error: class 'XCTStorageMetric' does not exist in module 'XCTest'
 4 |
 5 | /// A metric to record the amount of data that a performance test logically writes to storage.
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTStorageMetric.swift:9:39: error: no type named 'XCTStorageMetric' in module 'XCTest'
 7 | /// ``XCTStorageMetric`` is a wrapper to
 8 | /// [`XCTest.XCTStorageMetric`](https://developer.apple.com/documentation/xctest/xctstoragemetric).
 9 | public class XCTStorageMetric: XCTest.XCTStorageMetric, XCTMetric {
   |                                       `- error: no type named 'XCTStorageMetric' in module 'XCTest'
10 |
11 |   deinit { forgetSelf() }
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTStorageMetric.swift:21:16: error: cannot find type 'XCTPerformanceMeasurement' in scope
19 |     from startTime: XCTPerformanceMeasurementTimestamp,
20 |     to endTime: XCTPerformanceMeasurementTimestamp
21 |   ) throws -> [XCTPerformanceMeasurement] {
   |                `- error: cannot find type 'XCTPerformanceMeasurement' in scope
22 |     storing(measurements: try super.reportMeasurements(from: startTime, to: endTime))
23 |   }
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTStorageMetric.swift:19:21: error: cannot find type 'XCTPerformanceMeasurementTimestamp' in scope
17 |   /// allowing you to make assertions to them.
18 |   public override func reportMeasurements(
19 |     from startTime: XCTPerformanceMeasurementTimestamp,
   |                     `- error: cannot find type 'XCTPerformanceMeasurementTimestamp' in scope
20 |     to endTime: XCTPerformanceMeasurementTimestamp
21 |   ) throws -> [XCTPerformanceMeasurement] {
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTStorageMetric.swift:20:17: error: cannot find type 'XCTPerformanceMeasurementTimestamp' in scope
18 |   public override func reportMeasurements(
19 |     from startTime: XCTPerformanceMeasurementTimestamp,
20 |     to endTime: XCTPerformanceMeasurementTimestamp
   |                 `- error: cannot find type 'XCTPerformanceMeasurementTimestamp' in scope
21 |   ) throws -> [XCTPerformanceMeasurement] {
22 |     storing(measurements: try super.reportMeasurements(from: startTime, to: endTime))
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTStorageMetric.swift:25:24: error: method does not override any method from its superclass
23 |   }
24 |
25 |   override public func copy(with zone: NSZone? = nil) -> Any {
   |                        `- error: method does not override any method from its superclass
26 |     remembering(copy: super.copy(with: zone))
27 |   }
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTStorageMetric.swift:22:31: error: 'super' cannot be used in class 'XCTStorageMetric' because it has no superclass
20 |     to endTime: XCTPerformanceMeasurementTimestamp
21 |   ) throws -> [XCTPerformanceMeasurement] {
22 |     storing(measurements: try super.reportMeasurements(from: startTime, to: endTime))
   |                               `- error: 'super' cannot be used in class 'XCTStorageMetric' because it has no superclass
23 |   }
24 |
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric+measurementStorage.swift:55:63: error: cannot find type 'XCTPerformanceMeasurement' in scope
53 |
54 | extension XCTMetric {
55 |   func storing(measurements: [XCTPerformanceMeasurement]) -> [XCTPerformanceMeasurement] {
   |                                                               `- error: cannot find type 'XCTPerformanceMeasurement' in scope
56 |     measurementStorage.store(measurements: measurements, for: id)
57 |     return measurements
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric+measurementStorage.swift:55:31: error: cannot find type 'XCTPerformanceMeasurement' in scope
53 |
54 | extension XCTMetric {
55 |   func storing(measurements: [XCTPerformanceMeasurement]) -> [XCTPerformanceMeasurement] {
   |                               `- error: cannot find type 'XCTPerformanceMeasurement' in scope
56 |     measurementStorage.store(measurements: measurements, for: id)
57 |     return measurements
/host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTStorageMetric.swift:26:23: error: 'super' cannot be used in class 'XCTStorageMetric' because it has no superclass
24 |
25 |   override public func copy(with zone: NSZone? = nil) -> Any {
26 |     remembering(copy: super.copy(with: zone))
   |                       `- error: 'super' cannot be used in class 'XCTStorageMetric' because it has no superclass
27 |   }
28 |
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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 -primary-file /host/spi-builder-workspace/Sources/XCTBeton/Performance/XCTMetric/XCTMetric.swift -primary-file /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-android-aarch64/XCTBeton-t.build/Objects-normal/aarch64/XCTMetric.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-android-aarch64/XCTBeton-t.build/Objects-normal/aarch64/XCTMetric.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-android-aarch64/XCTBeton-t.build/Objects-normal/aarch64/XCTMetric.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-android-aarch64/XCTBeton-t.build/Objects-normal/aarch64/XCTMetric.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-android-aarch64/XCTBeton-t.build/Objects-normal/aarch64/XCTStorageMetric.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-android-aarch64/XCTBeton-t.build/Objects-normal/aarch64/XCTStorageMetric.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-android-aarch64/XCTBeton-t.build/Objects-normal/aarch64/XCTStorageMetric.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-android-aarch64/XCTBeton-t.build/Objects-normal/aarch64/XCTStorageMetric.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -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 6 -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 /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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 -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -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-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-android-aarch64/XCTBeton-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-android-aarch64/XCTBeton-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-android-aarch64/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-android-aarch64/XCTBeton-t.build/Objects-normal/aarch64/XCTBeton_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-android-aarch64/XCTBeton-t.build/Objects-normal/aarch64/XCTMetric.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beton.build/Debug-android-aarch64/XCTBeton-t.build/Objects-normal/aarch64/XCTStorageMetric.o -index-unit-output-path /Beton.build/Debug-android-aarch64/XCTBeton-t.build/Objects-normal/aarch64/XCTMetric.o -index-unit-output-path /Beton.build/Debug-android-aarch64/XCTBeton-t.build/Objects-normal/aarch64/XCTStorageMetric.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android