Build Information
Failed to build Async with Swift 5.9 for Linux.
Build Command
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.9
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-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
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Async.swift:767:14: error: 'DispatchQoS.QoSClass?' initializer is inaccessible due to 'internal' protection level
case DispatchQoS.QoSClass(rawValue: qos_class_main())!: result = .main
^
Dispatch.DispatchQoS (internal):28:18: note: 'init(rawValue:)' declared here
internal init?(rawValue: _OSQoSClass)
^
error: fatalError
BUILD FAILURE 5.9 linux
Build Machine: Linux 2