Build Information
Failed to build VM, reference main (45a8ec), with Swift 6.1 for macOS (SPM) on 30 Apr 2026 19:14:43 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/subpop/vm.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/subpop/vm
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 45a8ec6 Set version to 0.1.2
Cloned https://github.com/subpop/vm.git
Revision (git rev-parse @):
45a8ec687a39e2ae68b4fc2349dbb9765ddd754d
SUCCESS checkout https://github.com/subpop/vm.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/subpop/vm.git
https://github.com/subpop/vm.git
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "6.2.0",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "VM",
"name" : "VM",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "vm",
"targets" : [
"VM"
],
"type" : {
"executable" : null
}
},
{
"name" : "VMCore",
"targets" : [
"VMCore"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "VMTests",
"module_type" : "SwiftTarget",
"name" : "VMTests",
"path" : "Tests/VMTests",
"sources" : [
"ConfigurationTests.swift",
"SocketTests.swift"
],
"target_dependencies" : [
"VMCore"
],
"type" : "test"
},
{
"c99name" : "VMCore",
"module_type" : "SwiftTarget",
"name" : "VMCore",
"path" : "Sources/VMCore",
"product_dependencies" : [
"Yams",
"Logging"
],
"product_memberships" : [
"vm",
"VMCore"
],
"sources" : [
"CloudInit.swift",
"Configuration.swift",
"ConsoleConnection.swift",
"ConsoleListener.swift",
"DiskManager.swift",
"ExitFlag.swift",
"FileLogHandler.swift",
"LogContext.swift",
"Logger.swift",
"Manager.swift",
"RescueCache.swift",
"Runner.swift",
"Socket.swift",
"Terminal.swift",
"VsockGuestAgent.swift"
],
"type" : "library"
},
{
"c99name" : "VM",
"module_type" : "SwiftTarget",
"name" : "VM",
"path" : "Sources/VM",
"product_dependencies" : [
"ArgumentParser",
"Yams",
"Logging"
],
"product_memberships" : [
"vm"
],
"sources" : [
"CloudInitUserData.swift",
"Commands/Attach.swift",
"Commands/Create.swift",
"Commands/Delete.swift",
"Commands/Edit.swift",
"Commands/IP.swift",
"Commands/Import.swift",
"Commands/Info.swift",
"Commands/List.swift",
"Commands/RegenCloudInitISO.swift",
"Commands/Rescue.swift",
"Commands/Resize.swift",
"Commands/RunDaemon.swift",
"Commands/SSH.swift",
"Commands/Start.swift",
"Commands/Stop.swift",
"TableOutput.swift",
"VM.swift",
"VMNameCompletion.swift"
],
"target_dependencies" : [
"VMCore"
],
"type" : "executable"
}
],
"tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/19] Write sources
[4/19] Write vm-entitlement.plist
[8/19] Write sources
[9/19] Write swift-version-2F0A5646E1D333AE.txt
[10/27] Compiling reader.c
[11/27] Compiling api.c
[12/27] Compiling parser.c
[13/27] Compiling emitter.c
[14/27] Compiling writer.c
[15/27] Compiling scanner.c
[17/47] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/47] Emitting module ArgumentParserToolInfo
[19/94] Compiling Logging MetadataProvider.swift
[20/94] Compiling Logging LogEvent.swift
[21/94] Compiling Logging Locks.swift
[22/94] Emitting module Logging
[23/94] Compiling Logging LogHandler.swift
[24/94] Compiling Logging Logging.swift
[25/94] Compiling ArgumentParser ArgumentHelp.swift
[26/94] Compiling ArgumentParser ArgumentVisibility.swift
[27/94] Compiling ArgumentParser CompletionKind.swift
[28/94] Compiling ArgumentParser Errors.swift
[29/94] Compiling ArgumentParser Flag.swift
[30/94] Emitting module ArgumentParser
[31/99] Compiling ArgumentParser NameSpecification.swift
[32/99] Compiling ArgumentParser Option.swift
[33/99] Compiling ArgumentParser OptionGroup.swift
[34/99] Compiling ArgumentParser ParentCommand.swift
[35/99] Compiling ArgumentParser AsyncParsableCommand.swift
[36/99] Compiling ArgumentParser CodingKeyValidator.swift
[37/99] Compiling ArgumentParser NonsenseFlagsValidator.swift
[38/99] Compiling ArgumentParser ParsableArgumentsValidation.swift
[39/99] Compiling ArgumentParser PositionalArgumentsValidator.swift
[40/99] Compiling ArgumentParser UniqueNamesValidator.swift
[41/99] Compiling ArgumentParser Platform.swift
[42/99] Compiling ArgumentParser SequenceExtensions.swift
[43/99] Compiling ArgumentParser StringExtensions.swift
[44/99] Compiling ArgumentParser SwiftExtensions.swift
[45/99] Compiling ArgumentParser Tree.swift
[46/99] Compiling ArgumentParser CommandConfiguration.swift
[47/99] Compiling ArgumentParser CommandGroup.swift
[48/99] Compiling ArgumentParser EnumerableFlag.swift
[49/99] Compiling ArgumentParser ExpressibleByArgument.swift
[50/99] Compiling ArgumentParser ParsableArguments.swift
[51/99] Compiling ArgumentParser BashCompletionsGenerator.swift
[52/99] Compiling ArgumentParser CompletionsGenerator.swift
[53/99] Compiling ArgumentParser FishCompletionsGenerator.swift
[54/99] Compiling ArgumentParser ZshCompletionsGenerator.swift
[55/99] Compiling ArgumentParser Argument.swift
[56/99] Compiling ArgumentParser ArgumentDiscussion.swift
[57/99] Compiling ArgumentParser ParserError.swift
[58/99] Compiling ArgumentParser SplitArguments.swift
[59/99] Compiling ArgumentParser DumpHelpGenerator.swift
[60/99] Compiling ArgumentParser HelpCommand.swift
[61/99] Compiling ArgumentParser HelpGenerator.swift
[62/99] Compiling ArgumentParser InputKey.swift
[63/99] Compiling ArgumentParser InputOrigin.swift
[64/99] Compiling ArgumentParser Name.swift
[65/99] Compiling ArgumentParser Parsed.swift
[66/99] Compiling ArgumentParser ParsedValues.swift
[67/99] Compiling ArgumentParser ParsableCommand.swift
[68/99] Compiling ArgumentParser ArgumentDecoder.swift
[69/99] Compiling ArgumentParser ArgumentDefinition.swift
[70/99] Compiling ArgumentParser ArgumentSet.swift
[71/99] Compiling ArgumentParser CommandParser.swift
[76/101] Emitting module Yams
[92/101] Compiling ArgumentParser MessageInfo.swift
[93/101] Compiling ArgumentParser UsageGenerator.swift
[94/101] Compiling ArgumentParser CollectionExtensions.swift
[95/101] Compiling ArgumentParser Foundation.swift
[96/101] Compiling ArgumentParser Mutex.swift
[97/101] Compiling Yams YamlError.swift
[98/101] Compiling Yams YamlTagProviding.swift
[99/116] Compiling VMCore Logger.swift
[100/116] Compiling VMCore Manager.swift
[101/116] Compiling VMCore FileLogHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/VMCore/FileLogHandler.swift:6:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
4 |
5 | /// A LogHandler that writes log messages to a file
6 | public struct FileLogHandler: LogHandler, @unchecked Sendable {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
7 | public var metadata: Logger.Metadata = [:]
8 | public var logLevel: Logger.Level = .debug
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:256:17: note: 'log(event:)' declared here
143 | ///
144 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
146 |
147 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
254 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
255 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
257 | self.log(
258 | level: event.level,
[102/116] Compiling VMCore LogContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/VMCore/FileLogHandler.swift:6:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
4 |
5 | /// A LogHandler that writes log messages to a file
6 | public struct FileLogHandler: LogHandler, @unchecked Sendable {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
7 | public var metadata: Logger.Metadata = [:]
8 | public var logLevel: Logger.Level = .debug
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:256:17: note: 'log(event:)' declared here
143 | ///
144 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
146 |
147 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
254 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
255 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
257 | self.log(
258 | level: event.level,
[103/116] Compiling VMCore ConsoleConnection.swift
[104/116] Compiling VMCore ConsoleListener.swift
[105/116] Compiling VMCore DiskManager.swift
[106/116] Compiling VMCore ExitFlag.swift
[107/116] Compiling VMCore Terminal.swift
/Users/admin/builder/spi-builder-workspace/Sources/VMCore/Terminal.swift:96:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'block'
91 |
92 | /// Async version of withRawMode
93 | public func withRawMode<T>(_ block: () async throws -> T) async throws -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
94 | try enableRawMode()
95 | defer { disableRawMode() }
96 | return try await block()
| `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'block'
97 | }
98 | }
[108/116] Emitting module VMCore
/Users/admin/builder/spi-builder-workspace/Sources/VMCore/FileLogHandler.swift:6:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
4 |
5 | /// A LogHandler that writes log messages to a file
6 | public struct FileLogHandler: LogHandler, @unchecked Sendable {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
7 | public var metadata: Logger.Metadata = [:]
8 | public var logLevel: Logger.Level = .debug
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:256:17: note: 'log(event:)' declared here
143 | ///
144 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
146 |
147 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
254 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
255 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
257 | self.log(
258 | level: event.level,
[109/116] Compiling VMCore RescueCache.swift
[110/116] Compiling VMCore CloudInit.swift
[111/116] Compiling VMCore Configuration.swift
[112/116] Compiling VMCore Socket.swift
[113/116] Compiling VMCore Runner.swift
/Users/admin/builder/spi-builder-workspace/Sources/VMCore/Runner.swift:321:22: error: sending 'vm' risks causing data races
319 |
320 | logger.debug("Calling VZVirtualMachine.start()")
321 | try await vm.start()
| |- error: sending 'vm' risks causing data races
| `- note: sending main actor-isolated 'vm' to nonisolated instance method 'start()' risks causing data races between nonisolated and main actor-isolated uses
322 | logger.info("VM started successfully")
323 |
/Users/admin/builder/spi-builder-workspace/Sources/VMCore/Runner.swift:381:22: error: sending 'vm' risks causing data races
379 | }
380 |
381 | try await vm.stop()
| |- error: sending 'vm' risks causing data races
| `- note: sending main actor-isolated 'vm' to nonisolated instance method 'stop()' risks causing data races between nonisolated and main actor-isolated uses
382 | logger.info("VM force stopped")
383 | }
/Users/admin/builder/spi-builder-workspace/Sources/VMCore/Runner.swift:393:22: error: sending 'vm' risks causing data races
391 | }
392 |
393 | try await vm.pause()
| |- error: sending 'vm' risks causing data races
| `- note: sending main actor-isolated 'vm' to nonisolated instance method 'pause()' risks causing data races between nonisolated and main actor-isolated uses
394 | logger.info("VM paused")
395 | }
/Users/admin/builder/spi-builder-workspace/Sources/VMCore/Runner.swift:405:22: error: sending 'vm' risks causing data races
403 | }
404 |
405 | try await vm.resume()
| |- error: sending 'vm' risks causing data races
| `- note: sending main actor-isolated 'vm' to nonisolated instance method 'resume()' risks causing data races between nonisolated and main actor-isolated uses
406 | logger.info("VM resumed")
407 | }
[114/117] Compiling VMCore VsockGuestAgent.swift
Fetching https://github.com/jpsim/Yams.git from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/jpsim/Yams.git from cache (1.33s)
Fetched https://github.com/apple/swift-log.git from cache (1.35s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.37s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.1 (1.89s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.54s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.50s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.2.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/6] Write swift-version-2F0A5646E1D333AE.txt
[4/34] Compiling Logging MetadataProvider.swift
[5/34] Emitting module Logging
[6/34] Compiling Logging Locks.swift
[7/34] Emitting module ArgumentParserToolInfo
[8/34] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/34] Compiling Logging LogHandler.swift
[10/34] Compiling Logging LogEvent.swift
[11/34] Compiling Logging Logging.swift
[12/81] Emitting module Yams
[13/83] Compiling ArgumentParser AsyncParsableCommand.swift
[14/83] Compiling ArgumentParser ParserError.swift
[15/83] Compiling ArgumentParser OptionGroup.swift
[16/83] Compiling ArgumentParser ParentCommand.swift
[17/83] Compiling ArgumentParser Parsed.swift
[18/83] Compiling ArgumentParser ParsedValues.swift
[19/83] Compiling ArgumentParser NameSpecification.swift
[20/83] Compiling ArgumentParser Option.swift
[21/83] Compiling ArgumentParser InputOrigin.swift
[22/83] Compiling ArgumentParser Name.swift
[23/83] Compiling ArgumentParser ZshCompletionsGenerator.swift
[24/83] Compiling ArgumentParser Argument.swift
[25/83] Compiling ArgumentParser ArgumentDiscussion.swift
[26/83] Compiling ArgumentParser InputKey.swift
[27/83] Compiling ArgumentParser SplitArguments.swift
[28/83] Compiling ArgumentParser DumpHelpGenerator.swift
[29/83] Compiling ArgumentParser BashCompletionsGenerator.swift
[30/83] Compiling ArgumentParser CompletionsGenerator.swift
[31/83] Compiling ArgumentParser FishCompletionsGenerator.swift
[32/83] Compiling Yams YamlError.swift
[33/83] Compiling Yams YamlTagProviding.swift
[34/83] Compiling ArgumentParser ArgumentHelp.swift
[35/83] Compiling ArgumentParser ArgumentVisibility.swift
[36/83] Compiling ArgumentParser CompletionKind.swift
[37/83] Compiling ArgumentParser Errors.swift
[38/83] Compiling ArgumentParser Flag.swift
[39/83] Compiling ArgumentParser Platform.swift
[40/83] Compiling ArgumentParser SequenceExtensions.swift
[41/83] Compiling ArgumentParser StringExtensions.swift
[42/83] Compiling ArgumentParser SwiftExtensions.swift
[43/83] Compiling ArgumentParser Tree.swift
[44/88] Emitting module ArgumentParser
[45/103] Compiling VMCore ConsoleConnection.swift
[46/103] Compiling VMCore ConsoleListener.swift
[47/103] Compiling VMCore CloudInit.swift
[48/103] Compiling VMCore Configuration.swift
[49/103] Compiling VMCore FileLogHandler.swift
[50/103] Compiling VMCore LogContext.swift
[51/103] Compiling ArgumentParser CommandConfiguration.swift
[52/103] Compiling ArgumentParser CommandGroup.swift
[53/103] Compiling ArgumentParser EnumerableFlag.swift
[54/103] Compiling ArgumentParser ExpressibleByArgument.swift
[55/103] Compiling ArgumentParser ParsableArguments.swift
[61/103] Compiling VMCore DiskManager.swift
[62/103] Compiling VMCore ExitFlag.swift
[63/103] Compiling VMCore Logger.swift
[64/103] Compiling VMCore Manager.swift
[71/103] Compiling ArgumentParser CodingKeyValidator.swift
[72/103] Compiling ArgumentParser NonsenseFlagsValidator.swift
[73/103] Compiling ArgumentParser ParsableArgumentsValidation.swift
[74/103] Compiling ArgumentParser PositionalArgumentsValidator.swift
[75/103] Compiling ArgumentParser UniqueNamesValidator.swift
[76/103] Compiling ArgumentParser MessageInfo.swift
[77/103] Compiling ArgumentParser UsageGenerator.swift
[78/103] Compiling ArgumentParser CollectionExtensions.swift
[79/103] Compiling ArgumentParser Foundation.swift
[80/103] Compiling ArgumentParser Mutex.swift
[81/103] Compiling ArgumentParser ParsableCommand.swift
[82/103] Compiling ArgumentParser ArgumentDecoder.swift
[83/103] Compiling ArgumentParser ArgumentDefinition.swift
[84/103] Compiling ArgumentParser ArgumentSet.swift
[85/103] Compiling ArgumentParser CommandParser.swift
[86/103] Compiling VMCore Terminal.swift
/Users/admin/builder/spi-builder-workspace/Sources/VMCore/Terminal.swift:96:26: error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'block'
91 |
92 | /// Async version of withRawMode
93 | public func withRawMode<T>(_ block: () async throws -> T) async throws -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
94 | try enableRawMode()
95 | defer { disableRawMode() }
96 | return try await block()
| `- error: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'block'
97 | }
98 | }
[89/104] Compiling VMCore Socket.swift
[90/104] Compiling VMCore RescueCache.swift
[93/104] Compiling VMCore Runner.swift
/Users/admin/builder/spi-builder-workspace/Sources/VMCore/Runner.swift:321:22: error: sending 'vm' risks causing data races
319 |
320 | logger.debug("Calling VZVirtualMachine.start()")
321 | try await vm.start()
| |- error: sending 'vm' risks causing data races
| `- note: sending main actor-isolated 'vm' to nonisolated instance method 'start()' risks causing data races between nonisolated and main actor-isolated uses
322 | logger.info("VM started successfully")
323 |
/Users/admin/builder/spi-builder-workspace/Sources/VMCore/Runner.swift:381:22: error: sending 'vm' risks causing data races
379 | }
380 |
381 | try await vm.stop()
| |- error: sending 'vm' risks causing data races
| `- note: sending main actor-isolated 'vm' to nonisolated instance method 'stop()' risks causing data races between nonisolated and main actor-isolated uses
382 | logger.info("VM force stopped")
383 | }
/Users/admin/builder/spi-builder-workspace/Sources/VMCore/Runner.swift:393:22: error: sending 'vm' risks causing data races
391 | }
392 |
393 | try await vm.pause()
| |- error: sending 'vm' risks causing data races
| `- note: sending main actor-isolated 'vm' to nonisolated instance method 'pause()' risks causing data races between nonisolated and main actor-isolated uses
394 | logger.info("VM paused")
395 | }
/Users/admin/builder/spi-builder-workspace/Sources/VMCore/Runner.swift:405:22: error: sending 'vm' risks causing data races
403 | }
404 |
405 | try await vm.resume()
| |- error: sending 'vm' risks causing data races
| `- note: sending main actor-isolated 'vm' to nonisolated instance method 'resume()' risks causing data races between nonisolated and main actor-isolated uses
406 | logger.info("VM resumed")
407 | }
/Users/admin/builder/spi-builder-workspace/Sources/VMCore/FileLogHandler.swift:6:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
4 |
5 | /// A LogHandler that writes log messages to a file
6 | public struct FileLogHandler: LogHandler, @unchecked Sendable {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
7 | public var metadata: Logger.Metadata = [:]
8 | public var logLevel: Logger.Level = .debug
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:256:17: note: 'log(event:)' declared here
143 | ///
144 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
146 |
147 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
254 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
255 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
257 | self.log(
258 | level: event.level,
/Users/admin/builder/spi-builder-workspace/Sources/VMCore/FileLogHandler.swift:6:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
4 |
5 | /// A LogHandler that writes log messages to a file
6 | public struct FileLogHandler: LogHandler, @unchecked Sendable {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
7 | public var metadata: Logger.Metadata = [:]
8 | public var logLevel: Logger.Level = .debug
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:256:17: note: 'log(event:)' declared here
143 | ///
144 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
146 |
147 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
254 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
255 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
257 | self.log(
258 | level: event.level,
[98/104] Compiling VMCore VsockGuestAgent.swift
[101/104] Emitting module VMCore
/Users/admin/builder/spi-builder-workspace/Sources/VMCore/FileLogHandler.swift:6:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
4 |
5 | /// A LogHandler that writes log messages to a file
6 | public struct FileLogHandler: LogHandler, @unchecked Sendable {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
7 | public var metadata: Logger.Metadata = [:]
8 | public var logLevel: Logger.Level = .debug
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:256:17: note: 'log(event:)' declared here
143 | ///
144 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
146 |
147 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
254 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
255 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
257 | self.log(
258 | level: event.level,
BUILD FAILURE 6.1 macosSpm