Build Information
Failed to build Chary with Swift 5.9 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.9-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: 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: 5.9
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.9-latest swift build 2>&1
Building for debugging...
[1/3] Emitting module Chary
[2/3] Compiling Chary Atomic.swift
[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 {
^
error: fatalError
[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 {
^
error: fatalError
BUILD FAILURE 5.9 linux