This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of PerfectLib with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 18

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 859e696 Merge pull request #301 from omrd/master
Cloned https://github.com/perfectlysoft/perfect.git
Revision (git rev-parse @):
859e696457fa91a9f998ad94080632f20b47fe58
SUCCESS checkout https://github.com/perfectlysoft/perfect.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/perfectlysoft/perfect.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/12] Compiling PerfectLib SysProcess.swift
[4/12] Compiling PerfectLib Log.swift
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/Log.swift:148:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
146 | 	private init(){}
147 |
148 | 	public static var logger: Logger = ConsoleLogger()
    |                    |- warning: static property 'logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'logger' 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
149 |
150 | 	/// Whether or not to even off the log messages
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/Log.swift:152:20: warning: static property 'even' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
150 | 	/// Whether or not to even off the log messages
151 | 	/// If set to true log messages will be inline with each other
152 | 	public static var even = false
    |                    |- warning: static property 'even' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'even' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'even' 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
153 |
154 | 	public static func debug(message: @autoclosure () -> String) {
[5/12] Compiling PerfectLib File.swift
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:207:21: warning: static property 'readUser' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
205 |
206 | 		/// Readable by user.
207 | 		public static let readUser = PermissionMode(rawValue: S_IRUSR)
    |                     |- warning: static property 'readUser' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'readUser' 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
208 | 		/// Writable by user.
209 | 		public static let writeUser = PermissionMode(rawValue: S_IWUSR)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:209:21: warning: static property 'writeUser' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
207 | 		public static let readUser = PermissionMode(rawValue: S_IRUSR)
208 | 		/// Writable by user.
209 | 		public static let writeUser = PermissionMode(rawValue: S_IWUSR)
    |                     |- warning: static property 'writeUser' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'writeUser' 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
210 | 		/// Executable by user.
211 | 		public static let executeUser = PermissionMode(rawValue: S_IXUSR)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:211:21: warning: static property 'executeUser' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
209 | 		public static let writeUser = PermissionMode(rawValue: S_IWUSR)
210 | 		/// Executable by user.
211 | 		public static let executeUser = PermissionMode(rawValue: S_IXUSR)
    |                     |- warning: static property 'executeUser' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'executeUser' 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
212 | 		/// Readable by group.
213 | 		public static let readGroup = PermissionMode(rawValue: S_IRGRP)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:213:21: warning: static property 'readGroup' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
211 | 		public static let executeUser = PermissionMode(rawValue: S_IXUSR)
212 | 		/// Readable by group.
213 | 		public static let readGroup = PermissionMode(rawValue: S_IRGRP)
    |                     |- warning: static property 'readGroup' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'readGroup' 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
214 | 		/// Writable by group.
215 | 		public static let writeGroup = PermissionMode(rawValue: S_IWGRP)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:215:21: warning: static property 'writeGroup' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
213 | 		public static let readGroup = PermissionMode(rawValue: S_IRGRP)
214 | 		/// Writable by group.
215 | 		public static let writeGroup = PermissionMode(rawValue: S_IWGRP)
    |                     |- warning: static property 'writeGroup' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'writeGroup' 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
216 | 		/// Executable by group.
217 | 		public static let executeGroup = PermissionMode(rawValue: S_IXGRP)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:217:21: warning: static property 'executeGroup' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
215 | 		public static let writeGroup = PermissionMode(rawValue: S_IWGRP)
216 | 		/// Executable by group.
217 | 		public static let executeGroup = PermissionMode(rawValue: S_IXGRP)
    |                     |- warning: static property 'executeGroup' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'executeGroup' 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
218 | 		/// Readable by others.
219 | 		public static let readOther = PermissionMode(rawValue: S_IROTH)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:219:21: warning: static property 'readOther' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
217 | 		public static let executeGroup = PermissionMode(rawValue: S_IXGRP)
218 | 		/// Readable by others.
219 | 		public static let readOther = PermissionMode(rawValue: S_IROTH)
    |                     |- warning: static property 'readOther' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'readOther' 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
220 | 		/// Writable by others.
221 | 		public static let writeOther = PermissionMode(rawValue: S_IWOTH)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:221:21: warning: static property 'writeOther' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
219 | 		public static let readOther = PermissionMode(rawValue: S_IROTH)
220 | 		/// Writable by others.
221 | 		public static let writeOther = PermissionMode(rawValue: S_IWOTH)
    |                     |- warning: static property 'writeOther' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'writeOther' 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
222 | 		/// Executable by others.
223 | 		public static let executeOther = PermissionMode(rawValue: S_IXOTH)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:223:21: warning: static property 'executeOther' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
221 | 		public static let writeOther = PermissionMode(rawValue: S_IWOTH)
222 | 		/// Executable by others.
223 | 		public static let executeOther = PermissionMode(rawValue: S_IXOTH)
    |                     |- warning: static property 'executeOther' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'executeOther' 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
224 |
225 | 		/// Read, write, execute by user.
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:226:21: warning: static property 'rwxUser' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
224 |
225 | 		/// Read, write, execute by user.
226 | 		public static let rwxUser: PermissionMode = [.readUser, .writeUser, .executeUser]
    |                     |- warning: static property 'rwxUser' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'rwxUser' 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
227 | 		/// Read, write by user and group.
228 | 		public static let rwUserGroup: PermissionMode = [.readUser, .writeUser, .readGroup, .writeGroup]
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:228:21: warning: static property 'rwUserGroup' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
226 | 		public static let rwxUser: PermissionMode = [.readUser, .writeUser, .executeUser]
227 | 		/// Read, write by user and group.
228 | 		public static let rwUserGroup: PermissionMode = [.readUser, .writeUser, .readGroup, .writeGroup]
    |                     |- warning: static property 'rwUserGroup' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'rwUserGroup' 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
229 |
230 | 		/// Read, execute by group.
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:231:21: warning: static property 'rxGroup' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
229 |
230 | 		/// Read, execute by group.
231 | 		public static let rxGroup: PermissionMode = [.readGroup, .executeGroup]
    |                     |- warning: static property 'rxGroup' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'rxGroup' 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
232 | 		/// Read, execute by other.
233 | 		public static let rxOther: PermissionMode = [.readOther, .executeOther]
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:233:21: warning: static property 'rxOther' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
231 | 		public static let rxGroup: PermissionMode = [.readGroup, .executeGroup]
232 | 		/// Read, execute by other.
233 | 		public static let rxOther: PermissionMode = [.readOther, .executeOther]
    |                     |- warning: static property 'rxOther' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'rxOther' 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
234 |
235 | 	}
[6/12] Compiling PerfectLib PerfectError.swift
[7/12] Compiling PerfectLib PerfectServer.swift
[8/12] Compiling PerfectLib Utilities.swift
[9/12] Compiling PerfectLib JSONConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/JSONConvertible.swift:36:24: warning: static property 'jsonDecodableRegistry' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 34 |     public typealias JSONConvertibleObjectCreator = () -> JSONConvertibleObject
 35 |
 36 |     static private var jsonDecodableRegistry = [String:JSONConvertibleObjectCreator]()
    |                        |- warning: static property 'jsonDecodableRegistry' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'jsonDecodableRegistry' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'jsonDecodableRegistry' 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
 37 |
 38 |     /// Register a custom object to be JSON encoded/decoded.
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/JSONConvertible.swift:101:10: warning: associated value 'notConvertible' of 'Sendable'-conforming enum 'JSONConversionError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 99 | public enum JSONConversionError: Error {
100 |     /// The object did not suppport JSON conversion.
101 |     case notConvertible(Any?)
    |          `- warning: associated value 'notConvertible' of 'Sendable'-conforming enum 'JSONConversionError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
102 |     /// A provided key was not a String.
103 |     case invalidKey(Any)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/JSONConvertible.swift:103:10: warning: associated value 'invalidKey' of 'Sendable'-conforming enum 'JSONConversionError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
101 |     case notConvertible(Any?)
102 |     /// A provided key was not a String.
103 |     case invalidKey(Any)
    |          `- warning: associated value 'invalidKey' of 'Sendable'-conforming enum 'JSONConversionError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
