Build Information
Successful build of Hitch, reference main (c954e0
), with Swift 6.0 for Linux on 6 Nov 2024 06:51:01 UTC.
Swift 6 data race errors: 7
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KittyMac/Hitch.git
Reference: main
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/KittyMac/Hitch
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c954e0d update docker buildx
Cloned https://github.com/KittyMac/Hitch.git
Revision (git rev-parse @):
c954e0d9c5b290ae5c2762f55ada4aac4e6880e3
SUCCESS checkout https://github.com/KittyMac/Hitch.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/KittyMac/Hitch.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/14] Compiling Hitch Int8+Ascii.swift
[4/15] Compiling Hitch Hitch.swift
/host/spi-builder-workspace/Sources/Hitch/Hitch.swift:36:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
33 | // Note: being a subclass of NSObject is required (BOO) due to runtime crash on Linux when storing Hitch values in a dictionary
34 | // See unit test testCastAnyToHitch().
35 | public final class Hitch: NSObject, Hitchable, ExpressibleByStringLiteral, Sequence, Comparable, Codable {
| `- note: class 'Hitch' does not conform to the 'Sendable' protocol
36 | public static let empty: Hitch = ""
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | @inlinable
[5/15] Compiling Hitch Hitch+Shared.swift
/host/spi-builder-workspace/Sources/Hitch/Hitch+Shared.swift:138:12: warning: let 'nullptr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UInt8>' may have shared mutable state; this is an error in the Swift 6 language mode
136 | }
137 |
138 | public let nullptr = UnsafePointer<UInt8>(bitPattern: 1)!
| |- warning: let 'nullptr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UInt8>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nullptr' 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
139 |
140 | public extension ArraySlice where Element == UInt8 {
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/Hitch/Hitch.swift:36:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
33 | // Note: being a subclass of NSObject is required (BOO) due to runtime crash on Linux when storing Hitch values in a dictionary
34 | // See unit test testCastAnyToHitch().
35 | public final class Hitch: NSObject, Hitchable, ExpressibleByStringLiteral, Sequence, Comparable, Codable {
| `- note: class 'Hitch' does not conform to the 'Sendable' protocol
36 | public static let empty: Hitch = ""
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | @inlinable
[6/15] Compiling Hitch Hitch+FormatOperator.swift
[7/15] Compiling Hitch Hitch+MD5.swift
[8/15] Compiling Hitch Hitch+CodeBlock.swift
/host/spi-builder-workspace/Sources/Hitch/Hitch+Format.swift:4:5: warning: let 'trueHitch' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | @usableFromInline
4 | let trueHitch: Hitch = "true"
| |- warning: let 'trueHitch' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trueHitch' 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
5 | @usableFromInline
6 | let falseHitch: Hitch = "false"
/host/spi-builder-workspace/Sources/Hitch/Hitch.swift:35:20: note: class 'Hitch' does not conform to the 'Sendable' protocol
33 | // Note: being a subclass of NSObject is required (BOO) due to runtime crash on Linux when storing Hitch values in a dictionary
34 | // See unit test testCastAnyToHitch().
35 | public final class Hitch: NSObject, Hitchable, ExpressibleByStringLiteral, Sequence, Comparable, Codable {
| `- note: class 'Hitch' does not conform to the 'Sendable' protocol
36 | public static let empty: Hitch = ""
37 |
/host/spi-builder-workspace/Sources/Hitch/Hitch+Format.swift:6:5: warning: let 'falseHitch' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let trueHitch: Hitch = "true"
5 | @usableFromInline
6 | let falseHitch: Hitch = "false"
| |- warning: let 'falseHitch' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'falseHitch' 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 | @usableFromInline
8 | let errorHitch: Hitch = "error"
/host/spi-builder-workspace/Sources/Hitch/Hitch.swift:35:20: note: class 'Hitch' does not conform to the 'Sendable' protocol
33 | // Note: being a subclass of NSObject is required (BOO) due to runtime crash on Linux when storing Hitch values in a dictionary
34 | // See unit test testCastAnyToHitch().
35 | public final class Hitch: NSObject, Hitchable, ExpressibleByStringLiteral, Sequence, Comparable, Codable {
| `- note: class 'Hitch' does not conform to the 'Sendable' protocol
36 | public static let empty: Hitch = ""
37 |
/host/spi-builder-workspace/Sources/Hitch/Hitch+Format.swift:8:5: warning: let 'errorHitch' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
6 | let falseHitch: Hitch = "false"
7 | @usableFromInline
8 | let errorHitch: Hitch = "error"
| |- warning: let 'errorHitch' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorHitch' 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
9 | @usableFromInline
10 | let nullHitch: Hitch = "null"
/host/spi-builder-workspace/Sources/Hitch/Hitch.swift:35:20: note: class 'Hitch' does not conform to the 'Sendable' protocol
33 | // Note: being a subclass of NSObject is required (BOO) due to runtime crash on Linux when storing Hitch values in a dictionary
34 | // See unit test testCastAnyToHitch().
35 | public final class Hitch: NSObject, Hitchable, ExpressibleByStringLiteral, Sequence, Comparable, Codable {
| `- note: class 'Hitch' does not conform to the 'Sendable' protocol
36 | public static let empty: Hitch = ""
37 |
/host/spi-builder-workspace/Sources/Hitch/Hitch+Format.swift:10:5: warning: let 'nullHitch' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
8 | let errorHitch: Hitch = "error"
9 | @usableFromInline
10 | let nullHitch: Hitch = "null"
| |- warning: let 'nullHitch' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nullHitch' 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 |
12 | @usableFromInline
/host/spi-builder-workspace/Sources/Hitch/Hitch.swift:35:20: note: class 'Hitch' does not conform to the 'Sendable' protocol
33 | // Note: being a subclass of NSObject is required (BOO) due to runtime crash on Linux when storing Hitch values in a dictionary
34 | // See unit test testCastAnyToHitch().
35 | public final class Hitch: NSObject, Hitchable, ExpressibleByStringLiteral, Sequence, Comparable, Codable {
| `- note: class 'Hitch' does not conform to the 'Sendable' protocol
36 | public static let empty: Hitch = ""
37 |
/host/spi-builder-workspace/Sources/Hitch/Hitch.swift:36:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
33 | // Note: being a subclass of NSObject is required (BOO) due to runtime crash on Linux when storing Hitch values in a dictionary
34 | // See unit test testCastAnyToHitch().
35 | public final class Hitch: NSObject, Hitchable, ExpressibleByStringLiteral, Sequence, Comparable, Codable {
| `- note: class 'Hitch' does not conform to the 'Sendable' protocol
36 | public static let empty: Hitch = ""
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | @inlinable
[9/15] Compiling Hitch Hitch+Format.swift
/host/spi-builder-workspace/Sources/Hitch/Hitch+Format.swift:4:5: warning: let 'trueHitch' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | @usableFromInline
4 | let trueHitch: Hitch = "true"
| |- warning: let 'trueHitch' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trueHitch' 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
5 | @usableFromInline
6 | let falseHitch: Hitch = "false"
/host/spi-builder-workspace/Sources/Hitch/Hitch.swift:35:20: note: class 'Hitch' does not conform to the 'Sendable' protocol
33 | // Note: being a subclass of NSObject is required (BOO) due to runtime crash on Linux when storing Hitch values in a dictionary
34 | // See unit test testCastAnyToHitch().
35 | public final class Hitch: NSObject, Hitchable, ExpressibleByStringLiteral, Sequence, Comparable, Codable {
| `- note: class 'Hitch' does not conform to the 'Sendable' protocol
36 | public static let empty: Hitch = ""
37 |
/host/spi-builder-workspace/Sources/Hitch/Hitch+Format.swift:6:5: warning: let 'falseHitch' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let trueHitch: Hitch = "true"
5 | @usableFromInline
6 | let falseHitch: Hitch = "false"
| |- warning: let 'falseHitch' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'falseHitch' 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 | @usableFromInline
8 | let errorHitch: Hitch = "error"
/host/spi-builder-workspace/Sources/Hitch/Hitch.swift:35:20: note: class 'Hitch' does not conform to the 'Sendable' protocol
33 | // Note: being a subclass of NSObject is required (BOO) due to runtime crash on Linux when storing Hitch values in a dictionary
34 | // See unit test testCastAnyToHitch().
35 | public final class Hitch: NSObject, Hitchable, ExpressibleByStringLiteral, Sequence, Comparable, Codable {
| `- note: class 'Hitch' does not conform to the 'Sendable' protocol
36 | public static let empty: Hitch = ""
37 |
/host/spi-builder-workspace/Sources/Hitch/Hitch+Format.swift:8:5: warning: let 'errorHitch' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
6 | let falseHitch: Hitch = "false"
7 | @usableFromInline
8 | let errorHitch: Hitch = "error"
| |- warning: let 'errorHitch' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorHitch' 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
9 | @usableFromInline
10 | let nullHitch: Hitch = "null"
/host/spi-builder-workspace/Sources/Hitch/Hitch.swift:35:20: note: class 'Hitch' does not conform to the 'Sendable' protocol
33 | // Note: being a subclass of NSObject is required (BOO) due to runtime crash on Linux when storing Hitch values in a dictionary
34 | // See unit test testCastAnyToHitch().
35 | public final class Hitch: NSObject, Hitchable, ExpressibleByStringLiteral, Sequence, Comparable, Codable {
| `- note: class 'Hitch' does not conform to the 'Sendable' protocol
36 | public static let empty: Hitch = ""
37 |
/host/spi-builder-workspace/Sources/Hitch/Hitch+Format.swift:10:5: warning: let 'nullHitch' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
8 | let errorHitch: Hitch = "error"
9 | @usableFromInline
10 | let nullHitch: Hitch = "null"
| |- warning: let 'nullHitch' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nullHitch' 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 |
12 | @usableFromInline
/host/spi-builder-workspace/Sources/Hitch/Hitch.swift:35:20: note: class 'Hitch' does not conform to the 'Sendable' protocol
33 | // Note: being a subclass of NSObject is required (BOO) due to runtime crash on Linux when storing Hitch values in a dictionary
34 | // See unit test testCastAnyToHitch().
35 | public final class Hitch: NSObject, Hitchable, ExpressibleByStringLiteral, Sequence, Comparable, Codable {
| `- note: class 'Hitch' does not conform to the 'Sendable' protocol
36 | public static let empty: Hitch = ""
37 |
/host/spi-builder-workspace/Sources/Hitch/Hitch.swift:36:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
33 | // Note: being a subclass of NSObject is required (BOO) due to runtime crash on Linux when storing Hitch values in a dictionary
34 | // See unit test testCastAnyToHitch().
35 | public final class Hitch: NSObject, Hitchable, ExpressibleByStringLiteral, Sequence, Comparable, Codable {
| `- note: class 'Hitch' does not conform to the 'Sendable' protocol
36 | public static let empty: Hitch = ""
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | @inlinable
[10/15] Compiling Hitch Hitch+Base32.swift
[11/15] Compiling Hitch Hitch+Base64.swift
[12/15] Compiling Hitch CHitch.swift
/host/spi-builder-workspace/Sources/Hitch/CHitch.swift:165:20: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
163 | c.mutableData = chitch_internal_malloc(count + nullPad)
164 | c.castedMutableData = UnsafePointer(c.mutableData)
165 | c.mutableData?.assign(from: raw, count: count)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
166 | nullify(&c)
167 | return c
/host/spi-builder-workspace/Sources/Hitch/CHitch.swift:178:20: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
176 | c.mutableData = chitch_internal_malloc(count + nullPad)
177 | c.castedMutableData = UnsafePointer(c.mutableData)
178 | c.mutableData?.assign(from: raw, count: count)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
179 | nullify(&c)
180 | return c
/host/spi-builder-workspace/Sources/Hitch/CHitch.swift:191:19: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
189 | c.mutableData = raw
190 | c.castedMutableData = UnsafePointer(c.mutableData)
191 | c.mutableData?.assign(from: raw, count: count)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
192 | nullify(&c)
193 | return c
/host/spi-builder-workspace/Sources/Hitch/CHitch.swift:568:26: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
566 | guard let c0_data = c0.mutableData else { return }
567 |
568 | (c0_data + c0.count).assign(from: rhs, count: rhs_count)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
569 | c0.count += rhs_count
570 | nullify(&c0)
/host/spi-builder-workspace/Sources/Hitch/HalfHitch.swift:10:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'HalfHitch' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// processing on existing data without copies or allocations, then HalfHitch is your answer.
7 | /// Note: as you can gather from the above, use HalfHitch carefully!
8 | public struct HalfHitch: Hitchable, CustomStringConvertible, ExpressibleByStringLiteral, Sequence, Comparable, Hashable, Codable {
| `- note: consider making struct 'HalfHitch' conform to the 'Sendable' protocol
9 |
10 | public static let empty: HalfHitch = ""
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'HalfHitch' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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 |
12 | @inlinable
[13/15] Compiling Hitch HalfHitch.swift
/host/spi-builder-workspace/Sources/Hitch/CHitch.swift:165:20: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
163 | c.mutableData = chitch_internal_malloc(count + nullPad)
164 | c.castedMutableData = UnsafePointer(c.mutableData)
165 | c.mutableData?.assign(from: raw, count: count)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
166 | nullify(&c)
167 | return c
/host/spi-builder-workspace/Sources/Hitch/CHitch.swift:178:20: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
176 | c.mutableData = chitch_internal_malloc(count + nullPad)
177 | c.castedMutableData = UnsafePointer(c.mutableData)
178 | c.mutableData?.assign(from: raw, count: count)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
179 | nullify(&c)
180 | return c
/host/spi-builder-workspace/Sources/Hitch/CHitch.swift:191:19: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
189 | c.mutableData = raw
190 | c.castedMutableData = UnsafePointer(c.mutableData)
191 | c.mutableData?.assign(from: raw, count: count)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
192 | nullify(&c)
193 | return c
/host/spi-builder-workspace/Sources/Hitch/CHitch.swift:568:26: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
566 | guard let c0_data = c0.mutableData else { return }
567 |
568 | (c0_data + c0.count).assign(from: rhs, count: rhs_count)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
569 | c0.count += rhs_count
570 | nullify(&c0)
/host/spi-builder-workspace/Sources/Hitch/HalfHitch.swift:10:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'HalfHitch' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// processing on existing data without copies or allocations, then HalfHitch is your answer.
7 | /// Note: as you can gather from the above, use HalfHitch carefully!
8 | public struct HalfHitch: Hitchable, CustomStringConvertible, ExpressibleByStringLiteral, Sequence, Comparable, Hashable, Codable {
| `- note: consider making struct 'HalfHitch' conform to the 'Sendable' protocol
9 |
10 | public static let empty: HalfHitch = ""
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'HalfHitch' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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 |
12 | @inlinable
[14/15] Emitting module Hitch
/host/spi-builder-workspace/Sources/Hitch/CHitch.swift:165:20: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
163 | c.mutableData = chitch_internal_malloc(count + nullPad)
164 | c.castedMutableData = UnsafePointer(c.mutableData)
165 | c.mutableData?.assign(from: raw, count: count)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
166 | nullify(&c)
167 | return c
/host/spi-builder-workspace/Sources/Hitch/CHitch.swift:178:20: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
176 | c.mutableData = chitch_internal_malloc(count + nullPad)
177 | c.castedMutableData = UnsafePointer(c.mutableData)
178 | c.mutableData?.assign(from: raw, count: count)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
179 | nullify(&c)
180 | return c
/host/spi-builder-workspace/Sources/Hitch/CHitch.swift:191:19: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
189 | c.mutableData = raw
190 | c.castedMutableData = UnsafePointer(c.mutableData)
191 | c.mutableData?.assign(from: raw, count: count)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
192 | nullify(&c)
193 | return c
/host/spi-builder-workspace/Sources/Hitch/CHitch.swift:568:26: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
566 | guard let c0_data = c0.mutableData else { return }
567 |
568 | (c0_data + c0.count).assign(from: rhs, count: rhs_count)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
569 | c0.count += rhs_count
570 | nullify(&c0)
/host/spi-builder-workspace/Sources/Hitch/HalfHitch.swift:10:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'HalfHitch' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// processing on existing data without copies or allocations, then HalfHitch is your answer.
7 | /// Note: as you can gather from the above, use HalfHitch carefully!
8 | public struct HalfHitch: Hitchable, CustomStringConvertible, ExpressibleByStringLiteral, Sequence, Comparable, Hashable, Codable {
| `- note: consider making struct 'HalfHitch' conform to the 'Sendable' protocol
9 |
10 | public static let empty: HalfHitch = ""
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'HalfHitch' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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 |
12 | @inlinable
/host/spi-builder-workspace/Sources/Hitch/Hitch+Format.swift:4:5: warning: let 'trueHitch' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | @usableFromInline
4 | let trueHitch: Hitch = "true"
| |- warning: let 'trueHitch' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trueHitch' 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
5 | @usableFromInline
6 | let falseHitch: Hitch = "false"
/host/spi-builder-workspace/Sources/Hitch/Hitch.swift:35:20: note: class 'Hitch' does not conform to the 'Sendable' protocol
33 | // Note: being a subclass of NSObject is required (BOO) due to runtime crash on Linux when storing Hitch values in a dictionary
34 | // See unit test testCastAnyToHitch().
35 | public final class Hitch: NSObject, Hitchable, ExpressibleByStringLiteral, Sequence, Comparable, Codable {
| `- note: class 'Hitch' does not conform to the 'Sendable' protocol
36 | public static let empty: Hitch = ""
37 |
/host/spi-builder-workspace/Sources/Hitch/Hitch+Format.swift:6:5: warning: let 'falseHitch' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let trueHitch: Hitch = "true"
5 | @usableFromInline
6 | let falseHitch: Hitch = "false"
| |- warning: let 'falseHitch' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'falseHitch' 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 | @usableFromInline
8 | let errorHitch: Hitch = "error"
/host/spi-builder-workspace/Sources/Hitch/Hitch.swift:35:20: note: class 'Hitch' does not conform to the 'Sendable' protocol
33 | // Note: being a subclass of NSObject is required (BOO) due to runtime crash on Linux when storing Hitch values in a dictionary
34 | // See unit test testCastAnyToHitch().
35 | public final class Hitch: NSObject, Hitchable, ExpressibleByStringLiteral, Sequence, Comparable, Codable {
| `- note: class 'Hitch' does not conform to the 'Sendable' protocol
36 | public static let empty: Hitch = ""
37 |
/host/spi-builder-workspace/Sources/Hitch/Hitch+Format.swift:8:5: warning: let 'errorHitch' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
6 | let falseHitch: Hitch = "false"
7 | @usableFromInline
8 | let errorHitch: Hitch = "error"
| |- warning: let 'errorHitch' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorHitch' 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
9 | @usableFromInline
10 | let nullHitch: Hitch = "null"
/host/spi-builder-workspace/Sources/Hitch/Hitch.swift:35:20: note: class 'Hitch' does not conform to the 'Sendable' protocol
33 | // Note: being a subclass of NSObject is required (BOO) due to runtime crash on Linux when storing Hitch values in a dictionary
34 | // See unit test testCastAnyToHitch().
35 | public final class Hitch: NSObject, Hitchable, ExpressibleByStringLiteral, Sequence, Comparable, Codable {
| `- note: class 'Hitch' does not conform to the 'Sendable' protocol
36 | public static let empty: Hitch = ""
37 |
/host/spi-builder-workspace/Sources/Hitch/Hitch+Format.swift:10:5: warning: let 'nullHitch' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
8 | let errorHitch: Hitch = "error"
9 | @usableFromInline
10 | let nullHitch: Hitch = "null"
| |- warning: let 'nullHitch' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nullHitch' 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 |
12 | @usableFromInline
/host/spi-builder-workspace/Sources/Hitch/Hitch.swift:35:20: note: class 'Hitch' does not conform to the 'Sendable' protocol
33 | // Note: being a subclass of NSObject is required (BOO) due to runtime crash on Linux when storing Hitch values in a dictionary
34 | // See unit test testCastAnyToHitch().
35 | public final class Hitch: NSObject, Hitchable, ExpressibleByStringLiteral, Sequence, Comparable, Codable {
| `- note: class 'Hitch' does not conform to the 'Sendable' protocol
36 | public static let empty: Hitch = ""
37 |
/host/spi-builder-workspace/Sources/Hitch/Hitch.swift:36:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
33 | // Note: being a subclass of NSObject is required (BOO) due to runtime crash on Linux when storing Hitch values in a dictionary
34 | // See unit test testCastAnyToHitch().
35 | public final class Hitch: NSObject, Hitchable, ExpressibleByStringLiteral, Sequence, Comparable, Codable {
| `- note: class 'Hitch' does not conform to the 'Sendable' protocol
36 | public static let empty: Hitch = ""
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Hitch' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | @inlinable
/host/spi-builder-workspace/Sources/Hitch/Hitch+Shared.swift:138:12: warning: let 'nullptr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UInt8>' may have shared mutable state; this is an error in the Swift 6 language mode
136 | }
137 |
138 | public let nullptr = UnsafePointer<UInt8>(bitPattern: 1)!
| |- warning: let 'nullptr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UInt8>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nullptr' 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
139 |
140 | public extension ArraySlice where Element == UInt8 {
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
[15/15] Compiling Hitch UInt8+Ascii.swift
Build complete! (19.86s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Hitch",
"name" : "Hitch",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Hitch",
"targets" : [
"Hitch"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HitchTests",
"module_type" : "SwiftTarget",
"name" : "HitchTests",
"path" : "Tests/HitchTests",
"sources" : [
"HalfHitchTests.swift",
"HitchFormatTests.swift",
"HitchPerformanceTests.swift",
"HitchTests.swift"
],
"target_dependencies" : [
"Hitch"
],
"type" : "test"
},
{
"c99name" : "Hitch",
"module_type" : "SwiftTarget",
"name" : "Hitch",
"path" : "Sources/Hitch",
"product_memberships" : [
"Hitch"
],
"sources" : [
"CHitch.swift",
"HalfHitch.swift",
"Hitch+Base32.swift",
"Hitch+Base64.swift",
"Hitch+CodeBlock.swift",
"Hitch+Format.swift",
"Hitch+FormatOperator.swift",
"Hitch+MD5.swift",
"Hitch+Shared.swift",
"Hitch.swift",
"Utility/Int8+Ascii.swift",
"Utility/UInt8+Ascii.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.