The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DecartSDK, reference v0.5.1 (494235), with Swift 6.2 for Linux on 15 Mar 2026 00:17:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DecartAI/decart-ios.git
Reference: v0.5.1
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/DecartAI/decart-ios
 * tag               v0.5.1     -> FETCH_HEAD
HEAD is now at 4942350 Fix: Eliminate initial flash of default output on realtime session start (#13)
Cloned https://github.com/DecartAI/decart-ios.git
Revision (git rev-parse @):
4942350afa9c2e69c96d523cdd9c8cb2fb5504f1
SUCCESS checkout https://github.com/DecartAI/decart-ios.git at v0.5.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/DecartAI/decart-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d2f920c74e2de776c2ba4e297b2280b61148e6eb762436a4aad45f2a95167cea
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest
Fetching https://github.com/stasel/WebRTC.git
Fetching https://github.com/shareup/websocket-apple.git
[1/707] Fetching websocket-apple
[199/1437] Fetching websocket-apple, webrtc
Fetched https://github.com/shareup/websocket-apple.git from cache (0.21s)
Fetched https://github.com/stasel/WebRTC.git from cache (0.22s)
Computing version for https://github.com/shareup/websocket-apple.git
Computed https://github.com/shareup/websocket-apple.git at 4.1.0 (0.56s)
Fetching https://github.com/shareup/dispatch-timer.git
Fetching https://github.com/shareup/async-extensions.git
[1/105] Fetching dispatch-timer
[32/592] Fetching dispatch-timer, async-extensions
Fetched https://github.com/shareup/dispatch-timer.git from cache (0.22s)
Fetched https://github.com/shareup/async-extensions.git from cache (0.22s)
Computing version for https://github.com/stasel/WebRTC.git
Computed https://github.com/stasel/WebRTC.git at 140.0.0 (2.18s)
Computing version for https://github.com/shareup/dispatch-timer.git
Computed https://github.com/shareup/dispatch-timer.git at 3.0.1 (0.37s)
Fetching https://github.com/shareup/synchronized.git
[1/226] Fetching synchronized
Fetched https://github.com/shareup/synchronized.git from cache (0.24s)
Computing version for https://github.com/shareup/async-extensions.git
Computed https://github.com/shareup/async-extensions.git at 4.4.0 (0.55s)
Computing version for https://github.com/shareup/synchronized.git
Computed https://github.com/shareup/synchronized.git at 4.0.1 (0.35s)
Creating working copy for https://github.com/shareup/synchronized.git
Working copy of https://github.com/shareup/synchronized.git resolved at 4.0.1
Creating working copy for https://github.com/shareup/dispatch-timer.git
Working copy of https://github.com/shareup/dispatch-timer.git resolved at 3.0.1
Creating working copy for https://github.com/shareup/websocket-apple.git
Working copy of https://github.com/shareup/websocket-apple.git resolved at 4.1.0
Creating working copy for https://github.com/stasel/WebRTC.git
Working copy of https://github.com/stasel/WebRTC.git resolved at 140.0.0
Creating working copy for https://github.com/shareup/async-extensions.git
Working copy of https://github.com/shareup/async-extensions.git resolved at 4.4.0
Downloading binary artifact https://github.com/stasel/WebRTC/releases/download/140.0.0/WebRTC-M140.xcframework.zip
[908/41474976] Downloading https://github.com/stasel/WebRTC/releases/download/140.0.0/WebRTC-M140.xcframework.zip
Downloaded https://github.com/stasel/WebRTC/releases/download/140.0.0/WebRTC-M140.xcframework.zip (3.63s)
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] Emitting module Synchronized
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Lock.swift:4:47: error: cannot find type 'os_unfair_lock' in scope
 2 |
 3 | public final class Lock {
 4 |     private var backing: UnsafeMutablePointer<os_unfair_lock>
   |                                               `- error: cannot find type 'os_unfair_lock' in scope
 5 |
 6 |     public init() {
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Locked.swift:4:54: error: cannot find type 'os_unfair_lock' in scope
 2 |
 3 | public struct Locked<Element> {
 4 |     private final class Lock: ManagedBuffer<Element, os_unfair_lock> {
   |                                                      `- error: cannot find type 'os_unfair_lock' in scope
 5 |         deinit {
 6 |             withUnsafeMutablePointerToElements { lock in
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Locked.swift:12:48: error: cannot find type 'os_unfair_lock' in scope
10 |     }
11 |
12 |     private let buffer: ManagedBuffer<Element, os_unfair_lock>
   |                                                `- error: cannot find type 'os_unfair_lock' in scope
13 |
14 |     public init(_ element: Element) {
[8/10] Compiling Synchronized RecursiveLock.swift
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/RecursiveLock.swift:14:54: error: cannot convert value of type 'Int' to expected argument type 'Int32'
12 |         else { preconditionFailure() }
13 |
14 |         guard pthread_mutexattr_settype(&attributes, PTHREAD_MUTEX_RECURSIVE) == 0
   |                                                      `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
15 |         else { preconditionFailure() }
16 |
[9/10] Compiling Synchronized Locked.swift
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Locked.swift:4:54: error: cannot find type 'os_unfair_lock' in scope
 2 |
 3 | public struct Locked<Element> {
 4 |     private final class Lock: ManagedBuffer<Element, os_unfair_lock> {
   |                                                      `- error: cannot find type 'os_unfair_lock' in scope
 5 |         deinit {
 6 |             withUnsafeMutablePointerToElements { lock in
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Locked.swift:12:48: error: cannot find type 'os_unfair_lock' in scope
10 |     }
11 |
12 |     private let buffer: ManagedBuffer<Element, os_unfair_lock>
   |                                                `- error: cannot find type 'os_unfair_lock' in scope
13 |
14 |     public init(_ element: Element) {
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Locked.swift:6:13: error: type of expression is ambiguous without a type annotation
 4 |     private final class Lock: ManagedBuffer<Element, os_unfair_lock> {
 5 |         deinit {
 6 |             withUnsafeMutablePointerToElements { lock in
   |             `- error: type of expression is ambiguous without a type annotation
 7 |                 _ = lock.deinitialize(count: 1)
 8 |             }
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Locked.swift:17:35: error: cannot find 'os_unfair_lock' in scope
15 |         buffer = Lock.create(minimumCapacity: 1) { buffer in
16 |             buffer.withUnsafeMutablePointerToElements {
17 |                 $0.initialize(to: os_unfair_lock())
   |                                   `- error: cannot find 'os_unfair_lock' in scope
18 |             }
19 |             return element
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Locked.swift:15:16: error: type of expression is ambiguous without a type annotation
13 |
14 |     public init(_ element: Element) {
15 |         buffer = Lock.create(minimumCapacity: 1) { buffer in
   |                `- error: type of expression is ambiguous without a type annotation
16 |             buffer.withUnsafeMutablePointerToElements {
17 |                 $0.initialize(to: os_unfair_lock())
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Locked.swift:25:13: error: cannot find 'os_unfair_lock_lock' in scope
23 |     public func access<Return>(_ block: (inout Element) throws -> Return) rethrows -> Return {
24 |         try buffer.withUnsafeMutablePointers { element, lock in
25 |             os_unfair_lock_lock(lock)
   |             `- error: cannot find 'os_unfair_lock_lock' in scope
26 |             defer { os_unfair_lock_unlock(lock) }
27 |             return try block(&element.pointee)
[10/10] Compiling Synchronized Lock.swift
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Lock.swift:4:47: error: cannot find type 'os_unfair_lock' in scope
 2 |
 3 | public final class Lock {
 4 |     private var backing: UnsafeMutablePointer<os_unfair_lock>
   |                                               `- error: cannot find type 'os_unfair_lock' in scope
 5 |
 6 |     public init() {
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Lock.swift:7:40: error: cannot find type 'os_unfair_lock' in scope
 5 |
 6 |     public init() {
 7 |         backing = UnsafeMutablePointer<os_unfair_lock>.allocate(capacity: 1)
   |                                        `- error: cannot find type 'os_unfair_lock' in scope
 8 |         backing.initialize(to: os_unfair_lock())
 9 |     }
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Lock.swift:8:32: error: cannot find 'os_unfair_lock' in scope
 6 |     public init() {
 7 |         backing = UnsafeMutablePointer<os_unfair_lock>.allocate(capacity: 1)
 8 |         backing.initialize(to: os_unfair_lock())
   |                                `- error: cannot find 'os_unfair_lock' in scope
 9 |     }
10 |
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Lock.swift:18:9: error: cannot find 'os_unfair_lock_lock' in scope
16 |     public func locked<T>(_ block: () throws -> T) rethrows -> T {
17 |         // https://developer.apple.com/documentation/os/1646466-os_unfair_lock_lock
18 |         os_unfair_lock_lock(backing)
   |         `- error: cannot find 'os_unfair_lock_lock' in scope
19 |         defer { os_unfair_lock_unlock(backing) }
20 |         return try block()
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Lock.swift:19:17: error: cannot find 'os_unfair_lock_unlock' in scope
17 |         // https://developer.apple.com/documentation/os/1646466-os_unfair_lock_lock
18 |         os_unfair_lock_lock(backing)
19 |         defer { os_unfair_lock_unlock(backing) }
   |                 `- error: cannot find 'os_unfair_lock_unlock' in scope
20 |         return try block()
21 |     }
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Lock.swift:25:12: error: cannot find 'os_unfair_lock_trylock' in scope
23 |     public func tryLocked(_ block: () throws -> Void) rethrows -> Bool {
24 |         // https://developer.apple.com/documentation/os/1646469-os_unfair_lock_trylock
25 |         if os_unfair_lock_trylock(backing) {
   |            `- error: cannot find 'os_unfair_lock_trylock' in scope
26 |             defer { os_unfair_lock_unlock(backing) }
27 |             try block()
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Lock.swift:26:21: error: cannot find 'os_unfair_lock_unlock' in scope
24 |         // https://developer.apple.com/documentation/os/1646469-os_unfair_lock_trylock
25 |         if os_unfair_lock_trylock(backing) {
26 |             defer { os_unfair_lock_unlock(backing) }
   |                     `- error: cannot find 'os_unfair_lock_unlock' in scope
27 |             try block()
28 |             return true
BUILD FAILURE 6.2 linux