Build Information
Successful build of Malline with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 10
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/naamio/malline.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/naamio/malline
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 6491851 docs: README badges reference Naamio project.
Cloned https://github.com/naamio/malline.git
Revision (git rev-parse @):
6491851616d77c7b9c06310c4aa2e8d137467c88
SUCCESS checkout https://github.com/naamio/malline.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/naamio/malline.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/25] Emitting module Malline
/Users/admin/builder/spi-builder-workspace/Sources/Malline/Errors.swift:1:14: warning: non-final class 'StencilDoesNotExist' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
1 | public class StencilDoesNotExist: Error, CustomStringConvertible {
| `- warning: non-final class 'StencilDoesNotExist' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
2 | let stencilNames: [String]
3 | let loader: Loader?
/Users/admin/builder/spi-builder-workspace/Sources/Malline/Errors.swift:3:9: warning: stored property 'loader' of 'Sendable'-conforming class 'StencilDoesNotExist' has non-sendable type '(any Loader)?'; this is an error in the Swift 6 language mode
1 | public class StencilDoesNotExist: Error, CustomStringConvertible {
2 | let stencilNames: [String]
3 | let loader: Loader?
| `- warning: stored property 'loader' of 'Sendable'-conforming class 'StencilDoesNotExist' has non-sendable type '(any Loader)?'; this is an error in the Swift 6 language mode
4 |
5 | public init(stencilNames: [String], loader: Loader? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/Malline/Loader.swift:4:17: note: protocol 'Loader' does not conform to the 'Sendable' protocol
2 |
3 | /// Loader provids the capability to load stencils from the environment.
4 | public protocol Loader {
| `- note: protocol 'Loader' does not conform to the 'Sendable' protocol
5 | /// loadStencil loads a given stencil into the Malline runtime by its name
6 | /// and given environment.
/Users/admin/builder/spi-builder-workspace/Sources/Malline/Loader.swift:112:7: warning: non-final class 'SuspiciousFileOperation' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
110 | }
111 |
112 | class SuspiciousFileOperation: Error {
| `- warning: non-final class 'SuspiciousFileOperation' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
113 | let basePath: Path
114 | let path: Path
/Users/admin/builder/spi-builder-workspace/Sources/Malline/Loader.swift:113:9: warning: stored property 'basePath' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
111 |
112 | class SuspiciousFileOperation: Error {
113 | let basePath: Path
| `- warning: stored property 'basePath' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
114 | let path: Path
115 |
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:17:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/Malline/Loader.swift:114:9: warning: stored property 'path' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
112 | class SuspiciousFileOperation: Error {
113 | let basePath: Path
114 | let path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
115 |
116 | init(basePath: Path, path: Path) {
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:17:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:10:5: warning: let 'system_glob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Darwin
9 |
10 | let system_glob = Darwin.glob
| |- warning: let 'system_glob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'system_glob' 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
11 | #endif
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:24:25: warning: static property 'fileManager' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
22 | internal var path: String
23 |
24 | internal static var fileManager = FileManager.default
| |- warning: static property 'fileManager' 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 'fileManager' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fileManager' 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
25 |
26 | internal var fileSystemInfo: FileSystemInfo = DefaultFileSystemInfo()
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:98:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Path' to 'Hashable' by implementing 'hash(into:)' instead
96 |
97 | extension Path : Hashable {
98 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Path' to 'Hashable' by implementing 'hash(into:)' instead
99 | return path.hashValue
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:639:27: warning: static property 'skipsSubdirectoryDescendants' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
637 | }
638 |
639 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
| |- warning: static property 'skipsSubdirectoryDescendants' 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 'skipsSubdirectoryDescendants' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'skipsSubdirectoryDescendants' 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
640 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
641 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:640:27: warning: static property 'skipsPackageDescendants' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
638 |
639 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
640 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
| |- warning: static property 'skipsPackageDescendants' 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 'skipsPackageDescendants' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'skipsPackageDescendants' 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
641 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
642 | }
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:641:27: warning: static property 'skipsHiddenFiles' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
639 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
640 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
641 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
| |- warning: static property 'skipsHiddenFiles' 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 'skipsHiddenFiles' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'skipsHiddenFiles' 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
642 | }
643 |
[4/27] Compiling Malline Expression.swift
[5/27] Compiling Malline Extension.swift
[6/27] Compiling Malline Filters.swift
[7/27] Compiling Malline ExtendsTag.swift
[8/27] Compiling Malline FilterTag.swift
[9/27] Compiling Malline Include.swift
[10/27] Compiling Malline Inheritence.swift
[11/27] Compiling Malline Lexer.swift
[12/27] Compiling Malline Loader.swift
/Users/admin/builder/spi-builder-workspace/Sources/Malline/Loader.swift:112:7: warning: non-final class 'SuspiciousFileOperation' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
110 | }
111 |
112 | class SuspiciousFileOperation: Error {
| `- warning: non-final class 'SuspiciousFileOperation' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
113 | let basePath: Path
114 | let path: Path
/Users/admin/builder/spi-builder-workspace/Sources/Malline/Loader.swift:113:9: warning: stored property 'basePath' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
111 |
112 | class SuspiciousFileOperation: Error {
113 | let basePath: Path
| `- warning: stored property 'basePath' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
114 | let path: Path
115 |
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:17:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/Malline/Loader.swift:114:9: warning: stored property 'path' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
112 | class SuspiciousFileOperation: Error {
113 | let basePath: Path
114 | let path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
115 |
116 | init(basePath: Path, path: Path) {
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:17:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:10:5: warning: let 'system_glob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Darwin
9 |
10 | let system_glob = Darwin.glob
| |- warning: let 'system_glob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'system_glob' 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
11 | #endif
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:24:25: warning: static property 'fileManager' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
22 | internal var path: String
23 |
24 | internal static var fileManager = FileManager.default
| |- warning: static property 'fileManager' 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 'fileManager' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fileManager' 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
25 |
26 | internal var fileSystemInfo: FileSystemInfo = DefaultFileSystemInfo()
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:98:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Path' to 'Hashable' by implementing 'hash(into:)' instead
96 |
97 | extension Path : Hashable {
98 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Path' to 'Hashable' by implementing 'hash(into:)' instead
99 | return path.hashValue
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:639:27: warning: static property 'skipsSubdirectoryDescendants' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
637 | }
638 |
639 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
| |- warning: static property 'skipsSubdirectoryDescendants' 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 'skipsSubdirectoryDescendants' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'skipsSubdirectoryDescendants' 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
640 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
641 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:640:27: warning: static property 'skipsPackageDescendants' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
638 |
639 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
640 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
| |- warning: static property 'skipsPackageDescendants' 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 'skipsPackageDescendants' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'skipsPackageDescendants' 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
641 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
642 | }
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:641:27: warning: static property 'skipsHiddenFiles' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
639 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
640 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
641 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
| |- warning: static property 'skipsHiddenFiles' 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 'skipsHiddenFiles' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'skipsHiddenFiles' 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
642 | }
643 |
[13/27] Compiling Malline Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Malline/Loader.swift:112:7: warning: non-final class 'SuspiciousFileOperation' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
110 | }
111 |
112 | class SuspiciousFileOperation: Error {
| `- warning: non-final class 'SuspiciousFileOperation' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
113 | let basePath: Path
114 | let path: Path
/Users/admin/builder/spi-builder-workspace/Sources/Malline/Loader.swift:113:9: warning: stored property 'basePath' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
111 |
112 | class SuspiciousFileOperation: Error {
113 | let basePath: Path
| `- warning: stored property 'basePath' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
114 | let path: Path
115 |
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:17:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/Malline/Loader.swift:114:9: warning: stored property 'path' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
112 | class SuspiciousFileOperation: Error {
113 | let basePath: Path
114 | let path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
115 |
116 | init(basePath: Path, path: Path) {
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:17:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:10:5: warning: let 'system_glob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Darwin
9 |
10 | let system_glob = Darwin.glob
| |- warning: let 'system_glob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'system_glob' 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
11 | #endif
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:24:25: warning: static property 'fileManager' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
22 | internal var path: String
23 |
24 | internal static var fileManager = FileManager.default
| |- warning: static property 'fileManager' 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 'fileManager' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fileManager' 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
25 |
26 | internal var fileSystemInfo: FileSystemInfo = DefaultFileSystemInfo()
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:98:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Path' to 'Hashable' by implementing 'hash(into:)' instead
96 |
97 | extension Path : Hashable {
98 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Path' to 'Hashable' by implementing 'hash(into:)' instead
99 | return path.hashValue
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:639:27: warning: static property 'skipsSubdirectoryDescendants' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
637 | }
638 |
639 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
| |- warning: static property 'skipsSubdirectoryDescendants' 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 'skipsSubdirectoryDescendants' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'skipsSubdirectoryDescendants' 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
640 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
641 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:640:27: warning: static property 'skipsPackageDescendants' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
638 |
639 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
640 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
| |- warning: static property 'skipsPackageDescendants' 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 'skipsPackageDescendants' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'skipsPackageDescendants' 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
641 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
642 | }
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:641:27: warning: static property 'skipsHiddenFiles' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
639 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
640 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
641 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
| |- warning: static property 'skipsHiddenFiles' 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 'skipsHiddenFiles' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'skipsHiddenFiles' 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
642 | }
643 |
[14/27] Compiling Malline PathKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/Malline/Loader.swift:112:7: warning: non-final class 'SuspiciousFileOperation' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
110 | }
111 |
112 | class SuspiciousFileOperation: Error {
| `- warning: non-final class 'SuspiciousFileOperation' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
113 | let basePath: Path
114 | let path: Path
/Users/admin/builder/spi-builder-workspace/Sources/Malline/Loader.swift:113:9: warning: stored property 'basePath' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
111 |
112 | class SuspiciousFileOperation: Error {
113 | let basePath: Path
| `- warning: stored property 'basePath' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
114 | let path: Path
115 |
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:17:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/Malline/Loader.swift:114:9: warning: stored property 'path' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
112 | class SuspiciousFileOperation: Error {
113 | let basePath: Path
114 | let path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
115 |
116 | init(basePath: Path, path: Path) {
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:17:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:10:5: warning: let 'system_glob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Darwin
9 |
10 | let system_glob = Darwin.glob
| |- warning: let 'system_glob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'system_glob' 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
11 | #endif
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:24:25: warning: static property 'fileManager' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
22 | internal var path: String
23 |
24 | internal static var fileManager = FileManager.default
| |- warning: static property 'fileManager' 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 'fileManager' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fileManager' 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
25 |
26 | internal var fileSystemInfo: FileSystemInfo = DefaultFileSystemInfo()
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:98:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Path' to 'Hashable' by implementing 'hash(into:)' instead
96 |
97 | extension Path : Hashable {
98 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Path' to 'Hashable' by implementing 'hash(into:)' instead
99 | return path.hashValue
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:639:27: warning: static property 'skipsSubdirectoryDescendants' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
637 | }
638 |
639 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
| |- warning: static property 'skipsSubdirectoryDescendants' 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 'skipsSubdirectoryDescendants' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'skipsSubdirectoryDescendants' 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
640 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
641 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:640:27: warning: static property 'skipsPackageDescendants' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
638 |
639 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
640 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
| |- warning: static property 'skipsPackageDescendants' 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 'skipsPackageDescendants' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'skipsPackageDescendants' 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
641 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
642 | }
/Users/admin/builder/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:641:27: warning: static property 'skipsHiddenFiles' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
639 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
640 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
641 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
| |- warning: static property 'skipsHiddenFiles' 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 'skipsHiddenFiles' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'skipsHiddenFiles' 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
642 | }
643 |
[15/27] Compiling Malline TextTag.swift
[16/27] Compiling Malline VariableTag.swift
[17/27] Compiling Malline NowTag.swift
[18/27] Compiling Malline Tag.swift
[19/27] Compiling Malline ForTag.swift
[20/27] Compiling Malline IfTag.swift
[21/27] Compiling Malline Context.swift
/Users/admin/builder/spi-builder-workspace/Sources/Malline/Errors.swift:1:14: warning: non-final class 'StencilDoesNotExist' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
1 | public class StencilDoesNotExist: Error, CustomStringConvertible {
| `- warning: non-final class 'StencilDoesNotExist' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
2 | let stencilNames: [String]
3 | let loader: Loader?
/Users/admin/builder/spi-builder-workspace/Sources/Malline/Errors.swift:3:9: warning: stored property 'loader' of 'Sendable'-conforming class 'StencilDoesNotExist' has non-sendable type '(any Loader)?'; this is an error in the Swift 6 language mode
1 | public class StencilDoesNotExist: Error, CustomStringConvertible {
2 | let stencilNames: [String]
3 | let loader: Loader?
| `- warning: stored property 'loader' of 'Sendable'-conforming class 'StencilDoesNotExist' has non-sendable type '(any Loader)?'; this is an error in the Swift 6 language mode
4 |
5 | public init(stencilNames: [String], loader: Loader? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/Malline/Loader.swift:4:17: note: protocol 'Loader' does not conform to the 'Sendable' protocol
2 |
3 | /// Loader provids the capability to load stencils from the environment.
4 | public protocol Loader {
| `- note: protocol 'Loader' does not conform to the 'Sendable' protocol
5 | /// loadStencil loads a given stencil into the Malline runtime by its name
6 | /// and given environment.
[22/27] Compiling Malline Environment.swift
/Users/admin/builder/spi-builder-workspace/Sources/Malline/Errors.swift:1:14: warning: non-final class 'StencilDoesNotExist' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
1 | public class StencilDoesNotExist: Error, CustomStringConvertible {
| `- warning: non-final class 'StencilDoesNotExist' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
2 | let stencilNames: [String]
3 | let loader: Loader?
/Users/admin/builder/spi-builder-workspace/Sources/Malline/Errors.swift:3:9: warning: stored property 'loader' of 'Sendable'-conforming class 'StencilDoesNotExist' has non-sendable type '(any Loader)?'; this is an error in the Swift 6 language mode
1 | public class StencilDoesNotExist: Error, CustomStringConvertible {
2 | let stencilNames: [String]
3 | let loader: Loader?
| `- warning: stored property 'loader' of 'Sendable'-conforming class 'StencilDoesNotExist' has non-sendable type '(any Loader)?'; this is an error in the Swift 6 language mode
4 |
5 | public init(stencilNames: [String], loader: Loader? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/Malline/Loader.swift:4:17: note: protocol 'Loader' does not conform to the 'Sendable' protocol
2 |
3 | /// Loader provids the capability to load stencils from the environment.
4 | public protocol Loader {
| `- note: protocol 'Loader' does not conform to the 'Sendable' protocol
5 | /// loadStencil loads a given stencil into the Malline runtime by its name
6 | /// and given environment.
[23/27] Compiling Malline Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Malline/Errors.swift:1:14: warning: non-final class 'StencilDoesNotExist' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
1 | public class StencilDoesNotExist: Error, CustomStringConvertible {
| `- warning: non-final class 'StencilDoesNotExist' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
2 | let stencilNames: [String]
3 | let loader: Loader?
/Users/admin/builder/spi-builder-workspace/Sources/Malline/Errors.swift:3:9: warning: stored property 'loader' of 'Sendable'-conforming class 'StencilDoesNotExist' has non-sendable type '(any Loader)?'; this is an error in the Swift 6 language mode
1 | public class StencilDoesNotExist: Error, CustomStringConvertible {
2 | let stencilNames: [String]
3 | let loader: Loader?
| `- warning: stored property 'loader' of 'Sendable'-conforming class 'StencilDoesNotExist' has non-sendable type '(any Loader)?'; this is an error in the Swift 6 language mode
4 |
5 | public init(stencilNames: [String], loader: Loader? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/Malline/Loader.swift:4:17: note: protocol 'Loader' does not conform to the 'Sendable' protocol
2 |
3 | /// Loader provids the capability to load stencils from the environment.
4 | public protocol Loader {
| `- note: protocol 'Loader' does not conform to the 'Sendable' protocol
5 | /// loadStencil loads a given stencil into the Malline runtime by its name
6 | /// and given environment.
[24/27] Compiling Malline Stencil.swift
[25/27] Compiling Malline BlockTag.swift
[26/27] Compiling Malline Tokenizer.swift
[27/27] Compiling Malline Variable.swift
Build complete! (21.39s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Malline",
"name" : "Malline",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Malline",
"targets" : [
"Malline"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MallineTests",
"module_type" : "SwiftTarget",
"name" : "MallineTests",
"path" : "Tests/MallineTests",
"sources" : [
"ContextTests.swift",
"EnvironmentTests.swift",
"ExpressionTests.swift",
"FilterTests.swift",
"IncludeTests.swift",
"InheritenceTests.swift",
"LexerTests.swift",
"LoaderTests.swift",
"ParserTests.swift",
"StencilTests.swift",
"Tags/FilterTagTests.swift",
"Tags/ForTagTests.swift",
"Tags/IfTagTests.swift",
"Tags/NowTagTests.swift",
"Tags/TagTests.swift",
"TokenTests.swift",
"VariableTests.swift"
],
"target_dependencies" : [
"Malline"
],
"type" : "test"
},
{
"c99name" : "Malline",
"module_type" : "SwiftTarget",
"name" : "Malline",
"path" : "Sources/Malline",
"product_memberships" : [
"Malline"
],
"sources" : [
"Context.swift",
"Environment.swift",
"Errors.swift",
"Expression.swift",
"Extension.swift",
"Filters.swift",
"Include.swift",
"Inheritence.swift",
"Lexer.swift",
"Loader.swift",
"Parser.swift",
"PathKit/PathKit.swift",
"Stencil.swift",
"Tags/BlockTag.swift",
"Tags/ExtendsTag.swift",
"Tags/FilterTag.swift",
"Tags/ForTag.swift",
"Tags/IfTag.swift",
"Tags/NowTag.swift",
"Tags/Tag.swift",
"Tags/TextTag.swift",
"Tags/VariableTag.swift",
"Tokenizer.swift",
"Variable.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.