Build Information
Failed to build MeterReporter, reference main (537004
), with Swift 5.9 for macOS (SPM) on 5 Jul 2024 22:31:03 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.45.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/MeterReporter.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChimeHQ/MeterReporter
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5370040 Fix Badges
Cloned https://github.com/ChimeHQ/MeterReporter.git
Revision (git rev-parse @):
5370040cd8af14372555ed513cf89cea4aa2115b
SUCCESS checkout https://github.com/ChimeHQ/MeterReporter.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $workDir
https://github.com/ChimeHQ/MeterReporter.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/9] Compiling BinaryImage BinaryImage.m
[2/16] Compiling Background URLSessionDelegateAdapter.swift
[3/16] Compiling Background NetworkResponse.swift
[4/16] Compiling Background TaskScheduler.swift
[5/16] Compiling Background URLResponse+Utilities.swift
[6/16] Compiling Background Uploader.swift
[7/16] Emitting module Background
[8/16] Compiling Background BackgroundTaskConfiguration.swift
[9/16] Compiling Background Downloader.swift
[10/21] Compiling Wells Protocol+Helpers.swift
[11/21] Compiling Wells FileManager+Helpers.swift
[12/21] Compiling Wells WellsReporter.swift
[13/21] Emitting module Wells
[14/21] Compiling Wells Data+compression.swift
[15/21] Compiling Meter ExceptionInfo.swift
[16/21] Emitting module Meter
[17/21] Compiling Meter Symbolicator.swift
[18/21] Compiling Meter DlfcnSymbolicator.swift
[19/21] Compiling Meter CallStackTree.swift
[20/21] Compiling Meter MeterPayloadProvider.swift
[21/21] Compiling Meter DiagnosticPayload.swift
[22/26] Compiling MeterReporter UncaughtExceptionLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/MeterReporter/UncaughtExceptionLogger.swift:8:13: error: expected 'var' keyword in property declaration
nonisolated(unsafe) static let logger = UncaughtExceptionLogger()
^
var
/Users/admin/builder/spi-builder-workspace/Sources/MeterReporter/UncaughtExceptionLogger.swift:8:21: error: consecutive declarations on a line must be separated by ';'
nonisolated(unsafe) static let logger = UncaughtExceptionLogger()
^
;
/Users/admin/builder/spi-builder-workspace/Sources/MeterReporter/UncaughtExceptionLogger.swift:8:14: error: type annotation missing in pattern
nonisolated(unsafe) static let logger = UncaughtExceptionLogger()
^
/Users/admin/builder/spi-builder-workspace/Sources/MeterReporter/UncaughtExceptionLogger.swift:8:2: error: 'nonisolated' can not be applied to stored properties
nonisolated(unsafe) static let logger = UncaughtExceptionLogger()
^~~~~~~~~~~
[23/26] Compiling MeterReporter DiagnosticSubscriber.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/26] Compiling MeterReporter ExceptionLoggingApplication.swift
[25/26] Compiling MeterReporter MeterReporter.swift
/Users/admin/builder/spi-builder-workspace/Sources/MeterReporter/UncaughtExceptionLogger.swift:8:13: error: expected 'var' keyword in property declaration
nonisolated(unsafe) static let logger = UncaughtExceptionLogger()
^
var
/Users/admin/builder/spi-builder-workspace/Sources/MeterReporter/UncaughtExceptionLogger.swift:8:21: error: consecutive declarations on a line must be separated by ';'
nonisolated(unsafe) static let logger = UncaughtExceptionLogger()
^
;
/Users/admin/builder/spi-builder-workspace/Sources/MeterReporter/MeterReporter.swift:4:17: remark: '@preconcurrency' attribute on module 'log' is unused
@preconcurrency import os.log
~~~~~~~~~~~~~~~~^
[26/26] Emitting module MeterReporter
/Users/admin/builder/spi-builder-workspace/Sources/MeterReporter/UncaughtExceptionLogger.swift:8:13: error: expected 'var' keyword in property declaration
nonisolated(unsafe) static let logger = UncaughtExceptionLogger()
^
var
/Users/admin/builder/spi-builder-workspace/Sources/MeterReporter/UncaughtExceptionLogger.swift:8:21: error: consecutive declarations on a line must be separated by ';'
nonisolated(unsafe) static let logger = UncaughtExceptionLogger()
^
;
/Users/admin/builder/spi-builder-workspace/Sources/MeterReporter/UncaughtExceptionLogger.swift:8:14: error: type annotation missing in pattern
nonisolated(unsafe) static let logger = UncaughtExceptionLogger()
^
/Users/admin/builder/spi-builder-workspace/Sources/MeterReporter/UncaughtExceptionLogger.swift:8:2: error: 'nonisolated' can not be applied to stored properties
nonisolated(unsafe) static let logger = UncaughtExceptionLogger()
^~~~~~~~~~~
error: fatalError
Fetching https://github.com/ChimeHQ/Wells
[1/208] Fetching wells
Fetched https://github.com/ChimeHQ/Wells (0.78s)
Fetching https://github.com/ChimeHQ/Background
[1/149] Fetching background
Fetched https://github.com/ChimeHQ/Background (0.77s)
Fetching https://github.com/ChimeHQ/Meter
[1/569] Fetching meter
Fetched https://github.com/ChimeHQ/Meter (0.76s)
Computing version for https://github.com/ChimeHQ/Meter
Computed https://github.com/ChimeHQ/Meter at 0.4.0 (2.85s)
Creating working copy for https://github.com/ChimeHQ/Wells
Working copy of https://github.com/ChimeHQ/Wells resolved at c31f833829083c5966adeff16832879acdcad214
Creating working copy for https://github.com/ChimeHQ/Background
Working copy of https://github.com/ChimeHQ/Background resolved at 11f1bc95a7ec88c275b522b12883ada9dbc062e6
Creating working copy for https://github.com/ChimeHQ/Meter
Working copy of https://github.com/ChimeHQ/Meter resolved at 0.4.0
BUILD FAILURE 5.9 macosSpm