The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Chary with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.28.7
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hainayanda/Chary.git
Reference: 1.0.7
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
 * tag               1.0.7      -> FETCH_HEAD
HEAD is now at f4d2572 Make chary to be available on macOS, tvOS and watchOS
Cloned https://github.com/hainayanda/Chary.git
Revision (git rev-parse @):
f4d25724270c35d786cbf7102dd238941b525b69
SUCCESS checkout https://github.com/hainayanda/Chary.git at 1.0.7
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $PWD/checkout
https://github.com/hainayanda/Chary.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Building for debugging...
[1/3] Compiling Chary Atomic.swift
[2/3] Emitting module Chary
[3/3] 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'
        return current == queue
                       ^
Swift.Optional:1:11: note: requirement from conditional conformance of 'Optional<DispatchQueue>' to 'Equatable'
extension Optional : Equatable where Wrapped : Equatable {
          ^
[0/1] Planning build
Building for debugging...
[1/2] Emitting module Chary
[2/2] 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'
        return current == queue
                       ^
Swift.Optional:1:11: note: requirement from conditional conformance of 'Optional<DispatchQueue>' to 'Equatable'
extension Optional : Equatable where Wrapped : Equatable {
          ^
BUILD FAILURE 5.8 linux