Build Information
Successful build of JavaScriptKit, reference 0.21.0 (43607e
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 06:14:35 UTC.
Swift 6 data race errors: 46
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftwasm/JavaScriptKit.git
Reference: 0.21.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftwasm/JavaScriptKit
* tag 0.21.0 -> FETCH_HEAD
HEAD is now at 43607e5 Remove unnecessary `_JSObjectProtocol`
Cloned https://github.com/swiftwasm/JavaScriptKit.git
Revision (git rev-parse @):
43607e5d905e6811c8d970048b75e8257ab07e2f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftwasm/JavaScriptKit.git at 0.21.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "javascriptkit",
"name": "JavaScriptKit",
"url": "https://github.com/swiftwasm/JavaScriptKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/JavaScriptKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/swiftwasm/JavaScriptKit.git
[1/21160] Fetching javascriptkit
Fetched https://github.com/swiftwasm/JavaScriptKit.git from cache (1.54s)
Creating working copy for https://github.com/swiftwasm/JavaScriptKit.git
Working copy of https://github.com/swiftwasm/JavaScriptKit.git resolved at 0.21.0 (43607e5)
warning: '.resolve-product-dependencies': dependency 'javascriptkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/swiftwasm/JavaScriptKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/10] Write sources
[4/10] Copying Runtime
[5/10] Compiling _CJavaScriptBigIntSupport _CJavaScriptKit+I64.c
[6/10] Write swift-version--7754E27361AE5C74.txt
[7/10] Compiling _CJavaScriptEventLoopTestSupport _CJavaScriptEventLoopTestSupport.c
[8/10] Compiling _CJavaScriptEventLoop _CJavaScriptEventLoop.c
[9/10] Compiling _CJavaScriptKit _CJavaScriptKit.c
[11/30] Emitting module JavaScriptKit
/Users/admin/builder/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 {
/Users/admin/builder/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.
/Users/admin/builder/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!
/Users/admin/builder/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 {
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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`
/Users/admin/builder/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.
/Users/admin/builder/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`
/Users/admin/builder/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.
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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`.
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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.
/Users/admin/builder/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) {
/Users/admin/builder/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!
/Users/admin/builder/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 ConvertibleToJSValue.swift
/Users/admin/builder/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 |
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
[13/32] Compiling JavaScriptKit Deprecated.swift
/Users/admin/builder/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 |
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
[14/32] Compiling JavaScriptKit Features.swift
/Users/admin/builder/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`
/Users/admin/builder/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 JSBigInt.swift
/Users/admin/builder/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`
/Users/admin/builder/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 JSSymbol.swift
/Users/admin/builder/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`
/Users/admin/builder/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.
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
[17/32] Compiling JavaScriptKit JSThrowingFunction.swift
/Users/admin/builder/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`
/Users/admin/builder/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.
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
[18/32] Compiling JavaScriptKit JSClosure.swift
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 {
[19/32] Compiling JavaScriptKit JSFunction.swift
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 {
[20/32] Compiling JavaScriptKit JSObject.swift
[21/32] Compiling JavaScriptKit JSString.swift
[22/32] Compiling JavaScriptKit JSPromise.swift
[23/32] Compiling JavaScriptKit JSTimer.swift
[24/32] Compiling JavaScriptKit JSBridgedType.swift
/Users/admin/builder/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)
/Users/admin/builder/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`.
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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.
/Users/admin/builder/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 JSValue.swift
/Users/admin/builder/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)
/Users/admin/builder/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`.
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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.
/Users/admin/builder/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) {
[26/32] Compiling JavaScriptKit JSArray.swift
/Users/admin/builder/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 {
/Users/admin/builder/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.
/Users/admin/builder/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!
/Users/admin/builder/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 {
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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
[27/32] Compiling JavaScriptKit JSDate.swift
/Users/admin/builder/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 {
/Users/admin/builder/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.
/Users/admin/builder/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!
/Users/admin/builder/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 {
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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
[28/32] Compiling JavaScriptKit JSError.swift
/Users/admin/builder/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 {
/Users/admin/builder/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.
/Users/admin/builder/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!
/Users/admin/builder/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 {
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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
[29/32] Compiling JavaScriptKit JSTypedArray.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
[30/32] Compiling JavaScriptKit ConstructibleFromJSValue.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
[31/32] Compiling JavaScriptKit JSValueDecoder.swift
/Users/admin/builder/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!
/Users/admin/builder/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
/Users/admin/builder/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!
/Users/admin/builder/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.
[33/39] Compiling JavaScriptBigIntSupport Int64+I64.swift
/Users/admin/builder/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)) }
/Users/admin/builder/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)) }
[34/39] Emitting module JavaScriptBigIntSupport
/Users/admin/builder/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)) }
/Users/admin/builder/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/39] Compiling JavaScriptBigIntSupport JSBigInt+I64.swift
[36/39] Compiling JavaScriptEventLoop WebWorkerTaskExecutor.swift
[37/39] Compiling JavaScriptEventLoop JobQueue.swift
[38/39] Emitting module JavaScriptEventLoop
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[39/39] Compiling JavaScriptEventLoop JavaScriptEventLoop.swift
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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.
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[40/41] Compiling JavaScriptEventLoopTestSupport JavaScriptEventLoopTestSupport.swift
[41/41] Emitting module JavaScriptEventLoopTestSupport
Build complete! (14.12s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "JavaScriptKit",
"name" : "JavaScriptKit",
"path" : "/Users/admin/builder/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" : "/Users/admin/builder/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"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/swiftwasm/javascriptkit/0.21.0
Repository: swiftwasm/JavaScriptKit
Swift version used: 6.0
Target: JavaScriptKit
Extracting symbol information for 'JavaScriptKit'...
Finished extracting symbol information for 'JavaScriptKit'. (3.28s)
Building documentation for 'JavaScriptKit'...
warning: Parameter 'object' not found in initializer declaration
--> Sources/JavaScriptKit/BasicObjects/JSArray.swift:21:21-21:27
19 | /// Return `nil` if the object is not an Array.
20 | ///
21 + /// - Parameter object: A `JSObject` expected to be a JavaScript Array
| ╰─suggestion: Replace 'object' with 'jsObject'
22 | public convenience init?(_ jsObject: JSObject) {
23 | guard Self.isArray(jsObject) else { return nil }
warning: Parameter 'jsObject' is missing documentation
--> Sources/JavaScriptKit/BasicObjects/JSArray.swift:21:75-21:75
19 | /// Return `nil` if the object is not an Array.
20 | ///
21 + /// - Parameter object: A `JSObject` expected to be a JavaScript Array
| ╰─suggestion: Document 'jsObject' parameter
22 | public convenience init?(_ jsObject: JSObject) {
23 | guard Self.isArray(jsObject) else { return nil }
warning: Parameter 'symbol' not found in instance subscript declaration
--> Sources/JavaScriptKit/FundamentalObjects/JSObject.swift:103:9-103:72
101 |
102 | /// Access the `symbol` member dynamically through JavaScript and Swift runtime bridge library.
103 + /// - Parameter symbol: The name of this object's member to access.
| ╰─suggestion: Remove 'symbol' parameter documentation
104 | /// - Returns: The value of the `name` member of this object.
105 | public subscript(_ name: JSSymbol) -> JSValue {
warning: Parameter 'name' is missing documentation
--> Sources/JavaScriptKit/FundamentalObjects/JSObject.swift:103:72-103:72
101 |
102 | /// Access the `symbol` member dynamically through JavaScript and Swift runtime bridge library.
103 + /// - Parameter symbol: The name of this object's member to access.
| ╰─suggestion: Document 'name' parameter
104 | /// - Returns: The value of the `name` member of this object.
105 | public subscript(_ name: JSSymbol) -> JSValue {
warning: Parameter 'T' not found in instance method declaration
--> Sources/JavaScriptKit/JSValueDecoder.swift:241:9-241:56
239 | /// Decodes a top-level value of the given type from the given JavaScript value representation.
240 | ///
241 + /// - Parameter T: The type of the value to decode.
| ╰─suggestion: Remove 'T' parameter documentation
242 | /// - Parameter value: The `JSValue` to decode from.
243 | public func decode<T>(
warning: Parameter '' is missing documentation
--> Sources/JavaScriptKit/JSValueDecoder.swift:242:57-242:57
240 | ///
241 | /// - Parameter T: The type of the value to decode.
242 + /// - Parameter value: The `JSValue` to decode from.
| ╰─suggestion: Document '' parameter
243 | public func decode<T>(
244 | _: T.Type = T.self,
warning: Parameter 'userInfo' is missing documentation
--> Sources/JavaScriptKit/JSValueDecoder.swift:242:57-242:57
240 | ///
241 | /// - Parameter T: The type of the value to decode.
242 + /// - Parameter value: The `JSValue` to decode from.
| ╰─suggestion: Document 'userInfo' parameter
243 | public func decode<T>(
244 | _: T.Type = T.self,Finished building documentation for 'JavaScriptKit' (0.32s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftwasm/javascriptkit/0.21.0
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.33s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.61s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3152] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.29s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.66s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit GenericConstraint.swift
[7/53] Compiling SymbolKit GenericParameter.swift
[8/53] Compiling SymbolKit Generics.swift
[9/53] Compiling SymbolKit Namespace.swift
[10/53] Compiling SymbolKit Mixin+Equals.swift
[11/53] Compiling SymbolKit Mixin+Hash.swift
[12/53] Compiling SymbolKit Mixin.swift
[13/53] Compiling SymbolKit LineList.swift
[14/53] Compiling SymbolKit Position.swift
[15/57] Compiling SymbolKit Identifier.swift
[16/57] Compiling SymbolKit KindIdentifier.swift
[17/57] Compiling SymbolKit Location.swift
[18/57] Compiling SymbolKit Mutability.swift
[19/57] Compiling SymbolKit DeclarationFragments.swift
[20/57] Compiling SymbolKit Fragment.swift
[21/57] Compiling SymbolKit FragmentKind.swift
[22/57] Compiling SymbolKit FunctionParameter.swift
[23/57] Compiling SymbolKit FunctionSignature.swift
[24/57] Compiling SymbolKit Names.swift
[25/57] Compiling SymbolKit SPI.swift
[26/57] Compiling SymbolKit Snippet.swift
[27/57] Compiling SymbolKit Extension.swift
[28/57] Emitting module SymbolKit
[29/57] Compiling SymbolKit SourceRange.swift
[30/57] Compiling SymbolKit Metadata.swift
[31/57] Compiling SymbolKit Module.swift
[32/57] Compiling SymbolKit OperatingSystem.swift
[33/57] Compiling SymbolKit Platform.swift
[34/57] Compiling SymbolKit Relationship.swift
[35/57] Compiling SymbolKit RelationshipKind.swift
[36/57] Compiling SymbolKit SourceOrigin.swift
[37/57] Compiling SymbolKit GenericConstraints.swift
[38/57] Compiling SymbolKit Swift.swift
[39/57] Compiling SymbolKit SemanticVersion.swift
[40/57] Compiling SymbolKit AccessControl.swift
[41/57] Compiling SymbolKit Availability.swift
[42/57] Compiling SymbolKit AvailabilityItem.swift
[43/57] Compiling SymbolKit Domain.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Emitting module Snippets
[54/57] Compiling Snippets Snippet.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Emitting module snippet_extract
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.31s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/21] Emitting module JavaScriptKit
[3/23] Compiling JavaScriptKit JSObject.swift
[4/23] Compiling JavaScriptKit JSString.swift
[5/23] Compiling JavaScriptKit JSSymbol.swift
[6/23] Compiling JavaScriptKit JSThrowingFunction.swift
[7/23] Compiling JavaScriptKit JSTypedArray.swift
[8/23] Compiling JavaScriptKit ConstructibleFromJSValue.swift
[9/23] Compiling JavaScriptKit JSClosure.swift
[10/23] Compiling JavaScriptKit JSFunction.swift
[11/23] Compiling JavaScriptKit Features.swift
[12/23] Compiling JavaScriptKit JSBigInt.swift
[13/23] Compiling JavaScriptKit JSPromise.swift
[14/23] Compiling JavaScriptKit JSTimer.swift
[15/23] Compiling JavaScriptKit JSBridgedType.swift
[16/23] Compiling JavaScriptKit JSValue.swift
[17/23] Compiling JavaScriptKit ConvertibleToJSValue.swift
[18/23] Compiling JavaScriptKit Deprecated.swift
[19/23] Compiling JavaScriptKit JSArray.swift
[20/23] Compiling JavaScriptKit JSDate.swift
[21/23] Compiling JavaScriptKit JSError.swift
[22/23] Compiling JavaScriptKit JSValueDecoder.swift
[23/23] Compiling JavaScriptKit resource_bundle_accessor.swift
Build of target: 'JavaScriptKit' complete! (1.13s)
Target: JavaScriptEventLoop
Extracting symbol information for 'JavaScriptEventLoop'...
Finished extracting symbol information for 'JavaScriptEventLoop'. (0.73s)
Building documentation for 'JavaScriptEventLoop'...
Finished building documentation for 'JavaScriptEventLoop' (0.05s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftwasm/javascriptkit/0.21.0
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'snippet-extract' complete! (0.18s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/5] Compiling JavaScriptEventLoop WebWorkerTaskExecutor.swift
[3/5] Compiling JavaScriptEventLoop JobQueue.swift
[4/5] Emitting module JavaScriptEventLoop
[5/5] Compiling JavaScriptEventLoop JavaScriptEventLoop.swift
Build of target: 'JavaScriptEventLoop' complete! (0.56s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/javascriptkit/0.21.0/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/javascriptkit/0.21.0/linkable-paths.json
Target: JavaScriptBigIntSupport
Extracting symbol information for 'JavaScriptBigIntSupport'...
Finished extracting symbol information for 'JavaScriptBigIntSupport'. (0.64s)
Building documentation for 'JavaScriptBigIntSupport'...
Finished building documentation for 'JavaScriptBigIntSupport' (0.05s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftwasm/javascriptkit/0.21.0
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'snippet-extract' complete! (0.19s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/4] Compiling JavaScriptBigIntSupport Int64+I64.swift
[3/4] Emitting module JavaScriptBigIntSupport
[4/4] Compiling JavaScriptBigIntSupport JSBigInt+I64.swift
Build of target: 'JavaScriptBigIntSupport' complete! (0.48s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/javascriptkit/0.21.0/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/javascriptkit/0.21.0/linkable-paths.json
1176
8 /Users/admin/builder/spi-builder-workspace/.docs/swiftwasm/javascriptkit/0.21.0
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/swiftwasm/javascriptkit/0.21.0
File count: 1176
Doc size: 8.0MB
Preparing doc bundle ...
Uploading prod-swiftwasm-javascriptkit-0.21.0-68869a37.zip to s3://spi-docs-inbox/prod-swiftwasm-javascriptkit-0.21.0-68869a37.zip
Copying... [12%]
Copying... [23%]
Copying... [31%]
Copying... [42%]
Copying... [54%]
Copying... [61%]
Copying... [73%]
Copying... [81%]
Copying... [92%]
Copying... [100%]
Done.