Build Information
Failed to build Hamcrest, reference 2.4.2 (940f72), with Swift 6.2 for Linux on 12 Aug 2026 05:18:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 729ceb5fcd9493dc13ee340bc4f0908bd201f85d
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nschum/SwiftHamcrest.git
Reference: 2.4.2
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/nschum/SwiftHamcrest
* tag 2.4.2 -> FETCH_HEAD
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 2.4.2
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/nschum/SwiftHamcrest.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:4f3911e0f09a6ac47ac813ad3222aa373869118ee0ae384fd641a13da74b5e3f
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/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
/host/spi-builder-workspace/HamcrestSwiftTesting/Source/Test/HamcrestSwiftTestingTests.swift
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/15] Compiling Hamcrest OperatorMatchers.swift
[5/15] Compiling Hamcrest ReflectionMatchers.swift
[6/16] Compiling Hamcrest SequenceMatchers.swift
[7/16] Compiling Hamcrest Matcher.swift
[8/16] Compiling Hamcrest MetaMatchers.swift
[9/16] Compiling Hamcrest StringMatchers.swift
[10/16] Compiling Hamcrest ArithmeticMatchers.swift
[11/16] Compiling Hamcrest BasicMatchers.swift
[12/16] Emitting module Hamcrest
[13/16] Compiling Hamcrest Descriptions.swift
[14/16] Compiling Hamcrest DictionaryMatchers.swift
[15/16] Compiling Hamcrest Hamcrest.swift
/host/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
/host/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
[16/16] Compiling Hamcrest MatchResult.swift
/host/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
/host/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
BUILD FAILURE 6.2 linux