The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.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.1
Building package at path:  $PWD
https://github.com/nschum/SwiftHamcrest.git
https://github.com/nschum/SwiftHamcrest.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Hamcrest",
  "name" : "Hamcrest",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Hamcrest",
      "targets" : [
        "Hamcrest"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HamcrestSwiftTesting",
      "targets" : [
        "HamcrestSwiftTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HamcrestTests",
      "module_type" : "SwiftTarget",
      "name" : "HamcrestTests",
      "path" : "HamcrestTests",
      "sources" : [
        "ArithmeticMatcherTests.swift",
        "AssertThatTests.swift",
        "BaseTestCase.swift",
        "BasicMatcherTests.swift",
        "DictionaryMatcherTests.swift",
        "ErrorTests.swift",
        "MatchResultTests.swift",
        "MatcherMocks.swift",
        "MetaMatcherTests.swift",
        "OperatorMatcherTests.swift",
        "ReflectionMatcherTests.swift",
        "SequenceMatcherTests.swift",
        "StringMatcherTests.swift",
        "SwiftTesting.swift"
      ],
      "target_dependencies" : [
        "Hamcrest"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HamcrestSwiftTestingTests",
      "module_type" : "SwiftTarget",
      "name" : "HamcrestSwiftTestingTests",
      "path" : "HamcrestSwiftTesting",
      "sources" : [
        "Source/Test/HamcrestSwiftTestingTests.swift"
      ],
      "target_dependencies" : [
        "Hamcrest",
        "HamcrestSwiftTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HamcrestSwiftTesting",
      "module_type" : "SwiftTarget",
      "name" : "HamcrestSwiftTesting",
      "path" : "HamcrestSwiftTesting",
      "product_memberships" : [
        "HamcrestSwiftTesting"
      ],
      "sources" : [
        "Source/Main/HamcrestSwiftTesting.swift"
      ],
      "target_dependencies" : [
        "Hamcrest"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Hamcrest",
      "module_type" : "SwiftTarget",
      "name" : "Hamcrest",
      "path" : "Hamcrest",
      "product_memberships" : [
        "Hamcrest",
        "HamcrestSwiftTesting"
      ],
      "sources" : [
        "ArithmeticMatchers.swift",
        "BasicMatchers.swift",
        "Descriptions.swift",
        "DictionaryMatchers.swift",
        "Hamcrest.swift",
        "MatchResult.swift",
        "Matcher.swift",
        "MetaMatchers.swift",
        "OperatorMatchers.swift",
        "ReflectionMatchers.swift",
        "SequenceMatchers.swift",
        "StringMatchers.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/15] Compiling Hamcrest ReflectionMatchers.swift
[5/15] Compiling Hamcrest SequenceMatchers.swift
[6/15] Compiling Hamcrest Matcher.swift
[7/16] Compiling Hamcrest OperatorMatchers.swift
[8/16] Compiling Hamcrest MetaMatchers.swift
[9/16] Compiling Hamcrest StringMatchers.swift
[10/16] Compiling Hamcrest Descriptions.swift
[11/16] Compiling Hamcrest DictionaryMatchers.swift
[12/16] Compiling Hamcrest MatchResult.swift
[13/16] Compiling Hamcrest ArithmeticMatchers.swift
[14/16] Compiling Hamcrest BasicMatchers.swift
[15/16] Emitting module Hamcrest
[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
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/13] Compiling Hamcrest MatchResult.swift
[3/13] Compiling Hamcrest Matcher.swift
[4/13] Compiling Hamcrest MetaMatchers.swift
[5/13] 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
[6/14] Compiling Hamcrest ReflectionMatchers.swift
[7/14] Compiling Hamcrest SequenceMatchers.swift
[8/14] Compiling Hamcrest OperatorMatchers.swift
[9/14] Emitting module Hamcrest
[10/14] Compiling Hamcrest Descriptions.swift
[11/14] Compiling Hamcrest DictionaryMatchers.swift
[12/14] Compiling Hamcrest ArithmeticMatchers.swift
[13/14] Compiling Hamcrest BasicMatchers.swift
[14/14] Compiling Hamcrest StringMatchers.swift
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/HamcrestTests/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/Main/HamcrestSwiftTesting.swift
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.1 macosSpm