Build Information
Successful build of ConfigParser, reference 0.4.0 (b7d9b1
), with Swift 6.0 for Linux on 6 Oct 2024 06:52:16 UTC.
Swift 6 data race errors: 10
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ponyboy47/ConfigParser.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/ponyboy47/ConfigParser
* tag 0.4.0 -> FETCH_HEAD
HEAD is now at b7d9b1d Updated to rebranded TrailBlazer (now Pathman), added Data parsing, bump version
Cloned https://github.com/ponyboy47/ConfigParser.git
Revision (git rev-parse @):
b7d9b1df44b17e108bba16839ee693092cb4cfb6
SUCCESS checkout https://github.com/ponyboy47/ConfigParser.git at 0.4.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/ponyboy47/ConfigParser.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Ponyboy47/Pathman.git
[1/4003] Fetching pathman
Fetched https://github.com/Ponyboy47/Pathman.git from cache (0.24s)
Computing version for https://github.com/Ponyboy47/Pathman.git
Computed https://github.com/Ponyboy47/Pathman.git at 0.20.1 (0.52s)
Fetching https://github.com/Ponyboy47/Cglob
Fetching https://github.com/Ponyboy47/ErrNo
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/Ponyboy47/Cdirent
[2/12] Fetching cdirent
[10/4875] Fetching cdirent, swiftshell
[108/5169] Fetching cdirent, swiftshell, errno
[1326/5181] Fetching cdirent, swiftshell, errno, cglob
Fetched https://github.com/Ponyboy47/Cdirent from cache (0.32s)
Fetched https://github.com/Ponyboy47/Cglob from cache (0.32s)
Fetched https://github.com/Ponyboy47/ErrNo from cache (0.32s)
Fetched https://github.com/kareman/SwiftShell from cache (0.32s)
Computing version for https://github.com/Ponyboy47/Cglob
Computed https://github.com/Ponyboy47/Cglob at 0.1.0 (2.52s)
Computing version for https://github.com/Ponyboy47/Cdirent
Computed https://github.com/Ponyboy47/Cdirent at 0.1.0 (0.52s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.0 (0.53s)
Computing version for https://github.com/Ponyboy47/ErrNo
Computed https://github.com/Ponyboy47/ErrNo at 0.5.2 (0.50s)
Creating working copy for https://github.com/Ponyboy47/ErrNo
Working copy of https://github.com/Ponyboy47/ErrNo resolved at 0.5.2
Creating working copy for https://github.com/Ponyboy47/Cglob
Working copy of https://github.com/Ponyboy47/Cglob resolved at 0.1.0
Creating working copy for https://github.com/Ponyboy47/Cdirent
Working copy of https://github.com/Ponyboy47/Cdirent resolved at 0.1.0
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.0
Creating working copy for https://github.com/Ponyboy47/Pathman.git
Working copy of https://github.com/Ponyboy47/Pathman.git resolved at 0.20.1
Building for debugging...
[0/6] Write sources
[3/6] Compiling Cdirent dirent.c
[4/6] Compiling Cglob glob.c
[4/6] Write swift-version-24593BA9C3E375BF.txt
[7/10] Compiling ErrNo ErrNo.swift
[8/10] Compiling ErrNo ErrNo+Darwin.swift
[9/10] Emitting module ErrNo
[10/10] Compiling ErrNo ErrNo+Glibc.swift
[12/108] Emitting module Pathman
[13/121] Compiling Pathman DirectoryChildren+Iterator.swift
[14/121] Compiling Pathman DirectoryChildren+Sortable.swift
[15/121] Compiling Pathman DirectoryChildren.swift
[16/121] Compiling Pathman Offset.swift
[17/121] Compiling Pathman SocketDomain.swift
[18/121] Compiling Pathman SocketType.swift
[19/121] Compiling Pathman StatAttributes.swift
[20/121] Compiling Pathman setbuf.swift
[21/121] Compiling Pathman CharacterPath+Openable.swift
[22/121] Compiling Pathman CharacterPath+Readable.swift
[23/121] Compiling Pathman CharacterPath+Writable.swift
[24/121] Compiling Pathman CharacterPath.swift
[25/121] Compiling Pathman OpenCharacter.swift
[26/121] Compiling Pathman Connection+Readable.swift
[27/121] Compiling Pathman Open+Writable.swift
[28/121] Compiling Pathman Open.swift
[29/121] Compiling Pathman Openable+Copyable.swift
[30/121] Compiling Pathman Path+Absolute.swift
[31/121] Compiling Pathman Path+Ancester.swift
[32/121] Compiling Pathman Path+Codable.swift
[33/121] Compiling Pathman Path+Comparable.swift
[34/121] Compiling Pathman Path+Deletable.swift
[35/121] Compiling Pathman Path+Equatable.swift
[36/121] Compiling Pathman Path+Generic.swift
[37/121] Compiling Pathman Path+HomeDirectory.swift
[38/121] Compiling Pathman Path+Iterator.swift
[39/121] Compiling Pathman Path+Links.swift
[40/121] Compiling Pathman Path+Movable.swift
[41/121] Compiling Pathman Readable.swift
[42/121] Compiling Pathman Seekable.swift
[43/121] Compiling Pathman Stat.swift
[44/121] Compiling Pathman StatDescriptor.swift
[45/121] Compiling Pathman StatPath.swift
[46/121] Compiling Pathman Statable.swift
[47/121] Compiling Pathman Writable.swift
[48/121] Compiling Pathman Readable+Helpers.swift
[49/121] Compiling Pathman Readable+UnusedHelpers.swift
[50/121] Compiling Pathman ReadableByOpened+Helpers.swift
[51/121] Compiling Pathman OpenSocket.swift
[52/121] Compiling Pathman SocketPath+Bindable.swift
[53/121] Compiling Pathman SocketPath+Connectable.swift
[54/121] Compiling Pathman FilePath+Copyable.swift
[55/121] Compiling Pathman FilePath+Creatable.swift
[56/121] Compiling Pathman FilePath+Openable.swift
[57/121] Compiling Pathman FilePath+Readable.swift
[58/121] Compiling Pathman FilePath+Seekable.swift
[59/121] Compiling Pathman FilePath+StandardStreams.swift
[60/121] Compiling Pathman FilePath+Writable.swift
[61/121] Compiling Pathman FilePath.swift
[62/121] Compiling Pathman OpenFile.swift
[63/121] Compiling Pathman Glob.swift
[64/121] Compiling Pathman Globbing.swift
[65/121] Compiling Pathman Open+Copyable.swift
[66/121] Compiling Pathman Open+Readable.swift
[67/121] Compiling Pathman Open+Seekable.swift
[68/121] Compiling Pathman Binding+Accept.swift
[69/121] Compiling Pathman Binding+Listen.swift
[70/121] Compiling Pathman Binding.swift
[71/121] Compiling Pathman ByteRepresentable.swift
[72/121] Compiling Pathman PlatformCTypes.swift
[73/121] Compiling Pathman GlobFlags.swift
[74/121] Compiling Pathman OpenFileMode.swift
[75/121] Compiling Pathman ReceiveFlags.swift
[76/121] Compiling Pathman SendFlags.swift
[77/121] Compiling Pathman FileBits.swift
[78/121] Compiling Pathman FileMode.swift
[79/121] Compiling Pathman FilePermissions.swift
[80/121] Compiling Pathman PathType.swift
[81/121] Compiling Pathman UMask.swift
[82/121] Compiling Pathman Path+Ownable.swift
[83/121] Compiling Pathman Path+Permissionable.swift
[84/121] Compiling Pathman Path+Relative.swift
[85/121] Compiling Pathman Path+Temporary.swift
[86/121] Compiling Pathman Copyable.swift
[87/121] Compiling Pathman Creatable.swift
[88/121] Compiling Pathman Deletable.swift
[89/121] Compiling Pathman DirectoryEnumerable.swift
[90/121] Compiling Pathman Movable.swift
[91/121] Compiling Pathman Openable.swift
[92/121] Compiling Pathman Ownable.swift
[93/121] Compiling Pathman Path.swift
[94/121] Compiling Pathman Permissionable.swift
[95/121] Compiling Pathman Connection+Writable.swift
[96/121] Compiling Pathman Connection.swift
[97/121] Compiling Pathman DirectoryPath+Copyable.swift
[98/121] Compiling Pathman DirectoryPath+Creatable.swift
[99/121] Compiling Pathman DirectoryPath+Deletable.swift
[100/121] Compiling Pathman DirectoryPath+DirectoryEnumerable.swift
[101/121] Compiling Pathman DirectoryPath+Openable.swift
[102/121] Compiling Pathman DirectoryPath.swift
[103/121] Compiling Pathman OpenDirectory.swift
[104/121] Compiling Pathman DirectoryEnumerable+Deletable.swift
[105/121] Compiling Pathman DirectoryEnumerable+Ownable.swift
[106/121] Compiling Pathman DirectoryEnumerable+Permissionable.swift
[107/121] Compiling Pathman ErrNo.swift
[108/121] Compiling Pathman Generic.swift
[109/121] Compiling Pathman SocketPath+Openable.swift
[110/121] Compiling Pathman SocketPath+Readable.swift
[111/121] Compiling Pathman SocketPath+Writable.swift
[112/121] Compiling Pathman SocketPath.swift
[113/121] Compiling Pathman StatInfo.swift
[114/121] Compiling Pathman StatOptions.swift
[115/121] Compiling Pathman Statable+Attributes.swift
[116/121] Compiling Pathman Statable+Ownable.swift
[117/121] Compiling Pathman Statable+Permissionable.swift
[118/121] Compiling Pathman NilCoalescing.swift
[119/121] Compiling Pathman Toggled.swift
[120/121] Compiling Pathman Writable+Helpers.swift
[121/121] Compiling Pathman WritableByOpened+Helpers.swift
[123/132] Compiling ConfigParser ParserOptions.swift
/host/spi-builder-workspace/Sources/ConfigParser/ParserOptions.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Options that change the behavior of the ConfigParser
2 | public struct ParserOptions {
| `- note: consider making struct 'ParserOptions' conform to the 'Sendable' protocol
3 | /// The default characters recognized as comment openers
4 | public static let defaultCommentCharacters = Set([Character(";"), Character("#")])
:
11 | public var keyValueSeparator: Character
12 |
13 | public static let `default` = ParserOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
14 |
15 | public init(commentCharacters: Set<Character> = ParserOptions.defaultCommentCharacters,
[124/133] Compiling ConfigParser ParserPosition.swift
[125/133] Compiling ConfigParser ConfigValues.swift
[126/133] Compiling ConfigParser ConfigSection.swift
[127/133] Compiling ConfigParser Errors.swift
/host/spi-builder-workspace/Sources/ConfigParser/Errors.swift:2:47: warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
1 | public enum StringError: Error {
2 | case notConvertibleFromData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
3 | }
4 |
FoundationEssentials.String:3:19: note: type declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | extension String {
3 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: type declared here
4 | public var rawValue: UInt
5 | public init(rawValue: UInt)
/host/spi-builder-workspace/Sources/ConfigParser/Errors.swift:6:10: warning: associated value 'unexpectedNewline(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
4 |
5 | public enum ParserError: Error {
6 | case unexpectedNewline(at: ParserPosition)
| `- warning: associated value 'unexpectedNewline(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
7 | case emptySectionTitle(at: ParserPosition)
8 | case emptyKey(at: ParserPosition)
/host/spi-builder-workspace/Sources/ConfigParser/ParserPosition.swift:1:15: note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
1 | public struct ParserPosition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
2 | public private(set) var line: Int = 1
3 | public private(set) var character: Int = 0
/host/spi-builder-workspace/Sources/ConfigParser/Errors.swift:7:10: warning: associated value 'emptySectionTitle(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
5 | public enum ParserError: Error {
6 | case unexpectedNewline(at: ParserPosition)
7 | case emptySectionTitle(at: ParserPosition)
| `- warning: associated value 'emptySectionTitle(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
8 | case emptyKey(at: ParserPosition)
9 | case emptyValue(at: ParserPosition)
/host/spi-builder-workspace/Sources/ConfigParser/ParserPosition.swift:1:15: note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
1 | public struct ParserPosition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
2 | public private(set) var line: Int = 1
3 | public private(set) var character: Int = 0
/host/spi-builder-workspace/Sources/ConfigParser/Errors.swift:8:10: warning: associated value 'emptyKey(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
6 | case unexpectedNewline(at: ParserPosition)
7 | case emptySectionTitle(at: ParserPosition)
8 | case emptyKey(at: ParserPosition)
| `- warning: associated value 'emptyKey(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
9 | case emptyValue(at: ParserPosition)
10 | case invalidCharacter(Character, at: ParserPosition)
/host/spi-builder-workspace/Sources/ConfigParser/ParserPosition.swift:1:15: note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
1 | public struct ParserPosition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
2 | public private(set) var line: Int = 1
3 | public private(set) var character: Int = 0
/host/spi-builder-workspace/Sources/ConfigParser/Errors.swift:9:10: warning: associated value 'emptyValue(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
7 | case emptySectionTitle(at: ParserPosition)
8 | case emptyKey(at: ParserPosition)
9 | case emptyValue(at: ParserPosition)
| `- warning: associated value 'emptyValue(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
10 | case invalidCharacter(Character, at: ParserPosition)
11 | case unexpectedEOF(at: ParserPosition)
/host/spi-builder-workspace/Sources/ConfigParser/ParserPosition.swift:1:15: note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
1 | public struct ParserPosition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
2 | public private(set) var line: Int = 1
3 | public private(set) var character: Int = 0
/host/spi-builder-workspace/Sources/ConfigParser/Errors.swift:10:10: warning: associated value 'invalidCharacter(_:at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
8 | case emptyKey(at: ParserPosition)
9 | case emptyValue(at: ParserPosition)
10 | case invalidCharacter(Character, at: ParserPosition)
| `- warning: associated value 'invalidCharacter(_:at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
11 | case unexpectedEOF(at: ParserPosition)
12 | case expectedEquals(at: ParserPosition)
/host/spi-builder-workspace/Sources/ConfigParser/ParserPosition.swift:1:15: note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
1 | public struct ParserPosition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
2 | public private(set) var line: Int = 1
3 | public private(set) var character: Int = 0
/host/spi-builder-workspace/Sources/ConfigParser/Errors.swift:11:10: warning: associated value 'unexpectedEOF(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
9 | case emptyValue(at: ParserPosition)
10 | case invalidCharacter(Character, at: ParserPosition)
11 | case unexpectedEOF(at: ParserPosition)
| `- warning: associated value 'unexpectedEOF(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
12 | case expectedEquals(at: ParserPosition)
13 | case expectedNewlineOrEOF(at: ParserPosition)
/host/spi-builder-workspace/Sources/ConfigParser/ParserPosition.swift:1:15: note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
1 | public struct ParserPosition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
2 | public private(set) var line: Int = 1
3 | public private(set) var character: Int = 0
/host/spi-builder-workspace/Sources/ConfigParser/Errors.swift:12:10: warning: associated value 'expectedEquals(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
10 | case invalidCharacter(Character, at: ParserPosition)
11 | case unexpectedEOF(at: ParserPosition)
12 | case expectedEquals(at: ParserPosition)
| `- warning: associated value 'expectedEquals(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
13 | case expectedNewlineOrEOF(at: ParserPosition)
14 | case unexpectedCharacterOutsideQuotedValue(at: ParserPosition)
/host/spi-builder-workspace/Sources/ConfigParser/ParserPosition.swift:1:15: note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
1 | public struct ParserPosition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
2 | public private(set) var line: Int = 1
3 | public private(set) var character: Int = 0
/host/spi-builder-workspace/Sources/ConfigParser/Errors.swift:13:10: warning: associated value 'expectedNewlineOrEOF(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
11 | case unexpectedEOF(at: ParserPosition)
12 | case expectedEquals(at: ParserPosition)
13 | case expectedNewlineOrEOF(at: ParserPosition)
| `- warning: associated value 'expectedNewlineOrEOF(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
14 | case unexpectedCharacterOutsideQuotedValue(at: ParserPosition)
15 | }
/host/spi-builder-workspace/Sources/ConfigParser/ParserPosition.swift:1:15: note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
1 | public struct ParserPosition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
2 | public private(set) var line: Int = 1
3 | public private(set) var character: Int = 0
/host/spi-builder-workspace/Sources/ConfigParser/Errors.swift:14:10: warning: associated value 'unexpectedCharacterOutsideQuotedValue(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
12 | case expectedEquals(at: ParserPosition)
13 | case expectedNewlineOrEOF(at: ParserPosition)
14 | case unexpectedCharacterOutsideQuotedValue(at: ParserPosition)
| `- warning: associated value 'unexpectedCharacterOutsideQuotedValue(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
15 | }
16 |
/host/spi-builder-workspace/Sources/ConfigParser/ParserPosition.swift:1:15: note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
1 | public struct ParserPosition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
2 | public private(set) var line: Int = 1
3 | public private(set) var character: Int = 0
[128/133] Compiling ConfigParser INIConfig.swift
/host/spi-builder-workspace/Sources/ConfigParser/ParserOptions.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Options that change the behavior of the ConfigParser
2 | public struct ParserOptions {
| `- note: consider making struct 'ParserOptions' conform to the 'Sendable' protocol
3 | /// The default characters recognized as comment openers
4 | public static let defaultCommentCharacters = Set([Character(";"), Character("#")])
:
11 | public var keyValueSeparator: Character
12 |
13 | public static let `default` = ParserOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
14 |
15 | public init(commentCharacters: Set<Character> = ParserOptions.defaultCommentCharacters,
[129/133] Compiling ConfigParser ConfigParser.swift
/host/spi-builder-workspace/Sources/ConfigParser/ParserOptions.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Options that change the behavior of the ConfigParser
2 | public struct ParserOptions {
| `- note: consider making struct 'ParserOptions' conform to the 'Sendable' protocol
3 | /// The default characters recognized as comment openers
4 | public static let defaultCommentCharacters = Set([Character(";"), Character("#")])
:
11 | public var keyValueSeparator: Character
12 |
13 | public static let `default` = ParserOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
14 |
15 | public init(commentCharacters: Set<Character> = ParserOptions.defaultCommentCharacters,
[130/133] Compiling ConfigParser ConfigSection+Types.swift
/host/spi-builder-workspace/Sources/ConfigParser/ParserOptions.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Options that change the behavior of the ConfigParser
2 | public struct ParserOptions {
| `- note: consider making struct 'ParserOptions' conform to the 'Sendable' protocol
3 | /// The default characters recognized as comment openers
4 | public static let defaultCommentCharacters = Set([Character(";"), Character("#")])
:
11 | public var keyValueSeparator: Character
12 |
13 | public static let `default` = ParserOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
14 |
15 | public init(commentCharacters: Set<Character> = ParserOptions.defaultCommentCharacters,
[131/133] Compiling ConfigParser Config.swift
[132/133] Compiling ConfigParser ConfigParsable.swift
[133/133] Emitting module ConfigParser
/host/spi-builder-workspace/Sources/ConfigParser/ParserOptions.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Options that change the behavior of the ConfigParser
2 | public struct ParserOptions {
| `- note: consider making struct 'ParserOptions' conform to the 'Sendable' protocol
3 | /// The default characters recognized as comment openers
4 | public static let defaultCommentCharacters = Set([Character(";"), Character("#")])
:
11 | public var keyValueSeparator: Character
12 |
13 | public static let `default` = ParserOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
14 |
15 | public init(commentCharacters: Set<Character> = ParserOptions.defaultCommentCharacters,
/host/spi-builder-workspace/Sources/ConfigParser/Errors.swift:2:47: warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
1 | public enum StringError: Error {
2 | case notConvertibleFromData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
3 | }
4 |
FoundationEssentials.String:3:19: note: type declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | extension String {
3 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: type declared here
4 | public var rawValue: UInt
5 | public init(rawValue: UInt)
/host/spi-builder-workspace/Sources/ConfigParser/Errors.swift:6:10: warning: associated value 'unexpectedNewline(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
4 |
5 | public enum ParserError: Error {
6 | case unexpectedNewline(at: ParserPosition)
| `- warning: associated value 'unexpectedNewline(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
7 | case emptySectionTitle(at: ParserPosition)
8 | case emptyKey(at: ParserPosition)
/host/spi-builder-workspace/Sources/ConfigParser/ParserPosition.swift:1:15: note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
1 | public struct ParserPosition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
2 | public private(set) var line: Int = 1
3 | public private(set) var character: Int = 0
/host/spi-builder-workspace/Sources/ConfigParser/Errors.swift:7:10: warning: associated value 'emptySectionTitle(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
5 | public enum ParserError: Error {
6 | case unexpectedNewline(at: ParserPosition)
7 | case emptySectionTitle(at: ParserPosition)
| `- warning: associated value 'emptySectionTitle(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
8 | case emptyKey(at: ParserPosition)
9 | case emptyValue(at: ParserPosition)
/host/spi-builder-workspace/Sources/ConfigParser/ParserPosition.swift:1:15: note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
1 | public struct ParserPosition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
2 | public private(set) var line: Int = 1
3 | public private(set) var character: Int = 0
/host/spi-builder-workspace/Sources/ConfigParser/Errors.swift:8:10: warning: associated value 'emptyKey(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
6 | case unexpectedNewline(at: ParserPosition)
7 | case emptySectionTitle(at: ParserPosition)
8 | case emptyKey(at: ParserPosition)
| `- warning: associated value 'emptyKey(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
9 | case emptyValue(at: ParserPosition)
10 | case invalidCharacter(Character, at: ParserPosition)
/host/spi-builder-workspace/Sources/ConfigParser/ParserPosition.swift:1:15: note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
1 | public struct ParserPosition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
2 | public private(set) var line: Int = 1
3 | public private(set) var character: Int = 0
/host/spi-builder-workspace/Sources/ConfigParser/Errors.swift:9:10: warning: associated value 'emptyValue(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
7 | case emptySectionTitle(at: ParserPosition)
8 | case emptyKey(at: ParserPosition)
9 | case emptyValue(at: ParserPosition)
| `- warning: associated value 'emptyValue(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
10 | case invalidCharacter(Character, at: ParserPosition)
11 | case unexpectedEOF(at: ParserPosition)
/host/spi-builder-workspace/Sources/ConfigParser/ParserPosition.swift:1:15: note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
1 | public struct ParserPosition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
2 | public private(set) var line: Int = 1
3 | public private(set) var character: Int = 0
/host/spi-builder-workspace/Sources/ConfigParser/Errors.swift:10:10: warning: associated value 'invalidCharacter(_:at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
8 | case emptyKey(at: ParserPosition)
9 | case emptyValue(at: ParserPosition)
10 | case invalidCharacter(Character, at: ParserPosition)
| `- warning: associated value 'invalidCharacter(_:at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
11 | case unexpectedEOF(at: ParserPosition)
12 | case expectedEquals(at: ParserPosition)
/host/spi-builder-workspace/Sources/ConfigParser/ParserPosition.swift:1:15: note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
1 | public struct ParserPosition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
2 | public private(set) var line: Int = 1
3 | public private(set) var character: Int = 0
/host/spi-builder-workspace/Sources/ConfigParser/Errors.swift:11:10: warning: associated value 'unexpectedEOF(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
9 | case emptyValue(at: ParserPosition)
10 | case invalidCharacter(Character, at: ParserPosition)
11 | case unexpectedEOF(at: ParserPosition)
| `- warning: associated value 'unexpectedEOF(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
12 | case expectedEquals(at: ParserPosition)
13 | case expectedNewlineOrEOF(at: ParserPosition)
/host/spi-builder-workspace/Sources/ConfigParser/ParserPosition.swift:1:15: note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
1 | public struct ParserPosition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
2 | public private(set) var line: Int = 1
3 | public private(set) var character: Int = 0
/host/spi-builder-workspace/Sources/ConfigParser/Errors.swift:12:10: warning: associated value 'expectedEquals(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
10 | case invalidCharacter(Character, at: ParserPosition)
11 | case unexpectedEOF(at: ParserPosition)
12 | case expectedEquals(at: ParserPosition)
| `- warning: associated value 'expectedEquals(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
13 | case expectedNewlineOrEOF(at: ParserPosition)
14 | case unexpectedCharacterOutsideQuotedValue(at: ParserPosition)
/host/spi-builder-workspace/Sources/ConfigParser/ParserPosition.swift:1:15: note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
1 | public struct ParserPosition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
2 | public private(set) var line: Int = 1
3 | public private(set) var character: Int = 0
/host/spi-builder-workspace/Sources/ConfigParser/Errors.swift:13:10: warning: associated value 'expectedNewlineOrEOF(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
11 | case unexpectedEOF(at: ParserPosition)
12 | case expectedEquals(at: ParserPosition)
13 | case expectedNewlineOrEOF(at: ParserPosition)
| `- warning: associated value 'expectedNewlineOrEOF(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
14 | case unexpectedCharacterOutsideQuotedValue(at: ParserPosition)
15 | }
/host/spi-builder-workspace/Sources/ConfigParser/ParserPosition.swift:1:15: note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
1 | public struct ParserPosition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
2 | public private(set) var line: Int = 1
3 | public private(set) var character: Int = 0
/host/spi-builder-workspace/Sources/ConfigParser/Errors.swift:14:10: warning: associated value 'unexpectedCharacterOutsideQuotedValue(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
12 | case expectedEquals(at: ParserPosition)
13 | case expectedNewlineOrEOF(at: ParserPosition)
14 | case unexpectedCharacterOutsideQuotedValue(at: ParserPosition)
| `- warning: associated value 'unexpectedCharacterOutsideQuotedValue(at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'ParserPosition'; this is an error in the Swift 6 language mode
15 | }
16 |
/host/spi-builder-workspace/Sources/ConfigParser/ParserPosition.swift:1:15: note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
1 | public struct ParserPosition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'ParserPosition' conform to the 'Sendable' protocol
2 | public private(set) var line: Int = 1
3 | public private(set) var character: Int = 0
Build complete! (25.28s)
Build complete.
{
"dependencies" : [
{
"identity" : "pathman",
"requirement" : {
"range" : [
{
"lower_bound" : "0.18.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Ponyboy47/Pathman.git"
}
],
"manifest_display_name" : "ConfigParser",
"name" : "ConfigParser",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ConfigParser",
"targets" : [
"ConfigParser"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ConfigParserTests",
"module_type" : "SwiftTarget",
"name" : "ConfigParserTests",
"path" : "Tests/ConfigParserTests",
"sources" : [
"ConfigParserTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"ConfigParser"
],
"type" : "test"
},
{
"c99name" : "ConfigParser",
"module_type" : "SwiftTarget",
"name" : "ConfigParser",
"path" : "Sources/ConfigParser",
"product_dependencies" : [
"Pathman"
],
"product_memberships" : [
"ConfigParser"
],
"sources" : [
"Config.swift",
"ConfigParsable.swift",
"ConfigParser.swift",
"ConfigSection+Types.swift",
"ConfigSection.swift",
"ConfigValues.swift",
"Errors.swift",
"INIConfig.swift",
"ParserOptions.swift",
"ParserPosition.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.