The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Baggins, reference 1.1.0 (c31a6c), with Swift 6.2 (beta) for Linux on 19 Jun 2025 07:43:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
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:             6.2
Building package at path:  $PWD
https://github.com/alexito4/Baggins.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/alexito4/UnwrapOrThrow
Fetching https://github.com/alexito4/Flow.git
[1/48] Fetching flow
[48/85] Fetching flow, unwraporthrow
Fetched https://github.com/alexito4/Flow.git from cache (0.44s)
Fetched https://github.com/alexito4/UnwrapOrThrow from cache (0.44s)
Computing version for https://github.com/alexito4/UnwrapOrThrow
Computed https://github.com/alexito4/UnwrapOrThrow at 1.0.0 (1.24s)
Computing version for https://github.com/alexito4/Flow.git
Computed https://github.com/alexito4/Flow.git at 1.0.0 (0.46s)
Creating working copy for https://github.com/alexito4/UnwrapOrThrow
Working copy of https://github.com/alexito4/UnwrapOrThrow resolved at 1.0.0
Creating working copy for https://github.com/alexito4/Flow.git
Working copy of https://github.com/alexito4/Flow.git resolved at 1.0.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/11] Compiling Flow Extensions.swift
[6/11] Compiling Flow Flowable.swift
[7/11] Compiling Flow Functions.swift
[8/11] Emitting module Flow
[9/11] Compiling Flow Conformances.swift
[11/12] Emitting module UnwrapOrThrow
[12/12] Compiling UnwrapOrThrow UnwrapOrThrow.swift
[14/21] Compiling Baggins UnwrapOrThrow.swift
[15/22] Compiling Baggins Collection.swift
[16/22] Compiling Baggins Bool.swift
[17/22] Emitting module Baggins
[18/22] Compiling Baggins Flow.swift
[19/22] Compiling Baggins Sequence.swift
[20/22] Compiling Baggins String.swift
[21/22] Compiling Baggins Concurrency.swift
/host/spi-builder-workspace/Sources/Baggins/Concurrency.swift:60:62: error: cannot find 'NSEC_PER_SEC' in scope
 58 |     /// This function doesn't block the underlying thread.
 59 |     static func sleep(seconds: Double) async throws {
 60 |         try await sleep(nanoseconds: UInt64(seconds * Double(NSEC_PER_SEC)))
    |                                                              `- error: cannot find 'NSEC_PER_SEC' in scope
 61 |     }
 62 | }
[22/22] Compiling Baggins _Brewing.swift
BUILD FAILURE 6.2 linux