Build Information
Failed to build ReSwift-Router, reference 0.7.1 (826900), with Swift 6.3 for Linux on 11 Apr 2026 04:57:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ReSwift/ReSwift-Router.git
Reference: 0.7.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/ReSwift/ReSwift-Router
* tag 0.7.1 -> FETCH_HEAD
HEAD is now at 8269008 bump version to 0.7.1
Cloned https://github.com/ReSwift/ReSwift-Router.git
Revision (git rev-parse @):
82690085e4e0fa41bc8c56527ce9dc8a6589378f
SUCCESS checkout https://github.com/ReSwift/ReSwift-Router.git at 0.7.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/ReSwift/ReSwift-Router.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/ReSwift/ReSwift.git
[1/6447] Fetching reswift
Fetched https://github.com/ReSwift/ReSwift.git from cache (0.78s)
Computing version for https://github.com/ReSwift/ReSwift.git
Computed https://github.com/ReSwift/ReSwift.git at 5.0.0 (3.32s)
Creating working copy for https://github.com/ReSwift/ReSwift.git
Working copy of https://github.com/ReSwift/ReSwift.git resolved at 5.0.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/15] Compiling ReSwift Subscription.swift
[5/16] Compiling ReSwift StoreSubscriber.swift
[6/16] Compiling ReSwift StoreType.swift
[7/16] Compiling ReSwift Coding.swift
[8/16] Compiling ReSwift TypeHelper.swift
[9/16] Compiling ReSwift State.swift
[10/16] Compiling ReSwift Store.swift
[11/16] Compiling ReSwift Middleware.swift
[12/16] Compiling ReSwift Reducer.swift
[13/16] Emitting module ReSwift
[14/16] Compiling ReSwift Action.swift
[15/16] Compiling ReSwift DispatchingStoreType.swift
[16/16] Compiling ReSwift Assertions.swift
[18/23] Compiling ReSwiftRouter NavigationActions.swift
[19/23] Emitting module ReSwiftRouter
[20/23] Compiling ReSwiftRouter NavigationReducer.swift
[21/23] Compiling ReSwiftRouter Routable.swift
[22/23] Compiling ReSwiftRouter NavigationState.swift
[23/23] Compiling ReSwiftRouter Router.swift
/host/spi-builder-workspace/ReSwiftRouter/Router.swift:80:78: error: cannot find 'NSEC_PER_SEC' in scope
78 | }
79 |
80 | let waitUntil = DispatchTime.now() + Double(Int64(3 * Double(NSEC_PER_SEC))) / Double(NSEC_PER_SEC)
| `- error: cannot find 'NSEC_PER_SEC' in scope
81 |
82 | let result = semaphore.wait(timeout: waitUntil)
/host/spi-builder-workspace/ReSwiftRouter/Router.swift:80:103: error: cannot find 'NSEC_PER_SEC' in scope
78 | }
79 |
80 | let waitUntil = DispatchTime.now() + Double(Int64(3 * Double(NSEC_PER_SEC))) / Double(NSEC_PER_SEC)
| `- error: cannot find 'NSEC_PER_SEC' in scope
81 |
82 | let result = semaphore.wait(timeout: waitUntil)
BUILD FAILURE 6.3 linux