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 Baggins with Swift 5.9 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.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.25.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexito4/Baggins.git
Reference: 1.1.0
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/alexito4/Baggins
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at c31a6ce Update ci.yml
Cloned https://github.com/alexito4/Baggins.git
Revision (git rev-parse @):
c31a6cec7936aacfd8a18cdb0a4aafa02c1954bf
SUCCESS checkout https://github.com/alexito4/Baggins.git at 1.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/alexito4/UnwrapOrThrow
Fetching https://github.com/alexito4/Flow.git
[1/48] Fetching flow
[49/85] Fetching flow, unwraporthrow
Fetched https://github.com/alexito4/Flow.git (0.27s)
Fetched https://github.com/alexito4/UnwrapOrThrow (0.27s)
Computing version for https://github.com/alexito4/UnwrapOrThrow
Computed https://github.com/alexito4/UnwrapOrThrow at 1.0.0 (0.42s)
Computing version for https://github.com/alexito4/Flow.git
Computed https://github.com/alexito4/Flow.git at 1.0.0 (0.41s)
Creating working copy for https://github.com/alexito4/Flow.git
Working copy of https://github.com/alexito4/Flow.git resolved at 1.0.0
Creating working copy for https://github.com/alexito4/UnwrapOrThrow
Working copy of https://github.com/alexito4/UnwrapOrThrow resolved at 1.0.0
Building for debugging...
[1/7] Compiling Flow Flowable.swift
[2/7] Compiling Flow Functions.swift
[3/7] Compiling Flow Extensions.swift
[4/7] Emitting module Flow
[5/7] Compiling Flow Conformances.swift
[8/9] Emitting module UnwrapOrThrow
[9/9] Compiling UnwrapOrThrow UnwrapOrThrow.swift
[12/19] Compiling Baggins UnwrapOrThrow.swift
[13/20] Compiling Baggins Flow.swift
[14/20] Compiling Baggins Sequence.swift
[15/20] Compiling Baggins Collection.swift
[16/20] Compiling Baggins Bool.swift
[17/20] Emitting module Baggins
[18/20] Compiling Baggins String.swift
[19/20] Compiling Baggins Concurrency.swift
/host/spi-builder-workspace/Sources/Baggins/Concurrency.swift:60:62: error: cannot find 'NSEC_PER_SEC' in scope
        try await sleep(nanoseconds: UInt64(seconds * Double(NSEC_PER_SEC)))
                                                             ^~~~~~~~~~~~
[20/20] Compiling Baggins _Brewing.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[1/2] Emitting module Baggins
[2/2] Compiling Baggins Concurrency.swift
/host/spi-builder-workspace/Sources/Baggins/Concurrency.swift:60:62: error: cannot find 'NSEC_PER_SEC' in scope
        try await sleep(nanoseconds: UInt64(seconds * Double(NSEC_PER_SEC)))
                                                             ^~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.