Build Information
Successful build of swift-tools-support-core, reference main (4074f4
), with Swift 6.0 for Linux on 30 Oct 2024 15:57:18 UTC.
Swift 6 data race errors: 63
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
354 | // user/group ID (e.g., chown(2)).
355 | public static let attrib = WatchOptions(rawValue: IN_ATTRIB)
| |- warning: static property 'attrib' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrib' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
356 |
357 | // File opened for writing was closed.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:358:27: warning: static property 'closeWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
356 |
357 | // File opened for writing was closed.
358 | public static let closeWrite = WatchOptions(rawValue: IN_CLOSE_WRITE)
| |- warning: static property 'closeWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'closeWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
359 |
360 | // File or directory not opened for writing was closed.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:361:27: warning: static property 'closeNoWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
359 |
360 | // File or directory not opened for writing was closed.
361 | public static let closeNoWrite = WatchOptions(rawValue: IN_CLOSE_NOWRITE)
| |- warning: static property 'closeNoWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'closeNoWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
362 |
363 | // File was accessed (e.g., read(2), execve(2)).
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:364:27: warning: static property 'access' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
362 |
363 | // File was accessed (e.g., read(2), execve(2)).
364 | public static let access = WatchOptions(rawValue: IN_ACCESS)
| |- warning: static property 'access' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'access' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
365 |
366 | /// The list of default options that can be used for watching files.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:367:27: warning: static property 'defaultFileWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
365 |
366 | /// The list of default options that can be used for watching files.
367 | public static let defaultFileWatchOptions: WatchOptions = [.deleteSelf, .moveSelf, .modify]
| |- warning: static property 'defaultFileWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultFileWatchOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
368 |
369 | /// The list of default options that can be used for watching directories.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:370:27: warning: static property 'defaultDirectoryWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
368 |
369 | /// The list of default options that can be used for watching directories.
370 | public static let defaultDirectoryWatchOptions: WatchOptions = [.create, .delete, .deleteSelf, .move, .moveSelf]
| |- warning: static property 'defaultDirectoryWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDirectoryWatchOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
371 |
372 | /// List of all available events.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:373:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Inotify.WatchOptions]' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
371 |
372 | /// List of all available events.
373 | public static let all: [WatchOptions] = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Inotify.WatchOptions]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
374 | .create,
375 | .delete,
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:469:13: warning: capture of 'self' with non-sendable type 'Inotify' in a `@Sendable` closure; this is an error in the Swift 6 language mode
305 |
306 | /// Bindings for inotify C APIs.
307 | public final class Inotify {
| `- note: class 'Inotify' does not conform to the 'Sendable' protocol
308 |
309 | /// The errors encountered during inotify operations.
:
467 |
468 | readQueue.async {
469 | self.startRead()
| `- warning: capture of 'self' with non-sendable type 'Inotify' in a `@Sendable` closure; this is an error in the Swift 6 language mode
470 | }
471 | }
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:606:29: warning: capture of 'self' with non-sendable type 'Inotify' in a `@Sendable` closure; this is an error in the Swift 6 language mode
305 |
306 | /// Bindings for inotify C APIs.
307 | public final class Inotify {
| `- note: class 'Inotify' does not conform to the 'Sendable' protocol
308 |
309 | /// The errors encountered during inotify operations.
:
604 | self.collectedEvents = []
605 | self.callbacksQueue.async {
606 | self.report(events)
| `- warning: capture of 'self' with non-sendable type 'Inotify' in a `@Sendable` closure; this is an error in the Swift 6 language mode
607 | }
608 | }
/host/spi-builder-workspace/Sources/TSCUtility/Git.swift:17:23: warning: static property 'tool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// A shell command to run for Git. Can be either a name or a path.
16 | /// - Note: modification is not thread safe, designed for testing only
17 | public static var tool: String = "git\(executableFileSuffix)"
| |- warning: static property 'tool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tool' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'tool' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Returns true if the git reference name is well formed.
/host/spi-builder-workspace/Sources/TSCUtility/Git.swift:29:24: warning: static property '_gitEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | private static var _gitEnvironment = ProcessEnv.block
| |- warning: static property '_gitEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_gitEnvironment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_gitEnvironment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | @available(*,
[85/100] Compiling TSCUtility Diagnostics.swift
/host/spi-builder-workspace/Sources/TSCUtility/Context.swift:94:27: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
91 | @available(*, deprecated, message: "Values should be Sendable")
92 | @_disfavoredOverload
93 | public func get<T>(_ type: T.Type = T.self) -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
94 | guard let value = getOptional(type) else {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
95 | fatalError("no type \(T.self) in context")
96 | }
/host/spi-builder-workspace/Sources/TSCUtility/Context.swift:126:9: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
123 | @available(*, deprecated, message: "Values should be Sendable")
124 | @_disfavoredOverload
125 | public mutating func set<T>(_ value: T) {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
126 | self[ObjectIdentifier(T.self)] = value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
127 | }
128 |
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:326:27: warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
324 | // O_CREAT, mkdir(2), link(2), symlink(2), bind(2) on a UNIX
325 | // domain socket).
326 | public static let create = WatchOptions(rawValue: IN_CREATE)
| |- warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'create' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
327 |
328 | // File/directory deleted from watched directory.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:329:27: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
327 |
328 | // File/directory deleted from watched directory.
329 | public static let delete = WatchOptions(rawValue: IN_DELETE)
| |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'delete' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 |
331 | // Watched file/directory was itself deleted. (This event
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:337:27: warning: static property 'deleteSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
335 | // tem.) In addition, an IN_IGNORED event will subsequently
336 | // be generated for the watch descriptor.
337 | public static let deleteSelf = WatchOptions(rawValue: IN_DELETE_SELF)
| |- warning: static property 'deleteSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'deleteSelf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 |
339 | public static let move = WatchOptions(rawValue: IN_MOVE)
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:339:27: warning: static property 'move' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
337 | public static let deleteSelf = WatchOptions(rawValue: IN_DELETE_SELF)
338 |
339 | public static let move = WatchOptions(rawValue: IN_MOVE)
| |- warning: static property 'move' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'move' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
340 |
341 | /// Watched file/directory was itself moved.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:342:27: warning: static property 'moveSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
340 |
341 | /// Watched file/directory was itself moved.
342 | public static let moveSelf = WatchOptions(rawValue: IN_MOVE_SELF)
| |- warning: static property 'moveSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'moveSelf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
343 |
344 | /// File was modified (e.g., write(2), truncate(2)).
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:345:27: warning: static property 'modify' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
343 |
344 | /// File was modified (e.g., write(2), truncate(2)).
345 | public static let modify = WatchOptions(rawValue: IN_MODIFY)
| |- warning: static property 'modify' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'modify' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
346 |
347 | // File or directory was opened.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:348:27: warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
346 |
347 | // File or directory was opened.
348 | public static let open = WatchOptions(rawValue: IN_OPEN)
| |- warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'open' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
349 |
350 | // Metadata changed—for example, permissions (e.g.,
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:355:27: warning: static property 'attrib' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
353 | // e.g., for the target of link(2) and for unlink(2)), and
354 | // user/group ID (e.g., chown(2)).
355 | public static let attrib = WatchOptions(rawValue: IN_ATTRIB)
| |- warning: static property 'attrib' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrib' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
356 |
357 | // File opened for writing was closed.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:358:27: warning: static property 'closeWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
356 |
357 | // File opened for writing was closed.
358 | public static let closeWrite = WatchOptions(rawValue: IN_CLOSE_WRITE)
| |- warning: static property 'closeWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'closeWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
359 |
360 | // File or directory not opened for writing was closed.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:361:27: warning: static property 'closeNoWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
359 |
360 | // File or directory not opened for writing was closed.
361 | public static let closeNoWrite = WatchOptions(rawValue: IN_CLOSE_NOWRITE)
| |- warning: static property 'closeNoWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'closeNoWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
362 |
363 | // File was accessed (e.g., read(2), execve(2)).
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:364:27: warning: static property 'access' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
362 |
363 | // File was accessed (e.g., read(2), execve(2)).
364 | public static let access = WatchOptions(rawValue: IN_ACCESS)
| |- warning: static property 'access' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'access' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
365 |
366 | /// The list of default options that can be used for watching files.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:367:27: warning: static property 'defaultFileWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
365 |
366 | /// The list of default options that can be used for watching files.
367 | public static let defaultFileWatchOptions: WatchOptions = [.deleteSelf, .moveSelf, .modify]
| |- warning: static property 'defaultFileWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultFileWatchOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
368 |
369 | /// The list of default options that can be used for watching directories.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:370:27: warning: static property 'defaultDirectoryWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
368 |
369 | /// The list of default options that can be used for watching directories.
370 | public static let defaultDirectoryWatchOptions: WatchOptions = [.create, .delete, .deleteSelf, .move, .moveSelf]
| |- warning: static property 'defaultDirectoryWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDirectoryWatchOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
371 |
372 | /// List of all available events.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:373:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Inotify.WatchOptions]' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
371 |
372 | /// List of all available events.
373 | public static let all: [WatchOptions] = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Inotify.WatchOptions]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
374 | .create,
375 | .delete,
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:469:13: warning: capture of 'self' with non-sendable type 'Inotify' in a `@Sendable` closure; this is an error in the Swift 6 language mode
305 |
306 | /// Bindings for inotify C APIs.
307 | public final class Inotify {
| `- note: class 'Inotify' does not conform to the 'Sendable' protocol
308 |
309 | /// The errors encountered during inotify operations.
:
467 |
468 | readQueue.async {
469 | self.startRead()
| `- warning: capture of 'self' with non-sendable type 'Inotify' in a `@Sendable` closure; this is an error in the Swift 6 language mode
470 | }
471 | }
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:606:29: warning: capture of 'self' with non-sendable type 'Inotify' in a `@Sendable` closure; this is an error in the Swift 6 language mode
305 |
306 | /// Bindings for inotify C APIs.
307 | public final class Inotify {
| `- note: class 'Inotify' does not conform to the 'Sendable' protocol
308 |
309 | /// The errors encountered during inotify operations.
:
604 | self.collectedEvents = []
605 | self.callbacksQueue.async {
606 | self.report(events)
| `- warning: capture of 'self' with non-sendable type 'Inotify' in a `@Sendable` closure; this is an error in the Swift 6 language mode
607 | }
608 | }
/host/spi-builder-workspace/Sources/TSCUtility/Git.swift:17:23: warning: static property 'tool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// A shell command to run for Git. Can be either a name or a path.
16 | /// - Note: modification is not thread safe, designed for testing only
17 | public static var tool: String = "git\(executableFileSuffix)"
| |- warning: static property 'tool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tool' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'tool' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Returns true if the git reference name is well formed.
/host/spi-builder-workspace/Sources/TSCUtility/Git.swift:29:24: warning: static property '_gitEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | private static var _gitEnvironment = ProcessEnv.block
| |- warning: static property '_gitEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_gitEnvironment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_gitEnvironment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | @available(*,
[86/100] Compiling TSCUtility FSWatch.swift
/host/spi-builder-workspace/Sources/TSCUtility/Context.swift:94:27: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
91 | @available(*, deprecated, message: "Values should be Sendable")
92 | @_disfavoredOverload
93 | public func get<T>(_ type: T.Type = T.self) -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
94 | guard let value = getOptional(type) else {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
95 | fatalError("no type \(T.self) in context")
96 | }
/host/spi-builder-workspace/Sources/TSCUtility/Context.swift:126:9: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
123 | @available(*, deprecated, message: "Values should be Sendable")
124 | @_disfavoredOverload
125 | public mutating func set<T>(_ value: T) {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
126 | self[ObjectIdentifier(T.self)] = value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
127 | }
128 |
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:326:27: warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
324 | // O_CREAT, mkdir(2), link(2), symlink(2), bind(2) on a UNIX
325 | // domain socket).
326 | public static let create = WatchOptions(rawValue: IN_CREATE)
| |- warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'create' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
327 |
328 | // File/directory deleted from watched directory.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:329:27: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
327 |
328 | // File/directory deleted from watched directory.
329 | public static let delete = WatchOptions(rawValue: IN_DELETE)
| |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'delete' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 |
331 | // Watched file/directory was itself deleted. (This event
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:337:27: warning: static property 'deleteSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
335 | // tem.) In addition, an IN_IGNORED event will subsequently
336 | // be generated for the watch descriptor.
337 | public static let deleteSelf = WatchOptions(rawValue: IN_DELETE_SELF)
| |- warning: static property 'deleteSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'deleteSelf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 |
339 | public static let move = WatchOptions(rawValue: IN_MOVE)
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:339:27: warning: static property 'move' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
337 | public static let deleteSelf = WatchOptions(rawValue: IN_DELETE_SELF)
338 |
339 | public static let move = WatchOptions(rawValue: IN_MOVE)
| |- warning: static property 'move' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'move' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
340 |
341 | /// Watched file/directory was itself moved.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:342:27: warning: static property 'moveSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
340 |
341 | /// Watched file/directory was itself moved.
342 | public static let moveSelf = WatchOptions(rawValue: IN_MOVE_SELF)
| |- warning: static property 'moveSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'moveSelf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
343 |
344 | /// File was modified (e.g., write(2), truncate(2)).
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:345:27: warning: static property 'modify' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
343 |
344 | /// File was modified (e.g., write(2), truncate(2)).
345 | public static let modify = WatchOptions(rawValue: IN_MODIFY)
| |- warning: static property 'modify' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'modify' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
346 |
347 | // File or directory was opened.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:348:27: warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
346 |
347 | // File or directory was opened.
348 | public static let open = WatchOptions(rawValue: IN_OPEN)
| |- warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'open' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
349 |
350 | // Metadata changed—for example, permissions (e.g.,
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:355:27: warning: static property 'attrib' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
353 | // e.g., for the target of link(2) and for unlink(2)), and
354 | // user/group ID (e.g., chown(2)).
355 | public static let attrib = WatchOptions(rawValue: IN_ATTRIB)
| |- warning: static property 'attrib' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrib' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
356 |
357 | // File opened for writing was closed.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:358:27: warning: static property 'closeWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
356 |
357 | // File opened for writing was closed.
358 | public static let closeWrite = WatchOptions(rawValue: IN_CLOSE_WRITE)
| |- warning: static property 'closeWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'closeWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
359 |
360 | // File or directory not opened for writing was closed.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:361:27: warning: static property 'closeNoWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
359 |
360 | // File or directory not opened for writing was closed.
361 | public static let closeNoWrite = WatchOptions(rawValue: IN_CLOSE_NOWRITE)
| |- warning: static property 'closeNoWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'closeNoWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
362 |
363 | // File was accessed (e.g., read(2), execve(2)).
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:364:27: warning: static property 'access' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
362 |
363 | // File was accessed (e.g., read(2), execve(2)).
364 | public static let access = WatchOptions(rawValue: IN_ACCESS)
| |- warning: static property 'access' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'access' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
365 |
366 | /// The list of default options that can be used for watching files.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:367:27: warning: static property 'defaultFileWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
365 |
366 | /// The list of default options that can be used for watching files.
367 | public static let defaultFileWatchOptions: WatchOptions = [.deleteSelf, .moveSelf, .modify]
| |- warning: static property 'defaultFileWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultFileWatchOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
368 |
369 | /// The list of default options that can be used for watching directories.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:370:27: warning: static property 'defaultDirectoryWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
368 |
369 | /// The list of default options that can be used for watching directories.
370 | public static let defaultDirectoryWatchOptions: WatchOptions = [.create, .delete, .deleteSelf, .move, .moveSelf]
| |- warning: static property 'defaultDirectoryWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDirectoryWatchOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
371 |
372 | /// List of all available events.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:373:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Inotify.WatchOptions]' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
371 |
372 | /// List of all available events.
373 | public static let all: [WatchOptions] = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Inotify.WatchOptions]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
374 | .create,
375 | .delete,
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:469:13: warning: capture of 'self' with non-sendable type 'Inotify' in a `@Sendable` closure; this is an error in the Swift 6 language mode
305 |
306 | /// Bindings for inotify C APIs.
307 | public final class Inotify {
| `- note: class 'Inotify' does not conform to the 'Sendable' protocol
308 |
309 | /// The errors encountered during inotify operations.
:
467 |
468 | readQueue.async {
469 | self.startRead()
| `- warning: capture of 'self' with non-sendable type 'Inotify' in a `@Sendable` closure; this is an error in the Swift 6 language mode
470 | }
471 | }
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:606:29: warning: capture of 'self' with non-sendable type 'Inotify' in a `@Sendable` closure; this is an error in the Swift 6 language mode
305 |
306 | /// Bindings for inotify C APIs.
307 | public final class Inotify {
| `- note: class 'Inotify' does not conform to the 'Sendable' protocol
308 |
309 | /// The errors encountered during inotify operations.
:
604 | self.collectedEvents = []
605 | self.callbacksQueue.async {
606 | self.report(events)
| `- warning: capture of 'self' with non-sendable type 'Inotify' in a `@Sendable` closure; this is an error in the Swift 6 language mode
607 | }
608 | }
/host/spi-builder-workspace/Sources/TSCUtility/Git.swift:17:23: warning: static property 'tool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// A shell command to run for Git. Can be either a name or a path.
16 | /// - Note: modification is not thread safe, designed for testing only
17 | public static var tool: String = "git\(executableFileSuffix)"
| |- warning: static property 'tool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tool' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'tool' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Returns true if the git reference name is well formed.
/host/spi-builder-workspace/Sources/TSCUtility/Git.swift:29:24: warning: static property '_gitEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | private static var _gitEnvironment = ProcessEnv.block
| |- warning: static property '_gitEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_gitEnvironment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_gitEnvironment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | @available(*,
[87/100] Compiling TSCUtility FloatingPointExtensions.swift
/host/spi-builder-workspace/Sources/TSCUtility/Context.swift:94:27: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
91 | @available(*, deprecated, message: "Values should be Sendable")
92 | @_disfavoredOverload
93 | public func get<T>(_ type: T.Type = T.self) -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
94 | guard let value = getOptional(type) else {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
95 | fatalError("no type \(T.self) in context")
96 | }
/host/spi-builder-workspace/Sources/TSCUtility/Context.swift:126:9: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
123 | @available(*, deprecated, message: "Values should be Sendable")
124 | @_disfavoredOverload
125 | public mutating func set<T>(_ value: T) {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
126 | self[ObjectIdentifier(T.self)] = value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
127 | }
128 |
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:326:27: warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
324 | // O_CREAT, mkdir(2), link(2), symlink(2), bind(2) on a UNIX
325 | // domain socket).
326 | public static let create = WatchOptions(rawValue: IN_CREATE)
| |- warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'create' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
327 |
328 | // File/directory deleted from watched directory.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:329:27: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
327 |
328 | // File/directory deleted from watched directory.
329 | public static let delete = WatchOptions(rawValue: IN_DELETE)
| |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'delete' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 |
331 | // Watched file/directory was itself deleted. (This event
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:337:27: warning: static property 'deleteSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
335 | // tem.) In addition, an IN_IGNORED event will subsequently
336 | // be generated for the watch descriptor.
337 | public static let deleteSelf = WatchOptions(rawValue: IN_DELETE_SELF)
| |- warning: static property 'deleteSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'deleteSelf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 |
339 | public static let move = WatchOptions(rawValue: IN_MOVE)
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:339:27: warning: static property 'move' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
337 | public static let deleteSelf = WatchOptions(rawValue: IN_DELETE_SELF)
338 |
339 | public static let move = WatchOptions(rawValue: IN_MOVE)
| |- warning: static property 'move' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'move' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
340 |
341 | /// Watched file/directory was itself moved.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:342:27: warning: static property 'moveSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
340 |
341 | /// Watched file/directory was itself moved.
342 | public static let moveSelf = WatchOptions(rawValue: IN_MOVE_SELF)
| |- warning: static property 'moveSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'moveSelf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
343 |
344 | /// File was modified (e.g., write(2), truncate(2)).
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:345:27: warning: static property 'modify' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
343 |
344 | /// File was modified (e.g., write(2), truncate(2)).
345 | public static let modify = WatchOptions(rawValue: IN_MODIFY)
| |- warning: static property 'modify' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'modify' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
346 |
347 | // File or directory was opened.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:348:27: warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
346 |
347 | // File or directory was opened.
348 | public static let open = WatchOptions(rawValue: IN_OPEN)
| |- warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'open' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
349 |
350 | // Metadata changed—for example, permissions (e.g.,
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:355:27: warning: static property 'attrib' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
353 | // e.g., for the target of link(2) and for unlink(2)), and
354 | // user/group ID (e.g., chown(2)).
355 | public static let attrib = WatchOptions(rawValue: IN_ATTRIB)
| |- warning: static property 'attrib' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrib' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
356 |
357 | // File opened for writing was closed.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:358:27: warning: static property 'closeWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
356 |
357 | // File opened for writing was closed.
358 | public static let closeWrite = WatchOptions(rawValue: IN_CLOSE_WRITE)
| |- warning: static property 'closeWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'closeWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
359 |
360 | // File or directory not opened for writing was closed.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:361:27: warning: static property 'closeNoWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
359 |
360 | // File or directory not opened for writing was closed.
361 | public static let closeNoWrite = WatchOptions(rawValue: IN_CLOSE_NOWRITE)
| |- warning: static property 'closeNoWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'closeNoWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
362 |
363 | // File was accessed (e.g., read(2), execve(2)).
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:364:27: warning: static property 'access' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
362 |
363 | // File was accessed (e.g., read(2), execve(2)).
364 | public static let access = WatchOptions(rawValue: IN_ACCESS)
| |- warning: static property 'access' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'access' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
365 |
366 | /// The list of default options that can be used for watching files.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:367:27: warning: static property 'defaultFileWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
365 |
366 | /// The list of default options that can be used for watching files.
367 | public static let defaultFileWatchOptions: WatchOptions = [.deleteSelf, .moveSelf, .modify]
| |- warning: static property 'defaultFileWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultFileWatchOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
368 |
369 | /// The list of default options that can be used for watching directories.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:370:27: warning: static property 'defaultDirectoryWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
368 |
369 | /// The list of default options that can be used for watching directories.
370 | public static let defaultDirectoryWatchOptions: WatchOptions = [.create, .delete, .deleteSelf, .move, .moveSelf]
| |- warning: static property 'defaultDirectoryWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDirectoryWatchOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
371 |
372 | /// List of all available events.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:373:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Inotify.WatchOptions]' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
371 |
372 | /// List of all available events.
373 | public static let all: [WatchOptions] = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Inotify.WatchOptions]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
374 | .create,
375 | .delete,
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:469:13: warning: capture of 'self' with non-sendable type 'Inotify' in a `@Sendable` closure; this is an error in the Swift 6 language mode
305 |
306 | /// Bindings for inotify C APIs.
307 | public final class Inotify {
| `- note: class 'Inotify' does not conform to the 'Sendable' protocol
308 |
309 | /// The errors encountered during inotify operations.
:
467 |
468 | readQueue.async {
469 | self.startRead()
| `- warning: capture of 'self' with non-sendable type 'Inotify' in a `@Sendable` closure; this is an error in the Swift 6 language mode
470 | }
471 | }
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:606:29: warning: capture of 'self' with non-sendable type 'Inotify' in a `@Sendable` closure; this is an error in the Swift 6 language mode
305 |
306 | /// Bindings for inotify C APIs.
307 | public final class Inotify {
| `- note: class 'Inotify' does not conform to the 'Sendable' protocol
308 |
309 | /// The errors encountered during inotify operations.
:
604 | self.collectedEvents = []
605 | self.callbacksQueue.async {
606 | self.report(events)
| `- warning: capture of 'self' with non-sendable type 'Inotify' in a `@Sendable` closure; this is an error in the Swift 6 language mode
607 | }
608 | }
/host/spi-builder-workspace/Sources/TSCUtility/Git.swift:17:23: warning: static property 'tool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// A shell command to run for Git. Can be either a name or a path.
16 | /// - Note: modification is not thread safe, designed for testing only
17 | public static var tool: String = "git\(executableFileSuffix)"
| |- warning: static property 'tool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tool' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'tool' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Returns true if the git reference name is well formed.
/host/spi-builder-workspace/Sources/TSCUtility/Git.swift:29:24: warning: static property '_gitEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | private static var _gitEnvironment = ProcessEnv.block
| |- warning: static property '_gitEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_gitEnvironment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_gitEnvironment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | @available(*,
[88/100] Compiling TSCUtility Git.swift
/host/spi-builder-workspace/Sources/TSCUtility/Context.swift:94:27: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
91 | @available(*, deprecated, message: "Values should be Sendable")
92 | @_disfavoredOverload
93 | public func get<T>(_ type: T.Type = T.self) -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
94 | guard let value = getOptional(type) else {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
95 | fatalError("no type \(T.self) in context")
96 | }
/host/spi-builder-workspace/Sources/TSCUtility/Context.swift:126:9: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
123 | @available(*, deprecated, message: "Values should be Sendable")
124 | @_disfavoredOverload
125 | public mutating func set<T>(_ value: T) {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
126 | self[ObjectIdentifier(T.self)] = value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
127 | }
128 |
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:326:27: warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
324 | // O_CREAT, mkdir(2), link(2), symlink(2), bind(2) on a UNIX
325 | // domain socket).
326 | public static let create = WatchOptions(rawValue: IN_CREATE)
| |- warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'create' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
327 |
328 | // File/directory deleted from watched directory.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:329:27: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
327 |
328 | // File/directory deleted from watched directory.
329 | public static let delete = WatchOptions(rawValue: IN_DELETE)
| |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'delete' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 |
331 | // Watched file/directory was itself deleted. (This event
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:337:27: warning: static property 'deleteSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
335 | // tem.) In addition, an IN_IGNORED event will subsequently
336 | // be generated for the watch descriptor.
337 | public static let deleteSelf = WatchOptions(rawValue: IN_DELETE_SELF)
| |- warning: static property 'deleteSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'deleteSelf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 |
339 | public static let move = WatchOptions(rawValue: IN_MOVE)
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:339:27: warning: static property 'move' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
337 | public static let deleteSelf = WatchOptions(rawValue: IN_DELETE_SELF)
338 |
339 | public static let move = WatchOptions(rawValue: IN_MOVE)
| |- warning: static property 'move' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'move' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
340 |
341 | /// Watched file/directory was itself moved.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:342:27: warning: static property 'moveSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
340 |
341 | /// Watched file/directory was itself moved.
342 | public static let moveSelf = WatchOptions(rawValue: IN_MOVE_SELF)
| |- warning: static property 'moveSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'moveSelf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
343 |
344 | /// File was modified (e.g., write(2), truncate(2)).
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:345:27: warning: static property 'modify' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
343 |
344 | /// File was modified (e.g., write(2), truncate(2)).
345 | public static let modify = WatchOptions(rawValue: IN_MODIFY)
| |- warning: static property 'modify' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'modify' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
346 |
347 | // File or directory was opened.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:348:27: warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
346 |
347 | // File or directory was opened.
348 | public static let open = WatchOptions(rawValue: IN_OPEN)
| |- warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'open' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
349 |
350 | // Metadata changed—for example, permissions (e.g.,
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:355:27: warning: static property 'attrib' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
353 | // e.g., for the target of link(2) and for unlink(2)), and
354 | // user/group ID (e.g., chown(2)).
355 | public static let attrib = WatchOptions(rawValue: IN_ATTRIB)
| |- warning: static property 'attrib' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrib' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
356 |
357 | // File opened for writing was closed.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:358:27: warning: static property 'closeWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
356 |
357 | // File opened for writing was closed.
358 | public static let closeWrite = WatchOptions(rawValue: IN_CLOSE_WRITE)
| |- warning: static property 'closeWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'closeWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
359 |
360 | // File or directory not opened for writing was closed.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:361:27: warning: static property 'closeNoWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
359 |
360 | // File or directory not opened for writing was closed.
361 | public static let closeNoWrite = WatchOptions(rawValue: IN_CLOSE_NOWRITE)
| |- warning: static property 'closeNoWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'closeNoWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
362 |
363 | // File was accessed (e.g., read(2), execve(2)).
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:364:27: warning: static property 'access' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
362 |
363 | // File was accessed (e.g., read(2), execve(2)).
364 | public static let access = WatchOptions(rawValue: IN_ACCESS)
| |- warning: static property 'access' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'access' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
365 |
366 | /// The list of default options that can be used for watching files.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:367:27: warning: static property 'defaultFileWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
365 |
366 | /// The list of default options that can be used for watching files.
367 | public static let defaultFileWatchOptions: WatchOptions = [.deleteSelf, .moveSelf, .modify]
| |- warning: static property 'defaultFileWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultFileWatchOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
368 |
369 | /// The list of default options that can be used for watching directories.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:370:27: warning: static property 'defaultDirectoryWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
368 |
369 | /// The list of default options that can be used for watching directories.
370 | public static let defaultDirectoryWatchOptions: WatchOptions = [.create, .delete, .deleteSelf, .move, .moveSelf]
| |- warning: static property 'defaultDirectoryWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDirectoryWatchOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
371 |
372 | /// List of all available events.
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:373:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Inotify.WatchOptions]' may have shared mutable state; this is an error in the Swift 6 language mode
314 |
315 | /// The available options for a particular path.
316 | public struct WatchOptions: OptionSet {
| `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
317 | public let rawValue: Int32
318 |
:
371 |
372 | /// List of all available events.
373 | public static let all: [WatchOptions] = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Inotify.WatchOptions]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
374 | .create,
375 | .delete,
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:469:13: warning: capture of 'self' with non-sendable type 'Inotify' in a `@Sendable` closure; this is an error in the Swift 6 language mode
305 |
306 | /// Bindings for inotify C APIs.
307 | public final class Inotify {
| `- note: class 'Inotify' does not conform to the 'Sendable' protocol
308 |
309 | /// The errors encountered during inotify operations.
:
467 |
468 | readQueue.async {
469 | self.startRead()
| `- warning: capture of 'self' with non-sendable type 'Inotify' in a `@Sendable` closure; this is an error in the Swift 6 language mode
470 | }
471 | }
/host/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:606:29: warning: capture of 'self' with non-sendable type 'Inotify' in a `@Sendable` closure; this is an error in the Swift 6 language mode
305 |
306 | /// Bindings for inotify C APIs.
307 | public final class Inotify {
| `- note: class 'Inotify' does not conform to the 'Sendable' protocol
308 |
309 | /// The errors encountered during inotify operations.
:
604 | self.collectedEvents = []
605 | self.callbacksQueue.async {
606 | self.report(events)
| `- warning: capture of 'self' with non-sendable type 'Inotify' in a `@Sendable` closure; this is an error in the Swift 6 language mode
607 | }
608 | }
/host/spi-builder-workspace/Sources/TSCUtility/Git.swift:17:23: warning: static property 'tool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// A shell command to run for Git. Can be either a name or a path.
16 | /// - Note: modification is not thread safe, designed for testing only
17 | public static var tool: String = "git\(executableFileSuffix)"
| |- warning: static property 'tool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tool' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'tool' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Returns true if the git reference name is well formed.
/host/spi-builder-workspace/Sources/TSCUtility/Git.swift:29:24: warning: static property '_gitEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | private static var _gitEnvironment = ProcessEnv.block
| |- warning: static property '_gitEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_gitEnvironment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_gitEnvironment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | @available(*,
[89/100] Compiling TSCUtility Archiver.swift
/host/spi-builder-workspace/Sources/TSCUtility/Archiver.swift:74:17: warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | }
73 |
74 | completion(.success(()))
| |- warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
75 | } catch {
76 | completion(.failure(error))
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:33:10: warning: associated value 'expectedArguments' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'ArgumentParser'; this is an error in the Swift 6 language mode
31 |
32 | /// Expected these positional arguments but not found.
33 | case expectedArguments(ArgumentParser, [String])
| `- warning: associated value 'expectedArguments' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'ArgumentParser'; this is an error in the Swift 6 language mode
34 |
35 | /// Expected a single argument but got multiple ones.
:
577 | // deprecated 2/2021
578 | @available(*, deprecated, message: "use swift-argument-parser instead")
579 | public final class ArgumentParser {
| `- note: class 'ArgumentParser' does not conform to the 'Sendable' protocol
580 |
581 | /// A class representing result of the parsed arguments.
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:139:23: warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
137 | case zsh
138 |
139 | public static var completion: ShellCompletion = .values([
| |- warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'completion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'completion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 | (bash.rawValue, "generate completion script for Bourne-again shell"),
141 | (zsh.rawValue, "generate completion script for Z shell"),
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:196:23: warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
146 | // deprecated 2/2021
147 | @available(*, deprecated, message: "use swift-argument-parser instead")
148 | public enum ShellCompletion {
| `- note: consider making enum 'ShellCompletion' conform to the 'Sendable' protocol
149 | /// Offers no completions at all.
150 | ///
:
194 | }
195 |
196 | public static let completion: ShellCompletion = .none
| |- warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'completion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | }
198 |
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:210:23: warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
146 | // deprecated 2/2021
147 | @available(*, deprecated, message: "use swift-argument-parser instead")
148 | public enum ShellCompletion {
| `- note: consider making enum 'ShellCompletion' conform to the 'Sendable' protocol
149 | /// Offers no completions at all.
150 | ///
:
208 | }
209 |
210 | public static let completion: ShellCompletion = .none
| |- warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'completion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 | }
212 |
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:224:23: warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
222 | }
223 |
224 | public static var completion: ShellCompletion = .unspecified
| |- warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'completion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'completion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
225 | }
226 |
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:266:23: warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
264 | }
265 |
266 | public static var completion: ShellCompletion = .filename
| |- warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'completion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'completion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
267 | }
268 |
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:883:32: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
881 | // If argument is help then just print usage and exit.
882 | if argumentString == "-h" || argumentString == "-help" || argumentString == "--help" {
883 | printUsage(on: stdoutStream)
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
884 | exit(0)
885 | } else if isPositional(argument: argumentString) {
/host/spi-builder-workspace/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
[90/100] Compiling TSCUtility ArgumentParser.swift
/host/spi-builder-workspace/Sources/TSCUtility/Archiver.swift:74:17: warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | }
73 |
74 | completion(.success(()))
| |- warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
75 | } catch {
76 | completion(.failure(error))
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:33:10: warning: associated value 'expectedArguments' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'ArgumentParser'; this is an error in the Swift 6 language mode
31 |
32 | /// Expected these positional arguments but not found.
33 | case expectedArguments(ArgumentParser, [String])
| `- warning: associated value 'expectedArguments' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'ArgumentParser'; this is an error in the Swift 6 language mode
34 |
35 | /// Expected a single argument but got multiple ones.
:
577 | // deprecated 2/2021
578 | @available(*, deprecated, message: "use swift-argument-parser instead")
579 | public final class ArgumentParser {
| `- note: class 'ArgumentParser' does not conform to the 'Sendable' protocol
580 |
581 | /// A class representing result of the parsed arguments.
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:139:23: warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
137 | case zsh
138 |
139 | public static var completion: ShellCompletion = .values([
| |- warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'completion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'completion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 | (bash.rawValue, "generate completion script for Bourne-again shell"),
141 | (zsh.rawValue, "generate completion script for Z shell"),
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:196:23: warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
146 | // deprecated 2/2021
147 | @available(*, deprecated, message: "use swift-argument-parser instead")
148 | public enum ShellCompletion {
| `- note: consider making enum 'ShellCompletion' conform to the 'Sendable' protocol
149 | /// Offers no completions at all.
150 | ///
:
194 | }
195 |
196 | public static let completion: ShellCompletion = .none
| |- warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'completion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | }
198 |
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:210:23: warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
146 | // deprecated 2/2021
147 | @available(*, deprecated, message: "use swift-argument-parser instead")
148 | public enum ShellCompletion {
| `- note: consider making enum 'ShellCompletion' conform to the 'Sendable' protocol
149 | /// Offers no completions at all.
150 | ///
:
208 | }
209 |
210 | public static let completion: ShellCompletion = .none
| |- warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'completion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 | }
212 |
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:224:23: warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
222 | }
223 |
224 | public static var completion: ShellCompletion = .unspecified
| |- warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'completion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'completion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
225 | }
226 |
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:266:23: warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
264 | }
265 |
266 | public static var completion: ShellCompletion = .filename
| |- warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'completion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'completion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
267 | }
268 |
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:883:32: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
881 | // If argument is help then just print usage and exit.
882 | if argumentString == "-h" || argumentString == "-help" || argumentString == "--help" {
883 | printUsage(on: stdoutStream)
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
884 | exit(0)
885 | } else if isPositional(argument: argumentString) {
/host/spi-builder-workspace/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
[91/100] Compiling TSCUtility ArgumentParserShellCompletion.swift
/host/spi-builder-workspace/Sources/TSCUtility/Archiver.swift:74:17: warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | }
73 |
74 | completion(.success(()))
| |- warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
75 | } catch {
76 | completion(.failure(error))
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:33:10: warning: associated value 'expectedArguments' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'ArgumentParser'; this is an error in the Swift 6 language mode
31 |
32 | /// Expected these positional arguments but not found.
33 | case expectedArguments(ArgumentParser, [String])
| `- warning: associated value 'expectedArguments' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'ArgumentParser'; this is an error in the Swift 6 language mode
34 |
35 | /// Expected a single argument but got multiple ones.
:
577 | // deprecated 2/2021
578 | @available(*, deprecated, message: "use swift-argument-parser instead")
579 | public final class ArgumentParser {
| `- note: class 'ArgumentParser' does not conform to the 'Sendable' protocol
580 |
581 | /// A class representing result of the parsed arguments.
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:139:23: warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
137 | case zsh
138 |
139 | public static var completion: ShellCompletion = .values([
| |- warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'completion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'completion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 | (bash.rawValue, "generate completion script for Bourne-again shell"),
141 | (zsh.rawValue, "generate completion script for Z shell"),
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:196:23: warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
146 | // deprecated 2/2021
147 | @available(*, deprecated, message: "use swift-argument-parser instead")
148 | public enum ShellCompletion {
| `- note: consider making enum 'ShellCompletion' conform to the 'Sendable' protocol
149 | /// Offers no completions at all.
150 | ///
:
194 | }
195 |
196 | public static let completion: ShellCompletion = .none
| |- warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'completion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | }
198 |
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:210:23: warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
146 | // deprecated 2/2021
147 | @available(*, deprecated, message: "use swift-argument-parser instead")
148 | public enum ShellCompletion {
| `- note: consider making enum 'ShellCompletion' conform to the 'Sendable' protocol
149 | /// Offers no completions at all.
150 | ///
:
208 | }
209 |
210 | public static let completion: ShellCompletion = .none
| |- warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'completion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 | }
212 |
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:224:23: warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
222 | }
223 |
224 | public static var completion: ShellCompletion = .unspecified
| |- warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'completion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'completion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
225 | }
226 |
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:266:23: warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
264 | }
265 |
266 | public static var completion: ShellCompletion = .filename
| |- warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'completion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'completion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
267 | }
268 |
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:883:32: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
881 | // If argument is help then just print usage and exit.
882 | if argumentString == "-h" || argumentString == "-help" || argumentString == "--help" {
883 | printUsage(on: stdoutStream)
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
884 | exit(0)
885 | } else if isPositional(argument: argumentString) {
/host/spi-builder-workspace/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
[92/100] Compiling TSCUtility Array+Extensions.swift
/host/spi-builder-workspace/Sources/TSCUtility/Archiver.swift:74:17: warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | }
73 |
74 | completion(.success(()))
| |- warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
75 | } catch {
76 | completion(.failure(error))
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:33:10: warning: associated value 'expectedArguments' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'ArgumentParser'; this is an error in the Swift 6 language mode
31 |
32 | /// Expected these positional arguments but not found.
33 | case expectedArguments(ArgumentParser, [String])
| `- warning: associated value 'expectedArguments' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'ArgumentParser'; this is an error in the Swift 6 language mode
34 |
35 | /// Expected a single argument but got multiple ones.
:
577 | // deprecated 2/2021
578 | @available(*, deprecated, message: "use swift-argument-parser instead")
579 | public final class ArgumentParser {
| `- note: class 'ArgumentParser' does not conform to the 'Sendable' protocol
580 |
581 | /// A class representing result of the parsed arguments.
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:139:23: warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
137 | case zsh
138 |
139 | public static var completion: ShellCompletion = .values([
| |- warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'completion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'completion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 | (bash.rawValue, "generate completion script for Bourne-again shell"),
141 | (zsh.rawValue, "generate completion script for Z shell"),
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:196:23: warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
146 | // deprecated 2/2021
147 | @available(*, deprecated, message: "use swift-argument-parser instead")
148 | public enum ShellCompletion {
| `- note: consider making enum 'ShellCompletion' conform to the 'Sendable' protocol
149 | /// Offers no completions at all.
150 | ///
:
194 | }
195 |
196 | public static let completion: ShellCompletion = .none
| |- warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'completion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | }
198 |
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:210:23: warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
146 | // deprecated 2/2021
147 | @available(*, deprecated, message: "use swift-argument-parser instead")
148 | public enum ShellCompletion {
| `- note: consider making enum 'ShellCompletion' conform to the 'Sendable' protocol
149 | /// Offers no completions at all.
150 | ///
:
208 | }
209 |
210 | public static let completion: ShellCompletion = .none
| |- warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'completion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 | }
212 |
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:224:23: warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
222 | }
223 |
224 | public static var completion: ShellCompletion = .unspecified
| |- warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'completion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'completion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
225 | }
226 |
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:266:23: warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
264 | }
265 |
266 | public static var completion: ShellCompletion = .filename
| |- warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'completion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'completion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
267 | }
268 |
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:883:32: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
881 | // If argument is help then just print usage and exit.
882 | if argumentString == "-h" || argumentString == "-help" || argumentString == "--help" {
883 | printUsage(on: stdoutStream)
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
884 | exit(0)
885 | } else if isPositional(argument: argumentString) {
/host/spi-builder-workspace/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
[93/100] Compiling TSCUtility Bits.swift
/host/spi-builder-workspace/Sources/TSCUtility/Archiver.swift:74:17: warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | }
73 |
74 | completion(.success(()))
| |- warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
75 | } catch {
76 | completion(.failure(error))
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:33:10: warning: associated value 'expectedArguments' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'ArgumentParser'; this is an error in the Swift 6 language mode
31 |
32 | /// Expected these positional arguments but not found.
33 | case expectedArguments(ArgumentParser, [String])
| `- warning: associated value 'expectedArguments' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'ArgumentParser'; this is an error in the Swift 6 language mode
34 |
35 | /// Expected a single argument but got multiple ones.
:
577 | // deprecated 2/2021
578 | @available(*, deprecated, message: "use swift-argument-parser instead")
579 | public final class ArgumentParser {
| `- note: class 'ArgumentParser' does not conform to the 'Sendable' protocol
580 |
581 | /// A class representing result of the parsed arguments.
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:139:23: warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
137 | case zsh
138 |
139 | public static var completion: ShellCompletion = .values([
| |- warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'completion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'completion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 | (bash.rawValue, "generate completion script for Bourne-again shell"),
141 | (zsh.rawValue, "generate completion script for Z shell"),
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:196:23: warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
146 | // deprecated 2/2021
147 | @available(*, deprecated, message: "use swift-argument-parser instead")
148 | public enum ShellCompletion {
| `- note: consider making enum 'ShellCompletion' conform to the 'Sendable' protocol
149 | /// Offers no completions at all.
150 | ///
:
194 | }
195 |
196 | public static let completion: ShellCompletion = .none
| |- warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'completion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | }
198 |
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:210:23: warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
146 | // deprecated 2/2021
147 | @available(*, deprecated, message: "use swift-argument-parser instead")
148 | public enum ShellCompletion {
| `- note: consider making enum 'ShellCompletion' conform to the 'Sendable' protocol
149 | /// Offers no completions at all.
150 | ///
:
208 | }
209 |
210 | public static let completion: ShellCompletion = .none
| |- warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'completion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 | }
212 |
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:224:23: warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
222 | }
223 |
224 | public static var completion: ShellCompletion = .unspecified
| |- warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'completion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'completion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
225 | }
226 |
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:266:23: warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
264 | }
265 |
266 | public static var completion: ShellCompletion = .filename
| |- warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'completion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'completion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
267 | }
268 |
/host/spi-builder-workspace/Sources/TSCUtility/ArgumentParser.swift:883:32: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
881 | // If argument is help then just print usage and exit.
882 | if argumentString == "-h" || argumentString == "-help" || argumentString == "--help" {
883 | printUsage(on: stdoutStream)
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
884 | exit(0)
885 | } else if isPositional(argument: argumentString) {
/host/spi-builder-workspace/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
[94/100] Compiling TSCUtility Version.swift
/host/spi-builder-workspace/Sources/TSCUtility/Versioning.swift:76:23: warning: static property 'currentVersion' is not concurrency-safe because non-'Sendable' type 'SwiftVersion' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // FIXME: deprecate 2/2021, remove once clients transitioned
14 | @available(*, deprecated, message: "moved to SwiftPM")
15 | public struct SwiftVersion {
| `- note: consider making struct 'SwiftVersion' conform to the 'Sendable' protocol
16 | /// The version number.
17 | public var version: (major: Int, minor: Int, patch: Int)
:
74 |
75 | /// The current version of the package manager.
76 | public static let currentVersion = SwiftVersion(
| |- warning: static property 'currentVersion' is not concurrency-safe because non-'Sendable' type 'SwiftVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'currentVersion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | version: (5, 4, 0),
78 | isDevelopment: true,
/host/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:58:23: warning: static property 'lazy' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
58 | public static let lazy: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LAZY)
| |- warning: static property 'lazy' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lazy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
/host/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:59:23: warning: static property 'now' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
58 | public static let lazy: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LAZY)
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
| |- warning: static property 'now' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'now' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
61 | public static let global: DLOpenFlags = DLOpenFlags(rawValue: RTLD_GLOBAL)
/host/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:60:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
58 | public static let lazy: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LAZY)
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | public static let global: DLOpenFlags = DLOpenFlags(rawValue: RTLD_GLOBAL)
62 |
/host/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:61:23: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
:
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
61 | public static let global: DLOpenFlags = DLOpenFlags(rawValue: RTLD_GLOBAL)
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'global' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | // Platform-specific flags.
/host/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:68:23: warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
:
66 | public static let deepBind: DLOpenFlags = DLOpenFlags(rawValue: 0)
67 | #else
68 | public static let first: DLOpenFlags = DLOpenFlags(rawValue: 0)
| |- warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'first' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | #if os(Linux) && canImport(Glibc)
70 | public static let deepBind: DLOpenFlags = DLOpenFlags(rawValue: RTLD_DEEPBIND)
/host/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:70:23: warning: static property 'deepBind' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
:
68 | public static let first: DLOpenFlags = DLOpenFlags(rawValue: 0)
69 | #if os(Linux) && canImport(Glibc)
70 | public static let deepBind: DLOpenFlags = DLOpenFlags(rawValue: RTLD_DEEPBIND)
| |- warning: static property 'deepBind' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'deepBind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | #else
72 | public static let deepBind: DLOpenFlags = DLOpenFlags(rawValue: 0)
[95/100] Compiling TSCUtility Versioning.swift
/host/spi-builder-workspace/Sources/TSCUtility/Versioning.swift:76:23: warning: static property 'currentVersion' is not concurrency-safe because non-'Sendable' type 'SwiftVersion' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // FIXME: deprecate 2/2021, remove once clients transitioned
14 | @available(*, deprecated, message: "moved to SwiftPM")
15 | public struct SwiftVersion {
| `- note: consider making struct 'SwiftVersion' conform to the 'Sendable' protocol
16 | /// The version number.
17 | public var version: (major: Int, minor: Int, patch: Int)
:
74 |
75 | /// The current version of the package manager.
76 | public static let currentVersion = SwiftVersion(
| |- warning: static property 'currentVersion' is not concurrency-safe because non-'Sendable' type 'SwiftVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'currentVersion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | version: (5, 4, 0),
78 | isDevelopment: true,
/host/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:58:23: warning: static property 'lazy' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
58 | public static let lazy: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LAZY)
| |- warning: static property 'lazy' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lazy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
/host/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:59:23: warning: static property 'now' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
58 | public static let lazy: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LAZY)
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
| |- warning: static property 'now' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'now' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
61 | public static let global: DLOpenFlags = DLOpenFlags(rawValue: RTLD_GLOBAL)
/host/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:60:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
58 | public static let lazy: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LAZY)
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | public static let global: DLOpenFlags = DLOpenFlags(rawValue: RTLD_GLOBAL)
62 |
/host/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:61:23: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
:
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
61 | public static let global: DLOpenFlags = DLOpenFlags(rawValue: RTLD_GLOBAL)
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'global' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | // Platform-specific flags.
/host/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:68:23: warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
:
66 | public static let deepBind: DLOpenFlags = DLOpenFlags(rawValue: 0)
67 | #else
68 | public static let first: DLOpenFlags = DLOpenFlags(rawValue: 0)
| |- warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'first' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | #if os(Linux) && canImport(Glibc)
70 | public static let deepBind: DLOpenFlags = DLOpenFlags(rawValue: RTLD_DEEPBIND)
/host/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:70:23: warning: static property 'deepBind' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
:
68 | public static let first: DLOpenFlags = DLOpenFlags(rawValue: 0)
69 | #if os(Linux) && canImport(Glibc)
70 | public static let deepBind: DLOpenFlags = DLOpenFlags(rawValue: RTLD_DEEPBIND)
| |- warning: static property 'deepBind' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'deepBind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | #else
72 | public static let deepBind: DLOpenFlags = DLOpenFlags(rawValue: 0)
[96/100] Compiling TSCUtility dlopen.swift
/host/spi-builder-workspace/Sources/TSCUtility/Versioning.swift:76:23: warning: static property 'currentVersion' is not concurrency-safe because non-'Sendable' type 'SwiftVersion' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // FIXME: deprecate 2/2021, remove once clients transitioned
14 | @available(*, deprecated, message: "moved to SwiftPM")
15 | public struct SwiftVersion {
| `- note: consider making struct 'SwiftVersion' conform to the 'Sendable' protocol
16 | /// The version number.
17 | public var version: (major: Int, minor: Int, patch: Int)
:
74 |
75 | /// The current version of the package manager.
76 | public static let currentVersion = SwiftVersion(
| |- warning: static property 'currentVersion' is not concurrency-safe because non-'Sendable' type 'SwiftVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'currentVersion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | version: (5, 4, 0),
78 | isDevelopment: true,
/host/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:58:23: warning: static property 'lazy' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
58 | public static let lazy: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LAZY)
| |- warning: static property 'lazy' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lazy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
/host/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:59:23: warning: static property 'now' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
58 | public static let lazy: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LAZY)
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
| |- warning: static property 'now' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'now' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
61 | public static let global: DLOpenFlags = DLOpenFlags(rawValue: RTLD_GLOBAL)
/host/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:60:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
58 | public static let lazy: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LAZY)
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | public static let global: DLOpenFlags = DLOpenFlags(rawValue: RTLD_GLOBAL)
62 |
/host/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:61:23: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
:
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
61 | public static let global: DLOpenFlags = DLOpenFlags(rawValue: RTLD_GLOBAL)
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'global' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | // Platform-specific flags.
/host/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:68:23: warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
:
66 | public static let deepBind: DLOpenFlags = DLOpenFlags(rawValue: 0)
67 | #else
68 | public static let first: DLOpenFlags = DLOpenFlags(rawValue: 0)
| |- warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'first' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | #if os(Linux) && canImport(Glibc)
70 | public static let deepBind: DLOpenFlags = DLOpenFlags(rawValue: RTLD_DEEPBIND)
/host/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:70:23: warning: static property 'deepBind' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
:
68 | public static let first: DLOpenFlags = DLOpenFlags(rawValue: 0)
69 | #if os(Linux) && canImport(Glibc)
70 | public static let deepBind: DLOpenFlags = DLOpenFlags(rawValue: RTLD_DEEPBIND)
| |- warning: static property 'deepBind' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'deepBind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | #else
72 | public static let deepBind: DLOpenFlags = DLOpenFlags(rawValue: 0)
[97/100] Compiling TSCUtility misc.swift
/host/spi-builder-workspace/Sources/TSCUtility/Versioning.swift:76:23: warning: static property 'currentVersion' is not concurrency-safe because non-'Sendable' type 'SwiftVersion' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // FIXME: deprecate 2/2021, remove once clients transitioned
14 | @available(*, deprecated, message: "moved to SwiftPM")
15 | public struct SwiftVersion {
| `- note: consider making struct 'SwiftVersion' conform to the 'Sendable' protocol
16 | /// The version number.
17 | public var version: (major: Int, minor: Int, patch: Int)
:
74 |
75 | /// The current version of the package manager.
76 | public static let currentVersion = SwiftVersion(
| |- warning: static property 'currentVersion' is not concurrency-safe because non-'Sendable' type 'SwiftVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'currentVersion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | version: (5, 4, 0),
78 | isDevelopment: true,
/host/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:58:23: warning: static property 'lazy' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
58 | public static let lazy: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LAZY)
| |- warning: static property 'lazy' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lazy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
/host/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:59:23: warning: static property 'now' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
58 | public static let lazy: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LAZY)
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
| |- warning: static property 'now' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'now' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
61 | public static let global: DLOpenFlags = DLOpenFlags(rawValue: RTLD_GLOBAL)
/host/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:60:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
58 | public static let lazy: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LAZY)
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | public static let global: DLOpenFlags = DLOpenFlags(rawValue: RTLD_GLOBAL)
62 |
/host/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:61:23: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
:
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
61 | public static let global: DLOpenFlags = DLOpenFlags(rawValue: RTLD_GLOBAL)
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'global' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | // Platform-specific flags.
/host/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:68:23: warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
:
66 | public static let deepBind: DLOpenFlags = DLOpenFlags(rawValue: 0)
67 | #else
68 | public static let first: DLOpenFlags = DLOpenFlags(rawValue: 0)
| |- warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'first' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | #if os(Linux) && canImport(Glibc)
70 | public static let deepBind: DLOpenFlags = DLOpenFlags(rawValue: RTLD_DEEPBIND)
/host/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:70:23: warning: static property 'deepBind' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
:
68 | public static let first: DLOpenFlags = DLOpenFlags(rawValue: 0)
69 | #if os(Linux) && canImport(Glibc)
70 | public static let deepBind: DLOpenFlags = DLOpenFlags(rawValue: RTLD_DEEPBIND)
| |- warning: static property 'deepBind' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'deepBind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | #else
72 | public static let deepBind: DLOpenFlags = DLOpenFlags(rawValue: 0)
[98/101] Wrapping AST for TSCUtility for debugging
[99/101] Write Objects.LinkFileList
[101/110] Compiling TSCTestSupport PseudoTerminal.swift
[102/111] Compiling TSCTestSupport XCTestCasePerf.swift
[103/111] Compiling TSCTestSupport JSONExtensions.swift
[104/111] Compiling TSCTestSupport Product.swift
/host/spi-builder-workspace/Sources/TSCTestSupport/Product.swift:45:16: warning: no calls to throwing functions occur within 'try' expression
43 | fatalError()
44 | #else
45 | return try! AbsolutePath(CommandLine.arguments.first!, relativeTo: localFileSystem.currentWorkingDirectory!)
| `- warning: no calls to throwing functions occur within 'try' expression
46 | .parentDirectory.appending(self.exec)
47 | #endif
[105/111] Compiling TSCTestSupport XCTAssertHelpers.swift
[105/111] Linking libSwiftToolsSupport.so
[107/111] Compiling TSCTestSupport FileSystemExtensions.swift
/host/spi-builder-workspace/Sources/TSCTestSupport/FileSystemExtensions.swift:103:1: warning: extension declares a conformance of imported type 'AbsolutePath' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
101 | }
102 |
103 | extension AbsolutePath: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'AbsolutePath' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
104 | public init(_ value: StringLiteralType) {
105 | try! self.init(validating: value)
/host/spi-builder-workspace/Sources/TSCTestSupport/FileSystemExtensions.swift:109:1: warning: extension declares a conformance of imported type 'AbsolutePath' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
107 | }
108 |
109 | extension AbsolutePath: ExpressibleByStringInterpolation {
| |- warning: extension declares a conformance of imported type 'AbsolutePath' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
110 | public init(stringLiteral value: String) {
111 | try! self.init(validating: value)
/host/spi-builder-workspace/Sources/TSCTestSupport/FileSystemExtensions.swift:131:1: warning: extension declares a conformance of imported type 'RelativePath' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
129 | }
130 |
131 | extension RelativePath: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'RelativePath' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
132 | public init(_ value: StringLiteralType) {
133 | try! self.init(validating: value)
/host/spi-builder-workspace/Sources/TSCTestSupport/FileSystemExtensions.swift:137:1: warning: extension declares a conformance of imported type 'RelativePath' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
135 | }
136 |
137 | extension RelativePath: ExpressibleByStringInterpolation {
| |- warning: extension declares a conformance of imported type 'RelativePath' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
138 | public init(stringLiteral value: String) {
139 | try! self.init(validating: value)
[108/111] Emitting module TSCTestSupport
/host/spi-builder-workspace/Sources/TSCTestSupport/FileSystemExtensions.swift:103:1: warning: extension declares a conformance of imported type 'AbsolutePath' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
101 | }
102 |
103 | extension AbsolutePath: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'AbsolutePath' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
104 | public init(_ value: StringLiteralType) {
105 | try! self.init(validating: value)
/host/spi-builder-workspace/Sources/TSCTestSupport/FileSystemExtensions.swift:109:1: warning: extension declares a conformance of imported type 'AbsolutePath' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
107 | }
108 |
109 | extension AbsolutePath: ExpressibleByStringInterpolation {
| |- warning: extension declares a conformance of imported type 'AbsolutePath' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
110 | public init(stringLiteral value: String) {
111 | try! self.init(validating: value)
/host/spi-builder-workspace/Sources/TSCTestSupport/FileSystemExtensions.swift:131:1: warning: extension declares a conformance of imported type 'RelativePath' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
129 | }
130 |
131 | extension RelativePath: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'RelativePath' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
132 | public init(_ value: StringLiteralType) {
133 | try! self.init(validating: value)
/host/spi-builder-workspace/Sources/TSCTestSupport/FileSystemExtensions.swift:137:1: warning: extension declares a conformance of imported type 'RelativePath' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
135 | }
136 |
137 | extension RelativePath: ExpressibleByStringInterpolation {
| |- warning: extension declares a conformance of imported type 'RelativePath' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
138 | public init(stringLiteral value: String) {
139 | try! self.init(validating: value)
[109/111] Compiling TSCTestSupport AssertMatch.swift
[110/111] Compiling TSCTestSupport DiagnosticsEngine.swift
[111/111] Compiling TSCTestSupport misc.swift
/host/spi-builder-workspace/Sources/TSCTestSupport/misc.swift:65:55: warning: 'vars' is deprecated: Use `block` instead
63 | /// correctly.
64 | public func withCustomEnv(_ env: [String: String], body: () throws -> Void) throws {
65 | let state = Array(env.keys).map({ ($0, ProcessEnv.vars[$0]) })
| `- warning: 'vars' is deprecated: Use `block` instead
66 | let restore = {
67 | for (key, value) in state {
Build complete! (22.95s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-tools-support-core",
"name" : "swift-tools-support-core",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "TSCBasic",
"targets" : [
"TSCBasic"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftToolsSupport",
"targets" : [
"TSCBasic",
"TSCUtility"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "SwiftToolsSupport-auto",
"targets" : [
"TSCBasic",
"TSCUtility"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "TSCTestSupport",
"targets" : [
"TSCTestSupport"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TSCclibc",
"module_type" : "ClangTarget",
"name" : "TSCclibc",
"path" : "Sources/TSCclibc",
"product_memberships" : [
"TSCBasic",
"SwiftToolsSupport",
"SwiftToolsSupport-auto",
"TSCTestSupport"
],
"sources" : [
"libc.c",
"process.c"
],
"type" : "library"
},
{
"c99name" : "TSCUtilityTests",
"module_type" : "SwiftTarget",
"name" : "TSCUtilityTests",
"path" : "Tests/TSCUtilityTests",
"sources" : [
"ArchiverTests.swift",
"ArgumentParserTests.swift",
"BitstreamTests.swift",
"CollectionTests.swift",
"ContextTests.swift",
"DiagnosticsUtilityTests.swift",
"HexTests.swift",
"InterruptHandlerTests.swift",
"JSONMessageStreamingParserTests.swift",
"NetrcTests.swift",
"PkgConfigParserTests.swift",
"PlatformTests.swift",
"PolymorphicCodableTests.swift",
"ProgressAnimationTests.swift",
"SendableTests.swift",
"SerializedDiagnosticsTests.swift",
"SimplePersistenceTests.swift",
"StringConversionTests.swift",
"StringTests.swift",
"TracingTests.swift",
"TripleTests.swift",
"VersionTests.swift",
"miscTests.swift"
],
"target_dependencies" : [
"TSCUtility",
"TSCTestSupport"
],
"type" : "test"
},
{
"c99name" : "TSCUtility",
"module_type" : "SwiftTarget",
"name" : "TSCUtility",
"path" : "Sources/TSCUtility",
"product_memberships" : [
"SwiftToolsSupport",
"SwiftToolsSupport-auto",
"TSCTestSupport"
],
"sources" : [
"Archiver.swift",
"ArgumentParser.swift",
"ArgumentParserShellCompletion.swift",
"Array+Extensions.swift",
"Bits.swift",
"Bitstream.swift",
"BitstreamReader.swift",
"BitstreamWriter.swift",
"BuildFlags.swift",
"CollectionExtensions.swift",
"Context.swift",
"Diagnostics.swift",
"FSWatch.swift",
"FloatingPointExtensions.swift",
"Git.swift",
"Hex.swift",
"IndexStore.swift",
"InterruptHandler.swift",
"JSONMessageStreamingParser.swift",
"Netrc.swift",
"OSLog.swift",
"OrderedZip.swift",
"PkgConfig.swift",
"Platform.swift",
"PolymorphicCodable.swift",
"ProgressAnimation.swift",
"SerializedDiagnostics.swift",
"SimplePersistence.swift",
"StringExtensions.swift",
"StringMangling.swift",
"Tracing.swift",
"Triple.swift",
"URL.swift",
"Verbosity.swift",
"Version.swift",
"Versioning.swift",
"dlopen.swift",
"misc.swift"
],
"target_dependencies" : [
"TSCBasic",
"TSCclibc"
],
"type" : "library"
},
{
"c99name" : "TSCTestSupportTests",
"module_type" : "SwiftTarget",
"name" : "TSCTestSupportTests",
"path" : "Tests/TSCTestSupportTests",
"sources" : [
"TestSupportTests.swift"
],
"target_dependencies" : [
"TSCTestSupport"
],
"type" : "test"
},
{
"c99name" : "TSCTestSupport",
"module_type" : "SwiftTarget",
"name" : "TSCTestSupport",
"path" : "Sources/TSCTestSupport",
"product_memberships" : [
"TSCTestSupport"
],
"sources" : [
"AssertMatch.swift",
"DiagnosticsEngine.swift",
"FileSystemExtensions.swift",
"JSONExtensions.swift",
"Product.swift",
"PseudoTerminal.swift",
"XCTAssertHelpers.swift",
"XCTestCasePerf.swift",
"misc.swift"
],
"target_dependencies" : [
"TSCBasic",
"TSCUtility"
],
"type" : "library"
},
{
"c99name" : "TSCLibc",
"module_type" : "SwiftTarget",
"name" : "TSCLibc",
"path" : "Sources/TSCLibc",
"product_memberships" : [
"TSCBasic",
"SwiftToolsSupport",
"SwiftToolsSupport-auto",
"TSCTestSupport"
],
"sources" : [
"libc.swift"
],
"type" : "library"
},
{
"c99name" : "TSCBasicTests",
"module_type" : "SwiftTarget",
"name" : "TSCBasicTests",
"path" : "Tests/TSCBasicTests",
"sources" : [
"AwaitTests.swift",
"Base64URLTests.swift",
"ByteStringTests.swift",
"CStringArrayTests.swift",
"CacheableSequenceTests.swift",
"CollectionAlgorithmsTests.swift",
"CollectionExtensionsTests.swift",
"ConditionTests.swift",
"DeltaAlgorithmTests.swift",
"DiagnosticsEngineTests.swift",
"DictionaryExtensionsTests.swift",
"DictionaryLiteralExtensionsTests.swift",
"EditDistanceTests.swift",
"FileSystemTests.swift",
"GraphAlgorithmsTests.swift",
"JSONMapperTests.swift",
"JSONTests.swift",
"KeyedPairTests.swift",
"LazyCacheTests.swift",
"LockTests.swift",
"ObjectIdentifierProtocolTests.swift",
"OrderedDictionaryTests.swift",
"OrderedSetTests.swift",
"POSIXTests.swift",
"PathShimTests.swift",
"PathTests.swift",
"ProcessEnvTests.swift",
"ProcessSetTests.swift",
"ProcessTests.swift",
"RegExTests.swift",
"ResultTests.swift",
"SHA256Tests.swift",
"SendableTests.swift",
"SortedArrayTests.swift",
"StringConversionsTests.swift",
"SynchronizedQueueTests.swift",
"TemporaryFileTests.swift",
"TerminalControllerTests.swift",
"ThreadTests.swift",
"TupleTests.swift",
"WritableByteStreamTests.swift",
"miscTests.swift"
],
"target_dependencies" : [
"TSCTestSupport",
"TSCclibc"
],
"type" : "test"
},
{
"c99name" : "TSCBasicPerformanceTests",
"module_type" : "SwiftTarget",
"name" : "TSCBasicPerformanceTests",
"path" : "Tests/TSCBasicPerformanceTests",
"sources" : [
"ByteStringPerfTests.swift",
"PathPerfTests.swift",
"SHA256PerfTests.swift",
"SortedArrayPerfTests.swift",
"StringConversionsPerfTests.swift",
"SynchronizedQueuePerfTests.swift",
"WritableByteStreamPerfTests.swift"
],
"target_dependencies" : [
"TSCBasic",
"TSCTestSupport"
],
"type" : "test"
},
{
"c99name" : "TSCBasic",
"module_type" : "SwiftTarget",
"name" : "TSCBasic",
"path" : "Sources/TSCBasic",
"product_memberships" : [
"TSCBasic",
"SwiftToolsSupport",
"SwiftToolsSupport-auto",
"TSCTestSupport"
],
"sources" : [
"Await.swift",
"Base64URL.swift",
"ByteString.swift",
"CStringArray.swift",
"CacheableSequence.swift",
"Closable.swift",
"CodableResult.swift",
"CollectionAlgorithms.swift",
"CollectionExtensions.swift",
"Condition.swift",
"DeltaAlgorithm.swift",
"DiagnosticsEngine.swift",
"DictionaryExtensions.swift",
"DictionaryLiteralExtensions.swift",
"EditDistance.swift",
"FileInfo.swift",
"FileSystem.swift",
"GraphAlgorithms.swift",
"HashAlgorithms.swift",
"JSON.swift",
"JSONMapper.swift",
"KeyedPair.swift",
"LazyCache.swift",
"Lock.swift",
"OSLog.swift",
"ObjectIdentifierProtocol.swift",
"OrderedDictionary.swift",
"OrderedSet.swift",
"Path.swift",
"PathShims.swift",
"Process/Process.swift",
"Process/ProcessEnv.swift",
"Process/ProcessSet.swift",
"RegEx.swift",
"Result.swift",
"SortedArray.swift",
"StringConversions.swift",
"SynchronizedQueue.swift",
"TemporaryFile.swift",
"TerminalController.swift",
"Thread.swift",
"Tuple.swift",
"WritableByteStream.swift",
"misc.swift"
],
"target_dependencies" : [
"TSCLibc",
"TSCclibc"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.