The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build CodeMeasureKit, reference main (fa5160), with Swift 5.10 for macOS (SPM) on 19 Oct 2024 15:26:07 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.55.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ipavlidakis/code-measure-kit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ipavlidakis/code-measure-kit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fa51601 Add measurer for executionTime
Cloned https://github.com/ipavlidakis/code-measure-kit.git
Revision (git rev-parse @):
fa51601449f8bd8d696a5d3d2ebc3cbad238be7f
SUCCESS checkout https://github.com/ipavlidakis/code-measure-kit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/ipavlidakis/code-measure-kit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Compiling CodeMeasureKit UnfairQueue.swift
[4/5] Emitting module CodeMeasureKit
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:100:14: error: 'Logger' is only available in macOS 11.0 or newer
let logger = Logger(
             ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:100:5: note: add @available attribute to enclosing let
let logger = Logger(
    ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:119:30: error: 'AnyCancellable' is only available in macOS 10.15 or newer
    private var cancellable: AnyCancellable?
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:111:21: note: add @available attribute to enclosing class
private final class MeasureCallRateStorage: @unchecked Sendable {
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:293:26: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
    private let subject: PassthroughSubject<TimeInterval, Never> = .init()
                         ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:279:21: note: add @available attribute to enclosing class
private final class ExecutionTimeMeter {
                    ^
[5/5] Compiling CodeMeasureKit CodeMeasureKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:100:14: error: 'Logger' is only available in macOS 11.0 or newer
let logger = Logger(
             ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:100:5: note: add @available attribute to enclosing let
let logger = Logger(
    ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:119:30: error: 'AnyCancellable' is only available in macOS 10.15 or newer
    private var cancellable: AnyCancellable?
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:111:21: note: add @available attribute to enclosing class
private final class MeasureCallRateStorage: @unchecked Sendable {
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:293:26: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
    private let subject: PassthroughSubject<TimeInterval, Never> = .init()
                         ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:279:21: note: add @available attribute to enclosing class
private final class ExecutionTimeMeter {
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:132:14: error: 'publish(every:tolerance:on:in:options:)' is only available in macOS 10.15 or newer
            .publish(every: 1, on: .main, in: .default)
             ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:132:14: note: add 'if #available' version check
            .publish(every: 1, on: .main, in: .default)
             ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:129:13: note: add @available attribute to enclosing initializer
    private init() {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:111:21: note: add @available attribute to enclosing class
private final class MeasureCallRateStorage: @unchecked Sendable {
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:133:14: error: 'autoconnect()' is only available in macOS 10.15 or newer
            .autoconnect()
             ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:133:14: note: add 'if #available' version check
            .autoconnect()
             ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:129:13: note: add @available attribute to enclosing initializer
    private init() {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:111:21: note: add @available attribute to enclosing class
private final class MeasureCallRateStorage: @unchecked Sendable {
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:134:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
            .sink { [weak self] _ in self?.didTrigger() }
             ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:134:14: note: add 'if #available' version check
            .sink { [weak self] _ in self?.didTrigger() }
             ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:129:13: note: add @available attribute to enclosing initializer
    private init() {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:111:21: note: add @available attribute to enclosing class
private final class MeasureCallRateStorage: @unchecked Sendable {
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:264:17: error: 'OSLogMessage' is only available in macOS 11.0 or newer
                "Call rate of [\(sourceLine)] updated with count:\(callCount) max:\(maxCallCount) min:\(minCallCount)."
                ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:264:17: note: add 'if #available' version check
                "Call rate of [\(sourceLine)] updated with count:\(callCount) max:\(maxCallCount) min:\(minCallCount)."
                ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:259:10: note: add @available attribute to enclosing instance method
    func didUpdate() {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:212:21: note: add @available attribute to enclosing class
private final class CallRateMeter {
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:264:33: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
                "Call rate of [\(sourceLine)] updated with count:\(callCount) max:\(maxCallCount) min:\(minCallCount)."
                                ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:264:33: note: add 'if #available' version check
                "Call rate of [\(sourceLine)] updated with count:\(callCount) max:\(maxCallCount) min:\(minCallCount)."
                                ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:259:10: note: add @available attribute to enclosing instance method
    func didUpdate() {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:212:21: note: add @available attribute to enclosing class
private final class CallRateMeter {
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:264:67: error: 'appendInterpolation(_:format:align:privacy:)' is only available in macOS 11.0 or newer
                "Call rate of [\(sourceLine)] updated with count:\(callCount) max:\(maxCallCount) min:\(minCallCount)."
                                                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:264:67: note: add 'if #available' version check
                "Call rate of [\(sourceLine)] updated with count:\(callCount) max:\(maxCallCount) min:\(minCallCount)."
                                                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:259:10: note: add @available attribute to enclosing instance method
    func didUpdate() {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:212:21: note: add @available attribute to enclosing class
private final class CallRateMeter {
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:264:84: error: 'appendInterpolation(_:format:align:privacy:)' is only available in macOS 11.0 or newer
                "Call rate of [\(sourceLine)] updated with count:\(callCount) max:\(maxCallCount) min:\(minCallCount)."
                                                                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:264:84: note: add 'if #available' version check
                "Call rate of [\(sourceLine)] updated with count:\(callCount) max:\(maxCallCount) min:\(minCallCount)."
                                                                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:259:10: note: add @available attribute to enclosing instance method
    func didUpdate() {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:212:21: note: add @available attribute to enclosing class
private final class CallRateMeter {
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:264:104: error: 'appendInterpolation(_:format:align:privacy:)' is only available in macOS 11.0 or newer
                "Call rate of [\(sourceLine)] updated with count:\(callCount) max:\(maxCallCount) min:\(minCallCount)."
                                                                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:264:104: note: add 'if #available' version check
                "Call rate of [\(sourceLine)] updated with count:\(callCount) max:\(maxCallCount) min:\(minCallCount)."
                                                                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:259:10: note: add @available attribute to enclosing instance method
    func didUpdate() {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:212:21: note: add @available attribute to enclosing class
private final class CallRateMeter {
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:332:17: error: 'OSLogMessage' is only available in macOS 11.0 or newer
                "Call duration of [\(sourceLine)] updated with last average:\(averageLastDuration) max:\(maxDuration) min:\(minDuration)."
                ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:332:17: note: add 'if #available' version check
                "Call duration of [\(sourceLine)] updated with last average:\(averageLastDuration) max:\(maxDuration) min:\(minDuration)."
                ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:322:10: note: add @available attribute to enclosing instance method
    func didUpdate() {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:279:21: note: add @available attribute to enclosing class
private final class ExecutionTimeMeter {
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:332:37: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
                "Call duration of [\(sourceLine)] updated with last average:\(averageLastDuration) max:\(maxDuration) min:\(minDuration)."
                                    ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:332:37: note: add 'if #available' version check
                "Call duration of [\(sourceLine)] updated with last average:\(averageLastDuration) max:\(maxDuration) min:\(minDuration)."
                                    ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:322:10: note: add @available attribute to enclosing instance method
    func didUpdate() {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:279:21: note: add @available attribute to enclosing class
private final class ExecutionTimeMeter {
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:332:78: error: 'appendInterpolation(_:format:align:privacy:)' is only available in macOS 11.0 or newer
                "Call duration of [\(sourceLine)] updated with last average:\(averageLastDuration) max:\(maxDuration) min:\(minDuration)."
                                                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:332:78: note: add 'if #available' version check
                "Call duration of [\(sourceLine)] updated with last average:\(averageLastDuration) max:\(maxDuration) min:\(minDuration)."
                                                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:322:10: note: add @available attribute to enclosing instance method
    func didUpdate() {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:279:21: note: add @available attribute to enclosing class
private final class ExecutionTimeMeter {
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:332:105: error: 'appendInterpolation(_:format:align:privacy:)' is only available in macOS 11.0 or newer
                "Call duration of [\(sourceLine)] updated with last average:\(averageLastDuration) max:\(maxDuration) min:\(minDuration)."
                                                                                                        ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:332:105: note: add 'if #available' version check
                "Call duration of [\(sourceLine)] updated with last average:\(averageLastDuration) max:\(maxDuration) min:\(minDuration)."
                                                                                                        ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:322:10: note: add @available attribute to enclosing instance method
    func didUpdate() {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:279:21: note: add @available attribute to enclosing class
private final class ExecutionTimeMeter {
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:332:124: error: 'appendInterpolation(_:format:align:privacy:)' is only available in macOS 11.0 or newer
                "Call duration of [\(sourceLine)] updated with last average:\(averageLastDuration) max:\(maxDuration) min:\(minDuration)."
                                                                                                                           ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:332:124: note: add 'if #available' version check
                "Call duration of [\(sourceLine)] updated with last average:\(averageLastDuration) max:\(maxDuration) min:\(minDuration)."
                                                                                                                           ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:322:10: note: add @available attribute to enclosing instance method
    func didUpdate() {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/CodeMeasureKit/CodeMeasureKit.swift:279:21: note: add @available attribute to enclosing class
private final class ExecutionTimeMeter {
                    ^
error: fatalError
BUILD FAILURE 5.10 macosSpm