The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Hamcrest, reference master (940f72), with Swift 6.2 for macOS (SPM) on 12 Aug 2026 05:32:46 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nschum/SwiftHamcrest.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nschum/SwiftHamcrest
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 940f722 Merge branch 'master' of github.com:nschum/SwiftHamcrest
Cloned https://github.com/nschum/SwiftHamcrest.git
Revision (git rev-parse @):
940f722ef40c373738167fdffb99d8bdff91ab72
SUCCESS checkout https://github.com/nschum/SwiftHamcrest.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/nschum/SwiftHamcrest.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--3CB7CFEC50E0D141.txt
[4/15] Compiling Hamcrest Matcher.swift
[5/15] Compiling Hamcrest SequenceMatchers.swift
[6/15] Compiling Hamcrest OperatorMatchers.swift
[7/15] Compiling Hamcrest MatchResult.swift
[8/15] Compiling Hamcrest MetaMatchers.swift
[9/15] Compiling Hamcrest ReflectionMatchers.swift
[10/16] Compiling Hamcrest StringMatchers.swift
[11/16] Compiling Hamcrest Descriptions.swift
[12/16] Compiling Hamcrest DictionaryMatchers.swift
[13/16] Emitting module Hamcrest
[14/16] Compiling Hamcrest ArithmeticMatchers.swift
[15/16] Compiling Hamcrest BasicMatchers.swift
[16/16] Compiling Hamcrest Hamcrest.swift
/Users/admin/builder/spi-builder-workspace/Hamcrest/Hamcrest.swift:30:74: error: extra argument 'severity' in call
 28 |     if #available(macOS 26, iOS 26, tvOS 26, watchOS 26, *) {
 29 |         #if canImport(Testing)
 30 |             Issue.record("add 'import HamcrestSwiftTesting'", severity: .warning)
    |                                                                          `- error: extra argument 'severity' in call
 31 |             Issue.record(Testing.Comment(rawValue: message), sourceLocation: Testing.SourceLocation(fileID: fileID, filePath: file.description, line: Int(line), column: Int(column)))
 32 |         #endif
/Users/admin/builder/spi-builder-workspace/Hamcrest/Hamcrest.swift:30:74: error: cannot infer contextual base in reference to member 'warning'
 28 |     if #available(macOS 26, iOS 26, tvOS 26, watchOS 26, *) {
 29 |         #if canImport(Testing)
 30 |             Issue.record("add 'import HamcrestSwiftTesting'", severity: .warning)
    |                                                                          `- error: cannot infer contextual base in reference to member 'warning'
 31 |             Issue.record(Testing.Comment(rawValue: message), sourceLocation: Testing.SourceLocation(fileID: fileID, filePath: file.description, line: Int(line), column: Int(column)))
 32 |         #endif
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Hamcrest/Info.plist
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/HamcrestSwiftTesting/Source/Test/HamcrestSwiftTestingTests.swift
BUILD FAILURE 6.2 macosSpm