Build Information
Successful build of Malline, reference 0.4.0 (649185
), with Swift 6.0 for Linux on 17 Jul 2024 16:17:04 UTC.
Swift 6 data race errors: 10
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.46.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/naamio/malline.git
Reference: 0.4.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/naamio/malline
* tag 0.4.0 -> FETCH_HEAD
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 0.4.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/naamio/malline.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:939bcf47aaf06a33919ac1ec1df3a4704fc37493bc970719b13df1c85d27e20a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/24] Emitting module Malline
/host/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?
/host/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) {
/host/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.
/host/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
/host/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 |
/host/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 = "/"
/host/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) {
/host/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'
/host/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:6: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
4 | import Glibc
5 |
6 | let system_glob = Glibc.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
7 | #else
8 | import Darwin
/host/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:24:25: warning: static property 'fileManager' is not concurrency-safe because it is nonisolated 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 nonisolated 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()
/host/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 | }
/host/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:639:27: warning: static property 'skipsSubdirectoryDescendants' is not concurrency-safe because it is nonisolated 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 nonisolated 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)
/host/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:640:27: warning: static property 'skipsPackageDescendants' is not concurrency-safe because it is nonisolated 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 nonisolated 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 | }
/host/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:641:27: warning: static property 'skipsHiddenFiles' is not concurrency-safe because it is nonisolated 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 nonisolated 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 Context.swift
/host/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?
/host/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) {
/host/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.
[5/27] Compiling Malline Environment.swift
/host/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?
/host/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) {
/host/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.
[6/27] Compiling Malline Errors.swift
/host/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?
/host/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) {
/host/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.
[7/27] Compiling Malline Expression.swift
[8/27] Compiling Malline Extension.swift
[9/27] Compiling Malline Filters.swift
[10/27] Compiling Malline NowTag.swift
[11/27] Compiling Malline Tag.swift
[12/27] Compiling Malline TextTag.swift
[13/27] Compiling Malline FilterTag.swift
[14/27] Compiling Malline ForTag.swift
[15/27] Compiling Malline IfTag.swift
[16/27] Compiling Malline Include.swift
[17/27] Compiling Malline Inheritence.swift
[18/27] Compiling Malline Lexer.swift
[19/27] Compiling Malline Stencil.swift
[20/27] Compiling Malline BlockTag.swift
[21/27] Compiling Malline ExtendsTag.swift
[22/27] Compiling Malline Loader.swift
/host/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
/host/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 |
/host/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 = "/"
/host/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) {
/host/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'
/host/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:6: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
4 | import Glibc
5 |
6 | let system_glob = Glibc.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
7 | #else
8 | import Darwin
/host/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:24:25: warning: static property 'fileManager' is not concurrency-safe because it is nonisolated 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 nonisolated 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()
/host/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 | }
/host/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:639:27: warning: static property 'skipsSubdirectoryDescendants' is not concurrency-safe because it is nonisolated 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 nonisolated 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)
/host/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:640:27: warning: static property 'skipsPackageDescendants' is not concurrency-safe because it is nonisolated 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 nonisolated 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 | }
/host/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:641:27: warning: static property 'skipsHiddenFiles' is not concurrency-safe because it is nonisolated 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 nonisolated 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 |
[23/27] Compiling Malline Parser.swift
/host/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
/host/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 |
/host/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 = "/"
/host/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) {
/host/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'
/host/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:6: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
4 | import Glibc
5 |
6 | let system_glob = Glibc.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
7 | #else
8 | import Darwin
/host/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:24:25: warning: static property 'fileManager' is not concurrency-safe because it is nonisolated 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 nonisolated 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()
/host/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 | }
/host/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:639:27: warning: static property 'skipsSubdirectoryDescendants' is not concurrency-safe because it is nonisolated 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 nonisolated 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)
/host/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:640:27: warning: static property 'skipsPackageDescendants' is not concurrency-safe because it is nonisolated 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 nonisolated 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 | }
/host/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:641:27: warning: static property 'skipsHiddenFiles' is not concurrency-safe because it is nonisolated 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 nonisolated 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 |
[24/27] Compiling Malline PathKit.swift
/host/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
/host/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 |
/host/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 = "/"
/host/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) {
/host/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'
/host/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:6: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
4 | import Glibc
5 |
6 | let system_glob = Glibc.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
7 | #else
8 | import Darwin
/host/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:24:25: warning: static property 'fileManager' is not concurrency-safe because it is nonisolated 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 nonisolated 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()
/host/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 | }
/host/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:639:27: warning: static property 'skipsSubdirectoryDescendants' is not concurrency-safe because it is nonisolated 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 nonisolated 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)
/host/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:640:27: warning: static property 'skipsPackageDescendants' is not concurrency-safe because it is nonisolated 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 nonisolated 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 | }
/host/spi-builder-workspace/Sources/Malline/PathKit/PathKit.swift:641:27: warning: static property 'skipsHiddenFiles' is not concurrency-safe because it is nonisolated 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 nonisolated 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 |
[25/27] Compiling Malline VariableTag.swift
[26/27] Compiling Malline Tokenizer.swift
[27/27] Compiling Malline Variable.swift
Build complete! (12.92s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Malline",
"name" : "Malline",
"path" : "/host/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"
}
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:2616150e65f8b5d336ef2ff8828ee78d83c0c72abe57c7be9f4d8e5b61afb28f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Done.