This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 Promis with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-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/albertodebortoli/Promis.git
Reference: master
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/albertodebortoli/Promis
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at cbc7acc Merge pull request #18 from albertodebortoli/fix-whenAll-leak
Cloned https://github.com/albertodebortoli/Promis.git
Revision (git rev-parse @):
cbc7accb649990c1248cf1de7159cf427a932550
SUCCESS checkout https://github.com/albertodebortoli/Promis.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $PWD/checkout
https://github.com/albertodebortoli/Promis.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Building for debugging...
[1/7] Compiling Promis PromisError.swift
[2/7] Compiling Promis Future+Chaining.swift
[3/7] Emitting module Promis
[4/7] Compiling Promis Promise.swift
[5/7] Compiling Promis FutureState.swift
[6/7] Compiling Promis Future.swift
[7/7] Compiling Promis Future+WhenAll.swift
/host/spi-builder-workspace/Framework/Sources/Future+WhenAll.swift:28:21: error: cannot find 'OSAtomicDecrement32' in scope
                if (OSAtomicDecrement32(&counter) == 0) {
                    ^~~~~~~~~~~~~~~~~~~
[0/1] Planning build
Building for debugging...
[1/2] Emitting module Promis
[2/2] Compiling Promis Future+WhenAll.swift
/host/spi-builder-workspace/Framework/Sources/Future+WhenAll.swift:28:21: error: cannot find 'OSAtomicDecrement32' in scope
                if (OSAtomicDecrement32(&counter) == 0) {
                    ^~~~~~~~~~~~~~~~~~~
BUILD FAILURE 5.8 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.