Build Information
Failed to build Chary, reference main (bfa364
), with Swift 6.2 (beta) for Linux on 21 Jun 2025 01:05:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hainayanda/Chary.git
Reference: main
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/hainayanda/Chary
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at bfa364d Update README.md
Cloned https://github.com/hainayanda/Chary.git
Revision (git rev-parse @):
bfa364d2bfc1911b53e1fd3ce421da013622cfa8
SUCCESS checkout https://github.com/hainayanda/Chary.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/hainayanda/Chary.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/5] Compiling Chary Atomic.swift
[4/5] Emitting module Chary
[5/5] Compiling Chary DispatchQueue+Extensions.swift
/host/spi-builder-workspace/Chary/Classes/DispatchQueue+Extensions.swift:60:24: error: operator function '==' requires that 'DispatchQueue' conform to 'Equatable'
58 | public static func isCurrentQueue(is queue: DispatchQueue) -> Bool {
59 | queue.registerDetection()
60 | return current == queue
| `- error: operator function '==' requires that 'DispatchQueue' conform to 'Equatable'
61 | }
62 | }
Swift.Optional:1:11: note: requirement from conditional conformance of 'Optional<DispatchQueue>' to 'Equatable'
1 | extension Optional : Equatable where Wrapped : Equatable {
| `- note: requirement from conditional conformance of 'Optional<DispatchQueue>' to 'Equatable'
2 | public static func == (lhs: Wrapped?, rhs: Wrapped?) -> Bool
3 | }
/host/spi-builder-workspace/Chary/Classes/DispatchQueue+Extensions.swift:101:52: warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
97 | /// Perform asynchronous task if in different queue than the target. It will run the block right away if turns out its on the same queue as the target
98 | /// - Parameter block: The work item to be invoked on the queue.
99 | public func asyncIfNeeded(qos: DispatchQoS = .unspecified, flags: DispatchWorkItemFlags = [], execute block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-Sendable
100 | ifAtDifferentQueue {
101 | async(qos: qos, flags: flags, execute: block)
| `- warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
102 | } ifNot: {
103 | block()
BUILD FAILURE 6.2 linux