Build Information
Failed to build skip-bridge, reference main (4a84d5
), with Swift 6.1 for Android on 31 Aug 2025 01:26:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
| |- warning: var 'swiftOptionalKotlinClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftOptionalKotlinClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftOptionalKotlinClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | // MARK: Global computed vars
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:125:23: warning: static property 'staticIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
123 | public class SwiftClass {
124 | public static let staticIntConstant = 1
125 | public static var staticIntVar = 1
| |- warning: static property 'staticIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'staticIntVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'staticIntVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | public static func staticFunc(string: String) -> String {
127 | return "swift" + string
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:390:12: warning: var 'swiftClosure0Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
388 | // MARK: Closures
389 |
390 | public var swiftClosure0Var: () -> Void = { print("original") }
| |- warning: var 'swiftClosure0Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftClosure0Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftClosure0Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
391 | public var swiftClosure1Var: (Int) -> String = { i in "value = \(i)" }
392 | public var swiftClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:391:12: warning: var 'swiftClosure1Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
389 |
390 | public var swiftClosure0Var: () -> Void = { print("original") }
391 | public var swiftClosure1Var: (Int) -> String = { i in "value = \(i)" }
| |- warning: var 'swiftClosure1Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftClosure1Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftClosure1Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
392 | public var swiftClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
393 | public var swiftClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:392:12: warning: var 'swiftClosure1PrimitivesVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
390 | public var swiftClosure0Var: () -> Void = { print("original") }
391 | public var swiftClosure1Var: (Int) -> String = { i in "value = \(i)" }
392 | public var swiftClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
| |- warning: var 'swiftClosure1PrimitivesVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftClosure1PrimitivesVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftClosure1PrimitivesVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
393 | public var swiftClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
394 |
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:393:12: warning: var 'swiftClosure1OptionalsVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
391 | public var swiftClosure1Var: (Int) -> String = { i in "value = \(i)" }
392 | public var swiftClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
393 | public var swiftClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
| |- warning: var 'swiftClosure1OptionalsVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftClosure1OptionalsVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftClosure1OptionalsVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
394 |
395 | // MARK: Containers
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:397:12: warning: var 'swiftIntArrayVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
395 | // MARK: Containers
396 |
397 | public var swiftIntArrayVar = [1, 2, 3]
| |- warning: var 'swiftIntArrayVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftIntArrayVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftIntArrayVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
398 | public var swiftStringSetVar: Set<String> = ["a", "b", "c"]
399 | public var swiftIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:398:12: warning: var 'swiftStringSetVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
396 |
397 | public var swiftIntArrayVar = [1, 2, 3]
398 | public var swiftStringSetVar: Set<String> = ["a", "b", "c"]
| |- warning: var 'swiftStringSetVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftStringSetVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftStringSetVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
399 | public var swiftIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
400 | public var swiftIntStringTuple = (1, "s")
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:399:12: warning: var 'swiftIntStringDictionaryVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
397 | public var swiftIntArrayVar = [1, 2, 3]
398 | public var swiftStringSetVar: Set<String> = ["a", "b", "c"]
399 | public var swiftIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
| |- warning: var 'swiftIntStringDictionaryVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftIntStringDictionaryVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftIntStringDictionaryVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
400 | public var swiftIntStringTuple = (1, "s")
401 | public var swiftIntErrorResult: Result<Int, SwiftError> = .success(1)
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:400:12: warning: var 'swiftIntStringTuple' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
398 | public var swiftStringSetVar: Set<String> = ["a", "b", "c"]
399 | public var swiftIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
400 | public var swiftIntStringTuple = (1, "s")
| |- warning: var 'swiftIntStringTuple' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftIntStringTuple' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftIntStringTuple' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
401 | public var swiftIntErrorResult: Result<Int, SwiftError> = .success(1)
402 | public var swiftHashable1: AnyHashable = SwiftHashable(HashableEnum.first)
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:401:12: warning: var 'swiftIntErrorResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
399 | public var swiftIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
400 | public var swiftIntStringTuple = (1, "s")
401 | public var swiftIntErrorResult: Result<Int, SwiftError> = .success(1)
| |- warning: var 'swiftIntErrorResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftIntErrorResult' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftIntErrorResult' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
402 | public var swiftHashable1: AnyHashable = SwiftHashable(HashableEnum.first)
403 | public var swiftHashable2: AnyHashable = SwiftHashable(HashableEnum.first)
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:402:12: warning: var 'swiftHashable1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
400 | public var swiftIntStringTuple = (1, "s")
401 | public var swiftIntErrorResult: Result<Int, SwiftError> = .success(1)
402 | public var swiftHashable1: AnyHashable = SwiftHashable(HashableEnum.first)
| |- warning: var 'swiftHashable1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftHashable1' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftHashable1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
403 | public var swiftHashable2: AnyHashable = SwiftHashable(HashableEnum.first)
404 | public var swiftHashable3: AnyHashable = SwiftHashable(HashableEnum.second)
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:403:12: warning: var 'swiftHashable2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
401 | public var swiftIntErrorResult: Result<Int, SwiftError> = .success(1)
402 | public var swiftHashable1: AnyHashable = SwiftHashable(HashableEnum.first)
403 | public var swiftHashable2: AnyHashable = SwiftHashable(HashableEnum.first)
| |- warning: var 'swiftHashable2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftHashable2' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftHashable2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
404 | public var swiftHashable3: AnyHashable = SwiftHashable(HashableEnum.second)
405 |
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:404:12: warning: var 'swiftHashable3' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
402 | public var swiftHashable1: AnyHashable = SwiftHashable(HashableEnum.first)
403 | public var swiftHashable2: AnyHashable = SwiftHashable(HashableEnum.first)
404 | public var swiftHashable3: AnyHashable = SwiftHashable(HashableEnum.second)
| |- warning: var 'swiftHashable3' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftHashable3' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftHashable3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
405 |
406 | // SKIP @nobridge
[183/197] Compiling SkipBridgeToSwiftSamples resource_bundle_accessor.swift
[184/197] Emitting module SkipBridgeToSwiftSamples
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:25:12: warning: let 'kotlinClassConstant' is not concurrency-safe because non-'Sendable' type 'KotlinHelperClass' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public let kotlinUnsignedIntConstant = UInt(3_000_000_000)
24 | public let kotlinStringConstant = "s"
25 | public let kotlinClassConstant = KotlinHelperClass()
| |- warning: let 'kotlinClassConstant' is not concurrency-safe because non-'Sendable' type 'KotlinHelperClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'kotlinClassConstant' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public let kotlinSwiftClassConstant = SwiftHelperClass()
27 |
:
161 | }
162 |
163 | public final class KotlinHelperClass: KotlinProtocol, KotlinGenericProtocol, KotlinUnsignedProtocol, Comparable, Identifiable {
| `- note: class 'KotlinHelperClass' does not conform to the 'Sendable' protocol
164 | public var id: String {
165 | return stringVar
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:26:12: warning: let 'kotlinSwiftClassConstant' is not concurrency-safe because non-'Sendable' type 'SwiftHelperClass' may have shared mutable state; this is an error in the Swift 6 language mode
24 | public let kotlinStringConstant = "s"
25 | public let kotlinClassConstant = KotlinHelperClass()
26 | public let kotlinSwiftClassConstant = SwiftHelperClass()
| `- warning: let 'kotlinSwiftClassConstant' is not concurrency-safe because non-'Sendable' type 'SwiftHelperClass' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | // MARK: Global optional constants
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesHelpers/Helpers.swift:3:14: note: class 'SwiftHelperClass' does not conform to the 'Sendable' protocol
1 | // Copyright 2024–2025 Skip
2 | // SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception
3 | public class SwiftHelperClass: SwiftProtocol {
| `- note: class 'SwiftHelperClass' does not conform to the 'Sendable' protocol
4 | public var id: String {
5 | return stringVar
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SkipBridgeToSwiftSamplesHelpers'
4 |
5 | import Foundation
6 | import SkipBridgeToSwiftSamplesHelpers
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SkipBridgeToSwiftSamplesHelpers'
7 |
8 | // MARK: Global constants
:
24 | public let kotlinStringConstant = "s"
25 | public let kotlinClassConstant = KotlinHelperClass()
26 | public let kotlinSwiftClassConstant = SwiftHelperClass()
| |- note: add '@MainActor' to make let 'kotlinSwiftClassConstant' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: Global optional constants
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:45:12: warning: let 'kotlinOptionalClassConstant' is not concurrency-safe because non-'Sendable' type 'KotlinHelperClass?' may have shared mutable state; this is an error in the Swift 6 language mode
43 | public let kotlinOptionalUnsignedIntConstant: UInt? = UInt(3_000_000_000)
44 | public let kotlinOptionalStringConstant: String? = "s"
45 | public let kotlinOptionalClassConstant: KotlinHelperClass? = KotlinHelperClass()
| |- warning: let 'kotlinOptionalClassConstant' is not concurrency-safe because non-'Sendable' type 'KotlinHelperClass?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'kotlinOptionalClassConstant' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | public let kotlinOptionalSwiftClassConstant: SwiftHelperClass? = SwiftHelperClass()
47 |
:
161 | }
162 |
163 | public final class KotlinHelperClass: KotlinProtocol, KotlinGenericProtocol, KotlinUnsignedProtocol, Comparable, Identifiable {
| `- note: class 'KotlinHelperClass' does not conform to the 'Sendable' protocol
164 | public var id: String {
165 | return stringVar
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:46:12: warning: let 'kotlinOptionalSwiftClassConstant' is not concurrency-safe because non-'Sendable' type 'SwiftHelperClass?' may have shared mutable state; this is an error in the Swift 6 language mode
44 | public let kotlinOptionalStringConstant: String? = "s"
45 | public let kotlinOptionalClassConstant: KotlinHelperClass? = KotlinHelperClass()
46 | public let kotlinOptionalSwiftClassConstant: SwiftHelperClass? = SwiftHelperClass()
| |- warning: let 'kotlinOptionalSwiftClassConstant' is not concurrency-safe because non-'Sendable' type 'SwiftHelperClass?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'kotlinOptionalSwiftClassConstant' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | // MARK: Global vars
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesHelpers/Helpers.swift:3:14: note: class 'SwiftHelperClass' does not conform to the 'Sendable' protocol
1 | // Copyright 2024–2025 Skip
2 | // SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception
3 | public class SwiftHelperClass: SwiftProtocol {
| `- note: class 'SwiftHelperClass' does not conform to the 'Sendable' protocol
4 | public var id: String {
5 | return stringVar
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:50:12: warning: var 'kotlinBoolVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | // MARK: Global vars
49 |
50 | public var kotlinBoolVar = true
| |- warning: var 'kotlinBoolVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinBoolVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinBoolVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | // TODO: Char
52 | public var kotlinDoubleVar = 1.0
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:52:12: warning: var 'kotlinDoubleVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | public var kotlinBoolVar = true
51 | // TODO: Char
52 | public var kotlinDoubleVar = 1.0
| |- warning: var 'kotlinDoubleVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinDoubleVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinDoubleVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | public var kotlinFloatVar = Float(2.0)
54 | public var kotlinInt8Var = Int8(3)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:53:12: warning: var 'kotlinFloatVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | // TODO: Char
52 | public var kotlinDoubleVar = 1.0
53 | public var kotlinFloatVar = Float(2.0)
| |- warning: var 'kotlinFloatVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinFloatVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinFloatVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | public var kotlinInt8Var = Int8(3)
55 | public var kotlinInt16Var = Int16(4)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:54:12: warning: var 'kotlinInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | public var kotlinDoubleVar = 1.0
53 | public var kotlinFloatVar = Float(2.0)
54 | public var kotlinInt8Var = Int8(3)
| |- warning: var 'kotlinInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinInt8Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinInt8Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | public var kotlinInt16Var = Int16(4)
56 | public var kotlinInt32Var = Int32(5)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:55:12: warning: var 'kotlinInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 | public var kotlinFloatVar = Float(2.0)
54 | public var kotlinInt8Var = Int8(3)
55 | public var kotlinInt16Var = Int16(4)
| |- warning: var 'kotlinInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinInt16Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinInt16Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | public var kotlinInt32Var = Int32(5)
57 | public var kotlinInt64Var = Int64(6)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:56:12: warning: var 'kotlinInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 | public var kotlinInt8Var = Int8(3)
55 | public var kotlinInt16Var = Int16(4)
56 | public var kotlinInt32Var = Int32(5)
| |- warning: var 'kotlinInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinInt32Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinInt32Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | public var kotlinInt64Var = Int64(6)
58 | public var kotlinIntVar = 7
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:57:12: warning: var 'kotlinInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
55 | public var kotlinInt16Var = Int16(4)
56 | public var kotlinInt32Var = Int32(5)
57 | public var kotlinInt64Var = Int64(6)
| |- warning: var 'kotlinInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinInt64Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinInt64Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | public var kotlinIntVar = 7
59 | public var kotlinUnsignedInt8Var = UInt8(200)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:58:12: warning: var 'kotlinIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
56 | public var kotlinInt32Var = Int32(5)
57 | public var kotlinInt64Var = Int64(6)
58 | public var kotlinIntVar = 7
| |- warning: var 'kotlinIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinIntVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinIntVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | public var kotlinUnsignedInt8Var = UInt8(200)
60 | public var kotlinUnsignedInt16Var = UInt16(40_000)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:59:12: warning: var 'kotlinUnsignedInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 | public var kotlinInt64Var = Int64(6)
58 | public var kotlinIntVar = 7
59 | public var kotlinUnsignedInt8Var = UInt8(200)
| |- warning: var 'kotlinUnsignedInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinUnsignedInt8Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinUnsignedInt8Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public var kotlinUnsignedInt16Var = UInt16(40_000)
61 | public var kotlinUnsignedInt32Var = UInt32(3_000_000_000)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:60:12: warning: var 'kotlinUnsignedInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
58 | public var kotlinIntVar = 7
59 | public var kotlinUnsignedInt8Var = UInt8(200)
60 | public var kotlinUnsignedInt16Var = UInt16(40_000)
| |- warning: var 'kotlinUnsignedInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinUnsignedInt16Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinUnsignedInt16Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | public var kotlinUnsignedInt32Var = UInt32(3_000_000_000)
62 | public var kotlinUnsignedInt64Var = UInt64(3_000_000_000)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:61:12: warning: var 'kotlinUnsignedInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
59 | public var kotlinUnsignedInt8Var = UInt8(200)
60 | public var kotlinUnsignedInt16Var = UInt16(40_000)
61 | public var kotlinUnsignedInt32Var = UInt32(3_000_000_000)
| |- warning: var 'kotlinUnsignedInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinUnsignedInt32Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinUnsignedInt32Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | public var kotlinUnsignedInt64Var = UInt64(3_000_000_000)
63 | public var kotlinUnsignedIntVar = UInt(3_000_000_000)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:62:12: warning: var 'kotlinUnsignedInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 | public var kotlinUnsignedInt16Var = UInt16(40_000)
61 | public var kotlinUnsignedInt32Var = UInt32(3_000_000_000)
62 | public var kotlinUnsignedInt64Var = UInt64(3_000_000_000)
| |- warning: var 'kotlinUnsignedInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinUnsignedInt64Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinUnsignedInt64Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | public var kotlinUnsignedIntVar = UInt(3_000_000_000)
64 | public var kotlinStringVar = "s"
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:63:12: warning: var 'kotlinUnsignedIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | public var kotlinUnsignedInt32Var = UInt32(3_000_000_000)
62 | public var kotlinUnsignedInt64Var = UInt64(3_000_000_000)
63 | public var kotlinUnsignedIntVar = UInt(3_000_000_000)
| |- warning: var 'kotlinUnsignedIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinUnsignedIntVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinUnsignedIntVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public var kotlinStringVar = "s"
65 | public var kotlinNSNumberVar = NSNumber(value: 100)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:64:12: warning: var 'kotlinStringVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | public var kotlinUnsignedInt64Var = UInt64(3_000_000_000)
63 | public var kotlinUnsignedIntVar = UInt(3_000_000_000)
64 | public var kotlinStringVar = "s"
| |- warning: var 'kotlinStringVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinStringVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinStringVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | public var kotlinNSNumberVar = NSNumber(value: 100)
66 | public var kotlinClassVar = KotlinHelperClass()
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:65:12: warning: var 'kotlinNSNumberVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | public var kotlinUnsignedIntVar = UInt(3_000_000_000)
64 | public var kotlinStringVar = "s"
65 | public var kotlinNSNumberVar = NSNumber(value: 100)
| |- warning: var 'kotlinNSNumberVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinNSNumberVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinNSNumberVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | public var kotlinClassVar = KotlinHelperClass()
67 | public var kotlinBaseClassVar = KotlinClass()
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:66:12: warning: var 'kotlinClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | public var kotlinStringVar = "s"
65 | public var kotlinNSNumberVar = NSNumber(value: 100)
66 | public var kotlinClassVar = KotlinHelperClass()
| |- warning: var 'kotlinClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | public var kotlinBaseClassVar = KotlinClass()
68 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:67:12: warning: var 'kotlinBaseClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
65 | public var kotlinNSNumberVar = NSNumber(value: 100)
66 | public var kotlinClassVar = KotlinHelperClass()
67 | public var kotlinBaseClassVar = KotlinClass()
| |- warning: var 'kotlinBaseClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinBaseClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinBaseClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
69 | public var kotlinSwiftClassVar = SwiftHelperClass()
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:68:12: warning: var 'kotlinInnerClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | public var kotlinClassVar = KotlinHelperClass()
67 | public var kotlinBaseClassVar = KotlinClass()
68 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
| |- warning: var 'kotlinInnerClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinInnerClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinInnerClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public var kotlinSwiftClassVar = SwiftHelperClass()
70 | public var kotlinAnyVar: Any = "a"
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:69:12: warning: var 'kotlinSwiftClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 | public var kotlinBaseClassVar = KotlinClass()
68 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
69 | public var kotlinSwiftClassVar = SwiftHelperClass()
| |- warning: var 'kotlinSwiftClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinSwiftClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinSwiftClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public var kotlinAnyVar: Any = "a"
71 | public var kotlinAnyHashableVar: AnyHashable = 1
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:70:12: warning: var 'kotlinAnyVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
69 | public var kotlinSwiftClassVar = SwiftHelperClass()
70 | public var kotlinAnyVar: Any = "a"
| |- warning: var 'kotlinAnyVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinAnyVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinAnyVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | public var kotlinAnyHashableVar: AnyHashable = 1
72 |
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:71:12: warning: var 'kotlinAnyHashableVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
69 | public var kotlinSwiftClassVar = SwiftHelperClass()
70 | public var kotlinAnyVar: Any = "a"
71 | public var kotlinAnyHashableVar: AnyHashable = 1
| |- warning: var 'kotlinAnyHashableVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinAnyHashableVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinAnyHashableVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | // MARK: Global optional vars
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:75:12: warning: var 'kotlinOptionalBoolVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | // MARK: Global optional vars
74 |
75 | public var kotlinOptionalBoolVar: Bool? = true
| |- warning: var 'kotlinOptionalBoolVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalBoolVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalBoolVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | // TODO: Optional char
77 | public var kotlinOptionalDoubleVar: Double? = 1.0
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:77:12: warning: var 'kotlinOptionalDoubleVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 | public var kotlinOptionalBoolVar: Bool? = true
76 | // TODO: Optional char
77 | public var kotlinOptionalDoubleVar: Double? = 1.0
| |- warning: var 'kotlinOptionalDoubleVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalDoubleVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalDoubleVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public var kotlinOptionalFloatVar: Float? = Float(2.0)
79 | public var kotlinOptionalInt8Var: Int8? = nil
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:78:12: warning: var 'kotlinOptionalFloatVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | // TODO: Optional char
77 | public var kotlinOptionalDoubleVar: Double? = 1.0
78 | public var kotlinOptionalFloatVar: Float? = Float(2.0)
| |- warning: var 'kotlinOptionalFloatVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalFloatVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalFloatVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public var kotlinOptionalInt8Var: Int8? = nil
80 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:79:12: warning: var 'kotlinOptionalInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
77 | public var kotlinOptionalDoubleVar: Double? = 1.0
78 | public var kotlinOptionalFloatVar: Float? = Float(2.0)
79 | public var kotlinOptionalInt8Var: Int8? = nil
| |- warning: var 'kotlinOptionalInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalInt8Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalInt8Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
81 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:80:12: warning: var 'kotlinOptionalInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
78 | public var kotlinOptionalFloatVar: Float? = Float(2.0)
79 | public var kotlinOptionalInt8Var: Int8? = nil
80 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
| |- warning: var 'kotlinOptionalInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalInt16Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalInt16Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
82 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:81:12: warning: var 'kotlinOptionalInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 | public var kotlinOptionalInt8Var: Int8? = nil
80 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
81 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
| |- warning: var 'kotlinOptionalInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalInt32Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalInt32Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
83 | public var kotlinOptionalIntVar: Int? = 6
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:82:12: warning: var 'kotlinOptionalInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
80 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
81 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
82 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
| |- warning: var 'kotlinOptionalInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalInt64Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalInt64Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public var kotlinOptionalIntVar: Int? = 6
84 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:83:12: warning: var 'kotlinOptionalIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
81 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
82 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
83 | public var kotlinOptionalIntVar: Int? = 6
| |- warning: var 'kotlinOptionalIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalIntVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalIntVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
85 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:84:12: warning: var 'kotlinOptionalUnsignedInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
83 | public var kotlinOptionalIntVar: Int? = 6
84 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
| |- warning: var 'kotlinOptionalUnsignedInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalUnsignedInt8Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalUnsignedInt8Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
86 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:85:12: warning: var 'kotlinOptionalUnsignedInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | public var kotlinOptionalIntVar: Int? = 6
84 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
85 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
| |- warning: var 'kotlinOptionalUnsignedInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalUnsignedInt16Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalUnsignedInt16Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
87 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:86:12: warning: var 'kotlinOptionalUnsignedInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
84 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
85 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
86 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
| |- warning: var 'kotlinOptionalUnsignedInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalUnsignedInt32Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalUnsignedInt32Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
88 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:87:12: warning: var 'kotlinOptionalUnsignedInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
86 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
87 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
| |- warning: var 'kotlinOptionalUnsignedInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalUnsignedInt64Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalUnsignedInt64Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
89 | public var kotlinOptionalStringVar: String? = "s"
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:88:12: warning: var 'kotlinOptionalUnsignedIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
86 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
87 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
88 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
| |- warning: var 'kotlinOptionalUnsignedIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalUnsignedIntVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalUnsignedIntVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public var kotlinOptionalStringVar: String? = "s"
90 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:89:12: warning: var 'kotlinOptionalStringVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
88 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
89 | public var kotlinOptionalStringVar: String? = "s"
| |- warning: var 'kotlinOptionalStringVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalStringVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalStringVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
91 | public var kotlinOptionalSwiftClassVar: SwiftHelperClass? = SwiftHelperClass()
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:90:12: warning: var 'kotlinOptionalClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
89 | public var kotlinOptionalStringVar: String? = "s"
90 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
| |- warning: var 'kotlinOptionalClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public var kotlinOptionalSwiftClassVar: SwiftHelperClass? = SwiftHelperClass()
92 |
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:91:12: warning: var 'kotlinOptionalSwiftClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
89 | public var kotlinOptionalStringVar: String? = "s"
90 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
91 | public var kotlinOptionalSwiftClassVar: SwiftHelperClass? = SwiftHelperClass()
| |- warning: var 'kotlinOptionalSwiftClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalSwiftClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalSwiftClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 |
93 | // MARK: Global computed vars
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:126:23: warning: static property 'staticIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
124 | public class KotlinClass {
125 | public static let staticIntConstant = 1
126 | public static var staticIntVar = 1
| |- warning: static property 'staticIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'staticIntVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'staticIntVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | public static func staticFunc(string: String) -> String {
128 | return "kotlin" + string
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:378:12: warning: var 'kotlinClosure0Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
376 | // MARK: Closures
377 |
378 | public var kotlinClosure0Var: () -> Void = { print("original") }
| |- warning: var 'kotlinClosure0Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinClosure0Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinClosure0Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
379 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
380 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:379:12: warning: var 'kotlinClosure1Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | public var kotlinClosure0Var: () -> Void = { print("original") }
379 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
| |- warning: var 'kotlinClosure1Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinClosure1Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinClosure1Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
380 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
381 | public var kotlinClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:380:12: warning: var 'kotlinClosure1PrimitivesVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
378 | public var kotlinClosure0Var: () -> Void = { print("original") }
379 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
380 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
| |- warning: var 'kotlinClosure1PrimitivesVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinClosure1PrimitivesVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinClosure1PrimitivesVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
381 | public var kotlinClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
382 |
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:381:12: warning: var 'kotlinClosure1OptionalsVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
379 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
380 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
381 | public var kotlinClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
| |- warning: var 'kotlinClosure1OptionalsVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinClosure1OptionalsVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinClosure1OptionalsVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
382 |
383 | // MARK: Containers
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:385:12: warning: var 'kotlinIntArrayVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
383 | // MARK: Containers
384 |
385 | public var kotlinIntArrayVar = [1, 2, 3]
| |- warning: var 'kotlinIntArrayVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinIntArrayVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinIntArrayVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
386 | public var kotlinStringSetVar: Set<String> = ["a", "b", "c"]
387 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:386:12: warning: var 'kotlinStringSetVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
384 |
385 | public var kotlinIntArrayVar = [1, 2, 3]
386 | public var kotlinStringSetVar: Set<String> = ["a", "b", "c"]
| |- warning: var 'kotlinStringSetVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinStringSetVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinStringSetVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
387 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
388 | public var kotlinIntStringTupleVar = (1, "s")
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:387:12: warning: var 'kotlinIntStringDictionaryVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
385 | public var kotlinIntArrayVar = [1, 2, 3]
386 | public var kotlinStringSetVar: Set<String> = ["a", "b", "c"]
387 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
| |- warning: var 'kotlinIntStringDictionaryVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinIntStringDictionaryVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinIntStringDictionaryVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
388 | public var kotlinIntStringTupleVar = (1, "s")
389 | public var kotlinIntErrorResult: Result<Int, KotlinError> = .success(1)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:388:12: warning: var 'kotlinIntStringTupleVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
386 | public var kotlinStringSetVar: Set<String> = ["a", "b", "c"]
387 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
388 | public var kotlinIntStringTupleVar = (1, "s")
| |- warning: var 'kotlinIntStringTupleVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinIntStringTupleVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinIntStringTupleVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
389 | public var kotlinIntErrorResult: Result<Int, KotlinError> = .success(1)
390 |
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:389:12: warning: var 'kotlinIntErrorResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
387 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
388 | public var kotlinIntStringTupleVar = (1, "s")
389 | public var kotlinIntErrorResult: Result<Int, KotlinError> = .success(1)
| |- warning: var 'kotlinIntErrorResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinIntErrorResult' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinIntErrorResult' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
390 |
391 | // MARK: Functions
[185/197] Compiling SkipBridgeToSwiftSamples Samples.swift
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:25:12: warning: let 'kotlinClassConstant' is not concurrency-safe because non-'Sendable' type 'KotlinHelperClass' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public let kotlinUnsignedIntConstant = UInt(3_000_000_000)
24 | public let kotlinStringConstant = "s"
25 | public let kotlinClassConstant = KotlinHelperClass()
| |- warning: let 'kotlinClassConstant' is not concurrency-safe because non-'Sendable' type 'KotlinHelperClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'kotlinClassConstant' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public let kotlinSwiftClassConstant = SwiftHelperClass()
27 |
:
161 | }
162 |
163 | public final class KotlinHelperClass: KotlinProtocol, KotlinGenericProtocol, KotlinUnsignedProtocol, Comparable, Identifiable {
| `- note: class 'KotlinHelperClass' does not conform to the 'Sendable' protocol
164 | public var id: String {
165 | return stringVar
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:26:12: warning: let 'kotlinSwiftClassConstant' is not concurrency-safe because non-'Sendable' type 'SwiftHelperClass' may have shared mutable state; this is an error in the Swift 6 language mode
24 | public let kotlinStringConstant = "s"
25 | public let kotlinClassConstant = KotlinHelperClass()
26 | public let kotlinSwiftClassConstant = SwiftHelperClass()
| `- warning: let 'kotlinSwiftClassConstant' is not concurrency-safe because non-'Sendable' type 'SwiftHelperClass' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | // MARK: Global optional constants
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesHelpers/Helpers.swift:3:14: note: class 'SwiftHelperClass' does not conform to the 'Sendable' protocol
1 | // Copyright 2024–2025 Skip
2 | // SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception
3 | public class SwiftHelperClass: SwiftProtocol {
| `- note: class 'SwiftHelperClass' does not conform to the 'Sendable' protocol
4 | public var id: String {
5 | return stringVar
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SkipBridgeToSwiftSamplesHelpers'
4 |
5 | import Foundation
6 | import SkipBridgeToSwiftSamplesHelpers
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SkipBridgeToSwiftSamplesHelpers'
7 |
8 | // MARK: Global constants
:
24 | public let kotlinStringConstant = "s"
25 | public let kotlinClassConstant = KotlinHelperClass()
26 | public let kotlinSwiftClassConstant = SwiftHelperClass()
| |- note: add '@MainActor' to make let 'kotlinSwiftClassConstant' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: Global optional constants
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:45:12: warning: let 'kotlinOptionalClassConstant' is not concurrency-safe because non-'Sendable' type 'KotlinHelperClass?' may have shared mutable state; this is an error in the Swift 6 language mode
43 | public let kotlinOptionalUnsignedIntConstant: UInt? = UInt(3_000_000_000)
44 | public let kotlinOptionalStringConstant: String? = "s"
45 | public let kotlinOptionalClassConstant: KotlinHelperClass? = KotlinHelperClass()
| |- warning: let 'kotlinOptionalClassConstant' is not concurrency-safe because non-'Sendable' type 'KotlinHelperClass?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'kotlinOptionalClassConstant' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | public let kotlinOptionalSwiftClassConstant: SwiftHelperClass? = SwiftHelperClass()
47 |
:
161 | }
162 |
163 | public final class KotlinHelperClass: KotlinProtocol, KotlinGenericProtocol, KotlinUnsignedProtocol, Comparable, Identifiable {
| `- note: class 'KotlinHelperClass' does not conform to the 'Sendable' protocol
164 | public var id: String {
165 | return stringVar
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:46:12: warning: let 'kotlinOptionalSwiftClassConstant' is not concurrency-safe because non-'Sendable' type 'SwiftHelperClass?' may have shared mutable state; this is an error in the Swift 6 language mode
44 | public let kotlinOptionalStringConstant: String? = "s"
45 | public let kotlinOptionalClassConstant: KotlinHelperClass? = KotlinHelperClass()
46 | public let kotlinOptionalSwiftClassConstant: SwiftHelperClass? = SwiftHelperClass()
| |- warning: let 'kotlinOptionalSwiftClassConstant' is not concurrency-safe because non-'Sendable' type 'SwiftHelperClass?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'kotlinOptionalSwiftClassConstant' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | // MARK: Global vars
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesHelpers/Helpers.swift:3:14: note: class 'SwiftHelperClass' does not conform to the 'Sendable' protocol
1 | // Copyright 2024–2025 Skip
2 | // SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception
3 | public class SwiftHelperClass: SwiftProtocol {
| `- note: class 'SwiftHelperClass' does not conform to the 'Sendable' protocol
4 | public var id: String {
5 | return stringVar
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:50:12: warning: var 'kotlinBoolVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | // MARK: Global vars
49 |
50 | public var kotlinBoolVar = true
| |- warning: var 'kotlinBoolVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinBoolVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinBoolVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | // TODO: Char
52 | public var kotlinDoubleVar = 1.0
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:52:12: warning: var 'kotlinDoubleVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | public var kotlinBoolVar = true
51 | // TODO: Char
52 | public var kotlinDoubleVar = 1.0
| |- warning: var 'kotlinDoubleVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinDoubleVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinDoubleVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | public var kotlinFloatVar = Float(2.0)
54 | public var kotlinInt8Var = Int8(3)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:53:12: warning: var 'kotlinFloatVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | // TODO: Char
52 | public var kotlinDoubleVar = 1.0
53 | public var kotlinFloatVar = Float(2.0)
| |- warning: var 'kotlinFloatVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinFloatVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinFloatVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | public var kotlinInt8Var = Int8(3)
55 | public var kotlinInt16Var = Int16(4)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:54:12: warning: var 'kotlinInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | public var kotlinDoubleVar = 1.0
53 | public var kotlinFloatVar = Float(2.0)
54 | public var kotlinInt8Var = Int8(3)
| |- warning: var 'kotlinInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinInt8Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinInt8Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | public var kotlinInt16Var = Int16(4)
56 | public var kotlinInt32Var = Int32(5)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:55:12: warning: var 'kotlinInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 | public var kotlinFloatVar = Float(2.0)
54 | public var kotlinInt8Var = Int8(3)
55 | public var kotlinInt16Var = Int16(4)
| |- warning: var 'kotlinInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinInt16Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinInt16Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | public var kotlinInt32Var = Int32(5)
57 | public var kotlinInt64Var = Int64(6)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:56:12: warning: var 'kotlinInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 | public var kotlinInt8Var = Int8(3)
55 | public var kotlinInt16Var = Int16(4)
56 | public var kotlinInt32Var = Int32(5)
| |- warning: var 'kotlinInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinInt32Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinInt32Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | public var kotlinInt64Var = Int64(6)
58 | public var kotlinIntVar = 7
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:57:12: warning: var 'kotlinInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
55 | public var kotlinInt16Var = Int16(4)
56 | public var kotlinInt32Var = Int32(5)
57 | public var kotlinInt64Var = Int64(6)
| |- warning: var 'kotlinInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinInt64Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinInt64Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | public var kotlinIntVar = 7
59 | public var kotlinUnsignedInt8Var = UInt8(200)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:58:12: warning: var 'kotlinIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
56 | public var kotlinInt32Var = Int32(5)
57 | public var kotlinInt64Var = Int64(6)
58 | public var kotlinIntVar = 7
| |- warning: var 'kotlinIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinIntVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinIntVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | public var kotlinUnsignedInt8Var = UInt8(200)
60 | public var kotlinUnsignedInt16Var = UInt16(40_000)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:59:12: warning: var 'kotlinUnsignedInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 | public var kotlinInt64Var = Int64(6)
58 | public var kotlinIntVar = 7
59 | public var kotlinUnsignedInt8Var = UInt8(200)
| |- warning: var 'kotlinUnsignedInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinUnsignedInt8Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinUnsignedInt8Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public var kotlinUnsignedInt16Var = UInt16(40_000)
61 | public var kotlinUnsignedInt32Var = UInt32(3_000_000_000)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:60:12: warning: var 'kotlinUnsignedInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
58 | public var kotlinIntVar = 7
59 | public var kotlinUnsignedInt8Var = UInt8(200)
60 | public var kotlinUnsignedInt16Var = UInt16(40_000)
| |- warning: var 'kotlinUnsignedInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinUnsignedInt16Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinUnsignedInt16Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | public var kotlinUnsignedInt32Var = UInt32(3_000_000_000)
62 | public var kotlinUnsignedInt64Var = UInt64(3_000_000_000)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:61:12: warning: var 'kotlinUnsignedInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
59 | public var kotlinUnsignedInt8Var = UInt8(200)
60 | public var kotlinUnsignedInt16Var = UInt16(40_000)
61 | public var kotlinUnsignedInt32Var = UInt32(3_000_000_000)
| |- warning: var 'kotlinUnsignedInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinUnsignedInt32Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinUnsignedInt32Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | public var kotlinUnsignedInt64Var = UInt64(3_000_000_000)
63 | public var kotlinUnsignedIntVar = UInt(3_000_000_000)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:62:12: warning: var 'kotlinUnsignedInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 | public var kotlinUnsignedInt16Var = UInt16(40_000)
61 | public var kotlinUnsignedInt32Var = UInt32(3_000_000_000)
62 | public var kotlinUnsignedInt64Var = UInt64(3_000_000_000)
| |- warning: var 'kotlinUnsignedInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinUnsignedInt64Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinUnsignedInt64Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | public var kotlinUnsignedIntVar = UInt(3_000_000_000)
64 | public var kotlinStringVar = "s"
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:63:12: warning: var 'kotlinUnsignedIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | public var kotlinUnsignedInt32Var = UInt32(3_000_000_000)
62 | public var kotlinUnsignedInt64Var = UInt64(3_000_000_000)
63 | public var kotlinUnsignedIntVar = UInt(3_000_000_000)
| |- warning: var 'kotlinUnsignedIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinUnsignedIntVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinUnsignedIntVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public var kotlinStringVar = "s"
65 | public var kotlinNSNumberVar = NSNumber(value: 100)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:64:12: warning: var 'kotlinStringVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | public var kotlinUnsignedInt64Var = UInt64(3_000_000_000)
63 | public var kotlinUnsignedIntVar = UInt(3_000_000_000)
64 | public var kotlinStringVar = "s"
| |- warning: var 'kotlinStringVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinStringVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinStringVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | public var kotlinNSNumberVar = NSNumber(value: 100)
66 | public var kotlinClassVar = KotlinHelperClass()
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:65:12: warning: var 'kotlinNSNumberVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | public var kotlinUnsignedIntVar = UInt(3_000_000_000)
64 | public var kotlinStringVar = "s"
65 | public var kotlinNSNumberVar = NSNumber(value: 100)
| |- warning: var 'kotlinNSNumberVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinNSNumberVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinNSNumberVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | public var kotlinClassVar = KotlinHelperClass()
67 | public var kotlinBaseClassVar = KotlinClass()
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:66:12: warning: var 'kotlinClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | public var kotlinStringVar = "s"
65 | public var kotlinNSNumberVar = NSNumber(value: 100)
66 | public var kotlinClassVar = KotlinHelperClass()
| |- warning: var 'kotlinClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | public var kotlinBaseClassVar = KotlinClass()
68 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:67:12: warning: var 'kotlinBaseClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
65 | public var kotlinNSNumberVar = NSNumber(value: 100)
66 | public var kotlinClassVar = KotlinHelperClass()
67 | public var kotlinBaseClassVar = KotlinClass()
| |- warning: var 'kotlinBaseClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinBaseClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinBaseClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
69 | public var kotlinSwiftClassVar = SwiftHelperClass()
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:68:12: warning: var 'kotlinInnerClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | public var kotlinClassVar = KotlinHelperClass()
67 | public var kotlinBaseClassVar = KotlinClass()
68 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
| |- warning: var 'kotlinInnerClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinInnerClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinInnerClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public var kotlinSwiftClassVar = SwiftHelperClass()
70 | public var kotlinAnyVar: Any = "a"
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:69:12: warning: var 'kotlinSwiftClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 | public var kotlinBaseClassVar = KotlinClass()
68 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
69 | public var kotlinSwiftClassVar = SwiftHelperClass()
| |- warning: var 'kotlinSwiftClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinSwiftClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinSwiftClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public var kotlinAnyVar: Any = "a"
71 | public var kotlinAnyHashableVar: AnyHashable = 1
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:70:12: warning: var 'kotlinAnyVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 | public var kotlinInnerClassVar = KotlinHelperClass.Inner()
69 | public var kotlinSwiftClassVar = SwiftHelperClass()
70 | public var kotlinAnyVar: Any = "a"
| |- warning: var 'kotlinAnyVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinAnyVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinAnyVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | public var kotlinAnyHashableVar: AnyHashable = 1
72 |
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:71:12: warning: var 'kotlinAnyHashableVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
69 | public var kotlinSwiftClassVar = SwiftHelperClass()
70 | public var kotlinAnyVar: Any = "a"
71 | public var kotlinAnyHashableVar: AnyHashable = 1
| |- warning: var 'kotlinAnyHashableVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinAnyHashableVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinAnyHashableVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | // MARK: Global optional vars
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:75:12: warning: var 'kotlinOptionalBoolVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | // MARK: Global optional vars
74 |
75 | public var kotlinOptionalBoolVar: Bool? = true
| |- warning: var 'kotlinOptionalBoolVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalBoolVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalBoolVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | // TODO: Optional char
77 | public var kotlinOptionalDoubleVar: Double? = 1.0
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:77:12: warning: var 'kotlinOptionalDoubleVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 | public var kotlinOptionalBoolVar: Bool? = true
76 | // TODO: Optional char
77 | public var kotlinOptionalDoubleVar: Double? = 1.0
| |- warning: var 'kotlinOptionalDoubleVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalDoubleVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalDoubleVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public var kotlinOptionalFloatVar: Float? = Float(2.0)
79 | public var kotlinOptionalInt8Var: Int8? = nil
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:78:12: warning: var 'kotlinOptionalFloatVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | // TODO: Optional char
77 | public var kotlinOptionalDoubleVar: Double? = 1.0
78 | public var kotlinOptionalFloatVar: Float? = Float(2.0)
| |- warning: var 'kotlinOptionalFloatVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalFloatVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalFloatVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public var kotlinOptionalInt8Var: Int8? = nil
80 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:79:12: warning: var 'kotlinOptionalInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
77 | public var kotlinOptionalDoubleVar: Double? = 1.0
78 | public var kotlinOptionalFloatVar: Float? = Float(2.0)
79 | public var kotlinOptionalInt8Var: Int8? = nil
| |- warning: var 'kotlinOptionalInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalInt8Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalInt8Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
81 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:80:12: warning: var 'kotlinOptionalInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
78 | public var kotlinOptionalFloatVar: Float? = Float(2.0)
79 | public var kotlinOptionalInt8Var: Int8? = nil
80 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
| |- warning: var 'kotlinOptionalInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalInt16Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalInt16Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
82 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:81:12: warning: var 'kotlinOptionalInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 | public var kotlinOptionalInt8Var: Int8? = nil
80 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
81 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
| |- warning: var 'kotlinOptionalInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalInt32Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalInt32Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
83 | public var kotlinOptionalIntVar: Int? = 6
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:82:12: warning: var 'kotlinOptionalInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
80 | public var kotlinOptionalInt16Var: Int16? = Int16(3)
81 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
82 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
| |- warning: var 'kotlinOptionalInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalInt64Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalInt64Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public var kotlinOptionalIntVar: Int? = 6
84 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:83:12: warning: var 'kotlinOptionalIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
81 | public var kotlinOptionalInt32Var: Int32? = Int32(4)
82 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
83 | public var kotlinOptionalIntVar: Int? = 6
| |- warning: var 'kotlinOptionalIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalIntVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalIntVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
85 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:84:12: warning: var 'kotlinOptionalUnsignedInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 | public var kotlinOptionalInt64Var: Int64? = Int64(5)
83 | public var kotlinOptionalIntVar: Int? = 6
84 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
| |- warning: var 'kotlinOptionalUnsignedInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalUnsignedInt8Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalUnsignedInt8Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
86 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:85:12: warning: var 'kotlinOptionalUnsignedInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | public var kotlinOptionalIntVar: Int? = 6
84 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
85 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
| |- warning: var 'kotlinOptionalUnsignedInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalUnsignedInt16Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalUnsignedInt16Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
87 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:86:12: warning: var 'kotlinOptionalUnsignedInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
84 | public var kotlinOptionalUnsignedInt8Var: UInt8? = UInt8(200)
85 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
86 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
| |- warning: var 'kotlinOptionalUnsignedInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalUnsignedInt32Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalUnsignedInt32Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
88 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:87:12: warning: var 'kotlinOptionalUnsignedInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 | public var kotlinOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
86 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
87 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
| |- warning: var 'kotlinOptionalUnsignedInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalUnsignedInt64Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalUnsignedInt64Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
89 | public var kotlinOptionalStringVar: String? = "s"
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:88:12: warning: var 'kotlinOptionalUnsignedIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
86 | public var kotlinOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
87 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
88 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
| |- warning: var 'kotlinOptionalUnsignedIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalUnsignedIntVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalUnsignedIntVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public var kotlinOptionalStringVar: String? = "s"
90 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:89:12: warning: var 'kotlinOptionalStringVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 | public var kotlinOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
88 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
89 | public var kotlinOptionalStringVar: String? = "s"
| |- warning: var 'kotlinOptionalStringVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalStringVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalStringVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
91 | public var kotlinOptionalSwiftClassVar: SwiftHelperClass? = SwiftHelperClass()
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:90:12: warning: var 'kotlinOptionalClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 | public var kotlinOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
89 | public var kotlinOptionalStringVar: String? = "s"
90 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
| |- warning: var 'kotlinOptionalClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public var kotlinOptionalSwiftClassVar: SwiftHelperClass? = SwiftHelperClass()
92 |
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:91:12: warning: var 'kotlinOptionalSwiftClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
89 | public var kotlinOptionalStringVar: String? = "s"
90 | public var kotlinOptionalClassVar: KotlinHelperClass? = KotlinHelperClass()
91 | public var kotlinOptionalSwiftClassVar: SwiftHelperClass? = SwiftHelperClass()
| |- warning: var 'kotlinOptionalSwiftClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinOptionalSwiftClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinOptionalSwiftClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 |
93 | // MARK: Global computed vars
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:126:23: warning: static property 'staticIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
124 | public class KotlinClass {
125 | public static let staticIntConstant = 1
126 | public static var staticIntVar = 1
| |- warning: static property 'staticIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'staticIntVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'staticIntVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | public static func staticFunc(string: String) -> String {
128 | return "kotlin" + string
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:378:12: warning: var 'kotlinClosure0Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
376 | // MARK: Closures
377 |
378 | public var kotlinClosure0Var: () -> Void = { print("original") }
| |- warning: var 'kotlinClosure0Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinClosure0Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinClosure0Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
379 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
380 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:379:12: warning: var 'kotlinClosure1Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | public var kotlinClosure0Var: () -> Void = { print("original") }
379 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
| |- warning: var 'kotlinClosure1Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinClosure1Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinClosure1Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
380 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
381 | public var kotlinClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:380:12: warning: var 'kotlinClosure1PrimitivesVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
378 | public var kotlinClosure0Var: () -> Void = { print("original") }
379 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
380 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
| |- warning: var 'kotlinClosure1PrimitivesVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinClosure1PrimitivesVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinClosure1PrimitivesVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
381 | public var kotlinClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
382 |
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:381:12: warning: var 'kotlinClosure1OptionalsVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
379 | public var kotlinClosure1Var: (Int) -> String = { i in "value = \(i)" }
380 | public var kotlinClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
381 | public var kotlinClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
| |- warning: var 'kotlinClosure1OptionalsVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinClosure1OptionalsVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinClosure1OptionalsVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
382 |
383 | // MARK: Containers
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:385:12: warning: var 'kotlinIntArrayVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
383 | // MARK: Containers
384 |
385 | public var kotlinIntArrayVar = [1, 2, 3]
| |- warning: var 'kotlinIntArrayVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinIntArrayVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinIntArrayVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
386 | public var kotlinStringSetVar: Set<String> = ["a", "b", "c"]
387 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:386:12: warning: var 'kotlinStringSetVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
384 |
385 | public var kotlinIntArrayVar = [1, 2, 3]
386 | public var kotlinStringSetVar: Set<String> = ["a", "b", "c"]
| |- warning: var 'kotlinStringSetVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinStringSetVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinStringSetVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
387 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
388 | public var kotlinIntStringTupleVar = (1, "s")
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:387:12: warning: var 'kotlinIntStringDictionaryVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
385 | public var kotlinIntArrayVar = [1, 2, 3]
386 | public var kotlinStringSetVar: Set<String> = ["a", "b", "c"]
387 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
| |- warning: var 'kotlinIntStringDictionaryVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinIntStringDictionaryVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinIntStringDictionaryVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
388 | public var kotlinIntStringTupleVar = (1, "s")
389 | public var kotlinIntErrorResult: Result<Int, KotlinError> = .success(1)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:388:12: warning: var 'kotlinIntStringTupleVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
386 | public var kotlinStringSetVar: Set<String> = ["a", "b", "c"]
387 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
388 | public var kotlinIntStringTupleVar = (1, "s")
| |- warning: var 'kotlinIntStringTupleVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinIntStringTupleVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinIntStringTupleVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
389 | public var kotlinIntErrorResult: Result<Int, KotlinError> = .success(1)
390 |
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Samples.swift:389:12: warning: var 'kotlinIntErrorResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
387 | public var kotlinIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
388 | public var kotlinIntStringTupleVar = (1, "s")
389 | public var kotlinIntErrorResult: Result<Int, KotlinError> = .success(1)
| |- warning: var 'kotlinIntErrorResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kotlinIntErrorResult' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kotlinIntErrorResult' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
390 |
391 | // MARK: Functions
[186/198] Compiling SkipBridgeToKotlinSamples Samples.swift
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:24:12: warning: let 'swiftClassConstant' is not concurrency-safe because non-'Sendable' type 'SwiftHelperClass' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public let swiftUnsignedIntConstant = UInt(3_000_000_000)
23 | public let swiftStringConstant = "s"
24 | public let swiftClassConstant = SwiftHelperClass()
| |- warning: let 'swiftClassConstant' is not concurrency-safe because non-'Sendable' type 'SwiftHelperClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'swiftClassConstant' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public let swiftKotlinClassConstant = KotlinHelperClass()
26 |
:
165 | }
166 |
167 | public final class SwiftHelperClass: SwiftProtocol, SwiftGenericProtocol, Comparable, Identifiable {
| `- note: class 'SwiftHelperClass' does not conform to the 'Sendable' protocol
168 | public var id: String {
169 | return stringVar
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:25:12: warning: let 'swiftKotlinClassConstant' is not concurrency-safe because non-'Sendable' type 'KotlinHelperClass' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public let swiftStringConstant = "s"
24 | public let swiftClassConstant = SwiftHelperClass()
25 | public let swiftKotlinClassConstant = KotlinHelperClass()
| `- warning: let 'swiftKotlinClassConstant' is not concurrency-safe because non-'Sendable' type 'KotlinHelperClass' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | // MARK: Global optional constants
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamplesHelpers/Helpers.swift:5:14: note: class 'KotlinHelperClass' does not conform to the 'Sendable' protocol
3 | #if !SKIP_BRIDGE
4 |
5 | public class KotlinHelperClass: KotlinProtocol {
| `- note: class 'KotlinHelperClass' does not conform to the 'Sendable' protocol
6 | public var stringVar = "s"
7 |
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SkipBridgeToKotlinSamplesHelpers'
3 | import Foundation
4 | import SkipBridge
5 | import SkipBridgeToKotlinSamplesHelpers
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SkipBridgeToKotlinSamplesHelpers'
6 |
7 | // MARK: Global constants
:
23 | public let swiftStringConstant = "s"
24 | public let swiftClassConstant = SwiftHelperClass()
25 | public let swiftKotlinClassConstant = KotlinHelperClass()
| |- note: add '@MainActor' to make let 'swiftKotlinClassConstant' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | // MARK: Global optional constants
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:44:12: warning: let 'swiftOptionalClassConstant' is not concurrency-safe because non-'Sendable' type 'SwiftHelperClass?' may have shared mutable state; this is an error in the Swift 6 language mode
42 | public let swiftOptionalUnsignedIntConstant: UInt? = UInt(3_000_000_000)
43 | public let swiftOptionalStringConstant: String? = "s"
44 | public let swiftOptionalClassConstant: SwiftHelperClass? = SwiftHelperClass()
| |- warning: let 'swiftOptionalClassConstant' is not concurrency-safe because non-'Sendable' type 'SwiftHelperClass?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'swiftOptionalClassConstant' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | public let swiftOptionalKotlinClassConstant: KotlinHelperClass? = KotlinHelperClass()
46 |
:
165 | }
166 |
167 | public final class SwiftHelperClass: SwiftProtocol, SwiftGenericProtocol, Comparable, Identifiable {
| `- note: class 'SwiftHelperClass' does not conform to the 'Sendable' protocol
168 | public var id: String {
169 | return stringVar
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:45:12: warning: let 'swiftOptionalKotlinClassConstant' is not concurrency-safe because non-'Sendable' type 'KotlinHelperClass?' may have shared mutable state; this is an error in the Swift 6 language mode
43 | public let swiftOptionalStringConstant: String? = "s"
44 | public let swiftOptionalClassConstant: SwiftHelperClass? = SwiftHelperClass()
45 | public let swiftOptionalKotlinClassConstant: KotlinHelperClass? = KotlinHelperClass()
| |- warning: let 'swiftOptionalKotlinClassConstant' is not concurrency-safe because non-'Sendable' type 'KotlinHelperClass?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'swiftOptionalKotlinClassConstant' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | // MARK: Global vars
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamplesHelpers/Helpers.swift:5:14: note: class 'KotlinHelperClass' does not conform to the 'Sendable' protocol
3 | #if !SKIP_BRIDGE
4 |
5 | public class KotlinHelperClass: KotlinProtocol {
| `- note: class 'KotlinHelperClass' does not conform to the 'Sendable' protocol
6 | public var stringVar = "s"
7 |
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:49:12: warning: var 'swiftBoolVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 | // MARK: Global vars
48 |
49 | public var swiftBoolVar = true
| |- warning: var 'swiftBoolVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftBoolVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftBoolVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | // TODO: Char
51 | public var swiftDoubleVar = 1.0
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:51:12: warning: var 'swiftDoubleVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | public var swiftBoolVar = true
50 | // TODO: Char
51 | public var swiftDoubleVar = 1.0
| |- warning: var 'swiftDoubleVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftDoubleVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftDoubleVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public var swiftFloatVar: Float = 2.0
53 | public var swiftInt8Var: Int8 = 3
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:52:12: warning: var 'swiftFloatVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | // TODO: Char
51 | public var swiftDoubleVar = 1.0
52 | public var swiftFloatVar: Float = 2.0
| |- warning: var 'swiftFloatVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftFloatVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftFloatVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | public var swiftInt8Var: Int8 = 3
54 | public var swiftInt16Var: Int16 = 4
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:53:12: warning: var 'swiftInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | public var swiftDoubleVar = 1.0
52 | public var swiftFloatVar: Float = 2.0
53 | public var swiftInt8Var: Int8 = 3
| |- warning: var 'swiftInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftInt8Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftInt8Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | public var swiftInt16Var: Int16 = 4
55 | public var swiftInt32Var: Int32 = 5
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:54:12: warning: var 'swiftInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | public var swiftFloatVar: Float = 2.0
53 | public var swiftInt8Var: Int8 = 3
54 | public var swiftInt16Var: Int16 = 4
| |- warning: var 'swiftInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftInt16Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftInt16Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | public var swiftInt32Var: Int32 = 5
56 | public var swiftInt64Var: Int64 = 6
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:55:12: warning: var 'swiftInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 | public var swiftInt8Var: Int8 = 3
54 | public var swiftInt16Var: Int16 = 4
55 | public var swiftInt32Var: Int32 = 5
| |- warning: var 'swiftInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftInt32Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftInt32Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | public var swiftInt64Var: Int64 = 6
57 | public var swiftIntVar = 7
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:56:12: warning: var 'swiftInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 | public var swiftInt16Var: Int16 = 4
55 | public var swiftInt32Var: Int32 = 5
56 | public var swiftInt64Var: Int64 = 6
| |- warning: var 'swiftInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftInt64Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftInt64Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | public var swiftIntVar = 7
58 | public var swiftUnsignedInt8Var = UInt8(200)
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:57:12: warning: var 'swiftIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
55 | public var swiftInt32Var: Int32 = 5
56 | public var swiftInt64Var: Int64 = 6
57 | public var swiftIntVar = 7
| |- warning: var 'swiftIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftIntVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftIntVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | public var swiftUnsignedInt8Var = UInt8(200)
59 | public var swiftUnsignedInt16Var = UInt16(40_000)
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:58:12: warning: var 'swiftUnsignedInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
56 | public var swiftInt64Var: Int64 = 6
57 | public var swiftIntVar = 7
58 | public var swiftUnsignedInt8Var = UInt8(200)
| |- warning: var 'swiftUnsignedInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftUnsignedInt8Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftUnsignedInt8Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | public var swiftUnsignedInt16Var = UInt16(40_000)
60 | public var swiftUnsignedInt32Var = UInt32(3_000_000_000)
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:59:12: warning: var 'swiftUnsignedInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 | public var swiftIntVar = 7
58 | public var swiftUnsignedInt8Var = UInt8(200)
59 | public var swiftUnsignedInt16Var = UInt16(40_000)
| |- warning: var 'swiftUnsignedInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftUnsignedInt16Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftUnsignedInt16Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public var swiftUnsignedInt32Var = UInt32(3_000_000_000)
61 | public var swiftUnsignedInt64Var = UInt64(3_000_000_000)
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:60:12: warning: var 'swiftUnsignedInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
58 | public var swiftUnsignedInt8Var = UInt8(200)
59 | public var swiftUnsignedInt16Var = UInt16(40_000)
60 | public var swiftUnsignedInt32Var = UInt32(3_000_000_000)
| |- warning: var 'swiftUnsignedInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftUnsignedInt32Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftUnsignedInt32Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | public var swiftUnsignedInt64Var = UInt64(3_000_000_000)
62 | public var swiftUnsignedIntVar = UInt(3_000_000_000)
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:61:12: warning: var 'swiftUnsignedInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
59 | public var swiftUnsignedInt16Var = UInt16(40_000)
60 | public var swiftUnsignedInt32Var = UInt32(3_000_000_000)
61 | public var swiftUnsignedInt64Var = UInt64(3_000_000_000)
| |- warning: var 'swiftUnsignedInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftUnsignedInt64Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftUnsignedInt64Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | public var swiftUnsignedIntVar = UInt(3_000_000_000)
63 | public var swiftStringVar = "s"
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:62:12: warning: var 'swiftUnsignedIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 | public var swiftUnsignedInt32Var = UInt32(3_000_000_000)
61 | public var swiftUnsignedInt64Var = UInt64(3_000_000_000)
62 | public var swiftUnsignedIntVar = UInt(3_000_000_000)
| |- warning: var 'swiftUnsignedIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftUnsignedIntVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftUnsignedIntVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | public var swiftStringVar = "s"
64 | public var swiftNSNumberVar = NSNumber(value: 100)
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:63:12: warning: var 'swiftStringVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | public var swiftUnsignedInt64Var = UInt64(3_000_000_000)
62 | public var swiftUnsignedIntVar = UInt(3_000_000_000)
63 | public var swiftStringVar = "s"
| |- warning: var 'swiftStringVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftStringVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftStringVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public var swiftNSNumberVar = NSNumber(value: 100)
65 | public var swiftClassVar = SwiftHelperClass()
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:64:12: warning: var 'swiftNSNumberVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | public var swiftUnsignedIntVar = UInt(3_000_000_000)
63 | public var swiftStringVar = "s"
64 | public var swiftNSNumberVar = NSNumber(value: 100)
| |- warning: var 'swiftNSNumberVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftNSNumberVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftNSNumberVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | public var swiftClassVar = SwiftHelperClass()
66 | public var swiftBaseClassVar = SwiftClass()
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:65:12: warning: var 'swiftClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | public var swiftStringVar = "s"
64 | public var swiftNSNumberVar = NSNumber(value: 100)
65 | public var swiftClassVar = SwiftHelperClass()
| |- warning: var 'swiftClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | public var swiftBaseClassVar = SwiftClass()
67 | public var swiftInnerClassVar = SwiftHelperClass.Inner()
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:66:12: warning: var 'swiftBaseClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | public var swiftNSNumberVar = NSNumber(value: 100)
65 | public var swiftClassVar = SwiftHelperClass()
66 | public var swiftBaseClassVar = SwiftClass()
| |- warning: var 'swiftBaseClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftBaseClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftBaseClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | public var swiftInnerClassVar = SwiftHelperClass.Inner()
68 | public var swiftKotlinClassVar = KotlinHelperClass()
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:67:12: warning: var 'swiftInnerClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
65 | public var swiftClassVar = SwiftHelperClass()
66 | public var swiftBaseClassVar = SwiftClass()
67 | public var swiftInnerClassVar = SwiftHelperClass.Inner()
| |- warning: var 'swiftInnerClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftInnerClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftInnerClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | public var swiftKotlinClassVar = KotlinHelperClass()
69 | public var swiftAnyVar: Any = "a"
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:68:12: warning: var 'swiftKotlinClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | public var swiftBaseClassVar = SwiftClass()
67 | public var swiftInnerClassVar = SwiftHelperClass.Inner()
68 | public var swiftKotlinClassVar = KotlinHelperClass()
| |- warning: var 'swiftKotlinClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftKotlinClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftKotlinClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public var swiftAnyVar: Any = "a"
70 | public var swiftAnyHashableVar: AnyHashable = 1
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:69:12: warning: var 'swiftAnyVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 | public var swiftInnerClassVar = SwiftHelperClass.Inner()
68 | public var swiftKotlinClassVar = KotlinHelperClass()
69 | public var swiftAnyVar: Any = "a"
| |- warning: var 'swiftAnyVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftAnyVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftAnyVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public var swiftAnyHashableVar: AnyHashable = 1
71 |
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:70:12: warning: var 'swiftAnyHashableVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 | public var swiftKotlinClassVar = KotlinHelperClass()
69 | public var swiftAnyVar: Any = "a"
70 | public var swiftAnyHashableVar: AnyHashable = 1
| |- warning: var 'swiftAnyHashableVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftAnyHashableVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftAnyHashableVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | // MARK: Global optional vars
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:74:12: warning: var 'swiftOptionalBoolVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
72 | // MARK: Global optional vars
73 |
74 | public var swiftOptionalBoolVar: Bool? = true
| |- warning: var 'swiftOptionalBoolVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftOptionalBoolVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftOptionalBoolVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | // TODO: Optional char
76 | public var swiftOptionalDoubleVar: Double? = 1.0
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:76:12: warning: var 'swiftOptionalDoubleVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | public var swiftOptionalBoolVar: Bool? = true
75 | // TODO: Optional char
76 | public var swiftOptionalDoubleVar: Double? = 1.0
| |- warning: var 'swiftOptionalDoubleVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftOptionalDoubleVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftOptionalDoubleVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public var swiftOptionalFloatVar: Float? = 2.0
78 | public var swiftOptionalInt8Var: Int8? = nil
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:77:12: warning: var 'swiftOptionalFloatVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 | // TODO: Optional char
76 | public var swiftOptionalDoubleVar: Double? = 1.0
77 | public var swiftOptionalFloatVar: Float? = 2.0
| |- warning: var 'swiftOptionalFloatVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftOptionalFloatVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftOptionalFloatVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public var swiftOptionalInt8Var: Int8? = nil
79 | public var swiftOptionalInt16Var: Int16? = 3
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:78:12: warning: var 'swiftOptionalInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | public var swiftOptionalDoubleVar: Double? = 1.0
77 | public var swiftOptionalFloatVar: Float? = 2.0
78 | public var swiftOptionalInt8Var: Int8? = nil
| |- warning: var 'swiftOptionalInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftOptionalInt8Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftOptionalInt8Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public var swiftOptionalInt16Var: Int16? = 3
80 | public var swiftOptionalInt32Var: Int32? = 4
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:79:12: warning: var 'swiftOptionalInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
77 | public var swiftOptionalFloatVar: Float? = 2.0
78 | public var swiftOptionalInt8Var: Int8? = nil
79 | public var swiftOptionalInt16Var: Int16? = 3
| |- warning: var 'swiftOptionalInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftOptionalInt16Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftOptionalInt16Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public var swiftOptionalInt32Var: Int32? = 4
81 | public var swiftOptionalInt64Var: Int64? = 5
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:80:12: warning: var 'swiftOptionalInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
78 | public var swiftOptionalInt8Var: Int8? = nil
79 | public var swiftOptionalInt16Var: Int16? = 3
80 | public var swiftOptionalInt32Var: Int32? = 4
| |- warning: var 'swiftOptionalInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftOptionalInt32Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftOptionalInt32Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public var swiftOptionalInt64Var: Int64? = 5
82 | public var swiftOptionalIntVar: Int? = 6
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:81:12: warning: var 'swiftOptionalInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 | public var swiftOptionalInt16Var: Int16? = 3
80 | public var swiftOptionalInt32Var: Int32? = 4
81 | public var swiftOptionalInt64Var: Int64? = 5
| |- warning: var 'swiftOptionalInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftOptionalInt64Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftOptionalInt64Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public var swiftOptionalIntVar: Int? = 6
83 | public var swiftOptionalUnsignedInt8Var: UInt8? = UInt8(200)
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:82:12: warning: var 'swiftOptionalIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
80 | public var swiftOptionalInt32Var: Int32? = 4
81 | public var swiftOptionalInt64Var: Int64? = 5
82 | public var swiftOptionalIntVar: Int? = 6
| |- warning: var 'swiftOptionalIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftOptionalIntVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftOptionalIntVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public var swiftOptionalUnsignedInt8Var: UInt8? = UInt8(200)
84 | public var swiftOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:83:12: warning: var 'swiftOptionalUnsignedInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
81 | public var swiftOptionalInt64Var: Int64? = 5
82 | public var swiftOptionalIntVar: Int? = 6
83 | public var swiftOptionalUnsignedInt8Var: UInt8? = UInt8(200)
| |- warning: var 'swiftOptionalUnsignedInt8Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftOptionalUnsignedInt8Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftOptionalUnsignedInt8Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | public var swiftOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
85 | public var swiftOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:84:12: warning: var 'swiftOptionalUnsignedInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 | public var swiftOptionalIntVar: Int? = 6
83 | public var swiftOptionalUnsignedInt8Var: UInt8? = UInt8(200)
84 | public var swiftOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
| |- warning: var 'swiftOptionalUnsignedInt16Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftOptionalUnsignedInt16Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftOptionalUnsignedInt16Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public var swiftOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
86 | public var swiftOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:85:12: warning: var 'swiftOptionalUnsignedInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | public var swiftOptionalUnsignedInt8Var: UInt8? = UInt8(200)
84 | public var swiftOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
85 | public var swiftOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
| |- warning: var 'swiftOptionalUnsignedInt32Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftOptionalUnsignedInt32Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftOptionalUnsignedInt32Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public var swiftOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
87 | public var swiftOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:86:12: warning: var 'swiftOptionalUnsignedInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
84 | public var swiftOptionalUnsignedInt16Var: UInt16? = UInt16(40_000)
85 | public var swiftOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
86 | public var swiftOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
| |- warning: var 'swiftOptionalUnsignedInt64Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftOptionalUnsignedInt64Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftOptionalUnsignedInt64Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public var swiftOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
88 | public var swiftOptionalStringVar: String? = "s"
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:87:12: warning: var 'swiftOptionalUnsignedIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 | public var swiftOptionalUnsignedInt32Var: UInt32? = UInt32(3_000_000_000)
86 | public var swiftOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
87 | public var swiftOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
| |- warning: var 'swiftOptionalUnsignedIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftOptionalUnsignedIntVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftOptionalUnsignedIntVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public var swiftOptionalStringVar: String? = "s"
89 | public var swiftOptionalClassVar: SwiftHelperClass? = SwiftHelperClass()
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:88:12: warning: var 'swiftOptionalStringVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
86 | public var swiftOptionalUnsignedInt64Var: UInt64? = UInt64(3_000_000_000)
87 | public var swiftOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
88 | public var swiftOptionalStringVar: String? = "s"
| |- warning: var 'swiftOptionalStringVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftOptionalStringVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftOptionalStringVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public var swiftOptionalClassVar: SwiftHelperClass? = SwiftHelperClass()
90 | public var swiftOptionalKotlinClassVar: KotlinHelperClass? = KotlinHelperClass()
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:89:12: warning: var 'swiftOptionalClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 | public var swiftOptionalUnsignedIntVar: UInt? = UInt(3_000_000_000)
88 | public var swiftOptionalStringVar: String? = "s"
89 | public var swiftOptionalClassVar: SwiftHelperClass? = SwiftHelperClass()
| |- warning: var 'swiftOptionalClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftOptionalClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftOptionalClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public var swiftOptionalKotlinClassVar: KotlinHelperClass? = KotlinHelperClass()
91 |
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:90:12: warning: var 'swiftOptionalKotlinClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 | public var swiftOptionalStringVar: String? = "s"
89 | public var swiftOptionalClassVar: SwiftHelperClass? = SwiftHelperClass()
90 | public var swiftOptionalKotlinClassVar: KotlinHelperClass? = KotlinHelperClass()
| |- warning: var 'swiftOptionalKotlinClassVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftOptionalKotlinClassVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftOptionalKotlinClassVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | // MARK: Global computed vars
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:125:23: warning: static property 'staticIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
123 | public class SwiftClass {
124 | public static let staticIntConstant = 1
125 | public static var staticIntVar = 1
| |- warning: static property 'staticIntVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'staticIntVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'staticIntVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | public static func staticFunc(string: String) -> String {
127 | return "swift" + string
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:390:12: warning: var 'swiftClosure0Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
388 | // MARK: Closures
389 |
390 | public var swiftClosure0Var: () -> Void = { print("original") }
| |- warning: var 'swiftClosure0Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftClosure0Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftClosure0Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
391 | public var swiftClosure1Var: (Int) -> String = { i in "value = \(i)" }
392 | public var swiftClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:391:12: warning: var 'swiftClosure1Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
389 |
390 | public var swiftClosure0Var: () -> Void = { print("original") }
391 | public var swiftClosure1Var: (Int) -> String = { i in "value = \(i)" }
| |- warning: var 'swiftClosure1Var' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftClosure1Var' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftClosure1Var' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
392 | public var swiftClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
393 | public var swiftClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:392:12: warning: var 'swiftClosure1PrimitivesVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
390 | public var swiftClosure0Var: () -> Void = { print("original") }
391 | public var swiftClosure1Var: (Int) -> String = { i in "value = \(i)" }
392 | public var swiftClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
| |- warning: var 'swiftClosure1PrimitivesVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftClosure1PrimitivesVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftClosure1PrimitivesVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
393 | public var swiftClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
394 |
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:393:12: warning: var 'swiftClosure1OptionalsVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
391 | public var swiftClosure1Var: (Int) -> String = { i in "value = \(i)" }
392 | public var swiftClosure1PrimitivesVar: (Int64) -> Int = { l in Int(l / 1000) }
393 | public var swiftClosure1OptionalsVar: (String?) -> Int? = { s in s?.count }
| |- warning: var 'swiftClosure1OptionalsVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftClosure1OptionalsVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftClosure1OptionalsVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
394 |
395 | // MARK: Containers
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:397:12: warning: var 'swiftIntArrayVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
395 | // MARK: Containers
396 |
397 | public var swiftIntArrayVar = [1, 2, 3]
| |- warning: var 'swiftIntArrayVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftIntArrayVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftIntArrayVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
398 | public var swiftStringSetVar: Set<String> = ["a", "b", "c"]
399 | public var swiftIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:398:12: warning: var 'swiftStringSetVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
396 |
397 | public var swiftIntArrayVar = [1, 2, 3]
398 | public var swiftStringSetVar: Set<String> = ["a", "b", "c"]
| |- warning: var 'swiftStringSetVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftStringSetVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftStringSetVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
399 | public var swiftIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
400 | public var swiftIntStringTuple = (1, "s")
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:399:12: warning: var 'swiftIntStringDictionaryVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
397 | public var swiftIntArrayVar = [1, 2, 3]
398 | public var swiftStringSetVar: Set<String> = ["a", "b", "c"]
399 | public var swiftIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
| |- warning: var 'swiftIntStringDictionaryVar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftIntStringDictionaryVar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftIntStringDictionaryVar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
400 | public var swiftIntStringTuple = (1, "s")
401 | public var swiftIntErrorResult: Result<Int, SwiftError> = .success(1)
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:400:12: warning: var 'swiftIntStringTuple' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
398 | public var swiftStringSetVar: Set<String> = ["a", "b", "c"]
399 | public var swiftIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
400 | public var swiftIntStringTuple = (1, "s")
| |- warning: var 'swiftIntStringTuple' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftIntStringTuple' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftIntStringTuple' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
401 | public var swiftIntErrorResult: Result<Int, SwiftError> = .success(1)
402 | public var swiftHashable1: AnyHashable = SwiftHashable(HashableEnum.first)
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:401:12: warning: var 'swiftIntErrorResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
399 | public var swiftIntStringDictionaryVar = [1: "a", 2: "b", 3: "c"]
400 | public var swiftIntStringTuple = (1, "s")
401 | public var swiftIntErrorResult: Result<Int, SwiftError> = .success(1)
| |- warning: var 'swiftIntErrorResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftIntErrorResult' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftIntErrorResult' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
402 | public var swiftHashable1: AnyHashable = SwiftHashable(HashableEnum.first)
403 | public var swiftHashable2: AnyHashable = SwiftHashable(HashableEnum.first)
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:402:12: warning: var 'swiftHashable1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
400 | public var swiftIntStringTuple = (1, "s")
401 | public var swiftIntErrorResult: Result<Int, SwiftError> = .success(1)
402 | public var swiftHashable1: AnyHashable = SwiftHashable(HashableEnum.first)
| |- warning: var 'swiftHashable1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftHashable1' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftHashable1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
403 | public var swiftHashable2: AnyHashable = SwiftHashable(HashableEnum.first)
404 | public var swiftHashable3: AnyHashable = SwiftHashable(HashableEnum.second)
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:403:12: warning: var 'swiftHashable2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
401 | public var swiftIntErrorResult: Result<Int, SwiftError> = .success(1)
402 | public var swiftHashable1: AnyHashable = SwiftHashable(HashableEnum.first)
403 | public var swiftHashable2: AnyHashable = SwiftHashable(HashableEnum.first)
| |- warning: var 'swiftHashable2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftHashable2' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftHashable2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
404 | public var swiftHashable3: AnyHashable = SwiftHashable(HashableEnum.second)
405 |
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/Samples.swift:404:12: warning: var 'swiftHashable3' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
402 | public var swiftHashable1: AnyHashable = SwiftHashable(HashableEnum.first)
403 | public var swiftHashable2: AnyHashable = SwiftHashable(HashableEnum.first)
404 | public var swiftHashable3: AnyHashable = SwiftHashable(HashableEnum.second)
| |- warning: var 'swiftHashable3' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftHashable3' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'swiftHashable3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
405 |
406 | // SKIP @nobridge
note: Skip 1.6.16: skipstone plugin to: /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SkipBridgeToSwiftSamplesTestsSupport/destination/skipstone/SkipBridgeToSwiftSamplesTestsSupport/src/main at 01:26:00
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/Skip/skip.yml: note: loading skip.yml from /host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/Skip/skip.yml
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Skip/skip.yml: note: SkipBridgeToSwiftSamples skip.yml config loaded (2 ms)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesHelpers/Skip/skip.yml: note: SkipBridgeToSwiftSamplesHelpers skip.yml config loaded (2 ms)
[187/198] Skip SkipBridgeToSwiftSamplesTestsSupport
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Create SkipLink
[2/2] Compiling plugin skipstone
Building for debugging...
[2/44] Write swift-version-24593BA9C3E375BF.txt
[4/49] Emitting module SkipUnit
[5/49] Compiling SkipUnit XCTest.swift
[6/49] Compiling SkipUnit resource_bundle_accessor.swift
[8/81] Compiling SkipLib Regex.swift
[9/81] Compiling SkipLib Result.swift
[10/81] Compiling SkipLib Set.swift
[11/81] Compiling SkipLib SetAlgebra.swift
[12/85] Compiling SkipLib CoreGraphics.swift
[13/85] Compiling SkipLib CustomStringConvertible.swift
[14/85] Compiling SkipLib Dictionary.swift
[15/85] Compiling SkipLib Equatable.swift
[16/85] Compiling SkipLib Error.swift
[17/85] Compiling SkipLib Array.swift
[18/85] Compiling SkipLib AsyncStream.swift
[19/85] Compiling SkipLib Bool.swift
[20/85] Compiling SkipLib BridgeSupport.swift
[21/85] Compiling SkipLib CaseIterable.swift
[22/85] Emitting module SkipLib
[23/85] Compiling SkipLib Math.swift
[24/85] Compiling SkipLib Numbers.swift
[25/85] Compiling SkipLib ObjectIdentifier.swift
[26/85] Compiling SkipLib OptionSet.swift
[27/85] Compiling SkipLib Codable.swift
[28/85] Compiling SkipLib CodableSupport.swift
[29/85] Compiling SkipLib Collections.swift
[30/85] Compiling SkipLib Concurrency.swift
[31/85] Compiling SkipLib Copyable.swift
[32/85] Compiling SkipLib Optional.swift
[33/85] Compiling SkipLib Pointer.swift
[34/85] Compiling SkipLib Random.swift
[35/85] Compiling SkipLib RawRepresentable.swift
[36/85] Compiling SkipLib Globals.swift
[37/85] Compiling SkipLib Hashable.swift
[38/85] Compiling SkipLib Identifiable.swift
[39/85] Compiling SkipLib IntSet.swift
[40/85] Compiling SkipLib SkipLib.swift
[41/85] Compiling SkipLib String.swift
[42/85] Compiling SkipLib StringInterpolationProtocol.swift
[43/85] Compiling SkipLib resource_bundle_accessor.swift
[44/86] Wrapping AST for SkipLib for debugging
[46/138] Compiling SkipFoundation HTTPURLResponse.swift
[47/138] Compiling SkipFoundation ISO8601DateFormatter.swift
[48/138] Compiling SkipFoundation IndexPath.swift
[49/138] Compiling SkipFoundation IndexSet.swift
[50/138] Compiling SkipFoundation JSONDecoder.swift
[51/138] Compiling SkipFoundation JSONEncoder.swift
[52/138] Compiling SkipFoundation JSONSerialization+Parser.swift
[53/145] Emitting module SkipFoundation
[54/145] Compiling SkipFoundation NotificationCenter.swift
[55/145] Compiling SkipFoundation Number.swift
[56/145] Compiling SkipFoundation NumberFormatter.swift
[57/145] Compiling SkipFoundation OSAllocatedUnfairLock.swift
[58/145] Compiling SkipFoundation OperationQueue.swift
[59/145] Compiling SkipFoundation ProcessInfo.swift
[60/145] Compiling SkipFoundation PropertyListSerialization.swift
[61/145] Compiling SkipFoundation TimeZone.swift
[62/145] Compiling SkipFoundation Timer.swift
[63/145] Compiling SkipFoundation URL.swift
[64/145] Compiling SkipFoundation URLComponents.swift
[65/145] Compiling SkipFoundation URLRequest.swift
[66/145] Compiling SkipFoundation URLResponse.swift
[67/145] Compiling SkipFoundation URLSession.swift
[68/145] Compiling SkipFoundation URLSessionConfiguration.swift
[69/145] Compiling SkipFoundation URLSessionTask.swift
[70/145] Compiling SkipFoundation UUID.swift
[71/145] Compiling SkipFoundation Unicode.swift
[72/145] Compiling SkipFoundation UserDefaults.swift
[73/145] Compiling SkipFoundation XMLParser.swift
[74/145] Compiling SkipFoundation resource_bundle_accessor.swift
[75/145] Compiling SkipFoundation JSONSerialization.swift
[76/145] Compiling SkipFoundation Locale.swift
[77/145] Compiling SkipFoundation LocalizedStringResource.swift
[78/145] Compiling SkipFoundation Logger.swift
[79/145] Compiling SkipFoundation MarkdownNode.swift
[80/145] Compiling SkipFoundation NSError.swift
[81/145] Compiling SkipFoundation NSLock.swift
[82/145] Compiling SkipFoundation AttributedString.swift
[83/145] Compiling SkipFoundation Bundle.swift
[84/145] Compiling SkipFoundation Calendar.swift
[85/145] Compiling SkipFoundation CharacterSet.swift
[86/145] Compiling SkipFoundation ComparisonResult.swift
[87/145] Compiling SkipFoundation Data.swift
[88/145] Compiling SkipFoundation Date.swift
[89/145] Compiling SkipFoundation DateComponents.swift
[90/145] Compiling SkipFoundation DateComponentsFormatter.swift
[91/145] Compiling SkipFoundation DateFormatter.swift
[92/145] Compiling SkipFoundation DateInterval.swift
[93/145] Compiling SkipFoundation DateIntervalFormatter.swift
[94/145] Compiling SkipFoundation Digest.swift
[95/145] Compiling SkipFoundation Dispatch.swift
[96/145] Compiling SkipFoundation FileManager.swift
[97/145] Compiling SkipFoundation Formatter.swift
[98/145] Compiling SkipFoundation RelativeDateTimeFormatter.swift
[99/145] Compiling SkipFoundation Scanner.swift
[100/145] Compiling SkipFoundation SkipFoundation.swift
[101/145] Compiling SkipFoundation String.swift
[102/145] Compiling SkipFoundation StringEncoding.swift
[103/145] Compiling SkipFoundation StringLocalizationValue.swift
[104/145] Compiling SkipFoundation Thread.swift
[106/146] Emitting module SwiftJNI
[107/146] Compiling SwiftJNI SwiftJNI.swift
[108/145] Write Objects.LinkFileList
[109/145] Linking libSwiftJNI.so
note: Skip 1.6.16: skipstone plugin to: /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SkipBridge/destination/skipstone/SkipBridge/src/main at 01:26:14
/host/spi-builder-workspace/Sources/SkipBridge/Skip/skip.yml: note: loading skip.yml from /host/spi-builder-workspace/Sources/SkipBridge/Skip/skip.yml
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/skip.yml: note: SkipLib skip.yml config loaded (41 ms)
/host/spi-builder-workspace/.build/checkouts/skip-unit/Sources/SkipUnit/Skip/skip.yml: note: SkipUnit skip.yml config loaded (1748 ms)
note: skip.yml aggregate created (3792 ms) for modules: ["SkipBridge", "SkipLib", "SkipUnit"]
/host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/SkipLib.skipcode.json: note: SkipLib.skipcode.json codebase (655 KB) loaded (372 ms) for SkipLib
/host/spi-builder-workspace/.build/plugins/outputs/skip-unit/SkipUnit/destination/skipstone/SkipUnit.skipcode.json: note: SkipUnit.skipcode.json codebase (10 KB) loaded (5 ms) for SkipUnit
/host/spi-builder-workspace/Sources/SkipBridge/Skip/Reflector.kt: note: SkipBridge/src/main/kotlin/skip/bridge/Reflector.kt override linked from project source /host/spi-builder-workspace/Sources/SkipBridge/Skip/Reflector.kt
/host/spi-builder-workspace/Sources/SkipBridge/Skip/AndroidManifest.xml: note: SkipBridge/src/main/AndroidManifest.xml override linked from project source /host/spi-builder-workspace/Sources/SkipBridge/Skip/AndroidManifest.xml
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SkipBridge/destination/skipstone/SkipBridge/src/main/kotlin/skip/bridge/BridgeSupport.kt: note: SkipBridge/src/main/kotlin/skip/bridge/BridgeSupport.kt (1 KB) transpilation unchanged from BridgeSupport.swift (8 KB) in 36 ms
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SkipBridge/destination/skipstone/SkipBridge/src/main/kotlin/skip/bridge/SwiftHashable.kt: note: SkipBridge/src/main/kotlin/skip/bridge/SwiftHashable.kt (1 KB) transpilation unchanged from SwiftHashable.swift (5 KB) in 37 ms
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SkipBridge/destination/skipstone/SkipBridge/src/main/kotlin/skip/bridge/SwiftEquatable.kt: note: SkipBridge/src/main/kotlin/skip/bridge/SwiftEquatable.kt (1 KB) transpilation unchanged from SwiftEquatable.swift (5 KB) in 38 ms
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SkipBridge/destination/skipstone/SkipBridge/src/main/kotlin/skip/bridge/System.kt: note: SkipBridge/src/main/kotlin/skip/bridge/System.kt (4 KB) transpilation unchanged from System.swift (7 KB) in 50 ms
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SkipBridge/destination/skipstone/SkipBridge/src/main/kotlin/skip/bridge/BridgedTypes.kt: note: SkipBridge/src/main/kotlin/skip/bridge/BridgedTypes.kt (3 KB) transpilation unchanged from BridgedTypes.swift (49 KB) in 81 ms
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SkipBridge/destination/skipstone/SkipBridge/src/main/kotlin/skip/bridge/Closures.kt: note: SkipBridge/src/main/kotlin/skip/bridge/Closures.kt (5 KB) transpilation unchanged from Closures.swift (35 KB) in 89 ms
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SkipBridge/destination/skipstone/SkipBridge.skipcode.json: note: SkipBridge.skipcode.json (38 KB) codebase unchanged
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SkipBridge/destination/skipstone/SkipBridge/src/main/swift/Package.swift: note: SkipBridge/src/main/swift/Package.swift (5 KB) skippackage unchanged
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SkipBridge/destination/skipstone/gradle/wrapper/gradle-wrapper.properties: note: gradle/wrapper/gradle-wrapper.properties (80 bytes) gradle wrapper unchanged
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SkipBridge/destination/skipstone/SkipBridge/proguard-rules.pro: note: SkipBridge/proguard-rules.pro (352 bytes) proguard unchanged
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SkipBridge/destination/skipstone/SkipBridge/build.gradle.kts: note: SkipBridge/build.gradle.kts (6 KB) gradle project unchanged
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SkipBridge/destination/skipstone/gradle.properties: note: gradle.properties (78 bytes) gradle config unchanged
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SkipBridge/destination/skipstone/settings.gradle.kts: note: settings.gradle.kts (3 KB) gradle settings unchanged
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SkipBridge/destination/skipstone/.SkipBridge.sourcehash: note: .SkipBridge.sourcehash (822 bytes) sourcehash unchanged
[110/145] Skip SkipBridge
[112/143] Compiling SkipBridge SwiftHashable.swift
[113/144] Compiling SkipBridge resource_bundle_accessor.swift
[114/144] Compiling SkipBridge SwiftEquatable.swift
[115/144] Compiling SkipBridge Closures.swift
[116/144] Compiling SkipBridge Tuples.swift
[117/144] Compiling SkipBridge System.swift
[118/144] Compiling SkipBridge BridgedTypes.swift
[119/144] Emitting module SkipBridge
[120/144] Compiling SkipBridge AnyDynamicObject.swift
[121/144] Compiling SkipBridge BridgeSupport.swift
[122/145] Wrapping AST for SkipBridge for debugging
[123/145] Write Objects.LinkFileList
[125/154] Emitting module SkipBridgeToKotlinSamplesHelpers
[126/154] Compiling SkipBridgeToSwiftSamplesHelpers resource_bundle_accessor.swift
[127/154] Compiling SkipBridgeToKotlinCompatSamples resource_bundle_accessor.swift
[128/154] Compiling SkipBridgeToKotlinSamplesHelpers Helpers.swift
[129/154] Compiling SkipBridgeToKotlinSamplesHelpers resource_bundle_accessor.swift
[130/155] Emitting module SkipBridgeToSwiftSamplesHelpers
[131/155] Compiling SkipBridgeToSwiftSamplesHelpers Helpers.swift
[132/156] Emitting module SkipBridgeToKotlinCompatSamples
[133/156] Compiling SkipBridgeToKotlinCompatSamples Samples.swift
[133/157] Linking libSkipBridge.so
[137/156] Write Objects.LinkFileList
[140/161] Linking libSkipBridgeToKotlinCompatSamples.so
[141/161] Linking libSkipBridgeToKotlinSamplesHelpers.so
[143/161] Compiling SkipBridgeToKotlinSamples resource_bundle_accessor.swift
[143/161] Linking libSkipBridgeToSwiftSamplesHelpers.so
[145/161] Compiling SkipBridgeToKotlinSamples TestsSupport.swift
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/TestsSupport.swift:137:16: error: cannot find 'K' in scope
135 | #if os(Android) || ROBOLECTRIC
136 | public func testSupport_dynamicCodeGenJavaDateTime() throws -> Int64 {
137 | return try K.java.util.Date().time!
| `- error: cannot find 'K' in scope
138 | }
139 |
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/TestsSupport.swift:137:12: warning: no calls to throwing functions occur within 'try' expression
135 | #if os(Android) || ROBOLECTRIC
136 | public func testSupport_dynamicCodeGenJavaDateTime() throws -> Int64 {
137 | return try K.java.util.Date().time!
| `- warning: no calls to throwing functions occur within 'try' expression
138 | }
139 |
/host/spi-builder-workspace/Sources/SkipBridgeToKotlinSamples/TestsSupport.swift:141:12: error: cannot find 'K' in scope
139 |
140 | public func testSupport_dynamicCodeGenSkipDateTime() -> Double {
141 | return K.skip.foundation.Date.Companion().now!.timeIntervalSince1970!
| `- error: cannot find 'K' in scope
142 | }
143 | #endif
[146/161] Emitting module SkipBridgeToKotlinSamples
[147/161] Compiling SkipBridgeToKotlinSamples Samples.swift
note: Skip 1.6.16: skipstone plugin to: /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SkipBridgeToSwiftSamplesTestsSupport/destination/skipstone/SkipBridgeToSwiftSamplesTestsSupport/src/main at 01:26:19
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/Skip/skip.yml: note: loading skip.yml from /host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesTestsSupport/Skip/skip.yml
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamples/Skip/skip.yml: note: SkipBridgeToSwiftSamples skip.yml config loaded (4 ms)
/host/spi-builder-workspace/Sources/SkipBridgeToSwiftSamplesHelpers/Skip/skip.yml: note: SkipBridgeToSwiftSamplesHelpers skip.yml config loaded (3 ms)
/host/spi-builder-workspace/Sources/SkipBridge/Skip/skip.yml: note: SkipBridge skip.yml config loaded (2811 ms)
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/skip.yml: note: SkipLib skip.yml config loaded (40 ms)
[147/161] Skip SkipBridgeToSwiftSamplesTestsSupport
[148/161] Compiling SkipBridgeToSwiftSamples resource_bundle_accessor.swift
[149/161] Emitting module SkipBridgeToSwiftSamples
BUILD FAILURE 6.1 android