Build Information
Failed to build MacControlCenterUI, reference 2.7.3 (dea72a), with Swift 6.3 for Linux on 22 Apr 2026 03:10:13 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/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.3
Building package at path: $PWD
https://github.com/orchetect/MacControlCenterUI.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/orchetect/MenuBarExtraAccess
[1/625] Fetching menubarextraaccess
Fetched https://github.com/orchetect/MenuBarExtraAccess from cache (0.40s)
Computing version for https://github.com/orchetect/MenuBarExtraAccess
Computed https://github.com/orchetect/MenuBarExtraAccess at 1.3.0 (1.12s)
Creating working copy for https://github.com/orchetect/MenuBarExtraAccess
Working copy of https://github.com/orchetect/MenuBarExtraAccess resolved at 1.3.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/13] Emitting module MenuBarExtraAccess
[5/14] Compiling MenuBarExtraAccess NSEvent Extensions.swift
[6/14] Compiling MenuBarExtraAccess MenuBarExtraUtils.swift
[7/14] Compiling MenuBarExtraAccess StatusItemIdentity.swift
[8/14] Compiling MenuBarExtraAccess NSWindow Extensions.swift
[9/14] Compiling MenuBarExtraAccess NSStatusItem Extensions.swift
[10/14] Compiling MenuBarExtraAccess NSControl Extensions.swift
[11/14] Compiling MenuBarExtraAccess MenuBarExtra Window Introspection.swift
[12/14] Compiling MenuBarExtraAccess MenuBarExtraAccess.swift
[13/14] Compiling MenuBarExtraAccess Unused Code.swift
[14/14] Compiling MenuBarExtraAccess Utilities.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/16] 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, *)
[17/40] Compiling MacControlCenterUI HighlightingMenuDisclosureGroup.swift
[18/40] Compiling MacControlCenterUI HighlightingMenuItem.swift
[19/40] Compiling MacControlCenterUI HighlightingMenuStateItem.swift
[20/40] Compiling MacControlCenterUI MenuBody.swift
[21/40] Compiling MacControlCenterUI IsMenuBarExtraPresentedEnvironmentKey.swift
[22/40] Compiling MacControlCenterUI Menu Constants.swift
[23/59] Compiling MacControlCenterUI MenuSlider.swift
[24/59] Compiling MacControlCenterUI EmptySliderImage.swift
[25/59] Compiling MacControlCenterUI MenuSliderImage.swift
[26/59] Compiling MacControlCenterUI MenuSliderImageDescriptor.swift
[27/59] Compiling MacControlCenterUI MenuSliderImageUpdate.swift
[28/59] Compiling MacControlCenterUI MinMaxSliderImage.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
[35/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)
[36/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)
[37/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)
[38/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)
[39/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)
[40/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)
[41/65] Compiling MacControlCenterUI MenuDisclosureSection.swift
[42/65] Compiling MacControlCenterUI MenuHeader.swift
[43/65] Compiling MacControlCenterUI MenuList.swift
[44/65] Compiling MacControlCenterUI MenuListStateItem.swift
[45/65] Compiling MacControlCenterUI MenuScrollView.swift
[46/65] Compiling MacControlCenterUI MenuSection.swift
[47/65] Compiling MacControlCenterUI MenuSectionText.swift
[48/65] Compiling MacControlCenterUI MenuToggle.swift
[49/65] Compiling MacControlCenterUI MacControlCenterMenu.swift
[50/65] Compiling MacControlCenterUI MacControlCenterMenuBuilder.swift
[51/65] Compiling MacControlCenterUI MacControlCenterMenuItem.swift
[52/65] Compiling MacControlCenterUI ControlVisibility.swift
[53/65] Compiling MacControlCenterUI API-2.4.0.swift
[54/65] Compiling MacControlCenterUI API-2.7.1.swift
[55/65] Compiling MacControlCenterUI MenuCircleButton.swift
[56/65] Compiling MacControlCenterUI MenuCircleButtonSize.swift
[57/65] Compiling MacControlCenterUI MenuCircleButtonStyle.swift
[58/65] Compiling MacControlCenterUI MenuCircleToggle.swift
[59/65] Compiling MacControlCenterUI MenuPanel.swift
[60/65] Compiling MacControlCenterUI PaddedMenuItem.swift
[61/65] Compiling MacControlCenterUI MenuCommand.swift
[62/65] Compiling MacControlCenterUI MenuCommandStyle.swift
[63/65] Compiling MacControlCenterUI MenuDisclosureChevron.swift
[64/65] Compiling MacControlCenterUI MenuDisclosureGroup.swift
[65/65] Compiling MacControlCenterUI MenuDisclosureGroupStyle.swift
BUILD FAILURE 6.3 linux