The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MacControlCenterUI, reference 2.7.4 (086922), with Swift 6.2 for Linux on 15 Aug 2026 04:16:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.0.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orchetect/MacControlCenterUI.git
Reference: 2.7.4
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.4      -> FETCH_HEAD
HEAD is now at 0869227 Merge pull request #16 from orchetect/macos27
Cloned https://github.com/orchetect/MacControlCenterUI.git
Revision (git rev-parse @):
086922750e4286477431be75032218350441db3c
SUCCESS checkout https://github.com/orchetect/MacControlCenterUI.git at 2.7.4
========================================
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-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:4f3911e0f09a6ac47ac813ad3222aa373869118ee0ae384fd641a13da74b5e3f
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest
Fetching https://github.com/orchetect/MenuBarExtraAccess
[1/650] Fetching menubarextraaccess
Fetched https://github.com/orchetect/MenuBarExtraAccess from cache (0.50s)
Computing version for https://github.com/orchetect/MenuBarExtraAccess
Computed https://github.com/orchetect/MenuBarExtraAccess at 1.3.1 (0.64s)
Creating working copy for https://github.com/orchetect/MenuBarExtraAccess
Working copy of https://github.com/orchetect/MenuBarExtraAccess resolved at 1.3.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/14] Compiling MenuBarExtraAccess NSStatusItem+ExpandedInterfaceSession.swift
[5/15] Compiling MenuBarExtraAccess NSControl Extensions.swift
[6/15] Compiling MenuBarExtraAccess NSEvent Extensions.swift
[7/15] Compiling MenuBarExtraAccess Unused Code.swift
[8/15] Compiling MenuBarExtraAccess NSWindow Extensions.swift
[9/15] Compiling MenuBarExtraAccess NSStatusItem Extensions.swift
[10/15] Emitting module MenuBarExtraAccess
[11/15] Compiling MenuBarExtraAccess MenuBarExtraUtils.swift
[12/15] Compiling MenuBarExtraAccess StatusItemIdentity.swift
[13/15] Compiling MenuBarExtraAccess MenuBarExtra Window Introspection.swift
[14/15] Compiling MenuBarExtraAccess MenuBarExtraAccess.swift
[15/15] Compiling MenuBarExtraAccess Utilities.swift
[17/60] Compiling MacControlCenterUI PaddedMenuItem.swift
[18/60] Compiling MacControlCenterUI MenuCommand.swift
[19/60] Compiling MacControlCenterUI MenuCommandStyle.swift
[20/60] Compiling MacControlCenterUI MenuDisclosureChevron.swift
[21/60] Compiling MacControlCenterUI MenuDisclosureGroup.swift
[22/60] Compiling MacControlCenterUI MenuDisclosureGroupStyle.swift
[23/60] Compiling MacControlCenterUI HighlightingMenuDisclosureGroup.swift
[24/60] Compiling MacControlCenterUI HighlightingMenuItem.swift
[25/60] Compiling MacControlCenterUI HighlightingMenuStateItem.swift
[26/60] Compiling MacControlCenterUI MenuBody.swift
[27/60] Compiling MacControlCenterUI IsMenuBarExtraPresentedEnvironmentKey.swift
[28/60] Compiling MacControlCenterUI Menu Constants.swift
[29/60] Compiling MacControlCenterUI API-2.4.0.swift
[30/60] Compiling MacControlCenterUI API-2.7.1.swift
[31/60] Compiling MacControlCenterUI MenuCircleButton.swift
[32/60] Compiling MacControlCenterUI MenuCircleButtonSize.swift
[33/60] Compiling MacControlCenterUI MenuCircleButtonStyle.swift
[34/60] Compiling MacControlCenterUI MenuCircleToggle.swift
[35/60] Compiling MacControlCenterUI MenuPanel.swift
[36/60] Compiling MacControlCenterUI StaticSliderImage.swift
[37/60] Compiling MacControlCenterUI VolumeMenuSliderImage.swift
[38/60] Compiling MacControlCenterUI MenuSliderStyle.swift
[39/60] Compiling MacControlCenterUI MenuVolumeSlider.swift
[40/60] Compiling MacControlCenterUI MacControlCenterUI.swift
[41/60] Compiling MacControlCenterUI FullWidthMenuItem.swift
[42/60] Compiling MacControlCenterUI MenuSlider.swift
[43/60] Compiling MacControlCenterUI EmptySliderImage.swift
[44/60] Compiling MacControlCenterUI MenuSliderImage.swift
[45/60] Compiling MacControlCenterUI MenuSliderImageDescriptor.swift
[46/60] Compiling MacControlCenterUI MenuSliderImageUpdate.swift
[47/60] Compiling MacControlCenterUI MinMaxSliderImage.swift
[48/66] Compiling MacControlCenterUI MenuSectionText.swift
[49/66] Compiling MacControlCenterUI MenuToggle.swift
[50/66] Compiling MacControlCenterUI MacControlCenterMenu.swift
[51/66] Compiling MacControlCenterUI MacControlCenterMenuBuilder.swift
[52/66] Compiling MacControlCenterUI MacControlCenterMenuItem.swift
[53/66] Compiling MacControlCenterUI ControlVisibility.swift
[54/66] Compiling MacControlCenterUI MenuDisclosureSection.swift
[55/66] Compiling MacControlCenterUI MenuHeader.swift
[56/66] Compiling MacControlCenterUI MenuList.swift
[57/66] Compiling MacControlCenterUI MenuListStateItem.swift
[58/66] Compiling MacControlCenterUI MenuScrollView.swift
[59/66] Compiling MacControlCenterUI MenuSection.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[60/66] Emitting module MacControlCenterUI
/host/spi-builder-workspace/Sources/MacControlCenterUI/Utilities/Concurrency Extensions.swift:9:66: error: cannot find 'NSEC_PER_SEC' in scope
 7 | import Foundation
 8 |
 9 | private 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, *)
