Build Information
Failed to build MacControlCenterUI, reference 2.7.3 (dea72a), with Swift 6.2 for Linux on 17 Jan 2026 06:18:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orchetect/MacControlCenterUI.git
Reference: 2.7.3
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/orchetect/MacControlCenterUI
* tag 2.7.3 -> FETCH_HEAD
HEAD is now at dea72a5 Fixed issue where some menu styles did not update when the system transitioned between Dark and Light modes (#1)
Cloned https://github.com/orchetect/MacControlCenterUI.git
Revision (git rev-parse @):
dea72a51feaae72ca2d88a7af24d86110e002eaa
SUCCESS checkout https://github.com/orchetect/MacControlCenterUI.git at 2.7.3
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/orchetect/MacControlCenterUI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:028db8def7a0a170322a168cc6b6bf6fa53e165049035becb7303fffc498bb80
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/orchetect/MenuBarExtraAccess
[1/526] Fetching menubarextraaccess
Fetched https://github.com/orchetect/MenuBarExtraAccess from cache (0.31s)
Computing version for https://github.com/orchetect/MenuBarExtraAccess
Computed https://github.com/orchetect/MenuBarExtraAccess at 1.2.2 (2.92s)
Creating working copy for https://github.com/orchetect/MenuBarExtraAccess
Working copy of https://github.com/orchetect/MenuBarExtraAccess resolved at 1.2.2
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/13] Compiling MenuBarExtraAccess Unused Code.swift
[5/14] Emitting module MenuBarExtraAccess
[6/14] Compiling MenuBarExtraAccess MenuBarExtra Window Introspection.swift
[7/14] Compiling MenuBarExtraAccess MenuBarExtraAccess.swift
[8/14] Compiling MenuBarExtraAccess NSWindow Extensions.swift
[9/14] Compiling MenuBarExtraAccess NSControl Extensions.swift
[10/14] Compiling MenuBarExtraAccess MenuBarExtraUtils.swift
[11/14] Compiling MenuBarExtraAccess StatusItemIdentity.swift
[12/14] Compiling MenuBarExtraAccess NSEvent Extensions.swift
[13/14] Compiling MenuBarExtraAccess NSStatusItem Extensions.swift
[14/14] Compiling MenuBarExtraAccess Utilities.swift
[16/59] Compiling MacControlCenterUI API-2.4.0.swift
[17/59] Compiling MacControlCenterUI API-2.7.1.swift
[18/59] Compiling MacControlCenterUI MenuCircleButton.swift
[19/59] Compiling MacControlCenterUI MenuCircleButtonSize.swift
[20/59] Compiling MacControlCenterUI MenuCircleButtonStyle.swift
[21/59] Compiling MacControlCenterUI MenuCircleToggle.swift
[22/59] Compiling MacControlCenterUI MenuPanel.swift
[23/59] Compiling MacControlCenterUI HighlightingMenuDisclosureGroup.swift
[24/59] Compiling MacControlCenterUI HighlightingMenuItem.swift
[25/59] Compiling MacControlCenterUI HighlightingMenuStateItem.swift
[26/59] Compiling MacControlCenterUI MenuBody.swift
[27/59] Compiling MacControlCenterUI IsMenuBarExtraPresentedEnvironmentKey.swift
[28/59] Compiling MacControlCenterUI Menu Constants.swift
[29/65] Compiling MacControlCenterUI StaticSliderImage.swift
[30/65] Compiling MacControlCenterUI VolumeMenuSliderImage.swift
[31/65] Compiling MacControlCenterUI MenuSliderStyle.swift
[32/65] Compiling MacControlCenterUI MenuVolumeSlider.swift
[33/65] Compiling MacControlCenterUI MacControlCenterUI.swift
[34/65] Compiling MacControlCenterUI FullWidthMenuItem.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/65] Emitting module MacControlCenterUI
/host/spi-builder-workspace/Sources/MacControlCenterUI/Utilities/Concurrency Extensions.swift:9:70: error: cannot find 'NSEC_PER_SEC' in scope
7 | import Foundation
8 |
9 | fileprivate let maxSeconds = TimeInterval(UInt64.max) / TimeInterval(NSEC_PER_SEC)
| `- error: cannot find 'NSEC_PER_SEC' in scope
10 |
11 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
[36/65] Compiling MacControlCenterUI MenuSlider.swift
[37/65] Compiling MacControlCenterUI EmptySliderImage.swift
[38/65] Compiling MacControlCenterUI MenuSliderImage.swift
[39/65] Compiling MacControlCenterUI MenuSliderImageDescriptor.swift
[40/65] Compiling MacControlCenterUI MenuSliderImageUpdate.swift
[41/65] Compiling MacControlCenterUI MinMaxSliderImage.swift
[42/65] Compiling MacControlCenterUI PaddedMenuItem.swift
[43/65] Compiling MacControlCenterUI MenuCommand.swift
[44/65] Compiling MacControlCenterUI MenuCommandStyle.swift
[45/65] Compiling MacControlCenterUI MenuDisclosureChevron.swift
[46/65] Compiling MacControlCenterUI MenuDisclosureGroup.swift
[47/65] Compiling MacControlCenterUI MenuDisclosureGroupStyle.swift
[48/65] Compiling MacControlCenterUI MenuDisclosureSection.swift
[49/65] Compiling MacControlCenterUI MenuHeader.swift
[50/65] Compiling MacControlCenterUI MenuList.swift
[51/65] Compiling MacControlCenterUI MenuListStateItem.swift
[52/65] Compiling MacControlCenterUI MenuScrollView.swift
[53/65] Compiling MacControlCenterUI MenuSection.swift
[54/65] Compiling MacControlCenterUI MenuSectionText.swift
[55/65] Compiling MacControlCenterUI MenuToggle.swift
[56/65] Compiling MacControlCenterUI MacControlCenterMenu.swift
[57/65] Compiling MacControlCenterUI MacControlCenterMenuBuilder.swift
[58/65] Compiling MacControlCenterUI MacControlCenterMenuItem.swift
[59/65] Compiling MacControlCenterUI ControlVisibility.swift
[60/65] Compiling MacControlCenterUI MenuItemSize.swift
/host/spi-builder-workspace/Sources/MacControlCenterUI/Utilities/Concurrency Extensions.swift:9:70: error: cannot find 'NSEC_PER_SEC' in scope
7 | import Foundation
8 |
9 | fileprivate let maxSeconds = TimeInterval(UInt64.max) / TimeInterval(NSEC_PER_SEC)
| `- error: cannot find 'NSEC_PER_SEC' in scope
10 |
11 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
/host/spi-builder-workspace/Sources/MacControlCenterUI/Utilities/Concurrency Extensions.swift:19:58: error: cannot find 'NSEC_PER_SEC' in scope
17 |
18 | let secondsClamped = min(seconds, maxSeconds)
19 | let nanoseconds = UInt64(secondsClamped * Double(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
20 |
21 | try await sleep(nanoseconds: nanoseconds)
[61/65] Compiling MacControlCenterUI MenuWidth.swift
/host/spi-builder-workspace/Sources/MacControlCenterUI/Utilities/Concurrency Extensions.swift:9:70: error: cannot find 'NSEC_PER_SEC' in scope
7 | import Foundation
8 |
9 | fileprivate let maxSeconds = TimeInterval(UInt64.max) / TimeInterval(NSEC_PER_SEC)
| `- error: cannot find 'NSEC_PER_SEC' in scope
10 |
11 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
/host/spi-builder-workspace/Sources/MacControlCenterUI/Utilities/Concurrency Extensions.swift:19:58: error: cannot find 'NSEC_PER_SEC' in scope
17 |
18 | let secondsClamped = min(seconds, maxSeconds)
19 | let nanoseconds = UInt64(secondsClamped * Double(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
20 |
21 | try await sleep(nanoseconds: nanoseconds)
[62/65] Compiling MacControlCenterUI Concurrency Extensions.swift
/host/spi-builder-workspace/Sources/MacControlCenterUI/Utilities/Concurrency Extensions.swift:9:70: error: cannot find 'NSEC_PER_SEC' in scope
7 | import Foundation
8 |
9 | fileprivate let maxSeconds = TimeInterval(UInt64.max) / TimeInterval(NSEC_PER_SEC)
| `- error: cannot find 'NSEC_PER_SEC' in scope
10 |
11 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
/host/spi-builder-workspace/Sources/MacControlCenterUI/Utilities/Concurrency Extensions.swift:19:58: error: cannot find 'NSEC_PER_SEC' in scope
17 |
18 | let secondsClamped = min(seconds, maxSeconds)
19 | let nanoseconds = UInt64(secondsClamped * Double(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
20 |
21 | try await sleep(nanoseconds: nanoseconds)
[63/65] Compiling MacControlCenterUI ObservableScrollView.swift
/host/spi-builder-workspace/Sources/MacControlCenterUI/Utilities/Concurrency Extensions.swift:9:70: error: cannot find 'NSEC_PER_SEC' in scope
7 | import Foundation
8 |
9 | fileprivate let maxSeconds = TimeInterval(UInt64.max) / TimeInterval(NSEC_PER_SEC)
| `- error: cannot find 'NSEC_PER_SEC' in scope
10 |
11 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
/host/spi-builder-workspace/Sources/MacControlCenterUI/Utilities/Concurrency Extensions.swift:19:58: error: cannot find 'NSEC_PER_SEC' in scope
17 |
18 | let secondsClamped = min(seconds, maxSeconds)
19 | let nanoseconds = UInt64(secondsClamped * Double(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
20 |
21 | try await sleep(nanoseconds: nanoseconds)
[64/65] Compiling MacControlCenterUI Utilities.swift
/host/spi-builder-workspace/Sources/MacControlCenterUI/Utilities/Concurrency Extensions.swift:9:70: error: cannot find 'NSEC_PER_SEC' in scope
7 | import Foundation
8 |
9 | fileprivate let maxSeconds = TimeInterval(UInt64.max) / TimeInterval(NSEC_PER_SEC)
| `- error: cannot find 'NSEC_PER_SEC' in scope
10 |
11 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
/host/spi-builder-workspace/Sources/MacControlCenterUI/Utilities/Concurrency Extensions.swift:19:58: error: cannot find 'NSEC_PER_SEC' in scope
17 |
18 | let secondsClamped = min(seconds, maxSeconds)
19 | let nanoseconds = UInt64(secondsClamped * Double(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
20 |
21 | try await sleep(nanoseconds: nanoseconds)
[65/65] Compiling MacControlCenterUI VisualEffect.swift
/host/spi-builder-workspace/Sources/MacControlCenterUI/Utilities/Concurrency Extensions.swift:9:70: error: cannot find 'NSEC_PER_SEC' in scope
7 | import Foundation
8 |
9 | fileprivate let maxSeconds = TimeInterval(UInt64.max) / TimeInterval(NSEC_PER_SEC)
| `- error: cannot find 'NSEC_PER_SEC' in scope
10 |
11 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
/host/spi-builder-workspace/Sources/MacControlCenterUI/Utilities/Concurrency Extensions.swift:19:58: error: cannot find 'NSEC_PER_SEC' in scope
17 |
18 | let secondsClamped = min(seconds, maxSeconds)
19 | let nanoseconds = UInt64(secondsClamped * Double(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
20 |
21 | try await sleep(nanoseconds: nanoseconds)
BUILD FAILURE 6.2 linux