104 |     /// The JSON text contained a syntax error.
105 |     case syntaxError
[10/12] Emitting module PerfectLib
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:226:21: warning: static property 'rwxUser' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
224 |
225 | 		/// Read, write, execute by user.
226 | 		public static let rwxUser: PermissionMode = [.readUser, .writeUser, .executeUser]
    |                     |- warning: static property 'rwxUser' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'rwxUser' 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
227 | 		/// Read, write by user and group.
228 | 		public static let rwUserGroup: PermissionMode = [.readUser, .writeUser, .readGroup, .writeGroup]
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:231:21: warning: static property 'rxGroup' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
229 |
230 | 		/// Read, execute by group.
231 | 		public static let rxGroup: PermissionMode = [.readGroup, .executeGroup]
    |                     |- warning: static property 'rxGroup' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'rxGroup' 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
232 | 		/// Read, execute by other.
233 | 		public static let rxOther: PermissionMode = [.readOther, .executeOther]
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:233:21: warning: static property 'rxOther' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
231 | 		public static let rxGroup: PermissionMode = [.readGroup, .executeGroup]
232 | 		/// Read, execute by other.
233 | 		public static let rxOther: PermissionMode = [.readOther, .executeOther]
    |                     |- warning: static property 'rxOther' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'rxOther' 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
