Build Information
Failed to build Async with Swift 5.7 for Linux.
Build Command
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/duemunk/async.git
Reference: 2.1.0
Cloned https://github.com/duemunk/async.git into spi-builder-workspace
SUCCESS checkout https://github.com/duemunk/async.git at 2.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.7
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)[1/2] Emitting module Async
/host/spi-builder-workspace/Sources/Async/Async.swift:735:18: error: cannot find type 'qos_class_t' in scope
public extension qos_class_t {
^~~~~~~~~~~
[2/2] Compiling Async Async.swift
/host/spi-builder-workspace/Sources/Async/Async.swift:735:18: error: cannot find type 'qos_class_t' in scope
public extension qos_class_t {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Async.swift:767:45: error: cannot find 'qos_class_main' in scope
case DispatchQoS.QoSClass(rawValue: qos_class_main())!: result = .main
^~~~~~~~~~~~~~
BUILD FAILURE 5.7 linux
Build Machine: Linux 1