Build Information
Failed to build VM, reference main (45a8ec), with Swift 6.0 for macOS (SPM) on 30 Apr 2026 19:12:36 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.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.0
Building package at path: $PWD
https://github.com/subpop/vm.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateDoccReference
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/19] Write sources
[5/19] Write vm-entitlement.plist
[5/19] Write sources
[9/19] Write swift-version-5BDAB9E9C0126B9D.txt
[10/27] Compiling api.c
[11/27] Compiling scanner.c
[12/27] Compiling writer.c
[13/27] Compiling parser.c
[14/27] Compiling emitter.c
[15/27] Compiling reader.c
[17/47] Emitting module ArgumentParserToolInfo
[18/47] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/94] Compiling Logging MetadataProvider.swift
[20/94] Compiling Logging LogEvent.swift
[21/94] Compiling Logging Locks.swift
[22/94] Compiling Logging LogHandler.swift
[23/94] Emitting module Logging
[24/94] Compiling Logging Logging.swift
[25/94] Emitting module Yams
[26/96] Compiling ArgumentParser InputKey.swift
[27/96] Compiling ArgumentParser InputOrigin.swift
[28/96] Compiling ArgumentParser Name.swift
[29/96] Compiling ArgumentParser Parsed.swift
[30/96] Compiling ArgumentParser ParsedValues.swift
[31/101] Compiling ArgumentParser ArgumentHelp.swift
[32/101] Compiling ArgumentParser ArgumentVisibility.swift
[33/101] Compiling ArgumentParser CompletionKind.swift
[34/101] Compiling ArgumentParser Errors.swift
[35/101] Compiling ArgumentParser Flag.swift
[36/101] Emitting module ArgumentParser
[37/101] Compiling ArgumentParser Platform.swift
[38/101] Compiling ArgumentParser SequenceExtensions.swift
[39/101] Compiling ArgumentParser StringExtensions.swift
[40/101] Compiling ArgumentParser SwiftExtensions.swift
[41/101] Compiling ArgumentParser Tree.swift
[42/101] Compiling ArgumentParser CodingKeyValidator.swift
[43/101] Compiling ArgumentParser NonsenseFlagsValidator.swift
[44/101] Compiling ArgumentParser ParsableArgumentsValidation.swift
[45/101] Compiling ArgumentParser PositionalArgumentsValidator.swift
[46/101] Compiling ArgumentParser UniqueNamesValidator.swift
[47/101] Compiling ArgumentParser CommandConfiguration.swift
[48/101] Compiling ArgumentParser CommandGroup.swift
[49/101] Compiling ArgumentParser EnumerableFlag.swift
[50/101] Compiling ArgumentParser ExpressibleByArgument.swift
[51/101] Compiling ArgumentParser ParsableArguments.swift
[52/101] Compiling ArgumentParser NameSpecification.swift
[53/101] Compiling ArgumentParser Option.swift
[54/101] Compiling ArgumentParser OptionGroup.swift
[55/101] Compiling ArgumentParser ParentCommand.swift
[56/101] Compiling ArgumentParser AsyncParsableCommand.swift
[57/101] Compiling ArgumentParser BashCompletionsGenerator.swift
[58/101] Compiling ArgumentParser CompletionsGenerator.swift
[59/101] Compiling ArgumentParser FishCompletionsGenerator.swift
[60/101] Compiling ArgumentParser ZshCompletionsGenerator.swift
[61/101] Compiling ArgumentParser Argument.swift
[62/101] Compiling ArgumentParser ArgumentDiscussion.swift
[63/101] Compiling ArgumentParser ParsableCommand.swift
[64/101] Compiling ArgumentParser ArgumentDecoder.swift
[65/101] Compiling ArgumentParser ArgumentDefinition.swift
[66/101] Compiling ArgumentParser ArgumentSet.swift
[67/101] Compiling ArgumentParser CommandParser.swift
[68/101] Compiling Yams YamlError.swift
[69/101] Compiling Yams YamlTagProviding.swift
[70/101] Compiling ArgumentParser Mutex.swift
[71/101] Compiling ArgumentParser ParserError.swift
[72/101] Compiling ArgumentParser SplitArguments.swift
[73/101] Compiling ArgumentParser DumpHelpGenerator.swift
[74/101] Compiling ArgumentParser CollectionExtensions.swift
[75/101] Compiling ArgumentParser Foundation.swift
[76/101] Compiling ArgumentParser MessageInfo.swift
[77/101] Compiling ArgumentParser UsageGenerator.swift
[99/116] Compiling VMCore Socket.swift
[100/116] Compiling VMCore Logger.swift
[101/116] Compiling VMCore Manager.swift
[102/116] Compiling VMCore Terminal.swift
/Users/admin/builder/spi-builder-workspace/Sources/VMCore/Terminal.swift:96:26: error: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
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 type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
97 | }
98 | }
[103/117] Compiling VMCore RescueCache.swift
[104/117] 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,
[105/117] 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,
[106/117] Compiling VMCore CloudInit.swift
[107/117] Compiling VMCore Configuration.swift
[108/117] 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/117] Compiling VMCore DiskManager.swift
[110/117] Compiling VMCore ExitFlag.swift
[111/117] Compiling VMCore ConsoleConnection.swift
[112/117] Compiling VMCore ConsoleListener.swift
[113/117] 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/apple/swift-log.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/6809] Fetching swift-log
[342/18360] Fetching swift-log, yams
[683/35887] Fetching swift-log, yams, swift-argument-parser
Fetched https://github.com/jpsim/Yams.git from cache (2.51s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.51s)
Fetched https://github.com/apple/swift-log.git from cache (2.51s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.1 (0.47s)
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.51s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.44s)
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.11.0
BUILD FAILURE 6.0 macosSpm