Build Information
Failed to build MacControlCenterUI, reference main (8259a1), with Swift 6.2 for Linux on 22 Apr 2026 02:49:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.2-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: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8259a12 Updated .swiftformat
Cloned https://github.com/orchetect/MacControlCenterUI.git
Revision (git rev-parse @):
8259a1273c1b6a76a5802db39adf8d264a33e6cb
SUCCESS checkout https://github.com/orchetect/MacControlCenterUI.git at main
========================================
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-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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:0ddb100795e64f71518020a73ad8441aeb43832ede7f1202ae7f8de93664f90d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest
Fetching https://github.com/orchetect/MenuBarExtraAccess
[1/625] Fetching menubarextraaccess
Fetched https://github.com/orchetect/MenuBarExtraAccess from cache (0.28s)
Computing version for https://github.com/orchetect/MenuBarExtraAccess
Computed https://github.com/orchetect/MenuBarExtraAccess at 1.3.0 (0.74s)
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] Compiling MenuBarExtraAccess NSWindow Extensions.swift
[5/14] Compiling MenuBarExtraAccess NSStatusItem Extensions.swift
[6/14] Emitting module MenuBarExtraAccess
[7/14] Compiling MenuBarExtraAccess Unused Code.swift
[8/14] Compiling MenuBarExtraAccess NSControl Extensions.swift
[9/14] Compiling MenuBarExtraAccess MenuBarExtraUtils.swift
[10/14] Compiling MenuBarExtraAccess StatusItemIdentity.swift
[11/14] Compiling MenuBarExtraAccess MenuBarExtra Window Introspection.swift
[12/14] Compiling MenuBarExtraAccess MenuBarExtraAccess.swift
[13/14] Compiling MenuBarExtraAccess NSEvent Extensions.swift
[14/14] Compiling MenuBarExtraAccess Utilities.swift
[16/59] Compiling MacControlCenterUI StaticSliderImage.swift
[17/59] Compiling MacControlCenterUI VolumeMenuSliderImage.swift
[18/59] Compiling MacControlCenterUI MenuSliderStyle.swift
[19/59] Compiling MacControlCenterUI MenuVolumeSlider.swift
[20/59] Compiling MacControlCenterUI MacControlCenterUI.swift
[21/59] Compiling MacControlCenterUI FullWidthMenuItem.swift
[22/65] Compiling MacControlCenterUI MenuSectionText.swift
[23/65] Compiling MacControlCenterUI MenuToggle.swift
[24/65] Compiling MacControlCenterUI MacControlCenterMenu.swift
[25/65] Compiling MacControlCenterUI MacControlCenterMenuBuilder.swift
[26/65] Compiling MacControlCenterUI MacControlCenterMenuItem.swift
[27/65] Compiling MacControlCenterUI ControlVisibility.swift
[28/65] Compiling MacControlCenterUI MenuDisclosureSection.swift
[29/65] Compiling MacControlCenterUI MenuHeader.swift
[30/65] Compiling MacControlCenterUI MenuList.swift
[31/65] Compiling MacControlCenterUI MenuListStateItem.swift
[32/65] Compiling MacControlCenterUI MenuScrollView.swift
[33/65] Compiling MacControlCenterUI MenuSection.swift
[34/65] Compiling MacControlCenterUI API-2.4.0.swift
[35/65] Compiling MacControlCenterUI API-2.7.1.swift
[36/65] Compiling MacControlCenterUI MenuCircleButton.swift
[37/65] Compiling MacControlCenterUI MenuCircleButtonSize.swift
[38/65] Compiling MacControlCenterUI MenuCircleButtonStyle.swift
[39/65] Compiling MacControlCenterUI MenuCircleToggle.swift
[40/65] Compiling MacControlCenterUI MenuPanel.swift
[41/65] Compiling MacControlCenterUI MenuSlider.swift
[42/65] Compiling MacControlCenterUI EmptySliderImage.swift
[43/65] Compiling MacControlCenterUI MenuSliderImage.swift
[44/65] Compiling MacControlCenterUI MenuSliderImageDescriptor.swift
[45/65] Compiling MacControlCenterUI MenuSliderImageUpdate.swift
[46/65] Compiling MacControlCenterUI MinMaxSliderImage.swift
[47/65] Compiling MacControlCenterUI HighlightingMenuDisclosureGroup.swift
[48/65] Compiling MacControlCenterUI HighlightingMenuItem.swift
[49/65] Compiling MacControlCenterUI HighlightingMenuStateItem.swift
[50/65] Compiling MacControlCenterUI MenuBody.swift
[51/65] Compiling MacControlCenterUI IsMenuBarExtraPresentedEnvironmentKey.swift
[52/65] Compiling MacControlCenterUI Menu Constants.swift
[53/65] Compiling MacControlCenterUI PaddedMenuItem.swift
[54/65] Compiling MacControlCenterUI MenuCommand.swift
[55/65] Compiling MacControlCenterUI MenuCommandStyle.swift
[56/65] Compiling MacControlCenterUI MenuDisclosureChevron.swift
[57/65] Compiling MacControlCenterUI MenuDisclosureGroup.swift
[58/65] Compiling MacControlCenterUI MenuDisclosureGroupStyle.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[59/65] 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, *)
[60/65] 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)
[61/65] 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)
[62/65] 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)
[63/65] 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)
[64/65] 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)
[65/65] 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