Build Information
Successful build of JavaScriptKit, reference 0.21.0 (43607e
), with Swift 6.0 for Linux on 31 Oct 2024 06:08:38 UTC.
Swift 6 data race errors: 46
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/10] Write sources
[4/10] Copying Runtime
[5/10] Compiling _CJavaScriptBigIntSupport _CJavaScriptKit+I64.c
[6/10] Compiling _CJavaScriptEventLoop _CJavaScriptEventLoop.c
[7/10] Compiling _CJavaScriptKit _CJavaScriptKit.c
[8/10] Compiling _CJavaScriptEventLoopTestSupport _CJavaScriptEventLoopTestSupport.c
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/30] Emitting module JavaScriptKit
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSArray.swift:5:23: warning: static property 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction?' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// that exposes its properties in a type-safe and Swifty way.
4 | public class JSArray: JSBridgedClass {
5 | public static let constructor = JSObject.global.Array.function
| |- warning: static property 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'constructor' 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
6 |
7 | static func isArray(_ object: JSObject) -> Bool {
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSArray.swift:94:13: warning: let 'alwaysTrue' is not concurrency-safe because non-'Sendable' type 'JSClosure' may have shared mutable state; this is an error in the Swift 6 language mode
92 | }
93 |
94 | private let alwaysTrue = JSClosure { _ in .boolean(true) }
| |- warning: let 'alwaysTrue' is not concurrency-safe because non-'Sendable' type 'JSClosure' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alwaysTrue' 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
95 | private func getObjectValuesLength(_ object: JSObject) -> Int {
96 | let values = object.filter!(alwaysTrue).object!
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSClosure.swift:64:14: note: class 'JSClosure' does not conform to the 'Sendable' protocol
62 | /// ```
63 | ///
64 | public class JSClosure: JSFunction, JSClosureProtocol {
| `- note: class 'JSClosure' does not conform to the 'Sendable' protocol
65 |
66 | class SharedJSClosure {
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSDate.swift:11:23: warning: static property 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction?' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public final class JSDate: JSBridgedClass {
10 | /// The constructor function used to create new `Date` objects.
11 | public static let constructor = JSObject.global.Date.function
| |- warning: static property 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'constructor' 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
12 |
13 | /// The underlying JavaScript `Date` object.
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSError.swift:7:23: warning: static property 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction?' may have shared mutable state; this is an error in the Swift 6 language mode
5 | public final class JSError: Error, JSBridgedClass {
6 | /// The constructor function used to create new JavaScript `Error` objects.
7 | public static let constructor = JSObject.global.Error.function
| |- warning: static property 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'constructor' 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
8 |
9 | /// The underlying JavaScript `Error` object.
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSError.swift:10:16: warning: stored property 'jsObject' of 'Sendable'-conforming class 'JSError' has non-sendable type 'JSObject'; this is an error in the Swift 6 language mode
8 |
9 | /// The underlying JavaScript `Error` object.
10 | public let jsObject: JSObject
| `- warning: stored property 'jsObject' of 'Sendable'-conforming class 'JSError' has non-sendable type 'JSObject'; this is an error in the Swift 6 language mode
11 |
12 | /// Creates a new instance of the JavaScript `Error` class with a given message.
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSObject.swift:18:14: note: class 'JSObject' does not conform to the 'Sendable' protocol
16 | /// reference counting system.
17 | @dynamicMemberLookup
18 | public class JSObject: Equatable {
| `- note: class 'JSObject' does not conform to the 'Sendable' protocol
19 | @_spi(JSObject_id)
20 | public var id: JavaScriptObjectRef
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:143:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
141 |
142 | extension Int: TypedArrayElement {
143 | public static var typedArrayClass: JSFunction =
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
144 | valueForBitWidth(typeName: "Int", bitWidth: Int.bitWidth, when32: JSObject.global.Int32Array).function!
145 | }
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:148:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
146 |
147 | extension UInt: TypedArrayElement {
148 | public static var typedArrayClass: JSFunction =
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | valueForBitWidth(typeName: "UInt", bitWidth: Int.bitWidth, when32: JSObject.global.Uint32Array).function!
150 | }
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:153:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | extension Int8: TypedArrayElement {
153 | public static var typedArrayClass = JSObject.global.Int8Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
154 | }
155 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:157:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
155 |
156 | extension UInt8: TypedArrayElement {
157 | public static var typedArrayClass = JSObject.global.Uint8Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
158 | }
159 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:168:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
166 |
167 | extension Int16: TypedArrayElement {
168 | public static var typedArrayClass = JSObject.global.Int16Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
169 | }
170 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:172:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
170 |
171 | extension UInt16: TypedArrayElement {
172 | public static var typedArrayClass = JSObject.global.Uint16Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
173 | }
174 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:176:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 |
175 | extension Int32: TypedArrayElement {
176 | public static var typedArrayClass = JSObject.global.Int32Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
177 | }
178 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:180:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
178 |
179 | extension UInt32: TypedArrayElement {
180 | public static var typedArrayClass = JSObject.global.Uint32Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
181 | }
182 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:184:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
182 |
183 | extension Float32: TypedArrayElement {
184 | public static var typedArrayClass = JSObject.global.Float32Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
185 | }
186 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:188:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
186 |
187 | extension Float64: TypedArrayElement {
188 | public static var typedArrayClass = JSObject.global.Float64Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
189 | }
190 | #endif
/host/spi-builder-workspace/Sources/JavaScriptKit/ConvertibleToJSValue.swift:88:13: warning: let 'objectConstructor' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
86 | }
87 |
88 | private let objectConstructor = JSObject.global.Object.function!
| |- warning: let 'objectConstructor' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'objectConstructor' 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
89 | private let arrayConstructor = JSObject.global.Array.function!
90 |
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/ConvertibleToJSValue.swift:89:13: warning: let 'arrayConstructor' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | private let objectConstructor = JSObject.global.Object.function!
89 | private let arrayConstructor = JSObject.global.Array.function!
| |- warning: let 'arrayConstructor' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'arrayConstructor' 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
90 |
91 | #if !hasFeature(Embedded)
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSBigInt.swift:3:13: warning: let 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import _CJavaScriptKit
2 |
3 | private let constructor = JSObject.global.BigInt.function!
| |- warning: let 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'constructor' 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
4 |
5 | /// A wrapper around [the JavaScript `BigInt`
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:3:13: warning: let 'Symbol' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import _CJavaScriptKit
2 |
3 | private let Symbol = JSObject.global.Symbol.function!
| |- warning: let 'Symbol' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Symbol' 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
4 |
5 | /// A wrapper around [the JavaScript `Symbol`
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:50:23: warning: static property 'asyncIterator' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
48 |
49 | extension JSSymbol {
50 | public static let asyncIterator: JSSymbol! = Symbol.asyncIterator.symbol
| |- warning: static property 'asyncIterator' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'asyncIterator' 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
51 | public static let hasInstance: JSSymbol! = Symbol.hasInstance.symbol
52 | public static let isConcatSpreadable: JSSymbol! = Symbol.isConcatSpreadable.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:51:23: warning: static property 'hasInstance' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
49 | extension JSSymbol {
50 | public static let asyncIterator: JSSymbol! = Symbol.asyncIterator.symbol
51 | public static let hasInstance: JSSymbol! = Symbol.hasInstance.symbol
| |- warning: static property 'hasInstance' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hasInstance' 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
52 | public static let isConcatSpreadable: JSSymbol! = Symbol.isConcatSpreadable.symbol
53 | public static let iterator: JSSymbol! = Symbol.iterator.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:52:23: warning: static property 'isConcatSpreadable' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
50 | public static let asyncIterator: JSSymbol! = Symbol.asyncIterator.symbol
51 | public static let hasInstance: JSSymbol! = Symbol.hasInstance.symbol
52 | public static let isConcatSpreadable: JSSymbol! = Symbol.isConcatSpreadable.symbol
| |- warning: static property 'isConcatSpreadable' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isConcatSpreadable' 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
53 | public static let iterator: JSSymbol! = Symbol.iterator.symbol
54 | public static let match: JSSymbol! = Symbol.match.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:53:23: warning: static property 'iterator' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
51 | public static let hasInstance: JSSymbol! = Symbol.hasInstance.symbol
52 | public static let isConcatSpreadable: JSSymbol! = Symbol.isConcatSpreadable.symbol
53 | public static let iterator: JSSymbol! = Symbol.iterator.symbol
| |- warning: static property 'iterator' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iterator' 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
54 | public static let match: JSSymbol! = Symbol.match.symbol
55 | public static let matchAll: JSSymbol! = Symbol.matchAll.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:54:23: warning: static property 'match' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
52 | public static let isConcatSpreadable: JSSymbol! = Symbol.isConcatSpreadable.symbol
53 | public static let iterator: JSSymbol! = Symbol.iterator.symbol
54 | public static let match: JSSymbol! = Symbol.match.symbol
| |- warning: static property 'match' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'match' 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
55 | public static let matchAll: JSSymbol! = Symbol.matchAll.symbol
56 | public static let replace: JSSymbol! = Symbol.replace.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:55:23: warning: static property 'matchAll' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
53 | public static let iterator: JSSymbol! = Symbol.iterator.symbol
54 | public static let match: JSSymbol! = Symbol.match.symbol
55 | public static let matchAll: JSSymbol! = Symbol.matchAll.symbol
| |- warning: static property 'matchAll' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchAll' 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
56 | public static let replace: JSSymbol! = Symbol.replace.symbol
57 | public static let search: JSSymbol! = Symbol.search.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:56:23: warning: static property 'replace' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
54 | public static let match: JSSymbol! = Symbol.match.symbol
55 | public static let matchAll: JSSymbol! = Symbol.matchAll.symbol
56 | public static let replace: JSSymbol! = Symbol.replace.symbol
| |- warning: static property 'replace' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'replace' 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
57 | public static let search: JSSymbol! = Symbol.search.symbol
58 | public static let species: JSSymbol! = Symbol.species.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:57:23: warning: static property 'search' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
55 | public static let matchAll: JSSymbol! = Symbol.matchAll.symbol
56 | public static let replace: JSSymbol! = Symbol.replace.symbol
57 | public static let search: JSSymbol! = Symbol.search.symbol
| |- warning: static property 'search' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'search' 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
58 | public static let species: JSSymbol! = Symbol.species.symbol
59 | public static let split: JSSymbol! = Symbol.split.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:58:23: warning: static property 'species' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
56 | public static let replace: JSSymbol! = Symbol.replace.symbol
57 | public static let search: JSSymbol! = Symbol.search.symbol
58 | public static let species: JSSymbol! = Symbol.species.symbol
| |- warning: static property 'species' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'species' 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
59 | public static let split: JSSymbol! = Symbol.split.symbol
60 | public static let toPrimitive: JSSymbol! = Symbol.toPrimitive.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:59:23: warning: static property 'split' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
57 | public static let search: JSSymbol! = Symbol.search.symbol
58 | public static let species: JSSymbol! = Symbol.species.symbol
59 | public static let split: JSSymbol! = Symbol.split.symbol
| |- warning: static property 'split' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'split' 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
60 | public static let toPrimitive: JSSymbol! = Symbol.toPrimitive.symbol
61 | public static let toStringTag: JSSymbol! = Symbol.toStringTag.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:60:23: warning: static property 'toPrimitive' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
58 | public static let species: JSSymbol! = Symbol.species.symbol
59 | public static let split: JSSymbol! = Symbol.split.symbol
60 | public static let toPrimitive: JSSymbol! = Symbol.toPrimitive.symbol
| |- warning: static property 'toPrimitive' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'toPrimitive' 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
61 | public static let toStringTag: JSSymbol! = Symbol.toStringTag.symbol
62 | public static let unscopables: JSSymbol! = Symbol.unscopables.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:61:23: warning: static property 'toStringTag' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
59 | public static let split: JSSymbol! = Symbol.split.symbol
60 | public static let toPrimitive: JSSymbol! = Symbol.toPrimitive.symbol
61 | public static let toStringTag: JSSymbol! = Symbol.toStringTag.symbol
| |- warning: static property 'toStringTag' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'toStringTag' 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
62 | public static let unscopables: JSSymbol! = Symbol.unscopables.symbol
63 | }
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:62:23: warning: static property 'unscopables' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
60 | public static let toPrimitive: JSSymbol! = Symbol.toPrimitive.symbol
61 | public static let toStringTag: JSSymbol! = Symbol.toStringTag.symbol
62 | public static let unscopables: JSSymbol! = Symbol.unscopables.symbol
| |- warning: static property 'unscopables' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unscopables' 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
63 | }
64 |
/host/spi-builder-workspace/Sources/JavaScriptKit/JSValue.swift:7:10: warning: associated value 'string' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSString'; this is an error in the Swift 6 language mode
5 | public enum JSValue: Equatable {
6 | case boolean(Bool)
7 | case string(JSString)
| `- warning: associated value 'string' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSString'; this is an error in the Swift 6 language mode
8 | case number(Double)
9 | case object(JSObject)
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSString.swift:17:15: note: consider making struct 'JSString' conform to the 'Sendable' protocol
15 | /// ```
16 | ///
17 | public struct JSString: LosslessStringConvertible, Equatable {
| `- note: consider making struct 'JSString' conform to the 'Sendable' protocol
18 | /// The internal representation of JS compatible string
19 | /// The initializers of this type must initialize `jsRef` or `buffer`.
/host/spi-builder-workspace/Sources/JavaScriptKit/JSValue.swift:9:10: warning: associated value 'object' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSObject'; this is an error in the Swift 6 language mode
7 | case string(JSString)
8 | case number(Double)
9 | case object(JSObject)
| `- warning: associated value 'object' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSObject'; this is an error in the Swift 6 language mode
10 | case null
11 | case undefined
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSObject.swift:18:14: note: class 'JSObject' does not conform to the 'Sendable' protocol
16 | /// reference counting system.
17 | @dynamicMemberLookup
18 | public class JSObject: Equatable {
| `- note: class 'JSObject' does not conform to the 'Sendable' protocol
19 | @_spi(JSObject_id)
20 | public var id: JavaScriptObjectRef
/host/spi-builder-workspace/Sources/JavaScriptKit/JSValue.swift:12:10: warning: associated value 'function' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSFunction'; this is an error in the Swift 6 language mode
10 | case null
11 | case undefined
12 | case function(JSFunction)
| `- warning: associated value 'function' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSFunction'; this is an error in the Swift 6 language mode
13 | case symbol(JSSymbol)
14 | case bigInt(JSBigInt)
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/JSValue.swift:13:10: warning: associated value 'symbol' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSSymbol'; this is an error in the Swift 6 language mode
11 | case undefined
12 | case function(JSFunction)
13 | case symbol(JSSymbol)
| `- warning: associated value 'symbol' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSSymbol'; this is an error in the Swift 6 language mode
14 | case bigInt(JSBigInt)
15 |
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:8:14: note: class 'JSSymbol' does not conform to the 'Sendable' protocol
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
/host/spi-builder-workspace/Sources/JavaScriptKit/JSValue.swift:14:10: warning: associated value 'bigInt' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSBigInt'; this is an error in the Swift 6 language mode
12 | case function(JSFunction)
13 | case symbol(JSSymbol)
14 | case bigInt(JSBigInt)
| `- warning: associated value 'bigInt' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSBigInt'; this is an error in the Swift 6 language mode
15 |
16 | /// Returns the `Bool` value of this JS value if its type is boolean.
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSBigInt.swift:8:20: note: class 'JSBigInt' does not conform to the 'Sendable' protocol
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public final class JSBigInt: JSObject {
| `- note: class 'JSBigInt' does not conform to the 'Sendable' protocol
9 | @_spi(JSObject_id)
10 | override public init(id: JavaScriptObjectRef) {
/host/spi-builder-workspace/Sources/JavaScriptKit/JSValueDecoder.swift:38:16: warning: static property 'ref' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | private enum Object {
38 | static let ref = JSObject.global.Object.function!
| |- warning: static property 'ref' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ref' 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
39 | static func keys(_ object: JSObject) -> [String] {
40 | let keys = ref.keys!(object).array!
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
[12/32] Compiling JavaScriptKit JSSymbol.swift
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:3:13: warning: let 'Symbol' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import _CJavaScriptKit
2 |
3 | private let Symbol = JSObject.global.Symbol.function!
| |- warning: let 'Symbol' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Symbol' 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
4 |
5 | /// A wrapper around [the JavaScript `Symbol`
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:50:23: warning: static property 'asyncIterator' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
48 |
49 | extension JSSymbol {
50 | public static let asyncIterator: JSSymbol! = Symbol.asyncIterator.symbol
| |- warning: static property 'asyncIterator' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'asyncIterator' 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
51 | public static let hasInstance: JSSymbol! = Symbol.hasInstance.symbol
52 | public static let isConcatSpreadable: JSSymbol! = Symbol.isConcatSpreadable.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:51:23: warning: static property 'hasInstance' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
49 | extension JSSymbol {
50 | public static let asyncIterator: JSSymbol! = Symbol.asyncIterator.symbol
51 | public static let hasInstance: JSSymbol! = Symbol.hasInstance.symbol
| |- warning: static property 'hasInstance' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hasInstance' 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
52 | public static let isConcatSpreadable: JSSymbol! = Symbol.isConcatSpreadable.symbol
53 | public static let iterator: JSSymbol! = Symbol.iterator.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:52:23: warning: static property 'isConcatSpreadable' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
50 | public static let asyncIterator: JSSymbol! = Symbol.asyncIterator.symbol
51 | public static let hasInstance: JSSymbol! = Symbol.hasInstance.symbol
52 | public static let isConcatSpreadable: JSSymbol! = Symbol.isConcatSpreadable.symbol
| |- warning: static property 'isConcatSpreadable' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isConcatSpreadable' 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
53 | public static let iterator: JSSymbol! = Symbol.iterator.symbol
54 | public static let match: JSSymbol! = Symbol.match.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:53:23: warning: static property 'iterator' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
51 | public static let hasInstance: JSSymbol! = Symbol.hasInstance.symbol
52 | public static let isConcatSpreadable: JSSymbol! = Symbol.isConcatSpreadable.symbol
53 | public static let iterator: JSSymbol! = Symbol.iterator.symbol
| |- warning: static property 'iterator' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iterator' 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
54 | public static let match: JSSymbol! = Symbol.match.symbol
55 | public static let matchAll: JSSymbol! = Symbol.matchAll.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:54:23: warning: static property 'match' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
52 | public static let isConcatSpreadable: JSSymbol! = Symbol.isConcatSpreadable.symbol
53 | public static let iterator: JSSymbol! = Symbol.iterator.symbol
54 | public static let match: JSSymbol! = Symbol.match.symbol
| |- warning: static property 'match' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'match' 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
55 | public static let matchAll: JSSymbol! = Symbol.matchAll.symbol
56 | public static let replace: JSSymbol! = Symbol.replace.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:55:23: warning: static property 'matchAll' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
53 | public static let iterator: JSSymbol! = Symbol.iterator.symbol
54 | public static let match: JSSymbol! = Symbol.match.symbol
55 | public static let matchAll: JSSymbol! = Symbol.matchAll.symbol
| |- warning: static property 'matchAll' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchAll' 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
56 | public static let replace: JSSymbol! = Symbol.replace.symbol
57 | public static let search: JSSymbol! = Symbol.search.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:56:23: warning: static property 'replace' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
54 | public static let match: JSSymbol! = Symbol.match.symbol
55 | public static let matchAll: JSSymbol! = Symbol.matchAll.symbol
56 | public static let replace: JSSymbol! = Symbol.replace.symbol
| |- warning: static property 'replace' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'replace' 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
57 | public static let search: JSSymbol! = Symbol.search.symbol
58 | public static let species: JSSymbol! = Symbol.species.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:57:23: warning: static property 'search' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
55 | public static let matchAll: JSSymbol! = Symbol.matchAll.symbol
56 | public static let replace: JSSymbol! = Symbol.replace.symbol
57 | public static let search: JSSymbol! = Symbol.search.symbol
| |- warning: static property 'search' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'search' 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
58 | public static let species: JSSymbol! = Symbol.species.symbol
59 | public static let split: JSSymbol! = Symbol.split.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:58:23: warning: static property 'species' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
56 | public static let replace: JSSymbol! = Symbol.replace.symbol
57 | public static let search: JSSymbol! = Symbol.search.symbol
58 | public static let species: JSSymbol! = Symbol.species.symbol
| |- warning: static property 'species' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'species' 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
59 | public static let split: JSSymbol! = Symbol.split.symbol
60 | public static let toPrimitive: JSSymbol! = Symbol.toPrimitive.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:59:23: warning: static property 'split' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
57 | public static let search: JSSymbol! = Symbol.search.symbol
58 | public static let species: JSSymbol! = Symbol.species.symbol
59 | public static let split: JSSymbol! = Symbol.split.symbol
| |- warning: static property 'split' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'split' 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
60 | public static let toPrimitive: JSSymbol! = Symbol.toPrimitive.symbol
61 | public static let toStringTag: JSSymbol! = Symbol.toStringTag.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:60:23: warning: static property 'toPrimitive' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
58 | public static let species: JSSymbol! = Symbol.species.symbol
59 | public static let split: JSSymbol! = Symbol.split.symbol
60 | public static let toPrimitive: JSSymbol! = Symbol.toPrimitive.symbol
| |- warning: static property 'toPrimitive' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'toPrimitive' 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
61 | public static let toStringTag: JSSymbol! = Symbol.toStringTag.symbol
62 | public static let unscopables: JSSymbol! = Symbol.unscopables.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:61:23: warning: static property 'toStringTag' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
59 | public static let split: JSSymbol! = Symbol.split.symbol
60 | public static let toPrimitive: JSSymbol! = Symbol.toPrimitive.symbol
61 | public static let toStringTag: JSSymbol! = Symbol.toStringTag.symbol
| |- warning: static property 'toStringTag' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'toStringTag' 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
62 | public static let unscopables: JSSymbol! = Symbol.unscopables.symbol
63 | }
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:62:23: warning: static property 'unscopables' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
60 | public static let toPrimitive: JSSymbol! = Symbol.toPrimitive.symbol
61 | public static let toStringTag: JSSymbol! = Symbol.toStringTag.symbol
62 | public static let unscopables: JSSymbol! = Symbol.unscopables.symbol
| |- warning: static property 'unscopables' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unscopables' 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
63 | }
64 |
[13/32] Compiling JavaScriptKit JSThrowingFunction.swift
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:3:13: warning: let 'Symbol' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import _CJavaScriptKit
2 |
3 | private let Symbol = JSObject.global.Symbol.function!
| |- warning: let 'Symbol' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Symbol' 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
4 |
5 | /// A wrapper around [the JavaScript `Symbol`
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:50:23: warning: static property 'asyncIterator' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
48 |
49 | extension JSSymbol {
50 | public static let asyncIterator: JSSymbol! = Symbol.asyncIterator.symbol
| |- warning: static property 'asyncIterator' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'asyncIterator' 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
51 | public static let hasInstance: JSSymbol! = Symbol.hasInstance.symbol
52 | public static let isConcatSpreadable: JSSymbol! = Symbol.isConcatSpreadable.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:51:23: warning: static property 'hasInstance' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
49 | extension JSSymbol {
50 | public static let asyncIterator: JSSymbol! = Symbol.asyncIterator.symbol
51 | public static let hasInstance: JSSymbol! = Symbol.hasInstance.symbol
| |- warning: static property 'hasInstance' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hasInstance' 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
52 | public static let isConcatSpreadable: JSSymbol! = Symbol.isConcatSpreadable.symbol
53 | public static let iterator: JSSymbol! = Symbol.iterator.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:52:23: warning: static property 'isConcatSpreadable' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
50 | public static let asyncIterator: JSSymbol! = Symbol.asyncIterator.symbol
51 | public static let hasInstance: JSSymbol! = Symbol.hasInstance.symbol
52 | public static let isConcatSpreadable: JSSymbol! = Symbol.isConcatSpreadable.symbol
| |- warning: static property 'isConcatSpreadable' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isConcatSpreadable' 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
53 | public static let iterator: JSSymbol! = Symbol.iterator.symbol
54 | public static let match: JSSymbol! = Symbol.match.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:53:23: warning: static property 'iterator' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
51 | public static let hasInstance: JSSymbol! = Symbol.hasInstance.symbol
52 | public static let isConcatSpreadable: JSSymbol! = Symbol.isConcatSpreadable.symbol
53 | public static let iterator: JSSymbol! = Symbol.iterator.symbol
| |- warning: static property 'iterator' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iterator' 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
54 | public static let match: JSSymbol! = Symbol.match.symbol
55 | public static let matchAll: JSSymbol! = Symbol.matchAll.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:54:23: warning: static property 'match' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
52 | public static let isConcatSpreadable: JSSymbol! = Symbol.isConcatSpreadable.symbol
53 | public static let iterator: JSSymbol! = Symbol.iterator.symbol
54 | public static let match: JSSymbol! = Symbol.match.symbol
| |- warning: static property 'match' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'match' 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
55 | public static let matchAll: JSSymbol! = Symbol.matchAll.symbol
56 | public static let replace: JSSymbol! = Symbol.replace.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:55:23: warning: static property 'matchAll' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
53 | public static let iterator: JSSymbol! = Symbol.iterator.symbol
54 | public static let match: JSSymbol! = Symbol.match.symbol
55 | public static let matchAll: JSSymbol! = Symbol.matchAll.symbol
| |- warning: static property 'matchAll' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchAll' 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
56 | public static let replace: JSSymbol! = Symbol.replace.symbol
57 | public static let search: JSSymbol! = Symbol.search.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:56:23: warning: static property 'replace' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
54 | public static let match: JSSymbol! = Symbol.match.symbol
55 | public static let matchAll: JSSymbol! = Symbol.matchAll.symbol
56 | public static let replace: JSSymbol! = Symbol.replace.symbol
| |- warning: static property 'replace' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'replace' 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
57 | public static let search: JSSymbol! = Symbol.search.symbol
58 | public static let species: JSSymbol! = Symbol.species.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:57:23: warning: static property 'search' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
55 | public static let matchAll: JSSymbol! = Symbol.matchAll.symbol
56 | public static let replace: JSSymbol! = Symbol.replace.symbol
57 | public static let search: JSSymbol! = Symbol.search.symbol
| |- warning: static property 'search' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'search' 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
58 | public static let species: JSSymbol! = Symbol.species.symbol
59 | public static let split: JSSymbol! = Symbol.split.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:58:23: warning: static property 'species' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
56 | public static let replace: JSSymbol! = Symbol.replace.symbol
57 | public static let search: JSSymbol! = Symbol.search.symbol
58 | public static let species: JSSymbol! = Symbol.species.symbol
| |- warning: static property 'species' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'species' 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
59 | public static let split: JSSymbol! = Symbol.split.symbol
60 | public static let toPrimitive: JSSymbol! = Symbol.toPrimitive.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:59:23: warning: static property 'split' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
57 | public static let search: JSSymbol! = Symbol.search.symbol
58 | public static let species: JSSymbol! = Symbol.species.symbol
59 | public static let split: JSSymbol! = Symbol.split.symbol
| |- warning: static property 'split' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'split' 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
60 | public static let toPrimitive: JSSymbol! = Symbol.toPrimitive.symbol
61 | public static let toStringTag: JSSymbol! = Symbol.toStringTag.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:60:23: warning: static property 'toPrimitive' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
58 | public static let species: JSSymbol! = Symbol.species.symbol
59 | public static let split: JSSymbol! = Symbol.split.symbol
60 | public static let toPrimitive: JSSymbol! = Symbol.toPrimitive.symbol
| |- warning: static property 'toPrimitive' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'toPrimitive' 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
61 | public static let toStringTag: JSSymbol! = Symbol.toStringTag.symbol
62 | public static let unscopables: JSSymbol! = Symbol.unscopables.symbol
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:61:23: warning: static property 'toStringTag' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
59 | public static let split: JSSymbol! = Symbol.split.symbol
60 | public static let toPrimitive: JSSymbol! = Symbol.toPrimitive.symbol
61 | public static let toStringTag: JSSymbol! = Symbol.toStringTag.symbol
| |- warning: static property 'toStringTag' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'toStringTag' 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
62 | public static let unscopables: JSSymbol! = Symbol.unscopables.symbol
63 | }
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:62:23: warning: static property 'unscopables' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
:
60 | public static let toPrimitive: JSSymbol! = Symbol.toPrimitive.symbol
61 | public static let toStringTag: JSSymbol! = Symbol.toStringTag.symbol
62 | public static let unscopables: JSSymbol! = Symbol.unscopables.symbol
| |- warning: static property 'unscopables' is not concurrency-safe because non-'Sendable' type 'JSSymbol?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unscopables' 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
63 | }
64 |
[14/32] Compiling JavaScriptKit ConstructibleFromJSValue.swift
/host/spi-builder-workspace/Sources/JavaScriptKit/ConvertibleToJSValue.swift:88:13: warning: let 'objectConstructor' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
86 | }
87 |
88 | private let objectConstructor = JSObject.global.Object.function!
| |- warning: let 'objectConstructor' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'objectConstructor' 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
89 | private let arrayConstructor = JSObject.global.Array.function!
90 |
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/ConvertibleToJSValue.swift:89:13: warning: let 'arrayConstructor' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | private let objectConstructor = JSObject.global.Object.function!
89 | private let arrayConstructor = JSObject.global.Array.function!
| |- warning: let 'arrayConstructor' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'arrayConstructor' 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
90 |
91 | #if !hasFeature(Embedded)
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
[15/32] Compiling JavaScriptKit ConvertibleToJSValue.swift
/host/spi-builder-workspace/Sources/JavaScriptKit/ConvertibleToJSValue.swift:88:13: warning: let 'objectConstructor' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
86 | }
87 |
88 | private let objectConstructor = JSObject.global.Object.function!
| |- warning: let 'objectConstructor' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'objectConstructor' 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
89 | private let arrayConstructor = JSObject.global.Array.function!
90 |
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/ConvertibleToJSValue.swift:89:13: warning: let 'arrayConstructor' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | private let objectConstructor = JSObject.global.Object.function!
89 | private let arrayConstructor = JSObject.global.Array.function!
| |- warning: let 'arrayConstructor' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'arrayConstructor' 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
90 |
91 | #if !hasFeature(Embedded)
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
[16/32] Compiling JavaScriptKit Deprecated.swift
/host/spi-builder-workspace/Sources/JavaScriptKit/ConvertibleToJSValue.swift:88:13: warning: let 'objectConstructor' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
86 | }
87 |
88 | private let objectConstructor = JSObject.global.Object.function!
| |- warning: let 'objectConstructor' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'objectConstructor' 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
89 | private let arrayConstructor = JSObject.global.Array.function!
90 |
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/ConvertibleToJSValue.swift:89:13: warning: let 'arrayConstructor' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | private let objectConstructor = JSObject.global.Object.function!
89 | private let arrayConstructor = JSObject.global.Array.function!
| |- warning: let 'arrayConstructor' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'arrayConstructor' 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
90 |
91 | #if !hasFeature(Embedded)
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
[17/32] Compiling JavaScriptKit JSArray.swift
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSArray.swift:5:23: warning: static property 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction?' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// that exposes its properties in a type-safe and Swifty way.
4 | public class JSArray: JSBridgedClass {
5 | public static let constructor = JSObject.global.Array.function
| |- warning: static property 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'constructor' 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
6 |
7 | static func isArray(_ object: JSObject) -> Bool {
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSArray.swift:94:13: warning: let 'alwaysTrue' is not concurrency-safe because non-'Sendable' type 'JSClosure' may have shared mutable state; this is an error in the Swift 6 language mode
92 | }
93 |
94 | private let alwaysTrue = JSClosure { _ in .boolean(true) }
| |- warning: let 'alwaysTrue' is not concurrency-safe because non-'Sendable' type 'JSClosure' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alwaysTrue' 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
95 | private func getObjectValuesLength(_ object: JSObject) -> Int {
96 | let values = object.filter!(alwaysTrue).object!
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSClosure.swift:64:14: note: class 'JSClosure' does not conform to the 'Sendable' protocol
62 | /// ```
63 | ///
64 | public class JSClosure: JSFunction, JSClosureProtocol {
| `- note: class 'JSClosure' does not conform to the 'Sendable' protocol
65 |
66 | class SharedJSClosure {
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSDate.swift:11:23: warning: static property 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction?' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public final class JSDate: JSBridgedClass {
10 | /// The constructor function used to create new `Date` objects.
11 | public static let constructor = JSObject.global.Date.function
| |- warning: static property 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'constructor' 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
12 |
13 | /// The underlying JavaScript `Date` object.
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSError.swift:7:23: warning: static property 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction?' may have shared mutable state; this is an error in the Swift 6 language mode
5 | public final class JSError: Error, JSBridgedClass {
6 | /// The constructor function used to create new JavaScript `Error` objects.
7 | public static let constructor = JSObject.global.Error.function
| |- warning: static property 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'constructor' 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
8 |
9 | /// The underlying JavaScript `Error` object.
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSError.swift:10:16: warning: stored property 'jsObject' of 'Sendable'-conforming class 'JSError' has non-sendable type 'JSObject'; this is an error in the Swift 6 language mode
8 |
9 | /// The underlying JavaScript `Error` object.
10 | public let jsObject: JSObject
| `- warning: stored property 'jsObject' of 'Sendable'-conforming class 'JSError' has non-sendable type 'JSObject'; this is an error in the Swift 6 language mode
11 |
12 | /// Creates a new instance of the JavaScript `Error` class with a given message.
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSObject.swift:18:14: note: class 'JSObject' does not conform to the 'Sendable' protocol
16 | /// reference counting system.
17 | @dynamicMemberLookup
18 | public class JSObject: Equatable {
| `- note: class 'JSObject' does not conform to the 'Sendable' protocol
19 | @_spi(JSObject_id)
20 | public var id: JavaScriptObjectRef
[18/32] Compiling JavaScriptKit JSDate.swift
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSArray.swift:5:23: warning: static property 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction?' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// that exposes its properties in a type-safe and Swifty way.
4 | public class JSArray: JSBridgedClass {
5 | public static let constructor = JSObject.global.Array.function
| |- warning: static property 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'constructor' 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
6 |
7 | static func isArray(_ object: JSObject) -> Bool {
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSArray.swift:94:13: warning: let 'alwaysTrue' is not concurrency-safe because non-'Sendable' type 'JSClosure' may have shared mutable state; this is an error in the Swift 6 language mode
92 | }
93 |
94 | private let alwaysTrue = JSClosure { _ in .boolean(true) }
| |- warning: let 'alwaysTrue' is not concurrency-safe because non-'Sendable' type 'JSClosure' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alwaysTrue' 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
95 | private func getObjectValuesLength(_ object: JSObject) -> Int {
96 | let values = object.filter!(alwaysTrue).object!
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSClosure.swift:64:14: note: class 'JSClosure' does not conform to the 'Sendable' protocol
62 | /// ```
63 | ///
64 | public class JSClosure: JSFunction, JSClosureProtocol {
| `- note: class 'JSClosure' does not conform to the 'Sendable' protocol
65 |
66 | class SharedJSClosure {
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSDate.swift:11:23: warning: static property 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction?' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public final class JSDate: JSBridgedClass {
10 | /// The constructor function used to create new `Date` objects.
11 | public static let constructor = JSObject.global.Date.function
| |- warning: static property 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'constructor' 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
12 |
13 | /// The underlying JavaScript `Date` object.
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSError.swift:7:23: warning: static property 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction?' may have shared mutable state; this is an error in the Swift 6 language mode
5 | public final class JSError: Error, JSBridgedClass {
6 | /// The constructor function used to create new JavaScript `Error` objects.
7 | public static let constructor = JSObject.global.Error.function
| |- warning: static property 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'constructor' 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
8 |
9 | /// The underlying JavaScript `Error` object.
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSError.swift:10:16: warning: stored property 'jsObject' of 'Sendable'-conforming class 'JSError' has non-sendable type 'JSObject'; this is an error in the Swift 6 language mode
8 |
9 | /// The underlying JavaScript `Error` object.
10 | public let jsObject: JSObject
| `- warning: stored property 'jsObject' of 'Sendable'-conforming class 'JSError' has non-sendable type 'JSObject'; this is an error in the Swift 6 language mode
11 |
12 | /// Creates a new instance of the JavaScript `Error` class with a given message.
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSObject.swift:18:14: note: class 'JSObject' does not conform to the 'Sendable' protocol
16 | /// reference counting system.
17 | @dynamicMemberLookup
18 | public class JSObject: Equatable {
| `- note: class 'JSObject' does not conform to the 'Sendable' protocol
19 | @_spi(JSObject_id)
20 | public var id: JavaScriptObjectRef
[19/32] Compiling JavaScriptKit JSError.swift
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSArray.swift:5:23: warning: static property 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction?' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// that exposes its properties in a type-safe and Swifty way.
4 | public class JSArray: JSBridgedClass {
5 | public static let constructor = JSObject.global.Array.function
| |- warning: static property 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'constructor' 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
6 |
7 | static func isArray(_ object: JSObject) -> Bool {
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSArray.swift:94:13: warning: let 'alwaysTrue' is not concurrency-safe because non-'Sendable' type 'JSClosure' may have shared mutable state; this is an error in the Swift 6 language mode
92 | }
93 |
94 | private let alwaysTrue = JSClosure { _ in .boolean(true) }
| |- warning: let 'alwaysTrue' is not concurrency-safe because non-'Sendable' type 'JSClosure' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alwaysTrue' 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
95 | private func getObjectValuesLength(_ object: JSObject) -> Int {
96 | let values = object.filter!(alwaysTrue).object!
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSClosure.swift:64:14: note: class 'JSClosure' does not conform to the 'Sendable' protocol
62 | /// ```
63 | ///
64 | public class JSClosure: JSFunction, JSClosureProtocol {
| `- note: class 'JSClosure' does not conform to the 'Sendable' protocol
65 |
66 | class SharedJSClosure {
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSDate.swift:11:23: warning: static property 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction?' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public final class JSDate: JSBridgedClass {
10 | /// The constructor function used to create new `Date` objects.
11 | public static let constructor = JSObject.global.Date.function
| |- warning: static property 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'constructor' 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
12 |
13 | /// The underlying JavaScript `Date` object.
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSError.swift:7:23: warning: static property 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction?' may have shared mutable state; this is an error in the Swift 6 language mode
5 | public final class JSError: Error, JSBridgedClass {
6 | /// The constructor function used to create new JavaScript `Error` objects.
7 | public static let constructor = JSObject.global.Error.function
| |- warning: static property 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'constructor' 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
8 |
9 | /// The underlying JavaScript `Error` object.
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSError.swift:10:16: warning: stored property 'jsObject' of 'Sendable'-conforming class 'JSError' has non-sendable type 'JSObject'; this is an error in the Swift 6 language mode
8 |
9 | /// The underlying JavaScript `Error` object.
10 | public let jsObject: JSObject
| `- warning: stored property 'jsObject' of 'Sendable'-conforming class 'JSError' has non-sendable type 'JSObject'; this is an error in the Swift 6 language mode
11 |
12 | /// Creates a new instance of the JavaScript `Error` class with a given message.
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSObject.swift:18:14: note: class 'JSObject' does not conform to the 'Sendable' protocol
16 | /// reference counting system.
17 | @dynamicMemberLookup
18 | public class JSObject: Equatable {
| `- note: class 'JSObject' does not conform to the 'Sendable' protocol
19 | @_spi(JSObject_id)
20 | public var id: JavaScriptObjectRef
[20/32] Compiling JavaScriptKit JSFunction.swift
[21/32] Compiling JavaScriptKit JSObject.swift
[22/32] Compiling JavaScriptKit JSString.swift
[23/32] Compiling JavaScriptKit JSBridgedType.swift
/host/spi-builder-workspace/Sources/JavaScriptKit/JSValue.swift:7:10: warning: associated value 'string' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSString'; this is an error in the Swift 6 language mode
5 | public enum JSValue: Equatable {
6 | case boolean(Bool)
7 | case string(JSString)
| `- warning: associated value 'string' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSString'; this is an error in the Swift 6 language mode
8 | case number(Double)
9 | case object(JSObject)
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSString.swift:17:15: note: consider making struct 'JSString' conform to the 'Sendable' protocol
15 | /// ```
16 | ///
17 | public struct JSString: LosslessStringConvertible, Equatable {
| `- note: consider making struct 'JSString' conform to the 'Sendable' protocol
18 | /// The internal representation of JS compatible string
19 | /// The initializers of this type must initialize `jsRef` or `buffer`.
/host/spi-builder-workspace/Sources/JavaScriptKit/JSValue.swift:9:10: warning: associated value 'object' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSObject'; this is an error in the Swift 6 language mode
7 | case string(JSString)
8 | case number(Double)
9 | case object(JSObject)
| `- warning: associated value 'object' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSObject'; this is an error in the Swift 6 language mode
10 | case null
11 | case undefined
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSObject.swift:18:14: note: class 'JSObject' does not conform to the 'Sendable' protocol
16 | /// reference counting system.
17 | @dynamicMemberLookup
18 | public class JSObject: Equatable {
| `- note: class 'JSObject' does not conform to the 'Sendable' protocol
19 | @_spi(JSObject_id)
20 | public var id: JavaScriptObjectRef
/host/spi-builder-workspace/Sources/JavaScriptKit/JSValue.swift:12:10: warning: associated value 'function' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSFunction'; this is an error in the Swift 6 language mode
10 | case null
11 | case undefined
12 | case function(JSFunction)
| `- warning: associated value 'function' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSFunction'; this is an error in the Swift 6 language mode
13 | case symbol(JSSymbol)
14 | case bigInt(JSBigInt)
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/JSValue.swift:13:10: warning: associated value 'symbol' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSSymbol'; this is an error in the Swift 6 language mode
11 | case undefined
12 | case function(JSFunction)
13 | case symbol(JSSymbol)
| `- warning: associated value 'symbol' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSSymbol'; this is an error in the Swift 6 language mode
14 | case bigInt(JSBigInt)
15 |
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:8:14: note: class 'JSSymbol' does not conform to the 'Sendable' protocol
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
/host/spi-builder-workspace/Sources/JavaScriptKit/JSValue.swift:14:10: warning: associated value 'bigInt' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSBigInt'; this is an error in the Swift 6 language mode
12 | case function(JSFunction)
13 | case symbol(JSSymbol)
14 | case bigInt(JSBigInt)
| `- warning: associated value 'bigInt' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSBigInt'; this is an error in the Swift 6 language mode
15 |
16 | /// Returns the `Bool` value of this JS value if its type is boolean.
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSBigInt.swift:8:20: note: class 'JSBigInt' does not conform to the 'Sendable' protocol
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public final class JSBigInt: JSObject {
| `- note: class 'JSBigInt' does not conform to the 'Sendable' protocol
9 | @_spi(JSObject_id)
10 | override public init(id: JavaScriptObjectRef) {
[24/32] Compiling JavaScriptKit JSValue.swift
/host/spi-builder-workspace/Sources/JavaScriptKit/JSValue.swift:7:10: warning: associated value 'string' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSString'; this is an error in the Swift 6 language mode
5 | public enum JSValue: Equatable {
6 | case boolean(Bool)
7 | case string(JSString)
| `- warning: associated value 'string' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSString'; this is an error in the Swift 6 language mode
8 | case number(Double)
9 | case object(JSObject)
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSString.swift:17:15: note: consider making struct 'JSString' conform to the 'Sendable' protocol
15 | /// ```
16 | ///
17 | public struct JSString: LosslessStringConvertible, Equatable {
| `- note: consider making struct 'JSString' conform to the 'Sendable' protocol
18 | /// The internal representation of JS compatible string
19 | /// The initializers of this type must initialize `jsRef` or `buffer`.
/host/spi-builder-workspace/Sources/JavaScriptKit/JSValue.swift:9:10: warning: associated value 'object' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSObject'; this is an error in the Swift 6 language mode
7 | case string(JSString)
8 | case number(Double)
9 | case object(JSObject)
| `- warning: associated value 'object' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSObject'; this is an error in the Swift 6 language mode
10 | case null
11 | case undefined
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSObject.swift:18:14: note: class 'JSObject' does not conform to the 'Sendable' protocol
16 | /// reference counting system.
17 | @dynamicMemberLookup
18 | public class JSObject: Equatable {
| `- note: class 'JSObject' does not conform to the 'Sendable' protocol
19 | @_spi(JSObject_id)
20 | public var id: JavaScriptObjectRef
/host/spi-builder-workspace/Sources/JavaScriptKit/JSValue.swift:12:10: warning: associated value 'function' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSFunction'; this is an error in the Swift 6 language mode
10 | case null
11 | case undefined
12 | case function(JSFunction)
| `- warning: associated value 'function' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSFunction'; this is an error in the Swift 6 language mode
13 | case symbol(JSSymbol)
14 | case bigInt(JSBigInt)
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/JSValue.swift:13:10: warning: associated value 'symbol' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSSymbol'; this is an error in the Swift 6 language mode
11 | case undefined
12 | case function(JSFunction)
13 | case symbol(JSSymbol)
| `- warning: associated value 'symbol' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSSymbol'; this is an error in the Swift 6 language mode
14 | case bigInt(JSBigInt)
15 |
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSSymbol.swift:8:14: note: class 'JSSymbol' does not conform to the 'Sendable' protocol
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public class JSSymbol: JSObject {
| `- note: class 'JSSymbol' does not conform to the 'Sendable' protocol
9 | public var name: String? { self["description"].string }
10 |
/host/spi-builder-workspace/Sources/JavaScriptKit/JSValue.swift:14:10: warning: associated value 'bigInt' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSBigInt'; this is an error in the Swift 6 language mode
12 | case function(JSFunction)
13 | case symbol(JSSymbol)
14 | case bigInt(JSBigInt)
| `- warning: associated value 'bigInt' of 'Sendable'-conforming enum 'JSValue' has non-sendable type 'JSBigInt'; this is an error in the Swift 6 language mode
15 |
16 | /// Returns the `Bool` value of this JS value if its type is boolean.
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSBigInt.swift:8:20: note: class 'JSBigInt' does not conform to the 'Sendable' protocol
6 | /// class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)
7 | /// that exposes its properties in a type-safe and Swifty way.
8 | public final class JSBigInt: JSObject {
| `- note: class 'JSBigInt' does not conform to the 'Sendable' protocol
9 | @_spi(JSObject_id)
10 | override public init(id: JavaScriptObjectRef) {
[25/32] Compiling JavaScriptKit JSPromise.swift
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:143:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
141 |
142 | extension Int: TypedArrayElement {
143 | public static var typedArrayClass: JSFunction =
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
144 | valueForBitWidth(typeName: "Int", bitWidth: Int.bitWidth, when32: JSObject.global.Int32Array).function!
145 | }
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:148:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
146 |
147 | extension UInt: TypedArrayElement {
148 | public static var typedArrayClass: JSFunction =
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | valueForBitWidth(typeName: "UInt", bitWidth: Int.bitWidth, when32: JSObject.global.Uint32Array).function!
150 | }
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:153:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | extension Int8: TypedArrayElement {
153 | public static var typedArrayClass = JSObject.global.Int8Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
154 | }
155 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:157:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
155 |
156 | extension UInt8: TypedArrayElement {
157 | public static var typedArrayClass = JSObject.global.Uint8Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
158 | }
159 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:168:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
166 |
167 | extension Int16: TypedArrayElement {
168 | public static var typedArrayClass = JSObject.global.Int16Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
169 | }
170 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:172:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
170 |
171 | extension UInt16: TypedArrayElement {
172 | public static var typedArrayClass = JSObject.global.Uint16Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
173 | }
174 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:176:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 |
175 | extension Int32: TypedArrayElement {
176 | public static var typedArrayClass = JSObject.global.Int32Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
177 | }
178 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:180:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
178 |
179 | extension UInt32: TypedArrayElement {
180 | public static var typedArrayClass = JSObject.global.Uint32Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
181 | }
182 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:184:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
182 |
183 | extension Float32: TypedArrayElement {
184 | public static var typedArrayClass = JSObject.global.Float32Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
185 | }
186 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:188:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
186 |
187 | extension Float64: TypedArrayElement {
188 | public static var typedArrayClass = JSObject.global.Float64Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
189 | }
190 | #endif
[26/32] Compiling JavaScriptKit JSTimer.swift
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:143:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
141 |
142 | extension Int: TypedArrayElement {
143 | public static var typedArrayClass: JSFunction =
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
144 | valueForBitWidth(typeName: "Int", bitWidth: Int.bitWidth, when32: JSObject.global.Int32Array).function!
145 | }
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:148:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
146 |
147 | extension UInt: TypedArrayElement {
148 | public static var typedArrayClass: JSFunction =
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | valueForBitWidth(typeName: "UInt", bitWidth: Int.bitWidth, when32: JSObject.global.Uint32Array).function!
150 | }
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:153:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | extension Int8: TypedArrayElement {
153 | public static var typedArrayClass = JSObject.global.Int8Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
154 | }
155 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:157:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
155 |
156 | extension UInt8: TypedArrayElement {
157 | public static var typedArrayClass = JSObject.global.Uint8Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
158 | }
159 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:168:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
166 |
167 | extension Int16: TypedArrayElement {
168 | public static var typedArrayClass = JSObject.global.Int16Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
169 | }
170 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:172:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
170 |
171 | extension UInt16: TypedArrayElement {
172 | public static var typedArrayClass = JSObject.global.Uint16Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
173 | }
174 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:176:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 |
175 | extension Int32: TypedArrayElement {
176 | public static var typedArrayClass = JSObject.global.Int32Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
177 | }
178 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:180:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
178 |
179 | extension UInt32: TypedArrayElement {
180 | public static var typedArrayClass = JSObject.global.Uint32Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
181 | }
182 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:184:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
182 |
183 | extension Float32: TypedArrayElement {
184 | public static var typedArrayClass = JSObject.global.Float32Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
185 | }
186 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:188:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
186 |
187 | extension Float64: TypedArrayElement {
188 | public static var typedArrayClass = JSObject.global.Float64Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
189 | }
190 | #endif
[27/32] Compiling JavaScriptKit JSTypedArray.swift
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:143:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
141 |
142 | extension Int: TypedArrayElement {
143 | public static var typedArrayClass: JSFunction =
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
144 | valueForBitWidth(typeName: "Int", bitWidth: Int.bitWidth, when32: JSObject.global.Int32Array).function!
145 | }
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:148:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
146 |
147 | extension UInt: TypedArrayElement {
148 | public static var typedArrayClass: JSFunction =
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | valueForBitWidth(typeName: "UInt", bitWidth: Int.bitWidth, when32: JSObject.global.Uint32Array).function!
150 | }
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:153:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | extension Int8: TypedArrayElement {
153 | public static var typedArrayClass = JSObject.global.Int8Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
154 | }
155 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:157:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
155 |
156 | extension UInt8: TypedArrayElement {
157 | public static var typedArrayClass = JSObject.global.Uint8Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
158 | }
159 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:168:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
166 |
167 | extension Int16: TypedArrayElement {
168 | public static var typedArrayClass = JSObject.global.Int16Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
169 | }
170 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:172:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
170 |
171 | extension UInt16: TypedArrayElement {
172 | public static var typedArrayClass = JSObject.global.Uint16Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
173 | }
174 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:176:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 |
175 | extension Int32: TypedArrayElement {
176 | public static var typedArrayClass = JSObject.global.Int32Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
177 | }
178 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:180:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
178 |
179 | extension UInt32: TypedArrayElement {
180 | public static var typedArrayClass = JSObject.global.Uint32Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
181 | }
182 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:184:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
182 |
183 | extension Float32: TypedArrayElement {
184 | public static var typedArrayClass = JSObject.global.Float32Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
185 | }
186 |
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift:188:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
186 |
187 | extension Float64: TypedArrayElement {
188 | public static var typedArrayClass = JSObject.global.Float64Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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
189 | }
190 | #endif
[28/32] Compiling JavaScriptKit Features.swift
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSBigInt.swift:3:13: warning: let 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import _CJavaScriptKit
2 |
3 | private let constructor = JSObject.global.BigInt.function!
| |- warning: let 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'constructor' 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
4 |
5 | /// A wrapper around [the JavaScript `BigInt`
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSClosure.swift:78:16: warning: reference to var 'swjs_thread_local_closures' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
76 | // Note: Retain the closure object itself also to avoid funcRef conflicts
77 | fileprivate static var sharedClosures: SharedJSClosure {
78 | if let swjs_thread_local_closures {
| `- warning: reference to var 'swjs_thread_local_closures' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
79 | return Unmanaged<SharedJSClosure>.fromOpaque(swjs_thread_local_closures).takeUnretainedValue()
80 | } else {
_CJavaScriptKit.swjs_thread_local_closures:1:12: note: var declared here
1 | public var swjs_thread_local_closures: UnsafeMutableRawPointer?
| `- note: var declared here
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSClosure.swift:82:13: warning: reference to var 'swjs_thread_local_closures' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
80 | } else {
81 | let shared = SharedJSClosure()
82 | swjs_thread_local_closures = Unmanaged.passRetained(shared).toOpaque()
| `- warning: reference to var 'swjs_thread_local_closures' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
83 | return shared
84 | }
_CJavaScriptKit.swjs_thread_local_closures:1:12: note: var declared here
1 | public var swjs_thread_local_closures: UnsafeMutableRawPointer?
| `- note: var declared here
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSClosure.swift:137:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
135 | { arguments in
136 | JSPromise { resolver in
137 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
138 | do {
139 | let result = try await body(arguments)
| `- note: closure captures 'body' which is accessible to code in the current task
140 | resolver(.success(result))
141 | } catch {
[29/32] Compiling JavaScriptKit JSBigInt.swift
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSBigInt.swift:3:13: warning: let 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import _CJavaScriptKit
2 |
3 | private let constructor = JSObject.global.BigInt.function!
| |- warning: let 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'constructor' 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
4 |
5 | /// A wrapper around [the JavaScript `BigInt`
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSClosure.swift:78:16: warning: reference to var 'swjs_thread_local_closures' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
76 | // Note: Retain the closure object itself also to avoid funcRef conflicts
77 | fileprivate static var sharedClosures: SharedJSClosure {
78 | if let swjs_thread_local_closures {
| `- warning: reference to var 'swjs_thread_local_closures' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
79 | return Unmanaged<SharedJSClosure>.fromOpaque(swjs_thread_local_closures).takeUnretainedValue()
80 | } else {
_CJavaScriptKit.swjs_thread_local_closures:1:12: note: var declared here
1 | public var swjs_thread_local_closures: UnsafeMutableRawPointer?
| `- note: var declared here
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSClosure.swift:82:13: warning: reference to var 'swjs_thread_local_closures' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
80 | } else {
81 | let shared = SharedJSClosure()
82 | swjs_thread_local_closures = Unmanaged.passRetained(shared).toOpaque()
| `- warning: reference to var 'swjs_thread_local_closures' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
83 | return shared
84 | }
_CJavaScriptKit.swjs_thread_local_closures:1:12: note: var declared here
1 | public var swjs_thread_local_closures: UnsafeMutableRawPointer?
| `- note: var declared here
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSClosure.swift:137:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
135 | { arguments in
136 | JSPromise { resolver in
137 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
138 | do {
139 | let result = try await body(arguments)
| `- note: closure captures 'body' which is accessible to code in the current task
140 | resolver(.success(result))
141 | } catch {
[30/32] Compiling JavaScriptKit JSClosure.swift
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSBigInt.swift:3:13: warning: let 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import _CJavaScriptKit
2 |
3 | private let constructor = JSObject.global.BigInt.function!
| |- warning: let 'constructor' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'constructor' 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
4 |
5 | /// A wrapper around [the JavaScript `BigInt`
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSClosure.swift:78:16: warning: reference to var 'swjs_thread_local_closures' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
76 | // Note: Retain the closure object itself also to avoid funcRef conflicts
77 | fileprivate static var sharedClosures: SharedJSClosure {
78 | if let swjs_thread_local_closures {
| `- warning: reference to var 'swjs_thread_local_closures' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
79 | return Unmanaged<SharedJSClosure>.fromOpaque(swjs_thread_local_closures).takeUnretainedValue()
80 | } else {
_CJavaScriptKit.swjs_thread_local_closures:1:12: note: var declared here
1 | public var swjs_thread_local_closures: UnsafeMutableRawPointer?
| `- note: var declared here
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSClosure.swift:82:13: warning: reference to var 'swjs_thread_local_closures' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
80 | } else {
81 | let shared = SharedJSClosure()
82 | swjs_thread_local_closures = Unmanaged.passRetained(shared).toOpaque()
| `- warning: reference to var 'swjs_thread_local_closures' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
83 | return shared
84 | }
_CJavaScriptKit.swjs_thread_local_closures:1:12: note: var declared here
1 | public var swjs_thread_local_closures: UnsafeMutableRawPointer?
| `- note: var declared here
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSClosure.swift:137:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
135 | { arguments in
136 | JSPromise { resolver in
137 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
138 | do {
139 | let result = try await body(arguments)
| `- note: closure captures 'body' which is accessible to code in the current task
140 | resolver(.success(result))
141 | } catch {
[31/32] Compiling JavaScriptKit JSValueDecoder.swift
/host/spi-builder-workspace/Sources/JavaScriptKit/JSValueDecoder.swift:38:16: warning: static property 'ref' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | private enum Object {
38 | static let ref = JSObject.global.Object.function!
| |- warning: static property 'ref' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ref' 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
39 | static func keys(_ object: JSObject) -> [String] {
40 | let keys = ref.keys!(object).array!
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
[32/32] Compiling JavaScriptKit resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/JavaScriptKit/JSValueDecoder.swift:38:16: warning: static property 'ref' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | private enum Object {
38 | static let ref = JSObject.global.Object.function!
| |- warning: static property 'ref' is not concurrency-safe because non-'Sendable' type 'JSFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ref' 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
39 | static func keys(_ object: JSObject) -> [String] {
40 | let keys = ref.keys!(object).array!
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
[34/40] Emitting module JavaScriptBigIntSupport
/host/spi-builder-workspace/Sources/JavaScriptBigIntSupport/Int64+I64.swift:4:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension UInt64: JavaScriptKit.ConvertibleToJSValue, JavaScriptKit.TypedArrayElement {
4 | public static var typedArrayClass = JSObject.global.BigUint64Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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 |
6 | public var jsValue: JSValue { .bigInt(JSBigInt(unsigned: self)) }
/host/spi-builder-workspace/Sources/JavaScriptBigIntSupport/Int64+I64.swift:10:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | extension Int64: JavaScriptKit.ConvertibleToJSValue, JavaScriptKit.TypedArrayElement {
10 | public static var typedArrayClass = JSObject.global.BigInt64Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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 | public var jsValue: JSValue { .bigInt(JSBigInt(self)) }
[35/40] Compiling JavaScriptBigIntSupport JSBigInt+I64.swift
[36/40] Compiling JavaScriptBigIntSupport Int64+I64.swift
/host/spi-builder-workspace/Sources/JavaScriptBigIntSupport/Int64+I64.swift:4:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension UInt64: JavaScriptKit.ConvertibleToJSValue, JavaScriptKit.TypedArrayElement {
4 | public static var typedArrayClass = JSObject.global.BigUint64Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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 |
6 | public var jsValue: JSValue { .bigInt(JSBigInt(unsigned: self)) }
/host/spi-builder-workspace/Sources/JavaScriptBigIntSupport/Int64+I64.swift:10:23: warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | extension Int64: JavaScriptKit.ConvertibleToJSValue, JavaScriptKit.TypedArrayElement {
10 | public static var typedArrayClass = JSObject.global.BigInt64Array.function!
| |- warning: static property 'typedArrayClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typedArrayClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typedArrayClass' 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 | public var jsValue: JSValue { .bigInt(JSBigInt(self)) }
[38/41] Compiling JavaScriptEventLoop JobQueue.swift
[39/41] Compiling JavaScriptEventLoop WebWorkerTaskExecutor.swift
[40/41] Emitting module JavaScriptEventLoop
/host/spi-builder-workspace/Sources/JavaScriptEventLoop/JavaScriptEventLoop.swift:105:24: warning: static property 'didInstallGlobalExecutor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
103 | }
104 |
105 | private static var didInstallGlobalExecutor = false
| |- warning: static property 'didInstallGlobalExecutor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'didInstallGlobalExecutor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'didInstallGlobalExecutor' 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
106 |
107 | /// Set JavaScript event loop based executor to be the global executor
/host/spi-builder-workspace/Sources/JavaScriptEventLoop/JavaScriptEventLoop.swift:120:9: warning: reference to var 'swift_task_asyncMainDrainQueue_hook' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
118 | swjs_unsafe_event_loop_yield()
119 | }
120 | swift_task_asyncMainDrainQueue_hook = unsafeBitCast(swift_task_asyncMainDrainQueue_hook_impl, to: UnsafeMutableRawPointer?.self)
| `- warning: reference to var 'swift_task_asyncMainDrainQueue_hook' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
121 | #endif
122 |
_CJavaScriptEventLoop.swift_task_asyncMainDrainQueue_hook:1:12: note: var declared here
1 | public var swift_task_asyncMainDrainQueue_hook: UnsafeMutableRawPointer?
| `- note: var declared here
/host/spi-builder-workspace/Sources/JavaScriptEventLoop/JavaScriptEventLoop.swift:127:9: warning: reference to var 'swift_task_enqueueGlobal_hook' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
125 | JavaScriptEventLoop.shared.unsafeEnqueue(job)
126 | }
127 | swift_task_enqueueGlobal_hook = unsafeBitCast(swift_task_enqueueGlobal_hook_impl, to: UnsafeMutableRawPointer?.self)
| `- warning: reference to var 'swift_task_enqueueGlobal_hook' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
128 |
129 | typealias swift_task_enqueueGlobalWithDelay_hook_Fn = @convention(thin) (UInt64, UnownedJob, swift_task_enqueueGlobalWithDelay_original) -> Void
_CJavaScriptEventLoop.swift_task_enqueueGlobal_hook:1:12: note: var declared here
1 | public var swift_task_enqueueGlobal_hook: UnsafeMutableRawPointer?
| `- note: var declared here
/host/spi-builder-workspace/Sources/JavaScriptEventLoop/JavaScriptEventLoop.swift:133:9: warning: reference to var 'swift_task_enqueueGlobalWithDelay_hook' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
131 | JavaScriptEventLoop.shared.enqueue(job, withDelay: delay)
132 | }
133 | swift_task_enqueueGlobalWithDelay_hook = unsafeBitCast(swift_task_enqueueGlobalWithDelay_hook_impl, to: UnsafeMutableRawPointer?.self)
| `- warning: reference to var 'swift_task_enqueueGlobalWithDelay_hook' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
134 |
135 | #if compiler(>=5.7)
_CJavaScriptEventLoop.swift_task_enqueueGlobalWithDelay_hook:1:12: note: var declared here
1 | public var swift_task_enqueueGlobalWithDelay_hook: UnsafeMutableRawPointer?
| `- note: var declared here
/host/spi-builder-workspace/Sources/JavaScriptEventLoop/JavaScriptEventLoop.swift:140:9: warning: reference to var 'swift_task_enqueueGlobalWithDeadline_hook' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
138 | JavaScriptEventLoop.shared.enqueue(job, withDelay: sec, nsec, tsec, tnsec, clock)
139 | }
140 | swift_task_enqueueGlobalWithDeadline_hook = unsafeBitCast(swift_task_enqueueGlobalWithDeadline_hook_impl, to: UnsafeMutableRawPointer?.self)
| `- warning: reference to var 'swift_task_enqueueGlobalWithDeadline_hook' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
141 | #endif
142 |
_CJavaScriptEventLoop.swift_task_enqueueGlobalWithDeadline_hook:1:12: note: var declared here
1 | public var swift_task_enqueueGlobalWithDeadline_hook: UnsafeMutableRawPointer?
| `- note: var declared here
/host/spi-builder-workspace/Sources/JavaScriptEventLoop/JavaScriptEventLoop.swift:147:9: warning: reference to var 'swift_task_enqueueMainExecutor_hook' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
145 | JavaScriptEventLoop.shared.unsafeEnqueue(job)
146 | }
147 | swift_task_enqueueMainExecutor_hook = unsafeBitCast(swift_task_enqueueMainExecutor_hook_impl, to: UnsafeMutableRawPointer?.self)
| `- warning: reference to var 'swift_task_enqueueMainExecutor_hook' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
148 |
149 | didInstallGlobalExecutor = true
_CJavaScriptEventLoop.swift_task_enqueueMainExecutor_hook:1:12: note: var declared here
1 | public var swift_task_enqueueMainExecutor_hook: UnsafeMutableRawPointer?
| `- note: var declared here
[41/41] Compiling JavaScriptEventLoop JavaScriptEventLoop.swift
/host/spi-builder-workspace/Sources/JavaScriptEventLoop/JavaScriptEventLoop.swift:105:24: warning: static property 'didInstallGlobalExecutor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
103 | }
104 |
105 | private static var didInstallGlobalExecutor = false
| |- warning: static property 'didInstallGlobalExecutor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'didInstallGlobalExecutor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'didInstallGlobalExecutor' 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
106 |
107 | /// Set JavaScript event loop based executor to be the global executor
/host/spi-builder-workspace/Sources/JavaScriptEventLoop/JavaScriptEventLoop.swift:90:17: warning: capture of 'promise' with non-sendable type 'JSPromise' in a `@Sendable` closure; this is an error in the Swift 6 language mode
88 | // TODO(katei): Should prefer `queueMicrotask` if available?
89 | // We should measure if there is performance advantage.
90 | promise.then { _ in
| `- warning: capture of 'promise' with non-sendable type 'JSPromise' in a `@Sendable` closure; this is an error in the Swift 6 language mode
91 | job()
92 | return JSValue.undefined
/host/spi-builder-workspace/Sources/JavaScriptKit/BasicObjects/JSPromise.swift:2:20: note: class 'JSPromise' does not conform to the 'Sendable' protocol
1 | /// A wrapper around [the JavaScript `Promise` class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)
2 | public final class JSPromise: JSBridgedClass {
| `- note: class 'JSPromise' does not conform to the 'Sendable' protocol
3 | /// The underlying JavaScript `Promise` object.
4 | public let jsObject: JSObject
/host/spi-builder-workspace/Sources/JavaScriptEventLoop/JavaScriptEventLoop.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'JavaScriptKit'
1 | import JavaScriptKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'JavaScriptKit'
2 | import _CJavaScriptEventLoop
3 | import _CJavaScriptKit
/host/spi-builder-workspace/Sources/JavaScriptEventLoop/JavaScriptEventLoop.swift:96:17: warning: capture of 'setTimeout' with non-sendable type 'JSFunction' in a `@Sendable` closure; this is an error in the Swift 6 language mode
94 | },
95 | setTimeout: { delay, job in
96 | setTimeout(JSOneshotClosure { _ in
| `- warning: capture of 'setTimeout' with non-sendable type 'JSFunction' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | job()
98 | return JSValue.undefined
/host/spi-builder-workspace/Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift:13:14: note: class 'JSFunction' does not conform to the 'Sendable' protocol
11 | /// ```
12 | ///
13 | public class JSFunction: JSObject {
| `- note: class 'JSFunction' does not conform to the 'Sendable' protocol
14 | #if !hasFeature(Embedded)
15 | /// Call this function with given `arguments` and binding given `this` as context.
/host/spi-builder-workspace/Sources/JavaScriptEventLoop/JavaScriptEventLoop.swift:120:9: warning: reference to var 'swift_task_asyncMainDrainQueue_hook' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
118 | swjs_unsafe_event_loop_yield()
119 | }
120 | swift_task_asyncMainDrainQueue_hook = unsafeBitCast(swift_task_asyncMainDrainQueue_hook_impl, to: UnsafeMutableRawPointer?.self)
| `- warning: reference to var 'swift_task_asyncMainDrainQueue_hook' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
121 | #endif
122 |
_CJavaScriptEventLoop.swift_task_asyncMainDrainQueue_hook:1:12: note: var declared here
1 | public var swift_task_asyncMainDrainQueue_hook: UnsafeMutableRawPointer?
| `- note: var declared here
/host/spi-builder-workspace/Sources/JavaScriptEventLoop/JavaScriptEventLoop.swift:127:9: warning: reference to var 'swift_task_enqueueGlobal_hook' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
125 | JavaScriptEventLoop.shared.unsafeEnqueue(job)
126 | }
127 | swift_task_enqueueGlobal_hook = unsafeBitCast(swift_task_enqueueGlobal_hook_impl, to: UnsafeMutableRawPointer?.self)
| `- warning: reference to var 'swift_task_enqueueGlobal_hook' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
128 |
129 | typealias swift_task_enqueueGlobalWithDelay_hook_Fn = @convention(thin) (UInt64, UnownedJob, swift_task_enqueueGlobalWithDelay_original) -> Void
_CJavaScriptEventLoop.swift_task_enqueueGlobal_hook:1:12: note: var declared here
1 | public var swift_task_enqueueGlobal_hook: UnsafeMutableRawPointer?
| `- note: var declared here
/host/spi-builder-workspace/Sources/JavaScriptEventLoop/JavaScriptEventLoop.swift:133:9: warning: reference to var 'swift_task_enqueueGlobalWithDelay_hook' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
131 | JavaScriptEventLoop.shared.enqueue(job, withDelay: delay)
132 | }
133 | swift_task_enqueueGlobalWithDelay_hook = unsafeBitCast(swift_task_enqueueGlobalWithDelay_hook_impl, to: UnsafeMutableRawPointer?.self)
| `- warning: reference to var 'swift_task_enqueueGlobalWithDelay_hook' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
134 |
135 | #if compiler(>=5.7)
_CJavaScriptEventLoop.swift_task_enqueueGlobalWithDelay_hook:1:12: note: var declared here
1 | public var swift_task_enqueueGlobalWithDelay_hook: UnsafeMutableRawPointer?
| `- note: var declared here
/host/spi-builder-workspace/Sources/JavaScriptEventLoop/JavaScriptEventLoop.swift:140:9: warning: reference to var 'swift_task_enqueueGlobalWithDeadline_hook' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
138 | JavaScriptEventLoop.shared.enqueue(job, withDelay: sec, nsec, tsec, tnsec, clock)
139 | }
140 | swift_task_enqueueGlobalWithDeadline_hook = unsafeBitCast(swift_task_enqueueGlobalWithDeadline_hook_impl, to: UnsafeMutableRawPointer?.self)
| `- warning: reference to var 'swift_task_enqueueGlobalWithDeadline_hook' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
141 | #endif
142 |
_CJavaScriptEventLoop.swift_task_enqueueGlobalWithDeadline_hook:1:12: note: var declared here
1 | public var swift_task_enqueueGlobalWithDeadline_hook: UnsafeMutableRawPointer?
| `- note: var declared here
/host/spi-builder-workspace/Sources/JavaScriptEventLoop/JavaScriptEventLoop.swift:147:9: warning: reference to var 'swift_task_enqueueMainExecutor_hook' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
145 | JavaScriptEventLoop.shared.unsafeEnqueue(job)
146 | }
147 | swift_task_enqueueMainExecutor_hook = unsafeBitCast(swift_task_enqueueMainExecutor_hook_impl, to: UnsafeMutableRawPointer?.self)
| `- warning: reference to var 'swift_task_enqueueMainExecutor_hook' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
148 |
149 | didInstallGlobalExecutor = true
_CJavaScriptEventLoop.swift_task_enqueueMainExecutor_hook:1:12: note: var declared here
1 | public var swift_task_enqueueMainExecutor_hook: UnsafeMutableRawPointer?
| `- note: var declared here
[43/44] Compiling JavaScriptEventLoopTestSupport JavaScriptEventLoopTestSupport.swift
[44/44] Emitting module JavaScriptEventLoopTestSupport
Build complete! (13.34s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "JavaScriptKit",
"name" : "JavaScriptKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "JavaScriptKit",
"targets" : [
"JavaScriptKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "JavaScriptEventLoop",
"targets" : [
"JavaScriptEventLoop"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "JavaScriptBigIntSupport",
"targets" : [
"JavaScriptBigIntSupport"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "JavaScriptEventLoopTestSupport",
"targets" : [
"JavaScriptEventLoopTestSupport"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "_CJavaScriptKit",
"module_type" : "ClangTarget",
"name" : "_CJavaScriptKit",
"path" : "Sources/_CJavaScriptKit",
"product_memberships" : [
"JavaScriptKit",
"JavaScriptEventLoop",
"JavaScriptBigIntSupport",
"JavaScriptEventLoopTestSupport"
],
"sources" : [
"_CJavaScriptKit.c"
],
"type" : "library"
},
{
"c99name" : "_CJavaScriptEventLoopTestSupport",
"module_type" : "ClangTarget",
"name" : "_CJavaScriptEventLoopTestSupport",
"path" : "Sources/_CJavaScriptEventLoopTestSupport",
"product_memberships" : [
"JavaScriptEventLoopTestSupport"
],
"sources" : [
"_CJavaScriptEventLoopTestSupport.c"
],
"type" : "library"
},
{
"c99name" : "_CJavaScriptEventLoop",
"module_type" : "ClangTarget",
"name" : "_CJavaScriptEventLoop",
"path" : "Sources/_CJavaScriptEventLoop",
"product_memberships" : [
"JavaScriptEventLoop",
"JavaScriptEventLoopTestSupport"
],
"sources" : [
"_CJavaScriptEventLoop.c"
],
"type" : "library"
},
{
"c99name" : "_CJavaScriptBigIntSupport",
"module_type" : "ClangTarget",
"name" : "_CJavaScriptBigIntSupport",
"path" : "Sources/_CJavaScriptBigIntSupport",
"product_memberships" : [
"JavaScriptBigIntSupport"
],
"sources" : [
"_CJavaScriptKit+I64.c"
],
"target_dependencies" : [
"_CJavaScriptKit"
],
"type" : "library"
},
{
"c99name" : "JavaScriptKit",
"module_type" : "SwiftTarget",
"name" : "JavaScriptKit",
"path" : "Sources/JavaScriptKit",
"product_memberships" : [
"JavaScriptKit",
"JavaScriptEventLoop",
"JavaScriptBigIntSupport",
"JavaScriptEventLoopTestSupport"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/JavaScriptKit/Runtime",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"BasicObjects/JSArray.swift",
"BasicObjects/JSDate.swift",
"BasicObjects/JSError.swift",
"BasicObjects/JSPromise.swift",
"BasicObjects/JSTimer.swift",
"BasicObjects/JSTypedArray.swift",
"ConstructibleFromJSValue.swift",
"ConvertibleToJSValue.swift",
"Deprecated.swift",
"Features.swift",
"FundamentalObjects/JSBigInt.swift",
"FundamentalObjects/JSClosure.swift",
"FundamentalObjects/JSFunction.swift",
"FundamentalObjects/JSObject.swift",
"FundamentalObjects/JSString.swift",
"FundamentalObjects/JSSymbol.swift",
"FundamentalObjects/JSThrowingFunction.swift",
"JSBridgedType.swift",
"JSValue.swift",
"JSValueDecoder.swift"
],
"target_dependencies" : [
"_CJavaScriptKit"
],
"type" : "library"
},
{
"c99name" : "JavaScriptEventLoopTests",
"module_type" : "SwiftTarget",
"name" : "JavaScriptEventLoopTests",
"path" : "Tests/JavaScriptEventLoopTests",
"sources" : [
"WebWorkerTaskExecutorTests.swift"
],
"target_dependencies" : [
"JavaScriptEventLoop",
"JavaScriptKit",
"JavaScriptEventLoopTestSupport"
],
"type" : "test"
},
{
"c99name" : "JavaScriptEventLoopTestSupportTests",
"module_type" : "SwiftTarget",
"name" : "JavaScriptEventLoopTestSupportTests",
"path" : "Tests/JavaScriptEventLoopTestSupportTests",
"sources" : [
"JavaScriptEventLoopTestSupportTests.swift"
],
"target_dependencies" : [
"JavaScriptKit",
"JavaScriptEventLoopTestSupport"
],
"type" : "test"
},
{
"c99name" : "JavaScriptEventLoopTestSupport",
"module_type" : "SwiftTarget",
"name" : "JavaScriptEventLoopTestSupport",
"path" : "Sources/JavaScriptEventLoopTestSupport",
"product_memberships" : [
"JavaScriptEventLoopTestSupport"
],
"sources" : [
"JavaScriptEventLoopTestSupport.swift"
],
"target_dependencies" : [
"_CJavaScriptEventLoopTestSupport",
"JavaScriptEventLoop"
],
"type" : "library"
},
{
"c99name" : "JavaScriptEventLoop",
"module_type" : "SwiftTarget",
"name" : "JavaScriptEventLoop",
"path" : "Sources/JavaScriptEventLoop",
"product_memberships" : [
"JavaScriptEventLoop",
"JavaScriptEventLoopTestSupport"
],
"sources" : [
"JavaScriptEventLoop.swift",
"JobQueue.swift",
"WebWorkerTaskExecutor.swift"
],
"target_dependencies" : [
"JavaScriptKit",
"_CJavaScriptEventLoop"
],
"type" : "library"
},
{
"c99name" : "JavaScriptBigIntSupport",
"module_type" : "SwiftTarget",
"name" : "JavaScriptBigIntSupport",
"path" : "Sources/JavaScriptBigIntSupport",
"product_memberships" : [
"JavaScriptBigIntSupport"
],
"sources" : [
"Int64+I64.swift",
"JSBigInt+I64.swift"
],
"target_dependencies" : [
"_CJavaScriptBigIntSupport",
"JavaScriptKit"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
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.