234 |
235 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:207:21: warning: static property 'readUser' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
205 |
206 | 		/// Readable by user.
207 | 		public static let readUser = PermissionMode(rawValue: S_IRUSR)
    |                     |- warning: static property 'readUser' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'readUser' 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
208 | 		/// Writable by user.
209 | 		public static let writeUser = PermissionMode(rawValue: S_IWUSR)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:209:21: warning: static property 'writeUser' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
207 | 		public static let readUser = PermissionMode(rawValue: S_IRUSR)
208 | 		/// Writable by user.
209 | 		public static let writeUser = PermissionMode(rawValue: S_IWUSR)
    |                     |- warning: static property 'writeUser' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'writeUser' 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
210 | 		/// Executable by user.
211 | 		public static let executeUser = PermissionMode(rawValue: S_IXUSR)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:211:21: warning: static property 'executeUser' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
209 | 		public static let writeUser = PermissionMode(rawValue: S_IWUSR)
210 | 		/// Executable by user.
211 | 		public static let executeUser = PermissionMode(rawValue: S_IXUSR)
    |                     |- warning: static property 'executeUser' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'executeUser' 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
212 | 		/// Readable by group.
213 | 		public static let readGroup = PermissionMode(rawValue: S_IRGRP)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:213:21: warning: static property 'readGroup' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
211 | 		public static let executeUser = PermissionMode(rawValue: S_IXUSR)
212 | 		/// Readable by group.
213 | 		public static let readGroup = PermissionMode(rawValue: S_IRGRP)
    |                     |- warning: static property 'readGroup' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'readGroup' 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
214 | 		/// Writable by group.
215 | 		public static let writeGroup = PermissionMode(rawValue: S_IWGRP)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:215:21: warning: static property 'writeGroup' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
213 | 		public static let readGroup = PermissionMode(rawValue: S_IRGRP)
214 | 		/// Writable by group.
215 | 		public static let writeGroup = PermissionMode(rawValue: S_IWGRP)
    |                     |- warning: static property 'writeGroup' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'writeGroup' 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
216 | 		/// Executable by group.
217 | 		public static let executeGroup = PermissionMode(rawValue: S_IXGRP)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:217:21: warning: static property 'executeGroup' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
215 | 		public static let writeGroup = PermissionMode(rawValue: S_IWGRP)
216 | 		/// Executable by group.
217 | 		public static let executeGroup = PermissionMode(rawValue: S_IXGRP)
    |                     |- warning: static property 'executeGroup' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'executeGroup' 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
218 | 		/// Readable by others.
219 | 		public static let readOther = PermissionMode(rawValue: S_IROTH)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:219:21: warning: static property 'readOther' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
217 | 		public static let executeGroup = PermissionMode(rawValue: S_IXGRP)
218 | 		/// Readable by others.
219 | 		public static let readOther = PermissionMode(rawValue: S_IROTH)
    |                     |- warning: static property 'readOther' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'readOther' 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
220 | 		/// Writable by others.
221 | 		public static let writeOther = PermissionMode(rawValue: S_IWOTH)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:221:21: warning: static property 'writeOther' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
219 | 		public static let readOther = PermissionMode(rawValue: S_IROTH)
220 | 		/// Writable by others.
221 | 		public static let writeOther = PermissionMode(rawValue: S_IWOTH)
    |                     |- warning: static property 'writeOther' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'writeOther' 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
222 | 		/// Executable by others.
223 | 		public static let executeOther = PermissionMode(rawValue: S_IXOTH)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:223:21: warning: static property 'executeOther' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
221 | 		public static let writeOther = PermissionMode(rawValue: S_IWOTH)
222 | 		/// Executable by others.
223 | 		public static let executeOther = PermissionMode(rawValue: S_IXOTH)
    |                     |- warning: static property 'executeOther' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'executeOther' 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
224 |
225 | 		/// Read, write, execute by user.
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:228:21: warning: static property 'rwUserGroup' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
226 | 		public static let rwxUser: PermissionMode = [.readUser, .writeUser, .executeUser]
227 | 		/// Read, write by user and group.
228 | 		public static let rwUserGroup: PermissionMode = [.readUser, .writeUser, .readGroup, .writeGroup]
    |                     |- warning: static property 'rwUserGroup' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'rwUserGroup' 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