[61/66] Compiling MacControlCenterUI MenuItemSize.swift
/host/spi-builder-workspace/Sources/MacControlCenterUI/Utilities/Concurrency Extensions.swift:9:66: error: cannot find 'NSEC_PER_SEC' in scope
 7 | import Foundation
 8 |
 9 | private 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/66] Compiling MacControlCenterUI MenuWidth.swift
/host/spi-builder-workspace/Sources/MacControlCenterUI/Utilities/Concurrency Extensions.swift:9:66: error: cannot find 'NSEC_PER_SEC' in scope
 7 | import Foundation
 8 |
 9 | private 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/66] Compiling MacControlCenterUI Concurrency Extensions.swift
/host/spi-builder-workspace/Sources/MacControlCenterUI/Utilities/Concurrency Extensions.swift:9:66: error: cannot find 'NSEC_PER_SEC' in scope
 7 | import Foundation
 8 |
 9 | private 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/66] Compiling MacControlCenterUI ObservableScrollView.swift
/host/spi-builder-workspace/Sources/MacControlCenterUI/Utilities/Concurrency Extensions.swift:9:66: error: cannot find 'NSEC_PER_SEC' in scope
 7 | import Foundation
 8 |
 9 | private 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/66] Compiling MacControlCenterUI Utilities.swift
/host/spi-builder-workspace/Sources/MacControlCenterUI/Utilities/Concurrency Extensions.swift:9:66: error: cannot find 'NSEC_PER_SEC' in scope
 7 | import Foundation
 8 |
 9 | private 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)
[66/66] Compiling MacControlCenterUI VisualEffect.swift
/host/spi-builder-workspace/Sources/MacControlCenterUI/Utilities/Concurrency Extensions.swift:9:66: error: cannot find 'NSEC_PER_SEC' in scope
 7 | import Foundation
 8 |
 9 | private 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