Build Information
Failed to build MemoryLeakTestKit, reference master (11a1ca), with Swift 6.3 for Linux on 11 Apr 2026 07:42:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kuniwak/MemoryLeakTestKit.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/Kuniwak/MemoryLeakTestKit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 11a1ca0 Merge pull request #5 from Kuniwak/cocoapods
Cloned https://github.com/Kuniwak/MemoryLeakTestKit.git
Revision (git rev-parse @):
11a1ca08305f5da106327d6e42bce2de431bcf96
SUCCESS checkout https://github.com/Kuniwak/MemoryLeakTestKit.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/Kuniwak/MemoryLeakTestKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/20] Emitting module MemoryLeakTestKit
/host/spi-builder-workspace/Sources/MemoryLeakTestKit/IdentifiableReferencePathComponent.swift:7:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IdentifiableReferencePathComponent' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
5 |
6 |
7 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IdentifiableReferencePathComponent' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
8 | return self.id.hashValue
9 | }
/host/spi-builder-workspace/Sources/MemoryLeakTestKit/Reference.swift:53:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Reference' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
51 |
52 | extension Reference: Hashable {
53 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Reference' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
54 | return self.id.hashValue
55 | }
/host/spi-builder-workspace/Sources/MemoryLeakTestKit/ReferenceID.swift:44:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ReferenceID' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
42 |
43 | extension ReferenceID: Hashable {
44 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ReferenceID' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
45 | switch self {
46 | case .anyReferenceType(name: _, objectIdentifier: let objectIdentifier):
/host/spi-builder-workspace/Sources/MemoryLeakTestKit/ReferenceID.swift:8:9: error: switch must be exhaustive
6 |
7 | public init<T>(of target: T) {
8 | switch Mirror(reflecting: target).displayStyle {
| |- error: switch must be exhaustive
| |- note: add missing case: '.some(.foreignReference)'
| |- note: add missing case: '.some(_)'
| `- note: add missing cases
9 | case .some(.class):
10 | let objectIdentifier = ObjectIdentifier(target as AnyObject)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[4/22] Compiling MemoryLeakTestKit ReferencePath.swift
[5/22] Compiling MemoryLeakTestKit ReferencePathComponent.swift
[6/22] Compiling MemoryLeakTestKit Weak.swift
[7/22] Compiling MemoryLeakTestKit WeakOrNotReference.swift
[8/22] Compiling MemoryLeakTestKit ReferencePathNormalization.swift
[9/22] Compiling MemoryLeakTestKit Types.swift
[10/22] Compiling MemoryLeakTestKit Arrays.swift
[11/22] Compiling MemoryLeakTestKit CircularReferencePath.swift
[12/22] Compiling MemoryLeakTestKit IdentifiableReferencePath.swift
[13/22] Compiling MemoryLeakTestKit MemoryLeakReport.swift
[14/22] Compiling MemoryLeakTestKit NotNormalizedPathComponent.swift
[15/22] Compiling MemoryLeakTestKit ObjectTraverser.swift
[16/22] Compiling MemoryLeakTestKit PrefixedArray.generated.swift
[17/22] Compiling MemoryLeakTestKit PrettyPrint.swift
[18/22] Compiling MemoryLeakTestKit IdentifiableReferencePathComponent.swift
/host/spi-builder-workspace/Sources/MemoryLeakTestKit/IdentifiableReferencePathComponent.swift:7:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IdentifiableReferencePathComponent' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
5 |
6 |
7 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IdentifiableReferencePathComponent' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
8 | return self.id.hashValue
9 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[19/22] Compiling MemoryLeakTestKit LeakedObject.swift
/host/spi-builder-workspace/Sources/MemoryLeakTestKit/IdentifiableReferencePathComponent.swift:7:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IdentifiableReferencePathComponent' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
5 |
6 |
7 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IdentifiableReferencePathComponent' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
8 | return self.id.hashValue
9 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[20/22] Compiling MemoryLeakTestKit MemoryLeakDetector.swift
/host/spi-builder-workspace/Sources/MemoryLeakTestKit/IdentifiableReferencePathComponent.swift:7:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IdentifiableReferencePathComponent' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
5 |
6 |
7 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IdentifiableReferencePathComponent' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
8 | return self.id.hashValue
9 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[21/22] Compiling MemoryLeakTestKit Reference.swift
/host/spi-builder-workspace/Sources/MemoryLeakTestKit/Reference.swift:53:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Reference' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
51 |
52 | extension Reference: Hashable {
53 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Reference' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
54 | return self.id.hashValue
55 | }
/host/spi-builder-workspace/Sources/MemoryLeakTestKit/ReferenceID.swift:44:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ReferenceID' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
42 |
43 | extension ReferenceID: Hashable {
44 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ReferenceID' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
45 | switch self {
46 | case .anyReferenceType(name: _, objectIdentifier: let objectIdentifier):
/host/spi-builder-workspace/Sources/MemoryLeakTestKit/ReferenceID.swift:8:9: error: switch must be exhaustive
6 |
7 | public init<T>(of target: T) {
8 | switch Mirror(reflecting: target).displayStyle {
| |- error: switch must be exhaustive
| |- note: add missing case: '.some(.foreignReference)'
| |- note: add missing case: '.some(_)'
| `- note: add missing cases
9 | case .some(.class):
10 | let objectIdentifier = ObjectIdentifier(target as AnyObject)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[22/22] Compiling MemoryLeakTestKit ReferenceID.swift
/host/spi-builder-workspace/Sources/MemoryLeakTestKit/Reference.swift:53:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Reference' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
51 |
52 | extension Reference: Hashable {
53 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Reference' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
54 | return self.id.hashValue
55 | }
/host/spi-builder-workspace/Sources/MemoryLeakTestKit/ReferenceID.swift:44:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ReferenceID' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
42 |
43 | extension ReferenceID: Hashable {
44 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ReferenceID' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
45 | switch self {
46 | case .anyReferenceType(name: _, objectIdentifier: let objectIdentifier):
/host/spi-builder-workspace/Sources/MemoryLeakTestKit/ReferenceID.swift:8:9: error: switch must be exhaustive
6 |
7 | public init<T>(of target: T) {
8 | switch Mirror(reflecting: target).displayStyle {
| |- error: switch must be exhaustive
| |- note: add missing case: '.some(.foreignReference)'
| |- note: add missing case: '.some(_)'
| `- note: add missing cases
9 | case .some(.class):
10 | let objectIdentifier = ObjectIdentifier(target as AnyObject)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.3 linux