229 |
230 | 		/// Read, execute by group.
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/JSONConvertible.swift:36:24: warning: static property 'jsonDecodableRegistry' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 34 |     public typealias JSONConvertibleObjectCreator = () -> JSONConvertibleObject
 35 |
 36 |     static private var jsonDecodableRegistry = [String:JSONConvertibleObjectCreator]()
    |                        |- warning: static property 'jsonDecodableRegistry' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'jsonDecodableRegistry' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'jsonDecodableRegistry' 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
 37 |
 38 |     /// Register a custom object to be JSON encoded/decoded.
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/JSONConvertible.swift:101:10: warning: associated value 'notConvertible' of 'Sendable'-conforming enum 'JSONConversionError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 99 | public enum JSONConversionError: Error {
100 |     /// The object did not suppport JSON conversion.
101 |     case notConvertible(Any?)
    |          `- warning: associated value 'notConvertible' of 'Sendable'-conforming enum 'JSONConversionError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
102 |     /// A provided key was not a String.
103 |     case invalidKey(Any)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/JSONConvertible.swift:103:10: warning: associated value 'invalidKey' of 'Sendable'-conforming enum 'JSONConversionError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
101 |     case notConvertible(Any?)
102 |     /// A provided key was not a String.
103 |     case invalidKey(Any)
    |          `- warning: associated value 'invalidKey' of 'Sendable'-conforming enum 'JSONConversionError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
104 |     /// The JSON text contained a syntax error.
105 |     case syntaxError
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/Log.swift:148:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
146 | 	private init(){}
147 |
148 | 	public static var logger: Logger = ConsoleLogger()
    |                    |- warning: static property 'logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'logger' 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
149 |
150 | 	/// Whether or not to even off the log messages
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/Log.swift:152:20: warning: static property 'even' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
150 | 	/// Whether or not to even off the log messages
151 | 	/// If set to true log messages will be inline with each other
152 | 	public static var even = false
    |                    |- warning: static property 'even' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'even' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'even' 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
153 |
154 | 	public static func debug(message: @autoclosure () -> String) {
[11/12] Compiling PerfectLib Bytes.swift
[12/12] Compiling PerfectLib Dir.swift
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:226:21: warning: static property 'rwxUser' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
224 |
225 | 		/// Read, write, execute by user.
226 | 		public static let rwxUser: PermissionMode = [.readUser, .writeUser, .executeUser]
    |                     |- warning: static property 'rwxUser' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'rwxUser' 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
227 | 		/// Read, write by user and group.
228 | 		public static let rwUserGroup: PermissionMode = [.readUser, .writeUser, .readGroup, .writeGroup]
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:231:21: warning: static property 'rxGroup' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
229 |
230 | 		/// Read, execute by group.
231 | 		public static let rxGroup: PermissionMode = [.readGroup, .executeGroup]
    |                     |- warning: static property 'rxGroup' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'rxGroup' 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
232 | 		/// Read, execute by other.
233 | 		public static let rxOther: PermissionMode = [.readOther, .executeOther]
/Users/admin/builder/spi-builder-workspace/Sources/PerfectLib/File.swift:233:21: warning: static property 'rxOther' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
188 |     }
189 | 	/// A file or directory access permission value.
190 | 	struct PermissionMode: OptionSet {
    |         `- note: consider making struct 'PermissionMode' conform to the 'Sendable' protocol
191 | 		/// File system mode type.
192 | 		public typealias Mode = mode_t
    :
231 | 		public static let rxGroup: PermissionMode = [.readGroup, .executeGroup]
232 | 		/// Read, execute by other.
233 | 		public static let rxOther: PermissionMode = [.readOther, .executeOther]
    |                     |- warning: static property 'rxOther' is not concurrency-safe because non-'Sendable' type 'File.PermissionMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'rxOther' 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
234 |
235 | 	}
Build complete! (20.27s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PerfectLib",
  "name" : "PerfectLib",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "PerfectLib",
      "targets" : [
        "PerfectLib"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PerfectLibTests",
      "module_type" : "SwiftTarget",
      "name" : "PerfectLibTests",
      "path" : "Tests/PerfectLibTests",
      "sources" : [
        "PerfectLibTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "PerfectLib"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PerfectLib",
      "module_type" : "SwiftTarget",
      "name" : "PerfectLib",
      "path" : "Sources/PerfectLib",
      "product_memberships" : [
        "PerfectLib"
      ],
      "sources" : [
        "Bytes.swift",
        "Dir.swift",
        "File.swift",
        "JSONConvertible.swift",
        "Log.swift",
        "PerfectError.swift",
        "PerfectServer.swift",
        "SysProcess.swift",
        "Utilities.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.