Build Information
Failed to build MemoryLeakTestKit, reference master (72083e), with Swift 6.2 for macOS (SPM) on 27 Oct 2026 16:11:38 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kuniwak/MemoryLeakTestKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Kuniwak/MemoryLeakTestKit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 72083e8 Merge pull request #6 from Kuniwak/fix-dependabot-alerts
Cloned https://github.com/Kuniwak/MemoryLeakTestKit.git
Revision (git rev-parse @):
72083e83816bcb1150a2c38cd9fcc06e3f2a81ad
SUCCESS checkout https://github.com/Kuniwak/MemoryLeakTestKit.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/Kuniwak/MemoryLeakTestKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--3CB7CFEC50E0D141.txt
[3/21] Compiling MemoryLeakTestKit ObjectTraverser.swift
[4/21] Compiling MemoryLeakTestKit PrefixedArray.generated.swift
[5/21] Compiling MemoryLeakTestKit ReferencePathComponent.swift
[6/21] Compiling MemoryLeakTestKit ReferencePathNormalization.swift
[7/21] Compiling MemoryLeakTestKit PrettyPrint.swift
/Users/admin/builder/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 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[8/21] Compiling MemoryLeakTestKit Reference.swift
/Users/admin/builder/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 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[9/21] Compiling MemoryLeakTestKit MemoryLeakReport.swift
[10/21] Compiling MemoryLeakTestKit NotNormalizedPathComponent.swift
[11/21] Compiling MemoryLeakTestKit Types.swift
[12/21] Compiling MemoryLeakTestKit Weak.swift
[13/21] Compiling MemoryLeakTestKit ReferenceID.swift
/Users/admin/builder/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):
/Users/admin/builder/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>
[14/21] Compiling MemoryLeakTestKit ReferencePath.swift
/Users/admin/builder/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):
/Users/admin/builder/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>
[15/22] Compiling MemoryLeakTestKit WeakOrNotReference.swift
[16/22] Compiling MemoryLeakTestKit IdentifiableReferencePath.swift
/Users/admin/builder/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>
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/22] Compiling MemoryLeakTestKit IdentifiableReferencePathComponent.swift
/Users/admin/builder/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>
[18/22] Compiling MemoryLeakTestKit Arrays.swift
[19/22] Compiling MemoryLeakTestKit CircularReferencePath.swift
[20/22] Compiling MemoryLeakTestKit LeakedObject.swift
[21/22] Compiling MemoryLeakTestKit MemoryLeakDetector.swift
[22/22] Emitting module MemoryLeakTestKit
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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):
/Users/admin/builder/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.2 macosSpm